Giving some push to the weapons, more Source sound support

This commit is contained in:
Xylemon 2024-11-03 01:59:46 -07:00
parent e04510fa50
commit 01923a51af
7 changed files with 28 additions and 21 deletions

View file

@ -1,7 +1,7 @@
#include "items/suit.def"
#include "items/airtank.def" #include "items/airtank.def"
#include "items/antidote.def" #include "items/antidote.def"
#include "items/battery.def" #include "items/battery.def"
#include "items/healthkit.def" #include "items/healthkit.def"
#include "items/longjump.def" #include "items/longjump.def"
#include "items/security.def" #include "items/security.def"
#include "items/suit.def"

View file

@ -1,14 +1,14 @@
entityDef monster_alien_controller entityDef monster_alien_controller
{ {
"spawnclass" "NSTalkMonster" "spawnclass" "NSTalkMonster"
"model" "models/controller.mdl" "model" "models/controller.mdl"
"netname" "Alien Controller" "netname" "Alien Controller"
"health" "skill:controller_health" "health" "skill:controller_health"
"mins" "-32 -32 0" "mins" "-32 -32 0"
"maxs" "32 32 64" "maxs" "32 32 64"
"eye_height" "64" "eye_height" "64"
"team" "2" "team" "2"
"propdata" "actor_alien" "propdata" "actor_alien"
"speed_walk" "100" "speed_walk" "100"
"speed_run" "500" "speed_run" "500"
@ -16,15 +16,19 @@ entityDef monster_alien_controller
"fly_offset" "128" "fly_offset" "128"
"attack_ranged_range" "1024" "attack_ranged_range" "1024"
"snd_alert" "Controller.Alert"
"snd_idle" "Controller.Idle"
"snd_die" "Controller.Die"
"snd_pain" "Controller.Pain"
events { events {
// ranged attack // ranged attack
2 "SpawnProjectileOffset" "ranged_controller_ball 0 0 36" 2 "SpawnProjectileOffset" "ranged_controller_ball 0 0 36"
3 "StartSoundDef" "Controller.Attack" 3 "StartSoundDef" "Controller.Attack"
} }
} }
entityDef ranged_controller_ball entityDef ranged_controller_ball
{ {
"spawnclass" "NSProjectile" "spawnclass" "NSProjectile"

View file

@ -19,11 +19,11 @@ entityDef monster_barney
"speed_walk" "64" "speed_walk" "64"
"speed_run" "364" "speed_run" "364"
"snd_pain" "monster_barney.pain" "snd_pain" "Barney.Pain"
"snd_death" "monster_barney.die" "snd_death" "Barney.Die"
"snd_ranged_attack" "weapon_glock.fire" "snd_ranged_attack" "Barney.FirePistol"
"snd_reload" "monster_human_grunt.reload" "snd_reload" "HGrunt.Reload"
"snd_thud" "monster_generic.thud" "snd_thud" "AI_BaseNPC.BodyDrop_Light"
"talk_answer" "!BA_ANSWER" "talk_answer" "!BA_ANSWER"
"talk_ask" "!BA_QUESTION" "talk_ask" "!BA_QUESTION"

View file

@ -4,8 +4,8 @@ entityDef monster_snark
"model" "models/w_squeak.mdl" "model" "models/w_squeak.mdl"
"netname" "Snark" "netname" "Snark"
"health" "skill:snark_health" "health" "skill:snark_health"
"mins" "-16 -16 0" "mins" "-4 -4 0"
"maxs" "16 16 32" "maxs" "4 4 8"
"eye_height" "12" "eye_height" "12"
"team" "3" "team" "3"
"propdata" "actor_alien" "propdata" "actor_alien"
@ -16,7 +16,7 @@ entityDef monster_snark
"act_walk" "3" "act_walk" "3"
"act_run" "3" "act_run" "3"
"attack_ranged_range" "96" // needs launch attack "attack_ranged_range" "96"
"snd_idle" "monster_snark.idle" "snd_idle" "monster_snark.idle"
"snd_pain" "monster_snark.pain" "snd_pain" "monster_snark.pain"

View file

@ -92,6 +92,7 @@ entityDef projectile_ARgrenade
"def_damage" "damage_ARgrenadeDirect" "def_damage" "damage_ARgrenadeDirect"
"def_splash_damage" "damage_ARgrenadeSplash" "def_splash_damage" "damage_ARgrenadeSplash"
"push" "10000"
} }
entityDef damage_ARgrenadeDirect entityDef damage_ARgrenadeDirect
@ -115,7 +116,7 @@ entityDef projectile_9mmAR_mp
entityDef fireInfo_9mmAR_mp entityDef fireInfo_9mmAR_mp
{ {
"def_onFire" "projectile_9mmAR_mp" "def_onFire" "projectile_9mmAR_mp"
"ammoType" "ammo_9mm" "ammoType" "ammo_9mm"
"ammoRequired" "1" "ammoRequired" "1"
"ammoPerShot" "1" "ammoPerShot" "1"

View file

@ -68,4 +68,5 @@ entityDef damage_handgrenadeSplash
{ {
"damage" "skill:plr_hand_grenade" "damage" "skill:plr_hand_grenade"
"radius" "250" "radius" "250"
"push" "7500"
} }

View file

@ -95,6 +95,7 @@ entityDef damage_rocketSplash
{ {
"damage" "skill:plr_rpg" "damage" "skill:plr_rpg"
"radius" "250" "radius" "250"
"push" "10000"
} }
entityDef fireInfo_rpg entityDef fireInfo_rpg