help with compiling script

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




Articulatist 100

Posts: 127
Joined: Mon Dec 05, 2005 5:44 pm

help with compiling script

Post by n64nerd »

I read SOL's tut, so I get the gist of it, but he barely touches on what most tutorials elaborate fully on- what things you can do. So, basically I'm stuck with taking away gravity to maps.

But now I realize I can't even do that. I don't know how the script compiler works. I've toyed with it, but I never knew what I was doing, where I was injecting, anything. Could someone just give me a step-by-step guide that starts with opening the map and ends with a fully injected script where it's supposed to be that works? Thanks.
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Heres how to compile the zero grav script(all others will work the same way)

1.)Open your map in entity
2.)Click plugins then script compiler
3.)Enter this code into the textbox exactly as shown(if theres a mistake it wont compile)

Code: Select all

(script startup uber_gravity_hack 
 (begin 
  (physics_set_gravity 0) 
 ) 
)
4.)Hit compile scripts
5.)Resign and play the map
n64nerd




Articulatist 100

Posts: 127
Joined: Mon Dec 05, 2005 5:44 pm

Post by n64nerd »

No need to add a chunk or reference it at all? No need for hex, nothing? Ok, thanks.
Doom




Articulatist 500

Posts: 1063
Joined: Mon May 09, 2005 7:31 am
Location: DHA , SA Team: Liquid Metal Knowledge: Excellent Your Mom?: Yes
Contact:

Post by Doom »

Wow! Two People that I haven't seen in months!

Shade! Where have you been! Gah the community misses you!

N64! What happned to you? Did you happen to stumble off a cliff and take months to get back to the top and to your computer? :P


You two have been gone LONG Hope to see you two return!

-Doom
Image
Sig over three lines of text. <--- lik wtf? mods make my sig 4 lines of text, then they letz tis slide as GTAF says, and den dey delete it? likwtf?
User avatar
dazzajay




Literarian 500

Posts: 582
Joined: Tue Feb 21, 2006 9:17 am
Location: Shepparton, Victoria, Australia
Contact:

Post by dazzajay »

N64 got broken, go he was sent back to nintendo because of therye lifetime warrannty, but nintendo don't hounor that anymore, so they sent him back, then he fell off the back of the postal truck, and bounced home.

and now hes back!

sad joke, i now,
User avatar
angry man





Posts: 492
Joined: Fri May 19, 2006 5:51 pm

Post by angry man »

Not sad, just interesting lol
Image
I Can See Inside Your Monitor :lol:
n64nerd




Articulatist 100

Posts: 127
Joined: Mon Dec 05, 2005 5:44 pm

Post by n64nerd »

I know, I've been gone for a while, but I'm back. summer's never been a good time for me because my family and I drive around 1,200 miles on various trips, which we do not bring any competent computers to. But I'm back and very interested in the power of scripting, and I'll find a way to work it between school and homework.
SOL's tut also comes with some text files. Is one a list of pre-defined commands? That would help immensely.
leorimolo





Posts: 89
Joined: Thu Oct 20, 2005 1:52 pm

Post by leorimolo »

get the script decomplier in haloplugins. Open SP maps and look at scripts its the best way. Then dont use sols tut for scripts instead use the entity script compiler.
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Yeah ive been gone all summer to, but i will be around more often again now :D
Post Reply