Page 1 of 1

One Squad in Hog & alot more on AI. AI HELPFUL +download

Posted: Thu Aug 31, 2006 11:12 am
by MilyardoX2
This is for the original plug-in. Yes new plug-ins make this easier but for all you who want to know this way feel free to follow along.
The AI squads box controls the vehicle to spawn for all the squad to use and the default weapon used. to change each individual character's weapon or seat u need to edit the uknowns below the spawn cords.
Here are some pictures to help explain, below those will be seat/weapon/etc values.Sppf of requirments for AI too. also a test level, Halo2AIE and a newer scnr plug-in. NEW Respawn
Image
Image
Image


.AI vehicles.
Gunner (hog)........... 2.755051E-40
Passenger(hog)...... 1.836696E-40
Driver...................... 3.673406E-40
Pedestian................4.591761E-40
Default................... 9.183409E-41(I think it uses the selection specified for the squad)
Set the driver's spawn cords, and then passenger and gunner will spawn in vehicle. But I put the cords all close together just in case though.

I will update the seats as I find new ones(pelican cargo, spectre etc.)

Weapons (untested) PM or AIM me if you find anything wrong.
NaN - will use the weapon specified for the squad(the one you picked above.)
1.836696E-40................weapon palette 1
2.755051E-40................weapon palette 2
3.673406E-40................weapon palette 3
4.591761E-40................weapon palette 4
5.510116E-40................weapon palette 5
6.428471E-40................weapon palette 6
7.346826E-40................weapon palette 7
8.265181E-40................weapon palette 8
9.183536E-40................weapon palette 9
1.010189E-39................weapon palette 10
1.102025E-39................weapon palette 11
1.19386E-39..................weapon palette 12
1.285696E-39................weapon palette 13
1.377531E-39................weapon palette 14

Teams - Thank you SnakejKnight
Yellow = Human
Green = Covenant
Purple = Flood
Orange = Sentinel
Brown = Heretic
Pink = New Covenant

AI Respawn Script - This is a GREAT Person VSG19902

Code: Select all

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

Code: Select all

(script continuous respawner
 (sleep_until (<= (ai_living_count 0000) 0))
 (ai_place 0000)
) 
And this is my edited script that I made myself

Code: Select all

(script continuous respawner
 (begin
   (sleep 1000)
   (sleep_until (<= (ai_living_count 0) 5))
   (ai_place 0)
))
here are all the patches for each map to put the needed thing for ai in the map(all maps)

With this new plugin those pictures and numbers will become unneeded.[/code]

AI walking

Posted: Sun Jun 24, 2007 10:11 am
by davidkircosa
I followed your tut, but the guys don't move. Is there any way to get them to move. I think that is has something to do with jmad effects.

Posted: Sun Jun 24, 2007 10:16 am
by CptnNsan0
Im probably wrong but isnt there a permutation or something that you can set them to that makes them move continuously?

Posted: Sun Jun 24, 2007 10:20 am
by davidkircosa
what it is suppost to do is when they see you they start walking, cause they always face you they would start walking tward you

Posted: Tue Jun 26, 2007 10:31 am
by swepower
where do i check "Great Aim" kuzz my AI is sucking *ss in aiming.
I dont have my AI in "bipd" i have it in "chr"
and where do i putt the scripts ?(i know its in ScriptTools)

Posted: Sun Aug 26, 2007 12:06 am
by spawnova
idk if this is old topic or what but i neeeed to know a few questions 1. how do i check how many spawn points a map has 2. how do i apply a script to a map and 3. how do i give them more shield