AI Respawning Error

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





Posts: 67
Joined: Mon Jan 17, 2005 9:31 pm
Location: UNKNOW

AI Respawning Error

Post by EGG »

When I kill the AI (Gruntx1) and I set them to respawn it freezes. I nulled all the sounds and everything. Idk how you guys get them to respawn in the the other AI maps but can somone please help me! :(
Your sig can't exceed 500x120 in size. So what!
User avatar
grimdoomer




System Engineer

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

Post by grimdoomer »

dont check respaen enabled in the AI squads box. you need a respawn script. look in the first page of tuts and its call like one squads hog respawn and more very helpfull. that will show you how.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
EGG





Posts: 67
Joined: Mon Jan 17, 2005 9:31 pm
Location: UNKNOW

Post by EGG »

ok, I got them to not mess up without the script but I need them to respawn, and run. I can't find the tut you are talking about either :?
Your sig can't exceed 500x120 in size. So what!
L0d3x




Articulatist 250

Posts: 454
Joined: Sat Aug 18, 2007 3:32 am

Post by L0d3x »

For getting the AI to run: look up a tutorial on jmad editting.
For respawn scripts: look up shadowz o death's how to properly inject scripts tutorial (first page on the tutorials forum) and inject the following respawn script:

Code: Select all

(script continuous RespawnSomeRandomSquad 
  (begin 
   (sleep_until (<= (ai_living_count yoursquadname) 0) 450) 
   (ai_place yoursquadname)
  )
)
This will result in your squad to respawn 450 halo time units after they die (about 30 seconds I think, perhaps I am mistaken).

Hope this helps! I also hope you surprise us all with a sweet AI mod!
EGG





Posts: 67
Joined: Mon Jan 17, 2005 9:31 pm
Location: UNKNOW

Post by EGG »

do I put that code in for each squad?
Your sig can't exceed 500x120 in size. So what!
mr_penguin





Posts: 541
Joined: Thu Feb 08, 2007 5:39 pm
Location: NJ

Post by mr_penguin »

yes, you need to put the code in for each squad. I saw a tut on here on how to add scripts with h2 core, I'll post a link when I find it.

EDIT: found it! Go to step 10 and use that code.

http://forums.halomods.com/viewtopic.php?t=70351
Your mom became oversized. Please make your mom smaller before reposting. :shock:
Infern0 wrote:You just shave the excess bush and burn the leftovers.
Post Reply