tfc/decls/def/weapons/ic.def
2025-02-01 03:48:49 -08:00

95 lines
2 KiB
Modula-2

entityDef tf_weapon_ic
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Incendiary Cannon"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/w_9mmhandgun.mdl"
"model_view" "models/v_tfc_rpg.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
// weapon specific
"def_fireInfo" "fireInfo_tfIncendiaryCannon"
"inv_name" "Incendiary Cannon"
"ammoType" "ammo_rockets"
"ammoRequired" "1" // 3 in Quake Team Fortress
"ammoPerShot" "1"
"punchAngle" "-4 0 0"
"act_idle" "0,1"
"act_idleEmpty" "10,11"
"act_draw" "4"
"act_drawEmpty" "6"
"act_holster" "3"
"act_holsterEmpty" "5"
"act_reloadStart" "7"
"act_reload" "8"
"act_reloadEnd" "9"
"act_fire" "2"
"snd_fire" "Weapon_FlameThrower.FireRocket"
"snd_empty" "Weapon_Pistol.ClipEmpty"
// HLWeapon specific
"hudSlot" "4"
"hudSlotPos" "0"
"weight" "20"
}
entityDef projectile_tfIncendiaryRocket
{
"spawnclass" "ncProjectile"
"model" "models/rpgrocket.mdl"
"def_damage" "damage_tfIncendiaryRocketDirect"
"def_splash_damage" "damage_tfIncendiaryRocketSplash"
"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_rpg.trail"
"decal_detonate" "ExplosionScorch"
"model_detonate" "fx_explosion.main"
"light_color" "1 0.8 0.4"
"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_tfIncendiaryRocketDirect
{
"damage" "skill:plr_incendiarylauncher"
}
entityDef damage_tfIncendiaryRocketSplash
{
"damage" "skill:plr_incendiarylauncher_splash"
"radius" "250"
}
entityDef fireInfo_tfIncendiaryCannon
{
"def_onFire" "projectile_tfIncendiaryRocket"
"punchAngle" "-10 0 0"
}