-
Notifications
You must be signed in to change notification settings - Fork 1
vFire settings
Vuthakral edited this page Oct 24, 2019
·
1 revision
If you have vFire installed to your game/server or are intending to make a weapon which utilizes the addon vFire, here are the settings you can use on any DSB weapon.
The settings shown on this page are the default settings in the base, so if you don't need to change the stop sound or spawn distance you wont have to include those lines.
- SWEP.Primary.isvFire = false // Makes it so that the attack will spew vFire from the player
- SWEP.Secondary.isvFire = false // ^ but for secondary attack
- SWEP.vFireLife = 2 // How long a vFire projectile will live after being created
- SWEP.vFireVolatility = 0.15 // How "violently" the fire will cling to a surface. (this value is a multiplier, anything above 1 will start making the fire expand after attaching to a surface.)
- SWEP.vFireSpeed = 1 // Multiplier. Speed of the fire being projected.
- SWEP.vFireSpawnDist = 30 // Distance the fire should spawn from the user (to prevent from catching yourself on fire)
- SWEP.vFireStopSound = Sound("draconic.vFireStopGeneric") // The sound to play when stopping the vFire weapon from firing