60 lines
1.2 KiB
Modula-2
60 lines
1.2 KiB
Modula-2
entityDef weapon_satchel
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Satchel"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_satchel.mdl"
|
|
"model_view" "models/v_satchel.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
"ammoType" "ammo_satchel"
|
|
"inv_ammo_satchel" "1"
|
|
"ammoRequired" "1"
|
|
"def_onFire" "projectile_satchel"
|
|
"detonateOnFire" "projectile_satchel"
|
|
"fireRate" "1.0"
|
|
"removeOnEmpty" "1"
|
|
|
|
"actIdle" "0,1"
|
|
"actDraw" "2"
|
|
"actFire" "3"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "4"
|
|
"hudSlotPos" "1"
|
|
"weight" "-20"
|
|
"crosshair" "none"
|
|
}
|
|
|
|
entityDef projectile_satchel
|
|
{
|
|
"spawnclass" "NSProjectile"
|
|
"model" "models/w_satchel.mdl"
|
|
"velocity" "274 0 0"
|
|
"angular_velocity" "0 400 0"
|
|
"friction" "0.8"
|
|
"gravity" "0.5"
|
|
"bounce" "1"
|
|
"frame" "1"
|
|
"mins" "-1 -1 -4"
|
|
"maxs" "1 1 4"
|
|
"snd_bounce" "weapon_satchel.bounce"
|
|
"inherit_velocity" "1"
|
|
|
|
"def_splash_damage" "damage_satchelExplosion"
|
|
"model_detonate" "fx_explosion.main"
|
|
"snd_explode" "fx.explosion"
|
|
"decal_detonate" "ExplosionScorch"
|
|
|
|
}
|
|
|
|
entityDef damage_satchelExplosion
|
|
{
|
|
"damage" "skill:plr_satchel"
|
|
"radius" "375"
|
|
}
|