Join us on our TWC Discord channel

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Download Fueldump script disables stage 2 of the east depot defenses (archived by iTim)
#11
http://forum.splatterladder.com/index.ph...entry45120

This also have all the feature in current mapscript (ramp upgrade etc)
[Image: dlnof9.jpg]
#12
Actually I just finished it, gonna send it to Chuck for testing after I finish putting it into the current mapscript.

Btw, I'm aware of the existence of Ragnar's script and I used it to compare some stuff to make sure they would work.

Raw code:
Code:
//Antho - Replace this with the bani mangle //bani - mangle the team_CTF_bluespawn into a team_CTF_redspawn //Antho - set it back to allied upon cp construction eastbunker_wobj { spawn { set { //we dont want to call G_Spawn() again... classname_nospawn "team_CTF_redspawn" spawnflags 1 // TEAM_AXIS(1) } //have to wait until spawning finished so it can be alertentity'd wait 100 //this will re-register it as an axis spawn alertentity eastbunker_wobj //and make it an available spawnpoint setstate eastbunker_wobj default alertentity eastbunker_spawns } trigger on { set { classname_nospawn "team_CTF_bluespawn" spawnflags 2 // TEAM_ALLIES (2) { wait 10 setstate eastbunker_wobj default alertentity eastbunker_spawns } } } trigger off { set { classname_nospawn "team_CTF_redspawn" spawnflags 1 //TEAM_AXIS { wait 10 setstate eastbunker_wobj default alertentity eastbunker_spawns } } } } //Antho - make allied spawns axis ones and the opposite eastbunker_spawns { spawn { set { spawnflags 1 //TEAM_AXIS //we dont want to call G_Spawn() again... classname_nospawn "team_CTF_redspawn" } } trigger off { //alertentity will toggle this to reverse set { spawnflags 2 //Antho - TEAM_ALLIES IF OFF classname_nospawn "team_CTF_bluespawn" } } trigger on { //alertentity will toggle this to reverse set { spawnflags 1 //TEAM_AXIS classname_nospawn "team_CTF_redspawn" } } } // ================================================ // ============ NEUTRAL COMMAND POST ============== // ================================================ //Antho - replace this allied_compost_built { spawn { wait 400 trigger allied_compost_built setup constructible_class 2 } trigger setup { setchargetimefactor 1 soldier 1 setchargetimefactor 1 lieutenant 1 setchargetimefactor 1 medic 1 setchargetimefactor 1 engineer 1 setchargetimefactor 1 covertops 1 sethqstatus 1 0 } buildstart final { setstate allied_compost_built_model underconstruction setstate neutral_compost_closed_clip invisible setstate neutral_compost_closed_model invisible } built final { setstate allied_compost_built_model default setstate neutral_compost_closed_clip invisible setstate neutral_compost_closed_model invisible trigger allied_compost_built_model enable_allied_features enablespeaker allies_compost_sound } decayed final { setstate allied_compost_built_model invisible setstate neutral_compost_closed_clip default setstate neutral_compost_closed_model default } death { setstate allied_compost_built_model invisible setstate neutral_compost_closed_clip default setstate neutral_compost_closed_model default trigger allied_compost_built_model disable_allied_features disablespeaker allies_compost_sound } } allied_compost_built_model { spawn { wait 400 setstate allied_compost_built_model invisible } trigger enable_allied_features { setchargetimefactor 1 soldier 0.75 setchargetimefactor 1 lieutenant 0.75 setchargetimefactor 1 medic 0.75 setchargetimefactor 1 engineer 0.75 setchargetimefactor 1 covertops 0.75 sethqstatus 1 1 //bani //trigger eastbunker_spawns off //alertentity eastbunker_spawns //setstate eastbunker_wobj invisible //Antho trigger eastbunker_spawns off alertentity eastbunker_spawns trigger eastbunker_wobj on alertentity eastbunker_wobj setstate eastbunker_wobj default // *----------------------------------- vo ------------------------------------------* wm_teamvoiceannounce 0 "axis_hq_compost_constructed_allies" wm_teamvoiceannounce 1 "allies_hq_compost_constructed" wm_removeteamvoiceannounce 0 "axis_hq_compost_construct" wm_removeteamvoiceannounce 1 "allies_hq_compost_construct" // *---------------------------------------------------------------------------------* wm_announce "Allied Command Post constructed. Charge speed increased!" wm_objective_status 5 0 2 wm_objective_status 5 1 1 } trigger disable_allied_features { setchargetimefactor 1 soldier 1 setchargetimefactor 1 medic 1 setchargetimefactor 1 engineer 1 setchargetimefactor 1 lieutenant 1 setchargetimefactor 1 covertops 1 sethqstatus 1 0 //Antho setstate eastbunker_wobj invisible // *----------------------------------- vo ------------------------------------------* wm_addteamvoiceannounce 0 "axis_hq_compost_construct" wm_addteamvoiceannounce 1 "allies_hq_compost_construct" wm_teamvoiceannounce 0 "axis_hq_compost_construct" wm_teamvoiceannounce 1 "allies_hq_compost_damaged" // *---------------------------------------------------------------------------------* wm_announce "Axis team has destroyed the Allied Command Post!" wm_objective_status 5 0 0 wm_objective_status 5 1 0 } } axis_compost_built { spawn { wait 400 trigger axis_compost_built setup constructible_class 2 } trigger setup { setchargetimefactor 0 soldier 1 setchargetimefactor 0 lieutenant 1 setchargetimefactor 0 medic 1 setchargetimefactor 0 engineer 1 setchargetimefactor 0 covertops 1 sethqstatus 0 0 } buildstart final { setstate axis_compost_built_model underconstruction setstate neutral_compost_closed_clip invisible setstate neutral_compost_closed_model invisible } built final { setstate axis_compost_built_model default setstate neutral_compost_closed_clip invisible setstate neutral_compost_closed_model invisible trigger axis_compost_built_model enable_axis_features enablespeaker axis_compost_sound } decayed final { setstate axis_compost_built_model invisible setstate neutral_compost_closed_clip default setstate neutral_compost_closed_model default } death { setstate axis_compost_built_model invisible setstate neutral_compost_closed_clip default setstate neutral_compost_closed_model default trigger axis_compost_built_model disable_axis_features disablespeaker axis_compost_sound } } axis_compost_built_model { spawn { wait 400 setstate axis_compost_built_model invisible } trigger enable_axis_features { setchargetimefactor 0 soldier 0.75 setchargetimefactor 0 lieutenant 0.75 setchargetimefactor 0 medic 0.75 setchargetimefactor 0 engineer 0.75 setchargetimefactor 0 covertops 0.75 sethqstatus 0 1 //bani //trigger eastbunker_spawns on //alertentity eastbunker_spawns //setstate eastbunker_wobj default //Antho trigger eastbunker_spawns on alertentity eastbunker_spawns setstate eastbunker_wobj default trigger eastbunker_wobj off alertentity eastbunker_wobj // *----------------------------------- vo ------------------------------------------* wm_teamvoiceannounce 0 "axis_hq_compost_constructed" wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis" wm_removeteamvoiceannounce 0 "axis_hq_compost_construct" wm_removeteamvoiceannounce 1 "allies_hq_compost_construct" // *---------------------------------------------------------------------------------* wm_announce "Axis Command Post constructed. Charge speed increased!" wm_objective_status 6 0 1 wm_objective_status 6 1 2 } trigger disable_axis_features { setchargetimefactor 0 soldier 1 setchargetimefactor 0 lieutenant 1 setchargetimefactor 0 medic 1 setchargetimefactor 0 engineer 1 setchargetimefactor 0 covertops 1 sethqstatus 0 0 //bani //trigger eastbunker_spawns off //alertentity eastbunker_spawns //setstate eastbunker_wobj invisible //Antho setstate eastbunker_wobj invisible // *----------------------------------- vo ------------------------------------------* wm_addteamvoiceannounce 0 "axis_hq_compost_construct" wm_addteamvoiceannounce 1 "allies_hq_compost_construct" wm_teamvoiceannounce 0 "axis_hq_compost_construct" wm_teamvoiceannounce 1 "allies_hq_compost_damaged" // *---------------------------------------------------------------------------------* wm_announce "Allied team has destroyed the Axis Command Post!" wm_objective_status 6 0 0 wm_objective_status 6 1 0 } }
#13
i feel like i just read chinese ._.
just kidding Biggrin seems cool man Smile it will be way more fair like this, i hope it gets implemented very soon!
[Image: h9QO84a.png]
#14
hmmm imo this hard enough for axis to defend Battery as it is.
[Image: 4619468.png]
[Image: 2r5gv21.gif]


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Year's Greet - HS (archived by iTim) Vicky 9 4,631 02-01-2018, 11:15 PM
Last Post: iTim
  So.....yeah (archived by iTim) McGregoR 12 5,131 31-12-2017, 06:23 PM
Last Post: NightFall
  One request (archived by iTim) McGregoR 7 3,544 25-10-2017, 09:44 PM
Last Post: McGregoR
  Renewal mapcycle in Headshot (archived by iTim) Coffee 15 8,835 22-08-2017, 01:22 PM
Last Post: Cross
  AAC Announcement (archived by iTim) Vicky 26 12,514 24-07-2017, 11:54 AM
Last Post: Vicky

Forum Jump:


Users browsing this thread: