
viperfast1992
Joined: Jan 20, 2009
(DTS) Death Through the Shadows
|
Posted: May 22, 2009 02:10 AM
Msg. 1 of 11
ive never made a script before so i got EHS from the site. i want to know how to make scripts on there. if there is a good tutorial that would help me thats awesome.
mainly i want to script more vehicles into my map cause its a big freagin map, and vehicle teleporters
|
|
|

Nebulon
Joined: Jan 6, 2008
I am a noble warrior!
|
Posted: May 22, 2009 06:11 AM
Msg. 2 of 11
the script from the EHS doesn't work well (last i tried it, it didn't)
this is a script i made myself that worked ok, it just had a few bugs. anyway ill let you use it :) btw, you have to multiply this script by as many vehicles as you are putting, but you can put it into the same script file. just separate each part with a space
(script startup vtd_scorpion0 (sleep_until (volume_test_objects trig_scorpion0 (players)) 15) (object_create scorpion0) )
(script startup vtd_scorpion1 (sleep_until (volume_test_objects trig_scorpion1 (players)) 15) (object_create scorpion1) )
to use: name the vehicle used whatever you want (scorpion0 and scorpion1 in my script)
name your trigger volume that the player walks int to spawn the vehicle whatever (trig_scorpion0 and trig_scorpion1 in script)
either mark trigger volumes locations with something or make them big enough or located in such a way that it wont matter (like put them at the entrance to a hanger or something)
i marked it with a scenery object that was labeled Edited by Nebulon on May 22, 2009 at 06:12 AM
|
|
|

viperfast1992
Joined: Jan 20, 2009
(DTS) Death Through the Shadows
|
Posted: May 22, 2009 06:15 AM
Msg. 3 of 11
ok what about the check_vehicle that exists in globals.globals thing EHS told me. do i still need it. and thanks for the script
|
|
|

Nebulon
Joined: Jan 6, 2008
I am a noble warrior!
|
Posted: May 22, 2009 07:20 AM
Msg. 4 of 11
ignore anything in the EHS concerning extra vehicle spawning. There are a few good scripts there that work, but not many are easy to set up
And i would suggest to get EHS v2. i think there is a v3, but i dont really see any reason to have to sign up to the website it is just to download it
|
|
|

Koo294
Joined: Nov 30, 2008
How is she when she doesn't surf?
|
Posted: May 22, 2009 01:19 PM
Msg. 5 of 11
Quote: --- Original message by: Nebulon
the script from the EHS doesn't work well (last i tried it, it didn't)
Edited by Nebulon on May 22, 2009 at 06:12 AM the script from v2 does, to an extent.
|
|
|

viperfast1992
Joined: Jan 20, 2009
(DTS) Death Through the Shadows
|
Posted: May 22, 2009 01:37 PM
Msg. 6 of 11
ok thanks. ive been having trouble with that for a while. and i do have v2. i didnt know there was a v3. lol. ok i will add the script and see if that works... but my main question was how do i put it into the map using sapien
|
|
|

Koo294
Joined: Nov 30, 2008
How is she when she doesn't surf?
|
Posted: May 22, 2009 03:11 PM
Msg. 7 of 11
Quote: --- Original message by: viperfast1992 ok thanks. ive been having trouble with that for a while. and i do have v2. i didnt know there was a v3. lol. ok i will add the script and see if that works... but my main question was how do i put it into the map using sapien http://hce.halomaps.org/index.cfm?fid=4418
|
|
|

viperfast1992
Joined: Jan 20, 2009
(DTS) Death Through the Shadows
|
Posted: May 22, 2009 03:29 PM
Msg. 8 of 11
ok i did what it told me to do and sapien gave me a error code.
05.22.09 16:27:18 [vehiclescript line 20] this is not a valid cutscene_flag name: flag1) 05.22.09 16:27:18 recompiling scripts after scenarios were merged. 05.22.09 16:27:18 [vehiclescript line 19] this left parenthesis is unmatched.: (begin
what did i do wrong Edited by viperfast1992 on May 22, 2009 at 04:28 PM
|
|
|

Koo294
Joined: Nov 30, 2008
How is she when she doesn't surf?
|
Posted: May 22, 2009 04:37 PM
Msg. 9 of 11
Quote: --- Original message by: viperfast1992
ok i did what it told me to do and sapien gave me a error code.
05.22.09 16:27:18 [vehiclescript line 20] this is not a valid cutscene_flag name: flag1) 05.22.09 16:27:18 recompiling scripts after scenarios were merged. 05.22.09 16:27:18 [vehiclescript line 19] this left parenthesis is unmatched.: (begin
what did i do wrong Edited by viperfast1992 on May 22, 2009 at 04:28 PM you didn't call the flag flag1
|
|
|

viperfast1992
Joined: Jan 20, 2009
(DTS) Death Through the Shadows
|
Posted: May 22, 2009 04:39 PM
Msg. 10 of 11
OK THAT WORKED. thanks a lot
is there a way to make it so if a vehicle goes into the original trigger volume it dosnt respawn back to where it was, cause everytime a vehicle enters the trigger volume, it respawns back to the beginning
Edited by viperfast1992 on May 22, 2009 at 05:30 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: May 22, 2009 06:21 PM
Msg. 11 of 11
Paste your script here.
|
|
|