Godzilla Elites + Command Script Tutorial

Tutorials for the Xbox version of Halo 2.
User avatar
Agent ME




Articulatist 500

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

Godzilla Elites + Command Script Tutorial

Post by Agent ME »

This mod is the first mod I know of publicly released to use AI command scripts. More on how to use those at the link near the bottom. Here is the script first:

Code: Select all

(script command_script cs_test
  (begin
    (sleep 60)
    (cs_vehicle_boost true)

    (sleep 60)
    (cs_vehicle_boost false)
    (sleep 60)

    (ai_vehicle_exit ai_current_actor)

    (object_set_scale (ai_get_object ai_current_actor)[script_object]  10.0[real] 1[short])
    (sleep 90)
))
(Do not bother trying to compile that in Shalted's compiler - I had to compile it by hand)

The script is a command script, and its set to run for two ai controlled banshees at the start of the game.

Now here's some screenshots, first two animated courtesy of Munsie:
Image


Image
Image

About System Link: This mod will work in system link, but the elites will appear to be normal size to everyone else, regardless if they have the mod or not, because scripts aren't synchronized online.

Credits
WastingBody - Original AI in Coag mod - This is based off of that
Solder of Light - Lots of scripting help
Munsie - Animating the screenies
Guy-who-made-SPPF - For making a patcher that didn't let down this mod

Tutorial Linkage

Download Link
Last edited by Agent ME on Wed Aug 15, 2007 1:34 pm, edited 4 times in total.
User avatar
GametagAeonFlux




Bloodhound Acolyte Orb Commentator
Pyre Socialist

Posts: 9320
Joined: Sun Jun 06, 2004 7:27 pm
Location: Lincoln, NE

Post by GametagAeonFlux »

That looks pretty awesome. Good job.
Loonycgb2





Posts: 233
Joined: Wed Jun 21, 2006 6:46 am
Location: HoUsToN
Contact:

Post by Loonycgb2 »

:shock: :shock: :shock: omg super cool nice script
Jubakuba




Advisor

Posts: 335
Joined: Sun Nov 13, 2005 7:07 pm
Location: Behind you!
Contact:

Post by Jubakuba »

rofl
enlarging the models used to suck, so gj
Image
Image
[Formerly Known as PPFNOOB101]
Jubakuba, no its not in the dictionary!
User avatar
Agent ME




Articulatist 500

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

Post by Agent ME »

Oh and somethings on collision - the elites have correct projectile collision thanks to the Bungie programmers of the object_set_scale command - but their real object collision is unchanged - you can fly a banshee through their main mass, but if you hit the invisible lump under them, they'll go flying and get damaged.

And when they die, they shrink to normal size, and their body falls from 30 feet up :lol:
DWells55





Posts: 1445
Joined: Mon Dec 27, 2004 7:47 am

Post by DWells55 »

If scripts don't sync, how's the Zanzibar gate work?
Jubakuba




Advisor

Posts: 335
Joined: Sun Nov 13, 2005 7:07 pm
Location: Behind you!
Contact:

Post by Jubakuba »

lol
nice
and btw...
um
didnt mean to undermine your work
just reread that and it sounded mean :-)
Image
Image
[Formerly Known as PPFNOOB101]
Jubakuba, no its not in the dictionary!
User avatar
Agent ME




Articulatist 500

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

Post by Agent ME »

DWells55 wrote:If scripts don't sync, how's the Zanzibar gate work?
The script doesn't sync, but most of the states of all objects sync. IE, if I make a script to spawn a warthog, the script itself won't sync, but the fact there's now a warthog will sync.

However if I do something like turn off my player's hud, that won't sync.
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post by latinomodder »

that is really cool I was doing alot of research on this, no wonder it ever compiled, also have you tried the scarab? 8) If not pm me ive got a good idea.
Image
xXtR1Xm1Xx




Recreator

Posts: 406
Joined: Thu Aug 31, 2006 5:14 pm
Location: Queens

Post by xXtR1Xm1Xx »

This looks fun. Nice work on scripting.
Image
Click here for something you might like
Last edited by xXtR1Xm1Xx on Wed May 2, 1992 3:40 pm; edited 2,500 times in total
SerpentKnights





Posts: 271
Joined: Sun Jan 22, 2006 9:46 pm

Post by SerpentKnights »

suh-weet.. must be fun scripting eh?
Beware the ninja spaz... >_>
ledgendary





Posts: 317
Joined: Wed Jun 07, 2006 8:39 am
Location: New Account August 02, 2004 Was joining date, Post Count:943554

Post by ledgendary »

Sorry but, I am confused.. Is it a huge elite that has AI that walks around and kills you? If so, That is cool! 9/10, you should reskin it dark, add building models.. and planes, that have AI to shoot at Godzilla, ( you could also model the Elite into Godzilla >_< )
User avatar
SingingBlaze




Stylist Trickster Critic

Posts: 348
Joined: Sun Sep 10, 2006 6:02 pm

Post by SingingBlaze »

Hmmm. Its Godzilla?
xXtR1Xm1Xx




Recreator

Posts: 406
Joined: Thu Aug 31, 2006 5:14 pm
Location: Queens

Post by xXtR1Xm1Xx »

Ask Trulife if you could use his plane model in the pic section. That would pwn. :D
Image
Click here for something you might like
Last edited by xXtR1Xm1Xx on Wed May 2, 1992 3:40 pm; edited 2,500 times in total
User avatar
D4rkFire




Connoisseur

Posts: 702
Joined: Wed Oct 04, 2006 11:46 am
Location: Florida

Post by D4rkFire »

Doesnt seem that fun to me but then again Im kind of confused about the point of this.
User avatar
StalkingGrunt911




Recreator Connoisseur Acolyte Coroner
Sigma Pyre

Posts: 3618
Joined: Wed May 24, 2006 12:30 pm
Location: Florida!
Contact:

Post by StalkingGrunt911 »

Looks pretty cool good job on compling it by hand.
Zigen




Miner Socialist Snitch! Coagulator

Posts: 1654
Joined: Thu Jun 02, 2005 8:37 pm
Contact:

Post by Zigen »

D4rkFire wrote:Doesnt seem that fun to me but then again Im kind of confused about the point of this.
Its a multiplayer AI mod. What's so confusing about it?
User avatar
D4rkFire




Connoisseur

Posts: 702
Joined: Wed Oct 04, 2006 11:46 am
Location: Florida

Post by D4rkFire »

No the point like its an AI mod so why not just keep it that way. Why make the elite huge if it does the same thing big or small.
jackrabbitlight





Posts: 7
Joined: Sat Jun 25, 2005 1:34 pm
Location: Fl

Post by jackrabbitlight »

scripts sinc up just fine online if you wright them correctly wich can be the trickyest part
Signature images may not exceed 120px in height. ~ iGeo
Punk Rock0905




Miner

Posts: 169
Joined: Sat Feb 26, 2005 3:05 pm
Location: halopatch.com

Post by Punk Rock0905 »

jackrabbitlight wrote:scripts sinc up just fine online if you wright them correctly wich can be the trickyest part
Do you have any idea what you are talking about?
Image
Post Reply