489
edits
Script 10k (talk | contribs) (One more FATAL SCRIPTING ERROR bypass technique) |
Script 10k (talk | contribs) (the other workaround didn't work, but this one does :)) |
||
Line 258: | Line 258: | ||
And the trigger volume XML will look like this: | And the trigger volume XML will look like this: | ||
TRGV Id="1"> | <TRGV Id="1"> | ||
<Header> | <Header> | ||
<Flags>0</Flags> | <Flags>0</Flags> | ||
Line 280: | Line 280: | ||
</TRGV> | </TRGV> | ||
If the technique above is not enough and you are still experiencing the "FATAL SCRIPTING ERROR: exceeded maximum scripting parameter base size of 32768" error after a while, you may try | If the technique above is not enough and you are still experiencing the "FATAL SCRIPTING ERROR: exceeded maximum scripting parameter base size of 32768" error after a while, you may try using duplicated trigger volumes, where after a while (and before the error appears) you disable the first one and active the second one (which is a copy of the first). | ||
The duplicated one can look like this: | |||
<TRGV Id="2"> | |||
<Header> | |||
<Flags>0</Flags> | |||
<Position>2005.23 1239.87 -3628.82</Position> | |||
<Rotation>0 0 0</Rotation> | |||
</Header> | |||
<OSD> | |||
<Name>BurnCharacterPart2</Name> | |||
<Scripts> | |||
<Entry>trigger_damage</Entry> | |||
<Inside /> | |||
<Exit>trigger_stop_damage</Exit> | |||
</Scripts> | |||
<Teams>4</Teams> | |||
<Size>-287.04 1 -179.85</Size> | |||
<TriggerVolumeId>2</TriggerVolumeId> | |||
<ParentId>0</ParentId> | |||
<Notes></Notes> | |||
<Flags /> | |||
</OSD> | |||
</TRGV> | |||
Code to switch between them: | |||
trigvolume_enable("BurnCharacter",0); # disable the first one | |||
trigvolume_enable("BurnCharacterPart2",1); # activate the second one | |||
Note that you should have only one of the copies active at a time (so for instance when "BurnCharacter" TV is enabled, "BurnCharacterPart2" TV should be disabled. | |||
===Mod Tool addon=== | ===Mod Tool addon=== |
edits