2023-07-17 05:47:01 +00:00
|
|
|
entityDef weapon_crossbow
|
|
|
|
{
|
|
|
|
"editor_color" ".3 .3 1"
|
|
|
|
"editor_mins" "-16 -16 -16"
|
|
|
|
"editor_maxs" "16 16 16"
|
|
|
|
"editor_usage" "Crossbow"
|
|
|
|
"editor_rotatable" "1"
|
|
|
|
|
|
|
|
"spawnclass" "NSItem"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model" "models/w_crossbow.mdl"
|
|
|
|
"inv_item" "$WEAPON_CROSSBOW"
|
2023-07-17 05:47:01 +00:00
|
|
|
"snd_acquire" "weapon.pickup"
|
|
|
|
"snd_respawn" "item.respawn"
|
2023-07-28 06:08:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_arrow
|
|
|
|
{
|
|
|
|
"spawnclass" "NSProjectile"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model" "models/crossbow_bolt.mdl"
|
|
|
|
"velocity" "2000 0 0"
|
2023-07-28 06:08:26 +00:00
|
|
|
"angular_velocity" "0 0 20"
|
2024-03-02 08:43:10 +00:00
|
|
|
"mins" "0 0 0"
|
|
|
|
"maxs" "0 0 0"
|
2023-07-28 06:08:26 +00:00
|
|
|
"def_damage" "damage_arrowDirect"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model_detonate" "fx_spark.main"
|
2023-07-28 06:08:26 +00:00
|
|
|
"snd_explode" "fx.spark"
|
|
|
|
"detonate_on_fuse" "0"
|
|
|
|
"detonate_on_death" "1"
|
|
|
|
"detonate_on_world" "1"
|
|
|
|
"detonate_on_actor" "1"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_arrowDirect
|
|
|
|
{
|
|
|
|
"damage" "skill:plr_xbow_bolt_monster"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_arrowExplosive
|
|
|
|
{
|
2024-03-02 08:43:10 +00:00
|
|
|
"inherit" "projectile_arrow"
|
|
|
|
"smoke_fly" "weapon_crossbow.trail"
|
2023-07-28 06:08:26 +00:00
|
|
|
"def_damage" ""
|
|
|
|
"def_splash_damage" "damage_arrowSplash"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model_detonate" "fx_explosion.main"
|
2023-07-28 06:08:26 +00:00
|
|
|
"snd_explode" "fx.explosion"
|
2024-03-02 08:43:10 +00:00
|
|
|
"decal_detonate" "ExplosionScorch"
|
2023-07-28 06:08:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_arrowSplash
|
|
|
|
{
|
|
|
|
"damage" "skill:plr_xbow_bolt_monster"
|
|
|
|
"radius" "125"
|
2023-07-17 05:47:01 +00:00
|
|
|
}
|