PDA

View Full Version : [SCRIPT] Ripped scripts



The_Peace_Keeper
August 6th, 2010, 12:22 AM
Here are some scripts i ripped from h2v with gravmind.

Link (http://filebeam.com/8a88f67459879f0c53055e9bc77dc276)

(some of them you have to double click and open up in notepad)

Inferno
August 6th, 2010, 01:20 AM
Do scripts even sync in H2V? I'm pretty sure they don't but go ahead and check.

Compile a MP map with





(global short random_short_bro 0)
(script startup "bro story cool"
(set random_short_bro (random_range 0 4) )

(if ( = random_short_bro 0)
(begin (object_create bro_0) )
)

(if ( = random_short_bro 1)
(begin (object_create bro_1) )
)

(if ( = random_short_bro 2)
(begin (object_create bro_2) )
)

(if ( = random_short_bro 3)
(begin (object_create bro_3) )
)

(if ( = random_short_bro 4)
(begin (object_create bro_4) )
)
)

If scripts don't sync then this is pretty pointless since H2V doesn't come with the SP tags and no one has figured out tag extraction.

Oh well~

CodeBrain
August 6th, 2010, 01:22 PM
I dont think it is possible to name bipeds/vehicles yet, so syncing scripts may not work until it is possible to name them.

The_Peace_Keeper
August 6th, 2010, 08:08 PM
I dont think it is possible to name bipeds/vehicles yet, so syncing scripts may not work until it is possible to name them.

I figured out how to name them its actually easy.

leorimolo
August 7th, 2010, 01:34 PM
I figured out how to name them its actually easy.

Care to share, I loved scripting in h2x, but the compiler was a massive piece of shit.

The_Peace_Keeper
August 7th, 2010, 03:10 PM
http://www.modacity.net/forums/showthread.php?22134-scenario-object-names-research