Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExplosionDistanceScale = 1.5 ExplosionSelfDamageScale = 0.5 )
Variables ¶
View Source
var WeaponsWithAmmo = []ID{ Shotgun, Minigun, RocketLauncher, Rifle, GrenadeLauncher, Pistol, }
Functions ¶
Types ¶
type Weapon ¶
type Weapon struct {
ID ID
Sound sound.ID
ReloadTime int32
Damage int32
Spread int32
ProjectileSpeed int32
Recoil int32
Range float64
Rays int32
HitPush int32
ExplosionRadius float64
TimeToLive int32
AmmoPickUpSize int32
}
func SpawnAmmoCapture ¶
func SpawnAmmoEffic ¶
func SpawnAmmoFFA ¶
func SpawnAmmoInsta ¶
func SpawnAmmoTactics ¶
Click to show internal directories.
Click to hide internal directories.