Moving AI/Respawning

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





Posts: 27
Joined: Tue May 22, 2007 5:24 am

Moving AI/Respawning

Post by FALLEN_60 »

I need help getting the AI to actually move not just stand in one place and also to get them to respawn.. if anyone can help please do it will be greatly appreciated

thanks

-=FALLEN_60=-
User avatar
blackdiamond





Posts: 764
Joined: Fri Feb 16, 2007 7:18 pm
Location: Virginia

Post by blackdiamond »

people can get AI respawning, but not moving. The reason I'm posting is to tell you not to ask about AI moving. Many people are currently working on it, you'll have to be patient. As for the respawning, search


http://forums.halomods.com/search.php


EDIT: found it FOR you



AI Respawn Script - This is a GREAT Person VSG19902

Code:
(script startup respawner
(sleep_until (<= (ai_living_count 0000) 0))
(ai_place 0000)
)


This one is for continuous
Code:
(script continuous respawner
(sleep_until (<= (ai_living_count 0000) 0))
(ai_place 0000)
)


And this is my edited script that I made myself
Code:
(script continuous respawner
(begin
(sleep 1000)
(sleep_until (<= (ai_living_count 0) 5))
(ai_place 0)
))
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.

http://www.mindistortion.net/iwantyours ... am=dapoopy
FALLEN_60





Posts: 27
Joined: Tue May 22, 2007 5:24 am

Post by FALLEN_60 »

ok thank you..

i figured it was possible to make them move already since i have grunts on midship who just stand still but when you stick them with a grenade they run around untill it blows up..

o and umm :oops: i dont know how to script..
User avatar
blackdiamond





Posts: 764
Joined: Fri Feb 16, 2007 7:18 pm
Location: Virginia

Post by blackdiamond »

search for the script tools, and a tut to use it.
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.

http://www.mindistortion.net/iwantyours ... am=dapoopy
FALLEN_60





Posts: 27
Joined: Tue May 22, 2007 5:24 am

Post by FALLEN_60 »

ya i got script tools but when i open my map it tells me that the map has no scripts
FALLEN_60





Posts: 27
Joined: Tue May 22, 2007 5:24 am

Post by FALLEN_60 »

Bump!
Crazy_Colombiano





Posts: 562
Joined: Fri Mar 31, 2006 6:12 pm
Location: tim-buck-too anywere, usa

Post by Crazy_Colombiano »

wait for 5 days for a bump
you have to clone a script chunk from a map that does have scripts then add it to your map
Image
Not removing untill i finish my gir*from invader zim duh* forza 2 car. Started 6/17
Personal Project~{Twilightabout 50% done i hope}~
92% of teens have moved on to rap. If you are part of the 8% who still like tacos. Put this in your sig if you like tacos.
FALLEN_60





Posts: 27
Joined: Tue May 22, 2007 5:24 am

Post by FALLEN_60 »

ok i didnt know that sorry.. and thank you
mr_penguin





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

Post by mr_penguin »

Ai can move but they run into walls, a lot. In AI war (containment) the ai move and shoot.

I think to make the ai move you need to not null out the values in the ai squads, [value is to large to be in the indexer]. Besides that I thought there was a script for moving ai, I thought i saw it somewhere on this site
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