From f961ae78ba38e78f7ca13403c0fb2e2f6505984a Mon Sep 17 00:00:00 2001 From: Xylemon Date: Thu, 17 Oct 2024 03:38:40 -0700 Subject: [PATCH] - Now uses decls folder - WeaponDef updates (Damage, particles) - Pipebomb is WIP --- zpak001.pk3dir/cfg/skill_manifest.cfg | 2 + zpak001.pk3dir/cfg/skill_poke646.cfg | 35 ++++ zpak001.pk3dir/decls/def/ammo.def | 174 ++++++++++++++++++ zpak001.pk3dir/decls/def/weapons.def | 7 + .../decls/def/weapons/bradnailer.def | 94 ++++++++++ zpak001.pk3dir/decls/def/weapons/crossbow.def | 87 +++++++++ .../decls/def/weapons/heaterpipe.def | 49 +++++ zpak001.pk3dir/decls/def/weapons/nailgun.def | 53 ++++++ zpak001.pk3dir/decls/def/weapons/pipebomb.def | 44 +++++ zpak001.pk3dir/decls/def/weapons/shotgun.def | 57 ++++++ zpak001.pk3dir/decls/def/weapons/xs.def | 140 ++++++++++++++ .../decls/sound/weapons_poke646.sndshd | 79 ++++++++ zpak001.pk3dir/particles/nail.cfg | 13 ++ zpak001.pk3dir/particles/weapon_xs.cfg | 24 +++ zpak001.pk3dir/sound/weapons_poke646.sndshd | 10 - 15 files changed, 858 insertions(+), 10 deletions(-) create mode 100644 zpak001.pk3dir/cfg/skill_manifest.cfg create mode 100644 zpak001.pk3dir/cfg/skill_poke646.cfg create mode 100644 zpak001.pk3dir/decls/def/ammo.def create mode 100644 zpak001.pk3dir/decls/def/weapons.def create mode 100644 zpak001.pk3dir/decls/def/weapons/bradnailer.def create mode 100644 zpak001.pk3dir/decls/def/weapons/crossbow.def create mode 100644 zpak001.pk3dir/decls/def/weapons/heaterpipe.def create mode 100644 zpak001.pk3dir/decls/def/weapons/nailgun.def create mode 100644 zpak001.pk3dir/decls/def/weapons/pipebomb.def create mode 100644 zpak001.pk3dir/decls/def/weapons/shotgun.def create mode 100644 zpak001.pk3dir/decls/def/weapons/xs.def create mode 100644 zpak001.pk3dir/decls/sound/weapons_poke646.sndshd create mode 100644 zpak001.pk3dir/particles/nail.cfg create mode 100644 zpak001.pk3dir/particles/weapon_xs.cfg delete mode 100644 zpak001.pk3dir/sound/weapons_poke646.sndshd diff --git a/zpak001.pk3dir/cfg/skill_manifest.cfg b/zpak001.pk3dir/cfg/skill_manifest.cfg new file mode 100644 index 0000000..fa494f6 --- /dev/null +++ b/zpak001.pk3dir/cfg/skill_manifest.cfg @@ -0,0 +1,2 @@ +exec "skill.cfg" +exec "skill_poke646.cfg" \ No newline at end of file diff --git a/zpak001.pk3dir/cfg/skill_poke646.cfg b/zpak001.pk3dir/cfg/skill_poke646.cfg new file mode 100644 index 0000000..a4178c5 --- /dev/null +++ b/zpak001.pk3dir/cfg/skill_poke646.cfg @@ -0,0 +1,35 @@ +set sk_plr_buckshot1 "10" +set sk_plr_buckshot2 "7" +set sk_plr_buckshot3 "5" + +set sk_plr_heaterpipe1 "15" +set sk_plr_heaterpipe2 "10" +set sk_plr_heaterpipe3 "5" + +set sk_plr_nail1 "15" +set sk_plr_nail2 "10" +set sk_plr_nail3 "7" + +set sk_plr_pipebomb1 "150" +set sk_plr_pipebomb2 "125" +set sk_plr_pipebomb3 "100" + +set sk_plr_xbow_bolt1 "60" +set sk_plr_xbow_bolt2 "40" +set sk_plr_xbow_bolt3 "35" + +set sk_plr_xs1 "15" +set sk_plr_xs2 "10" +set sk_plr_xs3 "7" + +set sk_plr_xs_impact1 "30" +set sk_plr_xs_impact2 "25" +set sk_plr_xs_impact3 "20" + +set sk_plr_xs_alt1 "50" +set sk_plr_xs_alt2 "45" +set sk_plr_xs_alt3 "40" + +set sk_plr_xs_alt_impact1 "60" +set sk_plr_xs_alt_impact2 "52" +set sk_plr_xs_alt_impact3 "45" \ No newline at end of file diff --git a/zpak001.pk3dir/decls/def/ammo.def b/zpak001.pk3dir/decls/def/ammo.def new file mode 100644 index 0000000..ba34439 --- /dev/null +++ b/zpak001.pk3dir/decls/def/ammo.def @@ -0,0 +1,174 @@ +// these have to be defined by the game. + +entityDef ammo_types { + "ammo_none" "0" + "ammo_9mm" "1" + "ammo_357" "2" + "ammo_buckshot" "3" + "ammo_bolt" "4" + "ammo_rocket" "5" + "ammo_uranium" "6" + "ammo_handgrenade" "7" + "ammo_pipebomb" "8" + "ammo_tripmine" "9" + "ammo_snark" "10" + "ammo_hornet" "11" + "ammo_m203_grenade" "12" + "ammo_nail" "13" + "ammo_xencandy" "14" +} + +entityDef ammo_names { + "ammo_none" "None" + "ammo_9mm" "9mm Bullets" + "ammo_357" ".357 Bullets" + "ammo_buckshot" "Buckshot Shells" + "ammo_bolt" "Bolts" + "ammo_rocket" "Rockets" + "ammo_uranium" "Uranium" + "ammo_handgrenade" "Hand Grenades" + "ammo_pipebomb" "Satchel Charge" + "ammo_tripmine" "Tripmines" + "ammo_snark" "Squeak Grenades" + "ammo_hornet" "Hornets" + "ammo_m203_grenade" "M203 Grenades" + "ammo_nail" "Nails" + "ammo_xencandy" "Xen Candy" +} + +entityDef ammo_max { + "ammo_none" "0" + "ammo_9mm" "250" + "ammo_357" "36" + "ammo_buckshot" "125" + "ammo_bolt" "50" + "ammo_rocket" "5" + "ammo_uranium" "100" + "ammo_handgrenade" "10" + "ammo_pipebomb" "5" + "ammo_tripmine" "10" + "ammo_snark" "10" + "ammo_hornet" "250" + "ammo_m203_grenade" "10" + "ammo_nail" "250" + "ammo_xencandy" "15" +} + +entityDef ammo_base +{ + "spawnclass" "NSItem" + "snd_acquire" "ammo.pickup" + "snd_respawn" "ammo.respawn" + "mins" "-16 -16 0" + "maxs" "16 16 16" +} + +entityDef ammo_357 +{ + "inherit" "ammo_base" + "model" "models/w_357ammobox.mdl" + "inv_ammo_357" "6" +} + +entityDef ammo_9mmAR +{ + "inherit" "ammo_base" + "model" "models/w_9mmarclip.mdl" + "inv_ammo_9mm" "50" +} + +entityDef ammo_9mmbox +{ + "inherit" "ammo_base" + "model" "models/w_chainammo.mdl" + "inv_ammo_9mm" "200" +} + +entityDef ammo_9mmclip +{ + "inherit" "ammo_base" + "model" "models/w_9mmclip.mdl" + "inv_ammo_9mm" "17" +} + +entityDef ammo_ARgrenades +{ + "inherit" "ammo_base" + "model" "models/w_argrenade.mdl" + "inv_ammo_m203_grenade" "2" +} + +entityDef ammo_buckshot +{ + "inherit" "ammo_base" + "model" "models/w_shotbox.mdl" + "inv_ammo_buckshot" "12" +} + +entityDef ammo_crossbow +{ + "inherit" "ammo_base" + "model" "models/w_crossbow_clip.mdl" + "inv_ammo_bolt" "5" +} + +entityDef ammo_gaussclip +{ + "inherit" "ammo_base" + "model" "models/w_gaussammo.mdl" + "inv_ammo_uranium" "20" +} + +entityDef ammo_nailclip +{ + "inherit" "ammo_base" + "model" "models/w_nailclip.mdl" + "inv_ammo_nail" "25" +} + +entityDef ammo_nailround +{ + "inherit" "ammo_base" + "model" "models/w_nailround.mdl" + "inv_ammo_nail" "50" +} + +entityDef ammo_rpgclip +{ + "inherit" "ammo_base" + "model" "models/w_rpgammo.mdl" + "inv_ammo_uranium" "1" +} + +entityDef ammo_xencandy +{ + "inherit" "ammo_base" + "model" "models/w_xencandy.mdl" + "inv_ammo_xencandy" "20" +} + +// various aliases that are used in the retail maps +entityDef ammo_satchel +{ + "inherit" "ammo_pipebomb" +} + +entityDef ammo_mp5clip +{ + "inherit" "ammo_9mmAR" +} + +entityDef ammo_9mmARclip +{ + "inherit" "ammo_9mmAR" +} + +entityDef ammo_glockclip +{ + "inherit" "ammo_9mmclip" +} + +entityDef ammo_mp5grenades +{ + "inherit" "ammo_ARgrenades" +} diff --git a/zpak001.pk3dir/decls/def/weapons.def b/zpak001.pk3dir/decls/def/weapons.def new file mode 100644 index 0000000..9dab082 --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons.def @@ -0,0 +1,7 @@ +#include "weapons/bradnailer.def" +#include "weapons/crossbow.def" +#include "weapons/nailgun.def" +#include "weapons/heaterpipe.def" +#include "weapons/pipebomb.def" +#include "weapons/shotgun.def" +#include "weapons/xs.def" \ No newline at end of file diff --git a/zpak001.pk3dir/decls/def/weapons/bradnailer.def b/zpak001.pk3dir/decls/def/weapons/bradnailer.def new file mode 100644 index 0000000..21bbadf --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/bradnailer.def @@ -0,0 +1,94 @@ +entityDef weapon_bradnailer +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Brad Nailer" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_bradnailer.mdl" + "model_view" "models/v_bradnailer.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_fireInfo" "fireInfo_bradnailer" + "def_altFireInfo" "fireInfo_altBradNailer" + "inv_name" "Brad Nailer" + "clipSize" "25" + "ammoType" "ammo_nail" + "ammoRequired" "1" + "ammoPerShot" "1" + "punchAngle" "-2 0 0" + "ammoIcon" "weapon_bradnailer.ammo" + + "act_holster" "8" + "act_reload" "5" + "act_reloadEmpty" "6" + "act_draw" "7" + "act_idle" "0,1,2" + + "snd_fire" "weapon_bradnailer.fire" + "snd_altfire" "weapon_bradnailer.fire" + "snd_empty" "weapon_glock.empty" + + // HLWeapon specific + "hudSlot" "1" + "hudSlotPos" "0" + "weight" "10" +} + +entityDef debris_nail +{ + "spawnclass" "NSProjectile" + "model" "models/nail.mdl" +} + +entityDef projectile_nail +{ + "spawnclass" "NSProjectile" + "model" "models/nail.mdl" + "offset" "40 12 -6" + "velocity" "1500 0 0" + "angular_velocity" "0 0 20" + "mins" "0 0 0" + "maxs" "0 0 0" + "damage" "skill:plr_nail" + "smoke_fly" "nail.trail" + "model_detonate" "fx_spark.main" + "decal_detonate" "Impact.Shot" + "snd_explode" "fx.spark" + "detonate_on_fuse" "0" + "detonate_on_death" "1" + "detonate_on_world" "1" + "detonate_on_actor" "1" + "projectile_debris" "debris_nail" + "debris_count" "1" + "debris_stick" "1" + "debris_offset" "-9 0 0" +} + +entityDef projectile_nailFast +{ + "inherit" "projectile_nail" + "offset" "40 0 -6" +} + +entityDef fireInfo_bradnailer +{ + "def_onFire" "projectile_nail" + "fireRate" "0.3" + "act_fire" "3" + "act_fireLast" "4" +} + +entityDef fireInfo_altBradNailer +{ + "def_onFire" "projectile_nailFast" + "fireRate" ".2" + "act_fireStart" "10" + "act_fire" "12" + "act_fireLast" "12" + "act_fireStop" "11" +} \ No newline at end of file diff --git a/zpak001.pk3dir/decls/def/weapons/crossbow.def b/zpak001.pk3dir/decls/def/weapons/crossbow.def new file mode 100644 index 0000000..511acab --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/crossbow.def @@ -0,0 +1,87 @@ +entityDef weapon_cmlwbr +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Crossbow" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_crossbow.mdl" + "model_view" "models/v_cmlwbr.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_fireInfo" "fireInfo_crossbow" + "inv_name" "Crossbow" + "clipSize" "5" + "ammoIcon" "weapon_cmlwbr.ammo" + + "act_fire" "4" + "act_fireStop" "6" + "act_holster" "10" + "act_holsterEmpty" "11" + "act_reloadStart" "7" + "act_reload" "5" + "act_reloadEnd" "6" + "act_draw" "8" + "act_drawEmpty" "9" + "act_idle" "0,2" + "act_idleEmpty" "1,3" + + "snd_fire" "weapon_crossbow.fire" + "snd_empty" "weapon_crossbow.empty" + "snd_reload" "weapon_crossbow.reload" +// weapon_crossbow.undraw + "snd_zoom" "weapon_crossbow.zoom" + + // HLWeapon specific + "hudSlot" "2" + "hudSlotPos" "1" + "weight" "10" + "zoomFov" "18" +} + +entityDef fireInfo_crossbow +{ + "def_onFire" "projectile_arrow" + "ammoType" "ammo_bolt" + "ammoRequired" "1" + "ammoPerShot" "1" + "fireRate" "1.0" + "punchAngle" "-2 0 0" +} + +entityDef debris_arrow +{ + "spawnclass" "NSProjectile" + "model" "models/crossbow_bolt.mdl" +} + +entityDef projectile_arrow +{ + "spawnclass" "NSProjectile" + "model" "models/crossbow_bolt.mdl" + "offset" "24 3 -8" + "velocity" "2000 0 0" + "angular_velocity" "0 0 20" + "mins" "0 0 0" + "maxs" "0 0 0" + "def_damage" "damage_arrowDirect" + "model_detonate" "fx_spark.main" + "snd_explode" "fx.spark" + "detonate_on_fuse" "0" + "detonate_on_death" "1" + "detonate_on_world" "1" + "detonate_on_actor" "1" + "projectile_debris" "debris_arrow" + "debris_count" "1" + "debris_stick" "1" + "debris_offset" "-16 0 0" +} + +entityDef damage_arrowDirect +{ + "damage" "skill:plr_xbow_bolt" +} diff --git a/zpak001.pk3dir/decls/def/weapons/heaterpipe.def b/zpak001.pk3dir/decls/def/weapons/heaterpipe.def new file mode 100644 index 0000000..ad4efea --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/heaterpipe.def @@ -0,0 +1,49 @@ +entityDef weapon_heaterpipe +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Heater Pipe" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_heaterpipe.mdl" + "model_view" "models/v_heaterpipe.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_onFire" "projectile_heaterpipe" +// TODO attack slows to crawl & player breathes similar to hivehand + "testDistance" "-32" + "inv_name" "Heater Pipe" + "ammoRequired" "0" + "silent_fire" "1" + + "failRate" "0.5" + "fireRate" "0.25" + "snd_hit" "weapon_heaterpipe.hit" + "snd_failed" "weapon_heaterpipe.miss" + + "act_idle" "0" + "act_draw" "1" + "act_holster" "2" + "act_fireFailed" "4,5,7" + "act_fire" "3,6,8" + + // HLWeapon specific + "hudSlot" "0" + "hudSlotPos" "0" + "weight" "0" + "crosshair" "none" + "ammoIcon" "none" +} + +entityDef projectile_heaterpipe +{ + "spawnclass" "NSProjectile" + "damage" "skill:plr_heaterpipe" + "is_bullet" "1" + "decal_impact" "Impact.Shot" + "detonate_on_world" "1" +} \ No newline at end of file diff --git a/zpak001.pk3dir/decls/def/weapons/nailgun.def b/zpak001.pk3dir/decls/def/weapons/nailgun.def new file mode 100644 index 0000000..99f476e --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/nailgun.def @@ -0,0 +1,53 @@ +entityDef weapon_nailgun +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Nail Gun" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_nailgun.mdl" + "model_view" "models/v_nailgun.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_fireInfo" "fireInfo_nailgun" + "def_altFireInfo" "fireInfo_altNailGun" + "inv_name" "Nail Gun" + "clipSize" "50" + "ammoType" "ammo_nail" + "ammoRequired" "1" + "ammoPerShot" "1" + "punchAngle" "-2 0 0" + "ammoIcon" "weapon_nailgun.ammo" + + "act_fire" "5,6" + "act_holster" "8" + "act_reload" "3" + "act_draw" "4" + "act_drawEmpty" "8" + "act_idle" "0,1" + "act_idleEmpty" "9,10" + + "snd_fire" "weapon_nailgun.fire" + "snd_empty" "weapon_glock.empty" + + // HLWeapon specific + "hudSlot" "1" + "hudSlotPos" "1" + "weight" "10" +} + +entityDef projectile_nailAlt +{ + "inherit" "projectile_nail" + "offset" "40 12 -8" +} + +entityDef fireInfo_nailgun +{ + "def_onFire" "projectile_nailAlt" + "fireRate" "0.1" +} diff --git a/zpak001.pk3dir/decls/def/weapons/pipebomb.def b/zpak001.pk3dir/decls/def/weapons/pipebomb.def new file mode 100644 index 0000000..c32978a --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/pipebomb.def @@ -0,0 +1,44 @@ +entityDef weapon_pipebomb +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Pipebomb" + "editor_rotatable" "1" + + "inherit" "weapon_satchel" + "model" "models/w_pipebomb.mdl" + "model_view" "models/v_pipebomb.mdl" +//"model_view" "models/v_pipebomb_watch.mdl" + + "inv_name" "Pipe Bomb" + "ammoType" "ammo_pipebomb" + "inv_ammo_pipebomb" "1" + "ammoRequired" "1" + "def_onFire" "projectile_pipebomb" + "detonateOnFire" "projectile_pipebomb" + "ammoIcon" "weapon_pipebomb.ammo" + + // HLWeapon specific + "hudSlot" "4" + "hudSlotPos" "0" + "weight" "-20" + "crosshair" "none" +} + +// TODO Needs shockwave effect on explosion + +entityDef projectile_pipebomb +{ + "inherit" "projectile_satchel" + "model" "models/w_pipebomb.mdl" + "snd_bounce" "weapon_pipebomb.bounce" + "def_splash_damage" "damage_pipebombExplosion" + +} + +entityDef damage_pipebombExplosion +{ + "damage" "skill:plr_pipebomb" + "radius" "375" +} diff --git a/zpak001.pk3dir/decls/def/weapons/shotgun.def b/zpak001.pk3dir/decls/def/weapons/shotgun.def new file mode 100644 index 0000000..366ac72 --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/shotgun.def @@ -0,0 +1,57 @@ +entityDef weapon_shotgun +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Shotgun" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_shotgun.mdl" + "model_view" "models/v_shotgun.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_fireInfo" "fireInfo_shotgun" + "inv_name" "Shotgun" + "clipSize" "12" + + "act_fire" "1" + "act_holster" "6" + "act_reloadStart" "4" + "act_reload" "2" + "act_reloadEnd" "3" + "act_draw" "5" + "act_idle" "0,7" + + "snd_fire" "weapon_shotgun.single" + "snd_empty" "weapon_shotgun.empty" + + "snd_reload" "weapon_shotgun.reload" + + // HLWeapon specific + "hudSlot" "2" + "hudSlotPos" "0" + "weight" "15" +} + +entityDef projectile_shotgun +{ + "inherit" "projectile_bullet_base" + "damage" "skill:plr_buckshot" + "hitscans" "12" + "spread" "0.08716 0.08716" +} + +entityDef fireInfo_shotgun +{ + "def_onFire" "projectile_shotgun" + "ammoType" "ammo_buckshot" + "ammoRequired" "2" + "ammoPerShot" "2" + "fireRate" "1.1" + "model_flash" "sprites/muzzleflash2.spr" + "punchAngle" "-4 0 0" + "knockback" "152" +} diff --git a/zpak001.pk3dir/decls/def/weapons/xs.def b/zpak001.pk3dir/decls/def/weapons/xs.def new file mode 100644 index 0000000..4d96b86 --- /dev/null +++ b/zpak001.pk3dir/decls/def/weapons/xs.def @@ -0,0 +1,140 @@ +entityDef weapon_xs +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 -16" + "editor_maxs" "16 16 16" + "editor_usage" "Xen Species" + "editor_rotatable" "1" + + "spawnclass" "HLWeapon" + "model" "models/w_xs.mdl" + "model_view" "models/v_xs.mdl" + "snd_acquire" "weapon.pickup" + "snd_respawn" "item.respawn" + + // weapon specific + "def_fireInfo" "fireInfo_xs" + "def_altFireInfo" "fireInfo_altXS" + "inv_name" "Xen Species" + "clipSize" "15" + "ammoType" "ammo_xencandy" + "ammoRequired" "1" + "ammoPerShot" "1" + "punchAngle" "-2 0 0" + "ammoIcon" "weapon_xs.ammo" + + "act_holster" "7" + "act_reload" "9" + "act_draw" "8" + "act_idle" "0,1,2" + + "snd_fire" "weapon_xs.fire" + "snd_reload" "weapon_xs.reload" + + // HLWeapon specific + "hudSlot" "3" + "hudSlotPos" "0" + "weight" "10" +} + + +// TODO Projectile travels in a slight spiral + +entityDef projectile_xs +{ + "spawnclass" "NSProjectile" + "model" "sprites/hotglow.spr" + "rendermode" "5" + "renderamt" "255" + "rendercolor" "255 255 255" + "offset" "24 3 -8" + + "def_damage" "damage_xsDirect" + "def_splash_damage" "damage_xsSplash" + + "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_xs.trail" + "decal_detonate" "ExplosionScorch" + "model_detonate" "weapon_xs.impact" + "light_color" "0.7 1.0 0.0" + "light_radius" "160" + "light_offset" "0 0 0" + +// defined in particles/weapon_xs.cfg +// less networking + +// "explode_light_color" "0.35 0.5 0.0" +// "explode_light_radius" "160" +// "explode_light_fadetime" "2.0" + + "snd_explode" "" +} + +entityDef projectile_xsCharged +{ + "inherit" "projectile_xs" + + "velocity" "350" +} + +entityDef fireInfo_xs +{ + "def_onFire" "projectile_xs" + "fireRate" "0.5" + "act_fire" "5" + "model_flash" "sprites/muzzleflash3.spr" +} + +// TODO Has overcharge almost exactly like Gauss +// gives "poison" damage type set with overlay flash color "0.7 1.0 0.0" +entityDef fireInfo_altXS +{ + "def_onFire" "projectile_xsCharged" + "def_onRelease" "projectile_xsCharged" + + + // TODO travels in a spiral + "num_projectiles" "2" + "spread" "0.08716 0.08716" + + "snd_fireStart" "weapon_xs.revving" + "snd_fire" "weapon_xs.overcharge" + "snd_release" "weapon_xs.fire" + + "ammoPerShot" "5" + "chargeTime" "5" + "fireRate" "2" + "punchAngle" "-2 0 0" + "model_flash" "sprites/muzzleflash3.spr" + + "act_release" "6" + "act_delay" "3" + "act_loop" "4" + + "knockbackRelease" "512" +} + +entityDef damage_xsDirect +{ + "damage" "skill:plr_xs_impact" +} + +entityDef damage_xsSplash +{ + "damage" "skill:plr_xs" + "radius" "250" +} diff --git a/zpak001.pk3dir/decls/sound/weapons_poke646.sndshd b/zpak001.pk3dir/decls/sound/weapons_poke646.sndshd new file mode 100644 index 0000000..7fe1e05 --- /dev/null +++ b/zpak001.pk3dir/decls/sound/weapons_poke646.sndshd @@ -0,0 +1,79 @@ +weapon_bradnailer.fire +{ + sample weapons/bradnailer.wav +} + +weapon_bradnailer.hitbody +{ + sample weapons/brad_hit1.wav + sample weapons/brad_hit2.wav +} + +weapon_crossbow.fire +{ + sample weapons/cmlwbr_fire.wav +} + +weapon_crossbow.reload +{ + sample weapons/cmlwbr_reload.wav +} + +weapon_crossbow.undraw +{ + sample weapons/cmlwbr_undraw.wav +} + +weapon_crossbow.zoom +{ + sample weapons/cmlwbr_zoom.wav +} + +weapon_heaterpipe.hit +{ + sample weapons/pipe_hit1.wav + sample weapons/pipe_hit2.wav +} + +weapon_heaterpipe.miss +{ + sample weapons/pipe_miss.wav +} + +weapon_nailgun.fire +{ + sample weapons/nailgun.wav +} + +weapon_nailgun.hitbody +{ + sample weapons/brad_hit1.wav + sample weapons/brad_hit2.wav +} + +weapon_pipebomb.bounce +{ + sample weapons/pb_bounce1.wav + sample weapons/pb_bounce2.wav + sample weapons/pb_bounce3.wav +} + +weapon_shotgun.single +{ + sample weapons/dbarrel1.wav +} + +weapon_xs.fire +{ + sample weapons/xs_shot.wav +} + +weapon_xs.reload +{ + sample weapons/xs_reload.wav +} + +weapon_xs.windup +{ + sample weapons/xs_windup.wav +} \ No newline at end of file diff --git a/zpak001.pk3dir/particles/nail.cfg b/zpak001.pk3dir/particles/nail.cfg new file mode 100644 index 0000000..4d2284a --- /dev/null +++ b/zpak001.pk3dir/particles/nail.cfg @@ -0,0 +1,13 @@ +r_part trail +{ + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + scale 1 + rgbf 0.7 0.7 0 + alpha 0.35 + blend add + step 4 + die 0.05 + randomvel 0 + type beam +} diff --git a/zpak001.pk3dir/particles/weapon_xs.cfg b/zpak001.pk3dir/particles/weapon_xs.cfg new file mode 100644 index 0000000..17125f1 --- /dev/null +++ b/zpak001.pk3dir/particles/weapon_xs.cfg @@ -0,0 +1,24 @@ +r_part impact +{ + lighttime 2 + lightradius 160 + lightradiusfade 64 + lightrgb 0.7 1.0 0.0 + count 0 0 1 + spawnorg 0 + model "sprites/hotglow.spr" framestart=0 framecount=30 framerate=20 additive scalemin=1.0 scalemax=1.0 alpha=0.3 +} + +r_part trail +{ + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + scale 4 + rgbf 0.7 1 0 + alpha 0.5 + blend add + step 4 + die 0.7 + randomvel 0 + type beam +} diff --git a/zpak001.pk3dir/sound/weapons_poke646.sndshd b/zpak001.pk3dir/sound/weapons_poke646.sndshd deleted file mode 100644 index 96aee2a..0000000 --- a/zpak001.pk3dir/sound/weapons_poke646.sndshd +++ /dev/null @@ -1,10 +0,0 @@ -weapon_bradnailer.fire -{ - sample weapons/bradnailer.wav -} - -weapon_bradnailer.hitbody -{ - sample weapons/brad_hit1.wav - sample weapons/brad_hit2.wav -}