Download: Everything you need
Instructions
Step 1 : Setting the scripts up
root/usermaps/YOUR_MAP_NAME/scripts/zm/
CUSTOM_PERK
YOUR_PERK_NAME // eg VULTUREAID
custom_perk
your_perk_name // eg vultureaid
root/usermaps/YOUR_MAP_NAME/scripts/zm/
and add#using scripts\zm\_zm_perk_custom_perk;
Step 2 : Add to your zone
scriptparsetree,scripts\zm\_zm_perk_custom_perk.gsc
scriptparsetree,scripts\zm\_zm_perk_custom_perk.csc
scriptparsetree,scripts\zm\_zm_perk_custom_perk.gsh
Step 3 : Radiant
map_source/_prefabs/zm/harrybo21_prefabs/perks/vending_custom_perk_struct.map
Step 4 : Sounds
root/raw/sound/aliases/
and open custom_perk_sounds.csv
root/usermaps/YOUR_MAP_NAME/sound/zoneconfig
Open YOUR_MAP_NAME.szc
and add a new alias:{
"Type" : "ALIAS",
"Name" : "custom_perk_sounds",
"Filename" : "custom_perk_sounds.csv",
"Specs" : [ ]
},
Step 5 : Compile and Test
Compile and link
then click Build
- this should be enough to create your machine and be able to buy itNOTE: THIS IS SET UP FOR PORTERS LUA MOD, FOLLOW HIS TUTORIAL ON SETTING UP THE ICON FOR THE PERK, THIS TUTORIAL HAS SET UP EVERYTHING ON THE GSC AND CSC SIDE.
xmodel,MODEL_NAME
weapon,BOTTLE_WEAPON_FILE_NAME
Contributors: