entityDef tf_weapon_railgun { "editor_color" ".3 .3 1" "editor_mins" "-16 -16 -16" "editor_maxs" "16 16 16" "editor_usage" "RailGun" "editor_rotatable" "1" "spawnclass" "HLWeapon" "model" "models/p_9mmhandgun.mdl" "model_view" "models/v_tfc_railgun.mdl" "snd_acquire" "weapon.pickup" "snd_respawn" "item.respawn" // weapon specific "def_fireInfo" "fireInfo_tfRailGun" // "def_altFireInfo" "fireInfo_tfRailGunCharge" // Fortress Forever style charge attack "inv_name" "RailGun" "ammoType" "ammo_nails" "ammoRequired" "1" "ammoPerShot" "1" "punchAngle" "-2 0 0" "act_fire" "1" // "actAltFire" "1" "act_holster" "3" "act_draw" "2" "act_idle" "0" "snd_fire" "Weapon_Railgun.Single" "snd_altfire" "Weapon_Railgun.WindUp" "snd_empty" "Weapon_Pistol.ClipEmpty" // HLWeapon specific "hudSlot" "1" "hudSlotPos" "0" "weight" "10" } entityDef projectile_tfRailShot { "spawnclass" "ncProjectile" "model" "" "def_damage" "damage_tfRailDirect" "health" "0" "velocity" "250" "angular_velocity" "0 0 200" "fuse" "10" "detonate_on_fuse" "0" "detonate_on_death" "1" "detonate_on_world" "1" "detonate_on_actor" "1" "impact_damage_effect" "1" "impact_gib" "1" "thrust" "2000" "thrust_start" "0.1" "thrust_end" "2" "smoke_fly" "weapon_railgun.trail" "decal_detonate" "Impact.BigShot" "model_detonate" "fx_spark.main" "snd_explode" "fx.spark "light_color" "0 0.5 0" "light_radius" "160" "light_offset" "0 0 0" } entityDef projectile_tfRailChargedShot { "spawnclass" "ncProjectile" "model" "" "def_damage" "damage_tfRailChargeDirect" "def_splash_damage" "damage_tfTailChargedSplash" "health" "0" "velocity" "250" "angular_velocity" "0 0 200" "fuse" "10" "detonate_on_fuse" "0" "detonate_on_death" "1" "detonate_on_world" "1" "detonate_on_actor" "1" "impact_damage_effect" "1" "impact_gib" "1" "thrust" "2000" "thrust_start" "0.1" "thrust_end" "2" "smoke_fly" "weapon_railgun.trail" "decal_detonate" "ExplosionScorch" "model_detonate" "fx_explosion.main" "light_color" "0 0.5 0" "light_radius" "160" "light_offset" "0 0 0" "explode_light_color" "2 1.6 0.8" "explode_light_radius" "320" "explode_light_fadetime" "0.5" "snd_explode" "fx.explosion" } entityDef damage_tfRailDirect { "damage" "skill:plr_railgun" } entityDef damage_tfRailChargeDirect { "damage" "skill:plr_railgun_charge" } entityDef damage_tfTailChargedSplash { "damage" "skill:plr_railgun_charge_splash" "radius" "250" } entityDef fireInfo_tfRailGun { "def_onFire" "projectile_tfRailShot" "ammoPerShot" "1" "fireRate" "0.4" "punchAngle" "-2 0 0" } entityDef fireInfo_tfRailGunCharge { "def_onFire" "projectile_tfRailChargedShot" "ammoPerShot" "1" "fireRate" "0.75" "punchAngle" "-10 0 0" }