Marco Cawthorne
f3596f2aef
Items: Ensure we re-adjust our position post-spawn so we don't fall through yet-to-spawn geometry. Delete a whole bunch of now unused code.
43 lines
No EOL
933 B
Modula-2
43 lines
No EOL
933 B
Modula-2
entityDef weapon_handgrenade
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Hand Grenade"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "NSItem"
|
|
"model" "models/w_grenade.mdl"
|
|
"inv_item" "$WEAPON_HANDGRENADE"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
}
|
|
|
|
entityDef projectile_handgrenade
|
|
{
|
|
"spawnclass" "NSProjectile"
|
|
"model" "models/w_grenade.mdl"
|
|
"frame" "1"
|
|
"fuse" "4"
|
|
"detonate_on_fuse" "1"
|
|
"bounce" "1"
|
|
"angular_velocity" "-350 0 0"
|
|
"model_detonate" "fx_explosion.main"
|
|
"snd_explode" "fx.explosion"
|
|
"snd_bounce" "weapon_handgrenade.bounce"
|
|
"decal_detonate" "ExplosionScorch"
|
|
|
|
"def_damage" "damage_handgrenadeDirect"
|
|
"def_splash_damage" "damage_handgrenadeSplash"
|
|
}
|
|
|
|
entityDef damage_handgrenadeDirect
|
|
{
|
|
"damage" "1"
|
|
}
|
|
|
|
entityDef damage_handgrenadeSplash
|
|
{
|
|
"damage" "skill:plr_hand_grenade"
|
|
"radius" "250"
|
|
} |