-
Notifications
You must be signed in to change notification settings - Fork 9
How to create new weapons
Nicholas-Fuchs edited this page May 8, 2020
·
4 revisions
- Go to 'zombieplague/gamemode/weapons' folder
- Create a new .lua file (Example: my_new_weapon.lua)
- Inside the .lua override the 'Weapon' variable with a new Weapon Object and change as your will
Weapon.PrettyName = "My new Weapon" --Weapon's name
Weapon.WeaponID = "my_new_weapon" --Weapon's ID
Weapon.DamageMultiplier = 0.7 -- Weapon's damage * 0.7 (70%)
Weapon.WeaponType = WEAPON_PRIMARY -- Weapon Type