Git Product home page Git Product logo

bsp-position-extractor's Introduction

bsp-position-extractor

bsp-position-extractor's People

Contributors

liback avatar

Watchers

 avatar  avatar

bsp-position-extractor's Issues

Position with no angle values gets angles from other entities

As the temp curAngles variable was not reset between entities, a spawn that had no angle value would get the temporarily saved angle value from another entity.

On ZTNDM3 this makes us face the pillar in the center room LOW-RL spawn instead of facing the stairs.

Currently doesn't take TF/CTF spawns into account

Modes seem to use:

CTF
info_player_team1
info_player_team2

TF
info_player_teamspawn (team 1 or 2 is decided by trailing attribute. Found in well1.bsp)
i_p_t (some weird short form used in 12fort5r.bsp?!)

Some maps are not parsed due to CR LF line endings

Example is sw1m6.bsp which outputs no position as utility is looking explicitly for a complete line of "{\n" when some files ends lines with carriage return and linefeed.

Change to only match the single "{" and "}" characters.

Angles wrong for some positions

Angles can be found in the following attributes:

  • angle
  • angles
  • mangle

The "angles" variant does currently not get read properly. Compare result for map naughty.bsp (angle) and naughty2.bsp (angles).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.