PST .ini files
Posted 09 December 2011 - 09:06 AM
For instance the following:
There are quite a few more, not in any order and I'm not sure yet what goes under which  section (pretty sure exit goes under [spawn_main] but not sure about the others)
Posted 10 December 2011 - 02:38 AM
Btw, only the first letter of detail level counts (High/Medium/Low)
Though, there is a bug in the .exe which seems to cause high and medium the same. When parsing the ini file, it sets the value of high when it encounters a 'medium' entry.
Edited by Avenger, 10 December 2011 - 03:08 AM.
Posted 10 December 2011 - 08:08 AM
I'll toss up a list soon and maybe someone can play with them and see what they do quicker than I can trace the code for them
Edited by Displacer, 10 December 2011 - 08:10 AM.
Posted 18 December 2011 - 07:19 AM
enter - seems to be an one time spawn when the area is created (at least that's how i implemented it in gemrb).
spawn_time_of_day/Blackisle is just a dead string, not used in spawn ini.
Posted 18 December 2011 - 08:23 AM
More info on [spawn_main], the events entry, and possibly enter and exit can have several arguments. I don't know if there's a limit yet but the arguments can be separated by either a "," or a "."
These arguments can be seen under the actual section label set in "events" (an example would be the "critters" list).
Posted 18 December 2011 - 09:06 AM
Here's the relevant code:
.text:007E9DFE mov edx, [ebp+var_A8] .text:007E9E04 cmp dword ptr [edx+30h], 0Fh .text:007E9E08 jnb short loc_7E9E17 .text:007E9E0A mov eax, [ebp+var_A8] .text:007E9E10 mov dword ptr [eax+30h], 0Fh
Reply to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users