diff --git a/README.md b/README.md index 56752f07..56a0b0ea 100644 --- a/README.md +++ b/README.md @@ -866,6 +866,7 @@ * Added AN-94 wallbuy at Town * Added SVU-AS wallbuy at Cornfield * Added M27 to the Mystery Box +* Added Fire Sale powerup * Power switch and Pack-a-Punch automatically crafted * Any door that requires a Turbine to open is automatically open whenever the power is on * Increased bus speed by 100% @@ -943,6 +944,7 @@ ### Die Rise * Added M27 to the Mystery Box +* Added Fire Sale powerup * Removed key * Elevators and escape pod can be called without key * Added purchase cost to call elevators and escape pod diff --git a/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_0.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_0.SN50.pc.snd.flac new file mode 100644 index 00000000..5ab56f44 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_0.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_1.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_1.SN50.pc.snd.flac new file mode 100644 index 00000000..94451e97 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_1.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_2.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_2.SN50.pc.snd.flac new file mode 100644 index 00000000..134c9be2 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_0_powerup_firesale_d_2.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_0.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_0.SN50.pc.snd.flac new file mode 100644 index 00000000..a4bfb7c2 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_0.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_1.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_1.SN50.pc.snd.flac new file mode 100644 index 00000000..5d32ce0e Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_1.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_2.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_2.SN50.pc.snd.flac new file mode 100644 index 00000000..eed67ef0 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_1_powerup_firesale_d_2.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_0.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_0.SN50.pc.snd.flac new file mode 100644 index 00000000..a799cc12 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_0.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_1.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_1.SN50.pc.snd.flac new file mode 100644 index 00000000..98149b4d Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_1.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_2.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_2.SN50.pc.snd.flac new file mode 100644 index 00000000..4e858bc0 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_2_powerup_firesale_d_2.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_0.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_0.SN50.pc.snd.flac new file mode 100644 index 00000000..8041b42c Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_0.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_1.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_1.SN50.pc.snd.flac new file mode 100644 index 00000000..b4c34cd0 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_1.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_2.SN50.pc.snd.flac b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_2.SN50.pc.snd.flac new file mode 100644 index 00000000..e650a250 Binary files /dev/null and b/english/sound/vox/scripted/zmb/vox_plr_3_powerup_firesale_d_2.SN50.pc.snd.flac differ diff --git a/english/sound/vox/scripted/zmc/vox_zmba_powerup_firesale_0.SN55.pc.snd.flac b/english/sound/vox/scripted/zmc/vox_zmba_powerup_firesale_0.SN55.pc.snd.flac new file mode 100644 index 00000000..dc913a15 Binary files /dev/null and b/english/sound/vox/scripted/zmc/vox_zmba_powerup_firesale_0.SN55.pc.snd.flac differ diff --git a/scripts/zm/_zm_reimagined.csc b/scripts/zm/_zm_reimagined.csc index cebb88d3..9a873dc4 100644 --- a/scripts/zm/_zm_reimagined.csc +++ b/scripts/zm/_zm_reimagined.csc @@ -5,4 +5,14 @@ main() { replaceFunc(clientscripts\mp\zombies\_zm::init_wallbuy_fx, scripts\zm\replaced\_zm::init_wallbuy_fx); replaceFunc(clientscripts\mp\zombies\_zm_weapons::init, scripts\zm\replaced\_zm_weapons::init); + + powerup_changes(); +} + +powerup_changes() +{ + if (getDvar("mapname") == "zm_transit" || getDvar("mapname") == "zm_highrise") + { + include_powerup("fire_sale"); + } } \ No newline at end of file diff --git a/scripts/zm/_zm_reimagined.gsc b/scripts/zm/_zm_reimagined.gsc index 949990a8..42920194 100644 --- a/scripts/zm/_zm_reimagined.gsc +++ b/scripts/zm/_zm_reimagined.gsc @@ -123,6 +123,8 @@ main() replaceFunc(maps\mp\zombies\_zm_weap_claymore::claymore_watch, scripts\zm\replaced\_zm_weap_claymore::claymore_watch); replaceFunc(maps\mp\zombies\_zm_weap_cymbal_monkey::init, scripts\zm\replaced\_zm_weap_cymbal_monkey::init); replaceFunc(maps\mp\zombies\_zm_weap_cymbal_monkey::player_handle_cymbal_monkey, scripts\zm\replaced\_zm_weap_cymbal_monkey::player_handle_cymbal_monkey); + + powerup_changes(); } init() @@ -150,6 +152,10 @@ init() weapon_changes(); + spawn_intercom_ents(); + + add_fire_sale_vox(); + level thread on_player_connect(); level thread post_all_players_spawned(); @@ -197,6 +203,32 @@ precache_status_icons() } } +spawn_intercom_ents() +{ + if (level.script != "zm_transit" && level.script != "zm_highrise") + { + return; + } + + foreach (chest in level.chests) + { + ent = spawn("script_origin", chest.origin + (0, 0, 15)); + ent.targetname = "intercom"; + } +} + +// hack to add Fire Sale vox without overriding on all maps +add_fire_sale_vox() +{ + if (level.script != "zm_transit" && level.script != "zm_highrise") + { + return; + } + + game["zmbdialog"]["fire_sale"] += "_rich"; + level.vox.speaker["player"].alias["powerup"]["firesale"] += "_rich"; +} + on_player_connect() { while (true) @@ -1434,6 +1466,14 @@ disable_carpenter() arrayremovevalue(level.zombie_powerup_array, "carpenter"); } +powerup_changes() +{ + if (getDvar("mapname") == "zm_transit" || getDvar("mapname") == "zm_highrise") + { + include_powerup("fire_sale"); + } +} + weapon_changes() { if (level.script == "zm_transit" || level.script == "zm_nuked" || level.script == "zm_highrise" || level.script == "zm_buried" || level.script == "zm_tomb") diff --git a/sound/mus/zombie/firesale/omnov001l_1.SL50.pc.snd.flac b/sound/mus/zombie/firesale/omnov001l_1.SL50.pc.snd.flac new file mode 100644 index 00000000..2f00415e Binary files /dev/null and b/sound/mus/zombie/firesale/omnov001l_1.SL50.pc.snd.flac differ diff --git a/soundbank/mod.all.aliases.csv b/soundbank/mod.all.aliases.csv index 208ac604..577cf1d7 100644 --- a/soundbank/mod.all.aliases.csv +++ b/soundbank/mod.all.aliases.csv @@ -925,6 +925,7 @@ fly_betty_explo,raw\sound\wpn\grenade\explosion\explode\explode_00.LN65.pc.snd,, fly_betty_jump,raw\sound\mpl\betty\betty_trigger.LN65.pc.snd,,,,grp_explosion,32845,32845,,250,1200,1200,default,default,allon,allon,3,priority,1,reject,30927,34715,,40,95,63,-1,,loaded,nonlooping,volume,-1,0,207,,snp_explosion,3d,0,50,300,6553,51,,yes,no,none,0,,,,no,0,0,0,,yes,no,0,0,,yes,no,bus_fx, fly_betty_plant_npc,raw\sound\mpl\betty\betty_deploy.LN65.pc.snd,,,fly_gear_plant_npc,grp_foley,4639,5840,,200,500,500,default,default,allon,allon,3,oldest,8,oldest,29497,36043,,90,90,63,-1,,loaded,nonlooping,volume,-1,0,6553,,snp_foley,3d,0,25,50,11653,25,,no,yes,none,0,,,,no,0,0,0,,yes,no,0,0,,yes,no,bus_fx, fly_betty_plant_plr,raw\sound\mpl\betty\betty_deploy.LN65.pc.snd,,,fly_gear_plant_plr,grp_foley,4639,5840,,200,500,500,default,default,allon,allon,3,oldest,8,oldest,29497,36043,,90,90,63,-1,,loaded,nonlooping,volume,-1,0,6553,,snp_foley,3d,0,25,50,11653,25,,no,yes,none,0,,,,no,0,0,0,,yes,no,0,0,,yes,no,bus_fx, +mus_fire_sale_rich,raw\sound\mus\zombie\firesale\omnov001l_1.SL50.pc.snd,,,,grp_music,16461,16461,,125,625,750,default,default,allon,allon,10,priority,8,oldest,32767,32767,,90,95,127,-1,,streamed,looping,volume,-1,0,36,,snp_vehicle_interior,3d,0,25,175,46395,51,,no,yes,none,0,,,,no,0,0,0,,yes,yes,0,0,,yes,no,bus_reference, mus_zmb_secret_song_a7x_carry_on,raw\sound\mus\zombie\egg\a7x\carry_on.SN65.pc.snd,,,,grp_music,32845,32845,,0,5000,5000,default,default,allon,allon,8,priority,8,oldest,32767,32767,,100,100,63,-1,,streamed,nonlooping,volume,-1,0,0,,snp_x2,2d,0,0,0,0,63,,no,yes,none,0,,,,no,0,0,0,,no,yes,1,1,,yes,yes,bus_reference, mus_zmb_secret_song_skrillex_try_it_out,raw\sound\mus\zombie\egg\skrillex\try_it_out.SN65.pc.snd,,,,grp_music,32845,32845,,0,5000,5000,default,default,allon,allon,8,priority,8,oldest,32767,32767,,100,100,63,-1,,streamed,nonlooping,volume,-1,0,0,,snp_x2,2d,0,0,0,0,63,,no,yes,none,0,,,,no,0,0,0,,no,yes,1,1,,yes,yes,bus_reference, mus_zmb_secret_song_benn_just_like_you,raw\sound\mus\zombie\egg\benn\just_like_you.SN65.pc.snd,,,,grp_music,52056,52056,,0,5000,5000,default,default,allon,allon,8,priority,8,oldest,32767,32767,,100,100,63,-1,,streamed,nonlooping,volume,-1,0,0,,snp_x2,2d,0,0,0,0,63,,no,yes,none,0,,,,no,0,0,0,,no,yes,1,1,,yes,yes,bus_reference, diff --git a/soundbank/mod.english.aliases.csv b/soundbank/mod.english.aliases.csv new file mode 100644 index 00000000..d3f6e282 --- /dev/null +++ b/soundbank/mod.english.aliases.csv @@ -0,0 +1,14 @@ +name,file,template,loadspec,secondary,group,vol_min,vol_max,team_vol_mod,dist_min,dist_max,dist_reverb_max,volume_falloff_curve,reverb_falloff_curve,volume_min_falloff_curve,reverb_min_falloff_curve,limit_count,limit_type,entity_limit_count,entity_limit_type,pitch_min,pitch_max,team_pitch_mod,min_priority,max_priority,min_priority_threshold,max_priority_threshold,spatialized,type,loop,randomize_type,probability,start_delay,reverb_send,duck,duck_group,pan,center_send,envelop_min,envelop_max,envelop_percentage,occlusion_level,occlusion_wet_dry,is_big,distance_lpf,move_type,move_time,real_delay,subtitle,mature,doppler,futz,context_type,context_value,compression,timescale,music,fade_in,fade_out,pc_format,pause,stop_on_death,bus,snapshot +vox_plr_0_powerup_firesale_rich_0,raw\english\sound\vox\scripted\zmb\vox_plr_0_powerup_firesale_d_0.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_0_powerup_firesale_rich_1,raw\english\sound\vox\scripted\zmb\vox_plr_0_powerup_firesale_d_1.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_0_powerup_firesale_rich_2,raw\english\sound\vox\scripted\zmb\vox_plr_0_powerup_firesale_d_2.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_1_powerup_firesale_rich_0,raw\english\sound\vox\scripted\zmb\vox_plr_1_powerup_firesale_d_0.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_1_powerup_firesale_rich_1,raw\english\sound\vox\scripted\zmb\vox_plr_1_powerup_firesale_d_1.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_1_powerup_firesale_rich_2,raw\english\sound\vox\scripted\zmb\vox_plr_1_powerup_firesale_d_2.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_2_powerup_firesale_rich_0,raw\english\sound\vox\scripted\zmb\vox_plr_2_powerup_firesale_d_0.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_2_powerup_firesale_rich_1,raw\english\sound\vox\scripted\zmb\vox_plr_2_powerup_firesale_d_1.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_2_powerup_firesale_rich_2,raw\english\sound\vox\scripted\zmb\vox_plr_2_powerup_firesale_d_2.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_3_powerup_firesale_rich_0,raw\english\sound\vox\scripted\zmb\vox_plr_3_powerup_firesale_d_0.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_3_powerup_firesale_rich_1,raw\english\sound\vox\scripted\zmb\vox_plr_3_powerup_firesale_d_1.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_plr_3_powerup_firesale_rich_2,raw\english\sound\vox\scripted\zmb\vox_plr_3_powerup_firesale_d_2.SN50.pc.snd,,,,grp_voice,11653,11653,,125,1250,2250,default,default,allon,rev65,1,reject,8,oldest,32767,32767,,80,90,0,-1,,streamed,nonlooping,volume,-1,0,9257,,snp_voice,3d,0,37,50,46395,89,,no,no,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, +vox_zmba_powerup_firesale_rich_0,devraw\english\sound\vox\scripted\zmc\vox_zmba_powerup_firesale_0.SN55.pc.snd,,,,grp_voice,10386,10386,,0,5000,5000,default,default,allon,allon,8,priority,8,oldest,32767,32767,,100,100,0,-1,,streamed,nonlooping,volume,-1,0,0,,snp_never_duck,2d,0,0,0,0,0,,no,yes,none,0,,,,no,0,822242733,0,,yes,no,0,0,,yes,yes,bus_voice, \ No newline at end of file diff --git a/zone_source/includes/powerups/fire_sale.zone b/zone_source/includes/powerups/fire_sale.zone new file mode 100644 index 00000000..9a920eef --- /dev/null +++ b/zone_source/includes/powerups/fire_sale.zone @@ -0,0 +1,3 @@ +xmodel,zombie_firesale +image,specialty_firesale_zombies +material,specialty_firesale_zombies \ No newline at end of file diff --git a/zone_source/mod.zone b/zone_source/mod.zone index 0994eb25..24c9297f 100644 --- a/zone_source/mod.zone +++ b/zone_source/mod.zone @@ -19,4 +19,5 @@ include,includes/stringtable localize,reimagined -soundbank,mod.all \ No newline at end of file +soundbank,mod.all +soundbank,mod.english \ No newline at end of file diff --git a/zone_source/zm_buried.zone b/zone_source/zm_buried.zone index bb7c5d50..f1859053 100644 --- a/zone_source/zm_buried.zone +++ b/zone_source/zm_buried.zone @@ -9,6 +9,8 @@ include,includes/weapons/an94_zm include,includes/weapons/pdw57_zm include,includes/weapons/svu_zm +include,includes/powerups/fire_sale + weapon,bowie_knife_zm weapon,tazer_knuckles_zm