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 »A extremely important script or way to change levels

Author Topic: A extremely important script or way to change levels (12 messages, Page 1 of 1)
Moderators: Dennis

sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 19, 2008 03:40 AM    Msg. 1 of 12       
i need the script (if thats what you need) so you can change levels. Like in the campaign how you go from a10 to a30 without having to type "map_name blah_blah_blah" at the end of each level. coz im making a complete custom campaign (except for bsps) on an assault for finding keyes. (the 2nd rescue, just extended and entirly changed in story and other things)
and i need to know how to make it so when you complete the level, it continues on going to the next level. (ive made a10 and a30 so far)


Mythril
-
Screenshot Guru
-
Joined: Mar 29, 2008

Jeffrey Albert Waldo


Posted: Nov 19, 2008 05:50 AM    Msg. 2 of 12       
I think you just script it in the last cutscene script. So after the cutscene is finished, the screen fades, then the map_name X command kicks in, and voila.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 19, 2008 11:21 AM    Msg. 3 of 12       
I think its map_load or something like that. Check the Halo Scripting Bible.

Quote: --- Original message by: sierra117
(ive made a10 and a30 so far)


Wait does that mean that you are modifying the original, using the same names as the original, or just saying that you made the first and second level of your campaign?


black doom
Joined: Oct 4, 2008

we will never stop, we can win the "impossible"


Posted: Nov 19, 2008 11:27 AM    Msg. 4 of 12       
the script to open the next map needs to be after the last line of scripts which is game_won or something like that. in the orginal campign switching map is automatic.

anyway, after it, add the same script you type in console to load a sp map. should work.


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 19, 2008 05:15 PM    Msg. 5 of 12       
oh a10 and a30 is what ive made in my campaign, im still finilizing the story but im hoping to make it reach d40 (so im not editing a10 scenario, im just naming it a10 to keep track) ty guys im about to check scripting bible


FoxtrotZero
Joined: Aug 3, 2008

Digging Foxholes by Profession


Posted: Nov 19, 2008 10:42 PM    Msg. 6 of 12       
So is there a Halo Religion?

Bad Puns aside, i want to remind you with a reccomendation to put the maps together in a pack.


Mythril
-
Screenshot Guru
-
Joined: Mar 29, 2008

Jeffrey Albert Waldo


Posted: Nov 20, 2008 12:08 AM    Msg. 7 of 12       
halomaps doesn't support map packs.


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 20, 2008 12:51 AM    Msg. 8 of 12       
halomaps doesnt support map packs wich make me sad. So ill upload it to filefront or something when its done (hoping to make user interface for campaign) coz im realesing the whole campaign at once so ill upload it to filefront. ive got the script its game_won and it works fine now but ive got a new problem: (extract from script)

(script startup ending
(sleep_until (ai_living_count end_covie (players)) 1)
(camera_control 1)
(camera_set ecut1 100)
(sleep 50)
(camera_set ecut2 100)
(sleep 50)
(camera_set ecut3 100)
(sleep 50)
(camera_set ecut4 100)
(sleep 50)
(camera_set ecut5 100)
(sleep 150)
(camera_control 0)
)
)

a hobo/sapien says theres something wrong about an argument or something!?!?!?!!?!?


megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Nov 20, 2008 05:27 PM    Msg. 9 of 12       
Quote: --- Original message by: sierra117
(script startup ending
...
)
)

a hobo/sapien says theres something wrong about an argument or something!?!?!?!!?!?


Is 2 of the )) a problem.


Advancebo
Joined: Jan 14, 2008


Posted: Nov 20, 2008 05:29 PM    Msg. 10 of 12       
its either the "script startup ending"
or the "cov_end" part


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Nov 24, 2008 04:06 AM    Msg. 11 of 12       
wait no sorry i was replying to the wrong topic. thought it was a different thread
Edited by sierra117 on Nov 24, 2008 at 04:07 AM


Rhydgaled Publications
Joined: May 10, 2007

I have many questions (can't fit URL in though)


Posted: Nov 24, 2008 03:35 PM    Msg. 12 of 12       
After a breif glance at that script code I think that the number of closing brackets dosen't match the opening brackets.

EDIT: I think this is also what megahalofan12 is pointing out, at the end of the script there are two closing brackets when only one appears to be required (I'm no expert at .hsc code though)

Also, I have my own question, if you can help please private message me:
Can I create a button in UI.map that is unlocked if the player has completed a given campaign map (for example a10, d40 or a custom campaign map with a name such as "danger_valley_sp1")
Edited by Rhydgaled Publications on Nov 24, 2008 at 03:42 PM

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 6:19 AM 141 ms.
A Halo Maps Website