Page 1 of 1

AI help

Posted: Wed Sep 05, 2007 10:49 am
by kasper
hey

I had a question: How do u let AI respawn

Thanks

Posted: Wed Sep 05, 2007 12:04 pm
by Trulife8342
Move over about 5 reflexives (look at any AI in MP tutorial), then open up either my AI editor or any program with an updated scnr plugin, then go to scnr offset 352 and edit squad cords and spawn count.

Posted: Wed Sep 05, 2007 12:57 pm
by grimdoomer
no he means make then respawn. you need to write a script for that. and unless you are good with h2 core and h2 gurilla dont even waist your time. scripting is on eof he most complicated tasks and takes time to perfect. but if you want to try here

http://forums.halomods.com/viewtopic.php?t=47174

you need to copy one script reflexive over to your map then edit it using h2 gurilla and i think you can add one with h2 gurilla

Posted: Wed Sep 05, 2007 2:49 pm
by Shadowz_O_Death
I just wrote this tutorial for you...

1. Open H2Core.
2. Click "File" then "Open."
3. Select your map then click "Open."
4. Click "Map" then "Decompile."
5. When your map is done decompiling, close H2Core.
6. Open H2Guerilla.
7. Click "File" then "Open."
8. Select your map's scenarios tag then click "Open."
9. Click "Editors" then "Script Tools."
10. Click "Add New."
11. Type in the following script, changing the red and italicized text with your AI squad's name.
(script continuous respawner
(sleep_until (<= (ai_living_count AI Squad Name) 0))
(ai_place AI Squad Name)
)
12. Click "Compile."
13. Click "File" then "Save."
14. Close H2Guerilla.
15. Open H2Core.
16. Click "File" then "Open."
17. Select your map then click "Open."
18. Click "Map" then "Rebuild."
19. Click "..."
20. Select your map's scenarios tag then click "Open."
21. Check "Keep Existing Spawns."
22. Click "Rebuild."
23. When your map is done rebuilding, close H2Core.

I hope this helped!

Regards,
Shadowz_O_Death

Posted: Wed Sep 05, 2007 6:28 pm
by Munsie
Has SoL's script editor been out-dated already? o_o

Posted: Fri Sep 07, 2007 4:39 am
by kasper
Thanks :D

Posted: Fri Sep 07, 2007 1:06 pm
by Agent ME
Munsie wrote:Has SoL's script editor been out-dated already? o_o
Actually, the script plugin in H2guerilla is an updated version of it, by SoL :P