Godzilla Elites + Command Script Tutorial

Tutorials for the Xbox version of Halo 2.
User avatar
snakejknight




Trickster Wave Pyre Wordewatician 500

Posts: 693
Joined: Sun Jun 04, 2006 1:00 pm
Location: North Hollywood California

Post by snakejknight »

lmao, very nice... is this an entry for the ai contest?
xXtR1Xm1Xx




Recreator

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

Post by xXtR1Xm1Xx »

snakejknight wrote:lmao, very nice... is this an entry for the ai contest?
Alls it is is 2 AI that are huge for some scripting research. I may be wrong though.
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
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

D4rkFire wrote: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.
It's an example of the first script with AI commands.

Nice job on it Agent :wink:
Mr N





Posts: 125
Joined: Mon Aug 22, 2005 11:23 am
Location: Eslewhere

Post by Mr N »

D4rkFire wrote: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.
This is what's known as a "proof of concept" mod. It's not designed for uber replay value, but rather to show that command scripts can work while providing an example.
- sober
User avatar
Geo
Forum Manager




Illusionist Stylist Advisor Pi
Connoisseur Pyre Socialist Tsunami

Posts: 4404
Joined: Sun Jun 19, 2005 1:01 am
Location: United Kingdom
Contact:

Post by Geo »

Am I the only one that can't see the pictures?
Image
For extremely cheap web hosting and domains, PM me. Includes excellent control panel software and instant activation!
Picceta




Foundry

Posts: 100
Joined: Tue Feb 07, 2006 8:31 am
Location: England, Essex, Southend
Contact:

Post by Picceta »

nope, i cant see them either
User avatar
Munsie




Blacksmith

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

Post by Munsie »

The images are hosted on his computer. Which must be off. It's 6:00 AM where he is right now... So, it should be back up in an hour or two when he wakes up.

~Munsie
User avatar
Shadow LAG
Readers Club




Articulatist 500

Posts: 676
Joined: Sat Apr 02, 2005 5:47 pm
Contact:

Post by Shadow LAG »

:roll: ugh, my school computers freeze when i view over a certain number of pictures, I'll check this out when i get home sounds school. Is it mpc (multiplayer compatible) meaning non-modders can see it?
Long live Detox
Long live leo
Long live the trust.

Sticking it to the man since 16 Jun 2005
User avatar
Munsie




Blacksmith

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

Post by Munsie »

Shadow LAG wrote::roll: ugh, my school computers freeze when i view over a certain number of pictures, I'll check this out when i get home sounds school. Is it mpc (multiplayer compatible) meaning non-modders can see it?
Nevermind. My school comps just can't load. gifs, sooo... His comp must be up. Check it out from home.

And this script only works for connection host, so no SLC at all. :(

~Munsie
User avatar
LuxuriousMeat





Posts: 824
Joined: Thu Nov 03, 2005 6:43 pm
Location: zzzzzzzzzzzzzzzz
Contact:

Post by LuxuriousMeat »

what map is it for? the download page says acsension but the pic on the download page is on coagulation
Image
-DeToX-




Illusionist Recreator Connoisseur Acolyte
Sigma Decryptor Droplet Pyre
Blacksmith Socialist New Age System Engineer
ONI

Posts: 4589
Joined: Sun Jun 18, 2006 3:58 pm
Location: ...

Post by -DeToX- »

jackrabbitlight wrote:scripts sinc up just fine online if you wright them correctly wich can be the trickyest part
Especially for someone with bad grammar like yourself...

Some scripts will not sync... Its not about the writing...
Image
User avatar
xXxCocoFangxXx





Posts: 3756
Joined: Thu Sep 08, 2005 9:57 am
Contact:

Post by xXxCocoFangxXx »

:shock:

Very nice!
Image
User avatar
galvination





Posts: 908
Joined: Sat Jun 17, 2006 6:30 pm
Location: I lack a witty comment to put here.
Contact:

Post by galvination »

still can't see the pics..
smacktalker




Trickster Commentator Wordewatician 500

Posts: 935
Joined: Sat Feb 25, 2006 4:23 am
Location: Europe. as in i'm speaking broken english coz i'm polish :D

Post by smacktalker »

why not think of something that is worth seeing and playing? nice scripting and all, but i find this not impressive at all, considering the elites look pretty tripped out.
Halo 2 Modder&Player,XBC:Ownagemaster.
Mainmenu mod-=-Spacestation Deck-=-Conduit-=-Waterworld-=-South Side
Image
Visit headshotmasta his new site! (Click burning insolence)
User avatar
D4rkFire




Connoisseur

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

Post by D4rkFire »

Mr N wrote:
D4rkFire wrote: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.
This is what's known as a "proof of concept" mod. It's not designed for uber replay value, but rather to show that command scripts can work while providing an example.
Oo Ok i get it now. Thanks :D
Image
-DeToX-




Illusionist Recreator Connoisseur Acolyte
Sigma Decryptor Droplet Pyre
Blacksmith Socialist New Age System Engineer
ONI

Posts: 4589
Joined: Sun Jun 18, 2006 3:58 pm
Location: ...

Post by -DeToX- »

Also one more thing, On Munsie's animated picture's, the delay between frames is huge. I need to sit here forever just to see an elite get out of a banshee. :( :P

EDIT: Heh, My post is right above the tutorial, so when you click the link you read the following text... Ma 44 bulletz r laced with crack >_>
Last edited by -DeToX- on Thu Oct 12, 2006 5:00 pm, edited 1 time in total.
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 »

About the Mods DB saying the mod is for Ascension - that was a mistake, I forgot to choose Coagulation from the list.

About the pic hosting - They are hosted on my comp, but I just got a frihost web account, so things will be gradually moved over to that.

This mod isn't intended to be a mod like Heretic Highway that you play with friends and have an ubersweet time - it's a proof-of-concept mod like some others mentioned. This is the first released mod to use AI command scripting. There's a huge potential with AI command scripting. You can even script paths for AI movement to follow with the (cs_direction) command.

Now on how I did this - to assign a command script to an AI actor, go into Entity's meta editor into the level's scnr tag, and make sure show invisibles is checked:
Image

Then, go into the AI squad, and go to the Actors (Spawns) reflexive to the AI you want to assign a command script on, and look at the circled spots:
Image

The first string, you set to be the name of the command script. This is IMPORTANT - entering the string wrong will stop the actor from using it.

The second part, you simply choose the command script from the list, and then hit save.

Start up the game, and the AI will use the command script whenever they are spawned.

To make the command script yourself, you can use Shalted's compiler if you wish. If you want to make a script to make the AI crouch until he's shot, compile this script in:

Code: Select all

(script command_script crouch
  (cs_abort_on_damage true)
  (cs_crouch true)
  (sleep_forever)
)
After you compile that with Shalted's Entity Compiler, go into the scnr tag with Entity's meta editor to fix the script declaration. Find the script names reflexive, and make sure the script is named "crouch", has a script type of 5, and a return/value type of 4 (Void), and hit save. Then do the steps I've mentioned above to assign the script to an AI actor.
User avatar
Veegie[Temp]




Firestorm

Posts: 2849
Joined: Thu Jan 29, 2004 11:30 pm
Location: Logan
Contact:

Post by Veegie[Temp] »

Great job figuring this out by yourself, for the most part.
But what's up with the LODs on the Elites?
Image
Hijikata wrote:The fact you love Jesus doesn't change the fact you're a fucking mental patient. It just means you're a mental patient with a great imaginary friend.
User avatar
Agent ME




Articulatist 500

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

Post by Agent ME »

The LODs are the same as they are for a normal-sized elite, but normally you couldn't notice the changes as the elite would only be a few pixels tall when he gets to the lower ones.

But here, the elite is 8.125x normal size, so its much more noticeable. If you use Yelo with the Cinematic mode options, it should make it use higher LODs if you want.

EDIT: The elite is actually 8.125x size - forgot to mention that - not 10x - I put a digit in the wrong spot when I compiled the code - what's the point of endian-swapping anyway?
slayer410





Posts: 738
Joined: Mon Oct 03, 2005 1:41 pm
Location: Texas

Post by slayer410 »

Now if memory serves me right, there is a way to run a command script to a squad without assigning that script to the squad.
Post Reply