Download: Everything You Need
Instructions
Radiant:
Place as many of the vending_random_perk_spawnable
prefab as you would like
That is all for radiant
Scripting:
mapname.gsc
and mapname.csc
#using scripts\zm\_zm_perk_staminup;
In both files, underneath add the following:
// DER WUNDERFIZZ
1. using scripts\zm\_zm_perk_random;
mapname.gsc
usermaps::main();
Under it add this for each perk you want to be in the fizz, add this line, and use your perk specialty:
zm_perk_random::include_perk_in_random_rotation( "perk_specialty" );
Heres a example for the 13 official perks:
zm_perk_random::include_perk_in_random_rotation( "specialty_quickrevive" );
zm_perk_random::include_perk_in_random_rotation( "specialty_armorvest" );
zm_perk_random::include_perk_in_random_rotation( "specialty_doubletap2" );
zm_perk_random::include_perk_in_random_rotation( "specialty_fastreload" );
zm_perk_random::include_perk_in_random_rotation( "specialty_deadshot" );
zm_perk_random::include_perk_in_random_rotation( "specialty_phdflopper" );
zm_perk_random::include_perk_in_random_rotation( "specialty_staminup" );
zm_perk_random::include_perk_in_random_rotation( "specialty_additionalprimaryweapon" );
zm_perk_random::include_perk_in_random_rotation( "specialty_tombstone" );
zm_perk_random::include_perk_in_random_rotation( "specialty_whoswho" );
zm_perk_random::include_perk_in_random_rotation( "specialty_electriccherry" );
zm_perk_random::include_perk_in_random_rotation( "specialty_vultureaid" );
zm_perk_random::include_perk_in_random_rotation( "specialty_widowswine" );
Setting up the Sounds:
root/usermaps/YOUR_MAP/sound/zoneconfig/
Find this section ( Be aware that the copy of the SZC we are originally given is horribly formatted )
"Sources" : [
{
"Type" : "ALIAS",
"Name" : "user_aliases",
"Filename" : "user_aliases.csv",
"Specs" : [ ]
},
add this under it, its pretty much copy paste with the name and filename changed
{
"Type" : "ALIAS",
"Name" : "wunderfizz_sounds",
"Filename" : "wunderfizz_sounds.csv",
"Specs" : [ ]
},
Zone:
mapname.zone
( you can right click your map in launcher and click Open Zone File
)// DER WUNDERFIZZ
scriptparsetree,scripts/zm/_zm_perk_random.gsh
scriptparsetree,scripts/zm/_zm_perk_random.gsc
scriptparsetree,scripts/zm/_zm_perk_random.csc
fx,harry/wonderfizz/fx_wonderfizz_sparks.efx
fx,harry/wonderfizz/fx_wonderfizz_bottle_glow.efx
You are DONE
Ok, so assuming you’ve followed these steps exactly - you now just need to recompile your map and link in launcher. Now go test!
Contributors: