This was done for sir Psh but since it's nice to have stuff people can add to their maps I decided to release.
Not many people know but Harry's box is actually set up for Fire Sale, it's as simple as calling a function to make it work, however I have taken to time to help out my non-scripting bois with this.
PLEASE NOTE: This is only for Harry Bo21's box and perks, please read below regarding stock version.
Adding the Scripts Download the stuff and place them accordingly (puts stuff in mods\modname into your mods folder). NOTE: If you have not edited your _zombiemode_powerups.gsc, you can simple use the pre-edited version and skip all this. Just make sure to edit the drop increment and max per round since I forgot to edit these before upload (I set them for testing).
Copy _zombiemode_powerups.gsc to your mod's folder for danka editing effect and open it.
set_zombie_var( "zombie_powerup_fire_sale_on", 0 ); // Make sure its disabled at start of game, this won't turn it off, if you want it off, don't follow the tutorial! set_zombie_var( "zombie_powerup_firesale_time", 30 ); // Firesale Length set_zombie_var( "use_alt_firesale_sounds", "0" ); // Play alt sounds? (Listen to them in sounds folder) "1" = Yes, "0" = No. set_zombie_var( "zombie_powerup_fire_sale_difficult", 1 ); // Enable extra difficulty, wait for the box to move first and only drop when there are more than x zombies (set this below) set_zombie_var( "zombie_powerup_fire_sale_zombies_before_firesale", 15 ); // If the setting above is enabled, it will only drop when this amount of zombies are present, so it drops mid-round to make it harder on the player.
Under:
Code Snippet
Plaintext
set_zombie_var( "zombie_powerup_drop_max_per_round", 4 ); // lower this to make drop happen more often
So it should look like this:
Code Snippet
Plaintext
set_zombie_var( "zombie_insta_kill", 0 ); set_zombie_var( "zombie_point_scalar", 1 ); set_zombie_var( "zombie_drop_item", 0 ); set_zombie_var( "zombie_timer_offset", 350 ); // hud offsets set_zombie_var( "zombie_timer_offset_interval", 30 ); set_zombie_var( "zombie_powerup_insta_kill_on", false ); set_zombie_var( "zombie_powerup_point_doubler_on", false ); set_zombie_var( "zombie_powerup_point_doubler_time", 30 ); // length of point doubler set_zombie_var( "zombie_powerup_insta_kill_time", 30 ); // length of insta kill set_zombie_var( "zombie_powerup_drop_increment", 2000 ); // lower this to make drop happen more often set_zombie_var( "zombie_powerup_drop_max_per_round", 4 ); // lower this to make drop happen more often set_zombie_var( "zombie_powerup_fire_sale_on", 0 ); // Make sure its disabled at start of game, this won't turn it off, if you want it off, don't follow the tutorial! set_zombie_var( "zombie_powerup_firesale_time", 30 ); // Firesale Length set_zombie_var( "use_alt_firesale_sounds", "0" ); // Play alt sounds? (Listen to them in sounds folder) "1" = Yes, "0" = No. set_zombie_var( "zombie_powerup_fire_sale_difficult", 1 ); // Enable extra difficulty, wait for the box to move first and only drop when there are more than x zombies (set this below) set_zombie_var( "zombie_powerup_fire_sale_zombies_before_firesale", 10 ); // If the setting above is enabled, it will only drop when this amount of zombies are present, so it drops mid-round to make it harder on the player.
You can edit the 4 settings to your liking especially the difficulty one, using alt sounds (The announcer if set to one will do the "Attention Zombies shoppers!" and the sound that isn't from Kino), etc.
players = get_players(); for (i = 0; i < players.size; i++) { players[i] playsound("points_loop_off"); }
fs_ent stoploopsound(2); fs_ent delete(); }
Adding the Assets I've given a bit of choice regarding the ffs, if you want to include the alt and kino sounds, you can use the main ff, if you want only one set, you can use the extra folder.
It's just a case of pulling them into your mods folder. I won't be providing 500 ffs, if you want, it's easy to get the assets for it, the sounds are even in the IWD in the main folder, so all you need to export is the model from BO2/BO1.
And that should be it, credit if used (and Harry ofc. since you're using his box).
Please let me know of any issues.
Credits:
Harry Bo21 - Box Script.
Regarding stock version:
Spoiler: click to open...
This was as mentioned orignally done for Psh but after a bit he mentioned it was for Harry's box, I am working on a stock version and will release it soon along side this.:
Currently what you see there is fully functional, and all boxes work, but it still need work obviously. Stay tuned my dudes!
Last Edit: July 25, 2016, 06:54:05 pm by Scobalula
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
My man. Thank you. bookmarked for later use +1. Edit : does it actually work like in Bo2. The box needs to move once and then Fire sale drop becomes available ?
Last Edit: July 25, 2016, 05:12:29 pm by Tim Smith
My man. Thank you. bookmarked for later use +1. Edit : does it actually work like in Bo2. The box needs to move once and then Fire sale drop becomes available ?
donesnt seem to but could be easily edited to be that way
set_zombie_var( "zombie_powerup_fire_sale_difficult", 1 ); // Enable extra difficulty, wait for the box to move first and only drop when there are more than x zombies (set this below)
If this is enabled (which it is by default) then it will, also you'll notice underneath it there is a var for how many zombies there's needs to be alive for it to drop, so it drops more or less mid-round in a way to make it harder, disabled by setting the number to 0, also Power much be on too, which can be disabled by changing this line: