A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Where do i put my script for a sp map

Author Topic: Where do i put my script for a sp map (13 messages, Page 1 of 1)
Moderators: Dennis

Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 9, 2010 03:41 AM    Msg. 1 of 13       
refer to title


DavixXx
Joined: Mar 22, 2009

MW map pask in process


Posted: Aug 9, 2010 08:43 AM    Msg. 2 of 13       
data/levels/youmap/scripts

you must create this folder he dont existe(scripts)

and you must compile script with sapien (files>compile script, or ctrl+shift+c)


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 10, 2010 02:27 AM    Msg. 3 of 13       
right thanks. But i have made a mp map (icefields) into a (crappy) sp. The name is ice_battle. Do i need to create a new folder in 'levels' called ice_battle and also put in the scripts folder?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 10, 2010 10:28 AM    Msg. 4 of 13       
If your scenario file is still located in tags\levels\test\icefields\ice_battle.scenario, then you'd put the script file inside data\levels\test\icefields\scripts\script.hsc


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 10, 2010 07:18 PM    Msg. 5 of 13       
Okay i did that but now sapien crashes every time i try to open it. Does this mean there is something wrong with the script?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 10, 2010 10:32 PM    Msg. 6 of 13       
Check your debug.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 10, 2010 11:52 PM    Msg. 7 of 13       
okay forget that. Sapien was just screwing with me as usual. Fixed it eventually. Anyway, i tried compiling the script and still nothing happens


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 11, 2010 11:54 AM    Msg. 8 of 13       
Paste your script.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 12, 2010 01:21 AM    Msg. 9 of 13       
okay its a VERY basic script cos its my first map and i'm new to scripting so don't laugh...

(script startup basicsript
(sound_looping_start levels\b30\music\b30_01 none 1)
(sleep_until (= (ai_living_count encounter_1) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_1 (players))15)
(ai_place encounter_2)
(sleep_until (= (ai_living_count encounter_2) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_2 (players))15)
(ai_place encounter_3)
(sleep_until (= (ai_living_count encounter_3) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_3 (players))15)
(ai_place encounter_4)
(ai_place encounter_5)
(sleep_until (= (ai_living_count encounter_4) 0) 15)
(sleep_until (= (ai_living_count encounter_5) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_5 (players))15)
(ai_place encounter_6)
(sleep_until (volume_test_objects trigger_6 (players))15)
(ai_place encounter_7)
(ai_place encounter_8)
(ai_allegiance "player" "human")
(sleep_until (= (ai_living_count encounter_8) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_7 (players))15)
(ai_place encounter_9)
(sleep_until (= (ai_living_count encounter_9) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_8 (players))15)
(ai_place encounter_10)
(sleep_until (= (ai_living_count encounter_9) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_9 (players))15)
(ai_place encounter_11)
(sleep_until (= (ai_living_count encounter_11) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_10 (players))15)
(ai_place encounter_12)
(sleep_until (= (ai_living_count encounter_12) 0) 15)
(game_save_no_timeout)
(sleep_until (volume_test_objects trigger_11 (players))15)
(ai_place encounter_13)
(sleep_until (= (ai_living_count encounter_13) 0) 15)
(game_save_no_timeout)
(sound_looping_stop levels\b30\music\b30_0)
)


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Aug 12, 2010 02:07 AM    Msg. 10 of 13       
btr than i could do... :P


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 13, 2010 02:47 AM    Msg. 11 of 13       
Quote: --- Original message by: MoooseGuy
btr than i could do... :P


bs


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 13, 2010 12:42 PM    Msg. 12 of 13       
Everything checks out, IGNORING of course the fact that it's extremely unoptimized. For instance, if a single one of those commands fail to trip, none of the rest will. But of course, that won't stop compilation.

Your most likely problem is that you're putting them in the wrong folder. Give me the exact location of your scenario and of your script.


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Aug 13, 2010 09:59 PM    Msg. 13 of 13       
Some areas of the map are blocked so theres only one way u can go. Its crap tho cos u can skip the triggers by crouch jumping over the blockades. But why would you do that? That just ruins the fun

Scenario
C/programme files/microsft games/halo custom edition/tags/levels/test/icefields

Script
C/programme files/microsft games/halo custom edition/data/levels/test/icefields/scripts

and yes the script is an hsc

 

 
Previous Older Thread    Next newer Thread







Time: Fri May 29, 2020 3:35 AM 187 ms.
A Halo Maps Website