AI help

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
kasper





Posts: 57
Joined: Sat Aug 12, 2006 9:57 am
Location: dont know

AI help

Post by kasper »

hey

I had a question: How do u let AI respawn

Thanks
Image
Image
User avatar
Trulife8342




Orb Commentator Firestorm

Posts: 2403
Joined: Sat Sep 03, 2005 7:04 am
Location: Miami, FL -- Name: Mauro Garcia
Contact:

Post 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.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post 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
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
Shadowz_O_Death




Connoisseur

Posts: 188
Joined: Wed Nov 01, 2006 8:38 am
Location: Pittsburgh, PA Xlink: Shadowz_O_Death

Post 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
User avatar
Munsie




Blacksmith

Posts: 1485
Joined: Mon Aug 29, 2005 11:07 am
Location: Canada

Post by Munsie »

Has SoL's script editor been out-dated already? o_o
kasper





Posts: 57
Joined: Sat Aug 12, 2006 9:57 am
Location: dont know

Post by kasper »

Thanks :D
Image
Image
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post 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
Post Reply