Re: breakout_et_b2 navigation -
17-04-2008
Hi Tom, I checked a bit there is a command for the ET
/g_debugAlloc 16
that shows allocation during map load and gameplay I suppose. This is basically called by the G_Alloc function that does a malloc and prints the allocated memory. Fritzbot seem to have fixed chunks of memory allocated cannot tell what they are just they happen. I suppose this should happen during the create command. The most efficient command I could find so far is the g_scriptdebug that shows the various events but still during a crash there isn't too much info other than the last command executed. Now if this was intermittent it's much harder to tell.
In any case the func_explode was not related to a TOI in my case. It was just a placeholder on the tank's path so the aiscript will get notified. I understand using the construct instead you could activate it as many times as you want and so with a 2nd one you can also switch something on/off.
One other question i have a script_mover entity can it linked to an action or not? I know fritzbot does it with the tank but how the bots would behave if say I specify a new script mover in the .script and link it to an action?
Actually I found it in the goldrush those 2 keywords set_Vehicle_Owner Allies and set_Vehicle_Number seem to control the script movers. So the owner seems to be a flag like not something that both teams can have.
Last edited by enigma1; 17-04-2008 at 23:13..
|