[ H3LP ] Parsing BSP File
Hello. I am trying to parse a bsp file to get the keys and values of each entity, but ti doesn't seem to work well. No text is parsed.
PHP Code:
|
Re: [ H3LP ] Parsing BSP File
The OnLevelInit provides the extracted entity lump for the current map, you can load it as KeyValues.
|
Re: [ H3LP ] Parsing BSP File
Quote:
PHP Code:
Is szMapEntities the char that holds the keys and values for each entity? |
Re: [ H3LP ] Parsing BSP File
Quote:
https://sm.alliedmods.net/new-api/ke...portFromString |
Re: [ H3LP ] Parsing BSP File
Quote:
PHP Code:
And I made it to only dump if the map is ff_xpress_b1. |
Re: [ H3LP ] Parsing BSP File
Quote:
Perhaps it just doesn't work on Fortress Forever and maybe other source games. Seems to work fine on TF2 from what I read (forum posts from 2014). Can the forward be fixed? Read here too: https://forums.alliedmods.net/showpo...postcount=2660 Edit: I got it to work with #pragma dynamic 2097152 |
All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.