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 General Discussion »Help with single player maps

Author Topic: Help with single player maps (16 messages, Page 1 of 1)
Moderators: Dennis

t2nov
Joined: Jun 29, 2011


Posted: Jul 4, 2011 03:33 PM    Msg. 1 of 16       
Thanks to the previous post, I could play firefight-airlock, and some other maps. Not all of them, like odst-ascencion_firefight . I wrote map_name odst-ascencion_firefight) , but nothing happens, but if I write map_name final_control) , it loads the map and I can play it...so... I still don't know how to play any map, and to change the difficulty of the maps, I've read some map descriptions saying "you may want to play this on Legendary..."
HELP!


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Jul 4, 2011 03:35 PM    Msg. 2 of 16       
To play a map on a different difficulty you must type this before you load the map:

game_difficulty_set easy
game_difficulty_set normal
game_difficulty_set hard
game_difficulty_set impossible

Just chose your difficulty.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Jul 4, 2011 03:43 PM    Msg. 3 of 16       
You may not be spelling ascension correctly? It took me three tries.


t2nov
Joined: Jun 29, 2011


Posted: Jul 4, 2011 11:07 PM    Msg. 4 of 16       
Thanks for your help, but the change difficulty trick didn't work. I used it on the main screen, and right before the map loads, and it didn't work. And I'm sure I typed ascencion correctly......


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Jul 4, 2011 11:30 PM    Msg. 5 of 16       
Quote: --- Original message by: pepzee
To play a map on a different difficulty you must type this before you load the map:

game_difficulty_set easy
game_difficulty_set normal
game_difficulty_set hard
game_difficulty_set impossible

Just chose your difficulty.


Wait wait wait, so from a modding point of view, if you wanted to implement difficulties in a sp map, don't you have to check a box that says, "place on legendary," or something like that?
Edited by Xoronatus on Jul 4, 2011 at 11:31 PM


forrestkeller1
Joined: Nov 3, 2007

What? Why am I still here?


Posted: Jul 4, 2011 11:36 PM    Msg. 6 of 16       
Quote: --- Original message by: Xoronatus

Quote: --- Original message by: pepzee
To play a map on a different difficulty you must type this before you load the map:

game_difficulty_set easy
game_difficulty_set normal
game_difficulty_set hard
game_difficulty_set impossible

Just chose your difficulty.


Wait wait wait, so from a modding point of view, if you wanted to implement difficulties in a sp map, don't you have to check a box that says, "place on legendary," or something like that?
Edited by Xoronatus on Jul 4, 2011 at 11:31 PM


No that only works for the official SP maps a10 - d40 but with custom SP maps yo need to use the console to set the difficulty and load the map unless you have someone to implement the SP map to be loadable using campaign in the UI
Edited by forrestkeller1 on Jul 4, 2011 at 11:37 PM


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Jul 4, 2011 11:36 PM    Msg. 7 of 16       
Yeah, those checkboxes are in sapien.
Also, scripts can check what the difficult is set to. These scripts can place objects, too, and much more, like the number of ai spawned and stuff.


t2nov
Joined: Jun 29, 2011


Posted: Jul 5, 2011 10:20 PM    Msg. 8 of 16       
yeah, thanks for your help and everything....I'm happy to see that other people have resolved their doubts, but the difficulty can be changed right before the campaign map loads, with a campaign-enabled UI....but....HOW DO I CHANGE IT IN OTHER MAPS?
*breath*


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Jul 6, 2011 05:25 PM    Msg. 9 of 16       
So that means you have to make a separate encounter for each difficulty right?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Jul 6, 2011 05:30 PM    Msg. 10 of 16       
Quote: --- Original message by: Xoronatus
So that means you have to make a separate encounter for each difficulty right?

No, you can not change the difficulty in mid-game. The difficulty must be set at the beginning of the map, you can not change it once the map has loaded.

The default difficulty is normal, unless otherwise specified. You can change the difficulty manually with the console or script it to work. But you cannot change it mid-game.

Is that what you wanted to know? Your question is worded weird.
Edited by pepzee on Jul 6, 2011 at 05:38 PM


Co1t3r
Joined: Dec 13, 2008


Posted: Jul 6, 2011 06:01 PM    Msg. 11 of 16       
Keep in mind that you have to have dev-mode enabled to use game_difficulty_set.


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Jul 6, 2011 07:04 PM    Msg. 12 of 16       
Quote: --- Original message by: pepzee

Quote: --- Original message by: Xoronatus
So that means you have to make a separate encounter for each difficulty right?

No, you can not change the difficulty in mid-game. The difficulty must be set at the beginning of the map, you can not change it once the map has loaded.

The default difficulty is normal, unless otherwise specified. You can change the difficulty manually with the console or script it to work. But you cannot change it mid-game.

Is that what you wanted to know? Your question is worded weird.
Edited by pepzee on Jul 6, 2011 at 05:38 PM


lte's say I have an encouunter in Sapien called "blah." If I want the player to be able to play that encounter on any difficulty, do I have to make 4 different encounters and script an individual encounter to play on a certain difficulty, or do I only need 1 encounter to act for all of the difficulty levels?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: Jul 7, 2011 12:50 AM    Msg. 13 of 16       
Quote: --- Original message by: Xoronatus
lte's say I have an encouunter in Sapien called "blah." If I want the player to be able to play that encounter on any difficulty, do I have to make 4 different encounters and script an individual encounter to play on a certain difficulty, or do I only need 1 encounter to act for all of the difficulty levels?

You only need to create one encounter for all the difficulties. "game_difficulty_set" just tells the ai how to operate and how much damage they deal out.

You can though have only certain things happen on legendary though. For instance take a look at the d40 script:

(script static "void" x70_finale
(cinematic_suppress_bsp_object_creation true )
(player_effect_start 1 0 )
(player_effect_set_max_translation 0 0 0 )
(player_effect_set_max_rotation 0 0 0 )
(player_effect_set_max_rumble 0 0 )
(sound_looping_start "sound\sinomatixx_music\x70_music" none 1 )
(sound_looping_start "sound\sinomatixx_foley\x70_foley1" none 1 )
(object_destroy_containing "nipple" )
(fade_out 1 1 1 50 )
(sleep 30 )
(cinematic_start )
(camera_control true )
(switch_bsp 7 )
(object_teleport (player0 )player0_finale_pause )
(object_teleport (player1 )player1_finale_pause )
(unit_suspended (player0 )true )
(unit_suspended (player1 )true )
(hangar_1 )
(hangar_2 )
(sound_class_set_gain "weapon_fire" 0 0 )
(sound_class_set_gain "projectile_detonation" 0 0 )
(sound_class_set_gain "projectile_impact" 0 0 )
(sound_class_set_gain "unit_dialog" 0 0 )
(hangar_3 )
(if (= easy (game_difficulty_get_real ))(begin (switch_bsp 8 )
(launch_1 )
(sound_class_set_gain "unit_footsteps" 0 0 )
(launch_2 )
(fade_out 0 0 0 0 )
(switch_bsp 9 )
(fade_in 0 0 0 0 )
(rasterizer_model_ambient_reflection_tint 1 1 1 1 )
(int_1 )
(space_1 )
(fade_in 1 1 1 15 )
(int_2 )
(space_2 )
(int_3 )
(space_3 )
(int_4 )
(fade_out 0 0 0 120 )
(sleep 520 )
(cinematic_screen_effect_stop )
(rasterizer_model_ambient_reflection_tint 0 0 0 0 )(print "cue credits" )))
(if (= normal (game_difficulty_get_real ))(begin (switch_bsp 8 )
(launch_1 )
(sound_class_set_gain "unit_footsteps" 0 0 )
(launch_2 )
(fade_out 0 0 0 0 )
(switch_bsp 9 )
(fade_in 0 0 0 0 )
(rasterizer_model_ambient_reflection_tint 1 1 1 1 )
(int_1 )
(space_1 )
(fade_in 1 1 1 15 )
(int_2 )
(space_2 )
(int_3 )
(space_3 )
(int_4 )
(fade_out 0 0 0 120 )
(sleep 520 )
(cinematic_screen_effect_stop )
(rasterizer_model_ambient_reflection_tint 0 0 0 0 )(print "cue credits" )))
(if (= hard (game_difficulty_get_real ))(begin (switch_bsp 8 )
(launch_1 )
(sound_class_set_gain "unit_footsteps" 0 0 )
(launch_2 )
(fade_out 0 0 0 0 )
(switch_bsp 9 )
(fade_in 0 0 0 0 )
(rasterizer_model_ambient_reflection_tint 1 1 1 1 )
(int_1 )
(space_1 )
(fade_in 1 1 1 15 )
(int_2 )
(space_2 )
(int_3 )
(space_3 )
(int_4 )
(fade_out 0 0 0 120 )
(sleep 520 )
(cinematic_screen_effect_stop )
(rasterizer_model_ambient_reflection_tint 0 0 0 0 )(print "cue credits" )))
(if (= impossible (game_difficulty_get_real ))(begin (print "happy easter" )
(switch_bsp 8 )
(happy_easter )
(switch_bsp 9 )
(fade_in 0 0 0 0 )
(rasterizer_model_ambient_reflection_tint 1 1 1 1 )
(int_1 )
(space_1 )
(fade_in 1 1 1 15 )
(int_2 )
(space_2 )
(int_3 )
(space_3 )
(int_4 )
(fade_out 0 0 0 120 )
(sleep 520 )
(cinematic_screen_effect_stop )
(rasterizer_model_ambient_reflection_tint 0 0 0 0 )(print "cue credits" ))))

This is the script for all of the different endings on d40, including the legendary ending in the halo campaign. Notice the parts I bolded. It is a "if" statement. Basically saying:

"If the game is on easy difficulty execute this ending cutscene"
"If the game is on normal difficulty execute this ending cutscene"
"If the game is on hard difficulty execute this ending cutscene"
"If the game is on impossible difficulty execute this ending cutscene"

You could do this with anything, encounters, cutscenes, weapons, equitment, vehicles, ect.

But do not be confused with the fact that you cannot switch the difficulties against the AI mid-game.

I can go more in-depth with this if you need me too.

Edit: There is obviously a lot more to the script than just that, I shortened it for times sake.
Edited by pepzee on Jul 7, 2011 at 12:59 AM


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Jul 7, 2011 10:15 PM    Msg. 14 of 16       
Well, that was good enough for me. Thanks.


Muscl3r
Joined: May 22, 2010

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


Posted: Jul 8, 2011 07:35 AM    Msg. 15 of 16       
thread hijack much


IcePhoenix
Joined: Sep 9, 2010

-Minor modeler-


Posted: Jul 8, 2011 08:43 AM    Msg. 16 of 16       
Quote: --- Original message by: t2nov
like odst-ascencion_firefight . I wrote map_name odst-ascencion_firefight)

Quote: --- Original message by: SlappyThePirate
You may not be spelling ascension correctly?

Is not possible! ofc he's spelling it correctly, as you can see!

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:36 AM 172 ms.
A Halo Maps Website