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 »Firefight Script

Author Topic: Firefight Script (34 messages, Page 1 of 1)
Moderators: Dennis

Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Dec 6, 2010 08:55 PM    Msg. 1 of 34       
Hi, I am new to scripting, so I need help scripting.
I am trying to make a firefight script for a multiplayer firefight map. (Not single player).
I want the SERVER to be the narrator instead of the HUD help text.

Here's my script for the first wave.

(script startup test)
(sleep 120)
(sv_say "Firefight")
(sleep 150)
(ai_place wave1)
(sleep_until
(=
(ai_living_count wave1) 0) 15)
(sleep 90)
(sv_say "Wave 1 Exterminated")

So the .hsc file is called "test"
I put the script exactly like that into my Halo Custom Edition folder data\levels\tutorial\Scripts\
Then I went into Sapien and went to file and went to compile scripts.

It gave me this error
[test line 1] i expected (script ): (script startup test) recompiling scripts after scenarios were merged.
i expected (script ): (script startup test)

I dunno what's wrong :( Plz help me I wanna make an awesome firefight map with cool AI tags that im editing.


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 6, 2010 08:59 PM    Msg. 2 of 34       
(script startup test
(sleep 120)
(sv_say Firefight!)
(sleep 150)
(ai_place wave1)
(sleep_until (= (ai_living_count wave1) 0) 15)
(sleep 90)
(sv_say "Wave 1 Exterminated")
)


Parenthesis at the end.
Edited by MoooseGuy on Dec 6, 2010 at 08:59 PM


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Dec 8, 2010 11:04 PM    Msg. 3 of 34       
Additionally, sv_say dosen't work in SinglePlayer.


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Dec 8, 2010 11:11 PM    Msg. 4 of 34       
Oops. xD

Ah well, then it just serves good to remind you in advance that AI don't sync online, just in case....
Edited by Polamee on Dec 8, 2010 at 11:12 PM


Jesse
Joined: Jan 18, 2009

Discord: Holy Crust#4500


Posted: Dec 8, 2010 11:44 PM    Msg. 5 of 34       
Quote: --- Original message by: Xoronatus
stuff

Somehow I really doubt your quote.


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 9, 2010 03:02 AM    Msg. 6 of 34       
Quote: --- Original message by: l283023
Quote: --- Original message by: Xoronatus
I am trying to make a firefight script for a multiplayer firefight map. (Not single player).

Why multiplayer?
Firefight maps suck in multiplayer, because ai don't sync and a bunch of other problems.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 03:34 AM    Msg. 7 of 34       
Gephyrobian firefight was mp and it just felt wierd. Sp would be much better


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 03:44 AM    Msg. 8 of 34       
um, make ur own??


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 03:47 AM    Msg. 9 of 34       
uh oh. Should i recommend some tutorials? Or for a basic (no offence) firefight, use the above script as a base


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 03:50 AM    Msg. 10 of 34       
i said as a base.
Just get rid of the sv say and stuff like that and you have a very basic script for a sp level


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 03:57 AM    Msg. 11 of 34       
okay then
Download halo scripting bible, polar bear's sp tuts v2 and polamee's sp tut as well. I think they are the best on this site


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 9, 2010 05:14 AM    Msg. 12 of 34       
You do know that Juan is actually a fake account made by another member of the community (not going to say the name) in order to troll and annoy people...
Don't help the fake.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 06:14 AM    Msg. 13 of 34       
If so i'll go get head noob. He can help if juan's a fake. Head noob loves making himself feel better

(Head Noob, i didn't even need to post some lame ass pokemon commentary to sell u)


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 9, 2010 06:20 AM    Msg. 14 of 34       
A new crave of pokemon style replies are occuring. Due to the piture of a elite odst in the bipeds page 86. SO everything that i seem to reply is lik pokemon.
GO HEADNOOB.
HeadNoob uses script help
An example script of a sp
(script continuous bsp
(if (= (volume_test_objects a_to_b (list_get (players) 0)) true)
(switch_bsp 0)
(if (= (volume_test_objects b_to_a (list_get (players) 0)) true)
(switch_bsp 1))))

(script dormant cov_south
(ai_place cov_south)
)

(script dormant cov_north
(object_create ct1)
(object_create ct2)
(object_create w1)
(ai_place cov_north)
(vehicle_load_magic ct1 gunner (ai_actors cov_north/grunt1))
(vehicle_load_magic ct2 gunner (ai_actors cov_north/grunt2))
(vehicle_load_magic w1 driver (ai_actors cov_north/elite1))
(sleep_until (= (ai_living_count cov_north) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
)

(script dormant cov_east
(object_create aa3)
(object_create aa4)
(ai_place cov_east)
(vehicle_load_magic aa3 driver (ai_actors cov_east/brute1))
(vehicle_load_magic aa4 driver (ai_actors cov_east/brute2))
(sleep_until (= (ai_living_count cov_east) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
)

(script startup predict
(sound_looping_predict music\blow_me_away)
(sound_looping_predict sound\music\reach\oni_swordbase\oni_swordbase)
(sound_looping_predict levels\c10\music\c10_07)
(sound_looping_predict sound\music\reach\winter_costingency\winter_contingency)
(sound_looping_predict sound\halo2\music\inamberclad1\in_amber_clad)
)

(script dormant base_outside
(object_create w2)
(object_create ct3)
(ai_place base_outside)
(vehicle_load_magic w2 driver (ai_actors base_outside/elite1))
(vehicle_load_magic ct3 gunner (ai_actors base_outside/grunt1))
)

(script startup destroy
(object_destroy_containing a)
(object_destroy_containing w)
(object_destroy_containing c)
)

(script dormant cut_two
(fade_out 1 1 1 30)
(player_enable_input 0)
(camera_control 1)
(cinematic_start)
(cinematic_show_letterbox true)
(camera_set cam5 0)
(object_teleport (unit (list_get (players) 0)) nav2)
(ai_place player2)
(fade_in 1 1 1 30)
(ai_command_list player2 jump)
(camera_set cam6 100)
(sleep 300)
(fade_out 1 1 1 30)
(sound_looping_stop sound\halo2\music\inamberclad1\in_amber_clad)
(map_name b40)
)

(script dormant cut_one
(fade_out 1 1 1 30)
(switch_bsp 0)
(player_enable_input 0)
(camera_control 1)
(cinematic_start)
(cinematic_show_letterbox true)
(camera_set cam3 0)
(ai_place elite)
(cinematic_set_title door)
(fade_in 1 1 1 30)
(ai_command_list elite walk)
(camera_set cam4 100)
(sleep 60)
(fade_out 1 1 1 30)
(ai_kill_silent elite)
(cinematic_show_letterbox false)
(cinematic_stop)
(camera_control 0)
(player_enable_input 1)
(switch_bsp 1)
(fade_in 1 1 1 30)
(show_hud_help_text true)
(hud_set_objective_text obj5)
(hud_set_help_text obj5)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
)

(script dormant beach_base
(ai_allegiance player human)
(cinematic_set_title b30)
(cinematic_show_letterbox true)
(show_hud false)
(sleep 210)
(show_hud true)
(cinematic_show_letterbox false)
(sleep_until (= (ai_living_count cov_beach) 0) 15)
(sound_looping_start levels\c10\music\c10_07 none 1)
(object_create c1)
(ai_place cov_creep1)
(ai_place creep_drivers)
(vehicle_load_magic c1 "" (ai_actors cov_creep1))
(vehicle_load_magic c1 driver (ai_actors creep_drivers/elite1))
(vehicle_load_magic c1 gunner (ai_actors creep_drivers/elite2))
(ai_command_list creep_drivers move)
(ai_magically_see_players cov_creep1)
(sleep 500)
(vehicle_unload c1 "")
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count cov_creep1) 0) 15)
(object_create warthog1)
(ai_place warthog1)
(vehicle_load_magic warthog1 driver (ai_actors warthog1/marine1))
(vehicle_load_magic warthog1 gunner (ai_actors warthog1/marine2))
(vehicle_load_magic warthog1 passenger (ai_actors warthog1/marine3))
(ai_command_list warthog1 pop)
(sleep 500)
(vehicle_unload warthog1 "")
(show_hud_help_text true)
(hud_set_objective_text obj2)
(hud_set_help_text obj2)
(sleep 150)
(show_hud_help_text false)
(activate_team_nav_point_flag default_white player nav1 1)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(wake cov_south)
(wake cov_north)
(wake cov_east)
(wake base_outside)
(sleep 150)
(show_hud_help_text true)
(hud_set_objective_text obj3)
(hud_set_help_text obj3)
(sleep 150)
(show_hud_help_text false)
(deactivate_team_nav_point_flag player nav1)
(sleep_until (volume_test_objects multi_base (players)) 15)
(ai_place cov_inside1)
(ai_place door)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count door) 0) 15)
(sound_looping_stop levels\c10\music\c10_07)
(sleep 200)
(ai_place cov_help)
(object_create c2)
(vehicle_load_magic c2 gunner (ai_actors cov_help/elite1))
(show_hud_help_text true)
(hud_set_objective_text obj4)
(hud_set_help_text obj4)
(sleep 150)
(show_hud_help_text false)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(cinematic_set_title plans)
(cinematic_show_letterbox true)
(show_hud false)
(sleep 210)
(show_hud true)
(cinematic_show_letterbox false)
(sleep_until (volume_test_objects b1 (players)) 15)
(ai_place cov_hiv)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep 400)
(ai_place cov_aids)
(sleep_until (volume_test_objects b2 (players)) 15)
(object_create ct4)
(object_create ct5)
(ai_place b2_cov)
(vehicle_load_magic ct4 gunner (ai_actors b2_cov/grunt1))
(vehicle_load_magic ct5 gunner (ai_actors b2_cov/grunt2))
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (volume_test_objects b3 (players)) 15)
(sound_looping_start sound\music\reach\oni_swordbase\oni_swordbase none 1)
(ai_place cov_hunters)
(sleep 150)
(ai_magically_see_players cov_hunters)
(device_operates_automatically_set door1 true)
(sleep_until (volume_test_objects b4 (players)) 15)
(wake cut_one)
(sleep_until (volume_test_objects b5 (players)) 15)
(ai_place cov_mut)
(sleep_until (= (ai_living_count cov_mut) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (volume_test_objects b2 (players)) 15)
(sound_looping_stop sound\music\reach\oni_swordbase\oni_swordbase)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(ai_place cov_jockeys)
(sleep_until (volume_test_objects b1 (players)) 15)
(object_create warthog2)
(ai_place warthog2)
(ai_place cov_stop)
(ai_place cov_base)
(object_destroy c2)
(object_destroy c1)
(sleep_until (volume_test_objects multi_base (players)) 15)
(ai_place cov_balloon)
(sleep_until (volume_test_objects a1 (players)) 15)
(sound_looping_start sound\music\reach\winter_costingency\winter_contingency none 1)
(ai_place cov_a1)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(show_hud_help_text true)
(hud_set_objective_text obj6)
(hud_set_help_text obj6)
(sleep 150)
(show_hud_help_text false)
(sleep_until (volume_test_objects a2 (players)) 15)
(ai_place jackels)
(device_operates_automatically_set door2 true)
(sleep_until (volume_test_objects a3 (players)) 15)
(ai_place cov_a3)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(show_hud_help_text true)
(hud_set_objective_text obj8)
(hud_set_help_text obj8)
(sleep 150)
(show_hud_help_text false)
(sleep_until (volume_test_objects a4 (players)) 15)
(device_operates_automatically_set door3 true)
(device_operates_automatically_set door4 true)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(ai_place cov_a4)
(ai_place commander)
(hud_set_objective_text obj9)
(hud_set_help_text obj9)
(sleep 150)
(show_hud_help_text false)
(sleep_until (= (ai_living_count commander) 0) 15)
(ai_place cov_hut)
(ai_place odst)
(ai_kill_silent odst)
(object_create c4)
(show_hud_help_text true)
(hud_set_objective_text obj11)
(hud_set_help_text obj11)
(sleep 150)
(show_hud_help_text false)
(activate_team_nav_point_flag default_red player nav2 1)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count cov_hut) 0) 15)
(ai_place cov_huts)
(sleep_until (= (ai_living_count cov_huts) 0) 15)
(show_hud_help_text true)
(hud_set_objective_text obj12)
(hud_set_help_text obj12)
(sleep 150)
(show_hud_help_text false)
(deactivate_team_nav_point_flag player nav2)
(cinematic_set_title leave)
(cinematic_show_letterbox true)
(show_hud false)
(sleep 210)
(show_hud true)
(cinematic_show_letterbox false)
(activate_team_nav_point_flag default player nav1 1)
(ai_place cov_stopping)
(sleep_until (volume_test_objects w1 (players)) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(ai_place warthog3)
(object_create warthog3)
(ai_place cov_moddy)
(object_create w3)
(vehicle_load_magic w3 driver (ai_actors cov_moddy/elite1))
(sound_looping_stop sound\music\reach\winter_costingency\winter_contingency)
(sound_looping_start music\blow_me_away none 1)
(sleep_until (= (ai_living_count cov_moddy) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(deactivate_team_nav_point_flag player nav1)
(show_hud_help_text true)
(hud_set_objective_text obj13)
(hud_set_help_text obj13)
(sleep 150)
(show_hud_help_text false)
(ai_place cov_creep1)
(ai_command_list cov_creep1 move)
(sleep_until (= (ai_living_count cov_creep1) 0) 15)
(sleep 50)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(ai_place cov_flank)
(ai_command_list cov_flank flank)
(sleep_until (= (ai_living_count cov_flank) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(ai_place cov_vehicles)
(object_create w4)
(object_create aa5)
(vehicle_load_magic w4 driver (ai_actors cov_vehicles/brute1))
(vehicle_load_magic aa5 driver (ai_actors cov_vehicles/elite1))
(ai_command_list cov_vehicles charge)
(object_create c42)
(sleep_until (= (ai_living_count cov_vehicles) 0) 15)
(ai_place wave1)
(ai_magically_see_players wave1)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count wave1) 0) 15)
(ai_place wave2)
(object_create w4)
(vehicle_load_magic w4 driver (ai_actors wave2/elite1))
(ai_magically_see_players wave2)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count wave2) 0) 15)
(ai_place wave3)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (= (ai_living_count wave3) 0) 15)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(show_hud_help_text true)
(hud_set_objective_text obj14)
(hud_set_help_text obj14)
(sleep 150)
(show_hud_help_text false)
(activate_team_nav_point_flag default_white player nav3 1)
(ai_place cov_y)
(ai_place door)
(sound_looping_stop music\blow_me_away)
(sound_looping_start sound\halo2\music\inamberclad1\in_amber_clad none 1)
(sleep_until (volume_test_objects a1 (players)) 15)
(ai_place last_cov1)
(game_save_totally_unsafe)
(garbage_collect_now)
(rasterizer_decals_flush)
(sleep_until (volume_test_objects a3 (players)) 15)
(ai_place last_cov2)
(sleep 100)
(object_create w99)
(hud_set_objective_text obj15)
(hud_set_help_text obj15)
(sleep 150)
(show_hud_help_text false)
(deactivate_team_nav_point_flag player nav3)
(sleep_until (= (ai_living_count last_cov2) 0) 15)
(wake cut_two)
)

(script startup cutscene1
(switch_bsp 1)
(fade_out 1 1 1 30)
(player_enable_input 0)
(camera_control 1)
(cinematic_start)
(cinematic_show_letterbox true)
(camera_set cam1 0)
(ai_place player1)
(object_create aa1)
(object_create aa2)
(fade_in 1 1 1 30)
(cinematic_set_title map)
(ai_command_list player1 player1)
(sleep 450)
(ai_place cov_beach)
(vehicle_load_magic aa1 driver (ai_actors cov_beach/brute1))
(vehicle_load_magic aa2 driver (ai_actors cov_beach/brute2))
(camera_set cam2 60)
(show_hud_help_text true)
(hud_set_objective_text obj1)
(hud_set_help_text obj1)
(sleep 150)
(show_hud_help_text false)
(fade_out 1 1 1 30)
(ai_kill_silent player1)
(garbage_collect_now)
(rasterizer_decals_flush)
(object_teleport (unit (list_get (players) 0)) tp1)
(player_enable_input 1)
(camera_control 0)
(cinematic_stop)
(cinematic_show_letterbox false)
(fade_in 1 1 1 30)
(wake beach_base)
)


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 9, 2010 06:21 AM    Msg. 15 of 34       
Don't worry.

I'm just screwing Head Noob on the forums

Nothing out of the ordinary there.

So where were we?


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 9, 2010 06:30 AM    Msg. 16 of 34       
A firefight script hold on Ill post mine soon for an example. The above on is b30 so its a bit complicated.


spartin115
Joined: Sep 26, 2009


Posted: Dec 9, 2010 11:52 PM    Msg. 17 of 34       
an example of a SP firefight script

(global short lives 7)

(global short points1 0)

(global short loadout 0)

(global boolean set_compleat true)

(global boolean started false)

(global short wave 3)

(script continuous gameover
(if (= lives 0) (game_lost))
)


(script continuous randomrange
(sleep_until (= set_compleat true)(set wave (random_range 0 2)))
(sleep 90)
)

(script continuous seting
(hud_set_timer_time lives points1)
(pause_hud_timer true)
)

(script startup loadoutset
(player_add_equipment (unit (list_get (players) 0)) loadout1 true)
(cinematic_start)
(sound_impulse_start dp444\sound\dialogue\microsoft_sam\sound_test_announcement none 1.00)
(sleep 60)
(sound_impulse_start spartin115\firefight\firefight none 1.00)
(sleep 60)
(sound_impulse_start spartin115\firefight\lives_added none 1.00)
(sleep 60)
(sound_impulse_start spartin115\firefight\wepon_drop none 1.00)
(sleep 60)
(sound_impulse_start spartin115\firefight\round_compleat none 1.00)
(sleep 60)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(sleep 60)
(cinematic_stop)
(hud_set_timer_position 0 0 bottom_right)
(pause_hud_timer true)
(show_hud_timer true)
(sleep 60)
(sound_impulse_start spartin115\firefight\firefight none 1.00)
(set set_compleat true)
(set started true)
)

(script continuous life_lost
(set cheat_deathless_player true)
(sleep_until (<= (unit_get_health (unit (list_get (players) 0))) 0.01) 1)
(player_enable_input false)
(fade_out 1 0 0 60)
(sleep 60)
(set lives (- lives 1))
(object_create_anew skull)
(object_teleport skull spawn)
(object_teleport (unit (list_get (players) 0)) spawn)
(player_add_equipment (unit (list_get (players) 0)) ball false)
(sleep 30)
(player_add_equipment (unit (list_get (players) 0)) none true)
(sleep 30)
(if (= loadout 0) (player_add_equipment (unit (list_get (players) 0)) loadout1 true))
(if (= loadout 1) (player_add_equipment (unit (list_get (players) 0)) loadout2 true))
(object_create_anew skull)
(fade_in 0 0 0 90)
(player_enable_input true)
(sleep 10)
(object_create_anew skull)
)


(script continuous set_1
(sleep_until (= started 1))
(if (= wave 0)(begin
(set set_compleat 0)
(sleep 60)
(ai_place wave_1)
(ai_magically_see_players wave_1)
(sleep_until (= (ai_strength wave_1) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_2)
(ai_magically_see_players wave_2)
(sleep_until (= (ai_strength wave_2) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_3)
(ai_magically_see_players wave_3)
(sleep_until (= (ai_strength wave_3) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_4d)
(ai_magically_see_players wave_4d)
(ai_place wave_4)
(ai_magically_see_players wave_4)
(sleep_until (= (ai_strength wave_4) 0))
(sleep_until (= (ai_strength wave_4d) 0))
(sound_looping_start spartin115\sound\muisc\odst\finale\finale none 1)
(sound_looping_set_scale spartin115\sound\muisc\odst\finale\finale 0.7)
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_5)
(ai_magically_see_players wave_5)
(sleep_until (= (ai_strength wave_5) 0))
(sleep 10)
(sound_looping_set_scale spartin115\sound\muisc\odst\finale\finale 0.4)
(sound_looping_stop spartin115\sound\muisc\odst\finale\finale)
(sleep 30)
(sound_impulse_start spartin115\firefight\round_compleat none 1)
(sleep 60)
(if (< lives 14) (sound_impulse_start spartin115\firefight\lives_added none 1))
(if (< lives 14) (set lives (+ lives 2)))
(if (< lives 14) (sleep 60))
(sound_impulse_start spartin115\firefight\wepon_drop none 1)
(sleep 60)
(object_create_anew_containing gun)
(garbage_collect_now)
(sleep 300)
(set set_compleat 1)
)))


(script continuous set_2
(sleep_until (= started 1))
(if (= wave 1)(begin
(set set_compleat 0)
(sleep 60)
(ai_place wave_6)
(ai_magically_see_players wave_6)
(sleep_until (= (ai_strength wave_6) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_7)
(ai_magically_see_players wave_7)
(sleep_until (= (ai_strength wave_7) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_8)
(ai_magically_see_players wave_8)
(sleep_until (= (ai_strength wave_8) 0))
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_9)
(ai_magically_see_players wave_9)
(sleep_until (= (ai_strength wave_9) 0))
(sound_looping_start spartin115\sound\muisc\odst\finale\finale none 1)
(sound_looping_set_scale spartin115\sound\muisc\odst\finale\finale 0.7)
(garbage_collect_now)
(sound_impulse_start sound\dialog\halo_reach_dialog\reinforcements none 1.00)
(ai_place wave_10)
(ai_place wave_4d)
(ai_magically_see_players wave_4d)
(ai_magically_see_players wave_5)
(sleep_until (= (ai_strength wave_5) 0))
(sleep_until (= (ai_strength wave_4d) 0))
(sleep 10)
(sound_looping_set_scale spartin115\sound\muisc\odst\finale\finale 0.4)
(sound_looping_stop spartin115\sound\muisc\odst\finale\finale)
(sleep 30)
(sound_impulse_start spartin115\firefight\round_compleat none 1)
(sleep 60)
(if (< lives 14) (sound_impulse_start spartin115\firefight\lives_added none 1))
(if (< lives 14) (set lives (+ lives 2)))
(if (< lives 14) (sleep 60))
(sound_impulse_start spartin115\firefight\wepon_drop none 1)
(sleep 60)
(object_create_anew_containing gun)
(garbage_collect_now)
(sleep 300)
(set set_compleat 1)
)))


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 9, 2010 11:55 PM    Msg. 18 of 34       
What a bueatiful script *Tear*


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 10, 2010 02:01 AM    Msg. 19 of 34       
If I posted my script here, your heads would asplode. XD


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Dec 10, 2010 02:35 AM    Msg. 20 of 34       
Quote: --- Original message by: MoooseGuy
If I posted my script here, your heads would asplode. XD


^this. I got a headache trying to figure out his scripts and what went where.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 02:37 AM    Msg. 21 of 34       
Quote: --- Original message by: MoooseGuy
If I posted my script here, your heads would asplode. XD


Assplode?? Ow!!!


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 10, 2010 04:36 AM    Msg. 22 of 34       
LOL


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 10, 2010 05:05 AM    Msg. 23 of 34       
Is L28 really banned, or is Jaun just being full of bs?


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:11 AM    Msg. 24 of 34       
I was looking for a locked thread but all i could find was 'the thread'. STILL laughing about Juan's termite and the chair thing


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:14 AM    Msg. 25 of 34       
How did he get banned?


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:18 AM    Msg. 26 of 34       
who?


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 10, 2010 05:21 AM    Msg. 27 of 34       
fro = from?
Anyways, back on topic.
I'm sure Dennis had been grieving these last couple days over how much off-topicness is in the forums. I am not exempt.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:21 AM    Msg. 28 of 34       
I find that ever1 is mean to Juan. I take pity on you my son


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 10, 2010 05:30 AM    Msg. 29 of 34       
Quote: --- Original message by: MoooseGuy
back on topic.
I'm sure Dennis had been grieving these last couple days over how much off-topicness is in the forums. I am not exempt.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:31 AM    Msg. 30 of 34       
I agree with Moose- wait. What was the topic??


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:37 AM    Msg. 31 of 34       
I could help with the scripting but populate ur own map!


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 10, 2010 05:38 AM    Msg. 32 of 34       
Quote: --- Original message by: Juan
I need help with a SP firefight script. I need someone to do most of the work on it, populate the map for me, and give me all the credit. =)

Obvious troll is obvious.


Muscl3r
Joined: May 22, 2010

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


Posted: Dec 10, 2010 05:42 AM    Msg. 33 of 34       
Geezz mousseguy get back on topic geeezzz


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Dec 10, 2010 05:51 AM    Msg. 34 of 34       
Do it yourself. Download halo scripting bible keywords.
Commands needed for firefight are:
(sleep_until (= (ai_living_count encounter) 0) 15)
(ai_place encounter)
(object_create object)
(object_destroy object)
Now this is for hud text.
1) Open notepad and cmd.
Now do the following.
obj1=>>Wave 1
obj2=>Wave one Destroyed.
obj3=>>Wave 2
etc. etc.
Then save in levels\mapfoleder
The use cmd to compile
tool hud-messages levels\levelfolder level
It will compile when the cmd says at the bottom:
#26 hud messages. or so.
Then more scripting
(show_hud_help_text true)
(hud_set_objective_text obj1)
(hud_set_help_text obj1)
(sleep 150)
(show_hud_help_text false)
An example of a firefight script basic:
(script startup firefight
(ai_place wave1)
(show_hud_help_text true)
(hud_set_objective_text obj1)
(hud_set_help_text obj1)
(sleep 150)
(show_hud_help_text false)
(sleep_until (= (ai_lving_count wave1) 0) 15)
(show_hud_help_text true)
(hud_set_objective_text obj2)
(hud_set_help_text obj2)
(sleep 150)
(show_hud_help_text false)
(sleep 150)
(show_hud_help_text true)
(hud_set_objective_text obj3)
(hud_set_help_text obj3)
(sleep 150)
(show_hud_help_text false)
(ai_place wave2)
(sleep_unti (= (ai_living_count wave2) 0) 15)
)

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:54 AM 171 ms.
A Halo Maps Website