Restructuring of monster/weapon entitydef files
This commit is contained in:
parent
7a014d91e9
commit
e49810be8b
55 changed files with 506 additions and 245 deletions
|
@ -64,4 +64,4 @@ void HUD_DrawAmmo1(void);
|
|||
void HUD_DrawAmmo2(void);
|
||||
void HUD_DrawAmmo3(void);
|
||||
void HUD_DrawAmmoBar(vector pos, float val, float max, float a);
|
||||
void HUD_WeaponPickupNotify(int);
|
||||
void HUD_WeaponPickupNotify(int);
|
|
@ -35,11 +35,11 @@ ClientGame_EventParse(float fHeader)
|
|||
FX_Spark(vSparkPos, vSparkAngle);
|
||||
break;
|
||||
case EV_GIBHUMAN:
|
||||
vector vGibPos;
|
||||
vector vGibPos = g_vec_null;
|
||||
vGibPos[0] = readcoord();
|
||||
vGibPos[1] = readcoord();
|
||||
vGibPos[2] = readcoord();
|
||||
vector vDir;
|
||||
vector vDir = g_vec_null;
|
||||
vDir[0] = readcoord();
|
||||
vDir[1] = readcoord();
|
||||
vDir[2] = readcoord();
|
||||
|
@ -47,11 +47,11 @@ ClientGame_EventParse(float fHeader)
|
|||
FX_GibHuman(vGibPos, vDir, flForce);
|
||||
break;
|
||||
case EV_GIBALIEN:
|
||||
vector vGibPos2;
|
||||
vector vGibPos2 = g_vec_null;
|
||||
vGibPos[0] = readcoord();
|
||||
vGibPos[1] = readcoord();
|
||||
vGibPos[2] = readcoord();
|
||||
vector vDir2;
|
||||
vector vDir2 = g_vec_null;
|
||||
vDir[0] = readcoord();
|
||||
vDir[1] = readcoord();
|
||||
vDir[2] = readcoord();
|
||||
|
@ -59,8 +59,8 @@ ClientGame_EventParse(float fHeader)
|
|||
FX_GibAlien(vGibPos2, vDir2, flForce2);
|
||||
break;
|
||||
case EV_BLOOD:
|
||||
vector vBloodPos;
|
||||
vector vBloodColor;
|
||||
vector vBloodPos = g_vec_null;
|
||||
vector vBloodColor = g_vec_null;
|
||||
|
||||
vBloodPos[0] = readcoord();
|
||||
vBloodPos[1] = readcoord();
|
||||
|
@ -73,7 +73,7 @@ ClientGame_EventParse(float fHeader)
|
|||
FX_Blood(vBloodPos, vBloodColor);
|
||||
break;
|
||||
case EV_EXPLOSION:
|
||||
vector vExploPos;
|
||||
vector vExploPos = g_vec_null;
|
||||
|
||||
vExploPos[0] = readcoord();
|
||||
vExploPos[1] = readcoord();
|
||||
|
@ -82,12 +82,12 @@ ClientGame_EventParse(float fHeader)
|
|||
FX_Explosion(vExploPos);
|
||||
break;
|
||||
case EV_MODELGIB:
|
||||
vector vecPos;
|
||||
vector vecPos = g_vec_null;
|
||||
vecPos[0] = readcoord();
|
||||
vecPos[1] = readcoord();
|
||||
vecPos[2] = readcoord();
|
||||
|
||||
vector vSize;
|
||||
vector vSize = g_vec_null;
|
||||
vSize[0] = readcoord();
|
||||
vSize[1] = readcoord();
|
||||
vSize[2] = readcoord();
|
||||
|
|
|
@ -32,6 +32,7 @@ HLSprite_Init(void)
|
|||
vector imgSize;
|
||||
int spriteCount = 0i;
|
||||
int i = 0i;
|
||||
int c = 0i;
|
||||
string line;
|
||||
|
||||
hudFile = fopen("sprites/hud.txt", FILE_READ);
|
||||
|
@ -43,7 +44,7 @@ HLSprite_Init(void)
|
|||
|
||||
/* count valid entries */
|
||||
while ((line = fgets(hudFile))) {
|
||||
int c = tokenize_console(line);
|
||||
c = tokenize_console(line);
|
||||
|
||||
if (c != 7)
|
||||
continue;
|
||||
|
@ -70,7 +71,7 @@ HLSprite_Init(void)
|
|||
|
||||
/* read the data into our banks */
|
||||
while ((line = fgets(hudFile))) {
|
||||
int c = tokenize_console(line);
|
||||
c = tokenize_console(line);
|
||||
|
||||
if (c != 7)
|
||||
continue;
|
||||
|
|
|
@ -1,5 +1,34 @@
|
|||
include "monsters/monster_barney.def"
|
||||
include "monsters/monster_human_grunt.def"
|
||||
include "monsters/monster_zombie.def"
|
||||
include "monsters/monster_scientist.def"
|
||||
include "monsters/monster_alien_grunt.def"
|
||||
include "monsters/alien_controller.def"
|
||||
include "monsters/alien_grunt.def"
|
||||
include "monsters/alien_slave.def"
|
||||
include "monsters/apache.def"
|
||||
include "monsters/babycrab.def"
|
||||
include "monsters/barnacle.def"
|
||||
include "monsters/barney.def"
|
||||
include "monsters/barney_dead.def"
|
||||
include "monsters/bigmomma.def"
|
||||
include "monsters/bloater.def"
|
||||
include "monsters/bullchicken.def"
|
||||
include "monsters/cockroach.def"
|
||||
include "monsters/flyer_flock.def"
|
||||
include "monsters/gargantua.def"
|
||||
include "monsters/gman.def"
|
||||
include "monsters/headcrab.def"
|
||||
include "monsters/hevsuit_dead.def"
|
||||
include "monsters/hgrunt_dead.def"
|
||||
include "monsters/houndeye.def"
|
||||
include "monsters/human_assassin.def"
|
||||
include "monsters/human_grunt.def"
|
||||
include "monsters/ichthyosaur.def"
|
||||
include "monsters/leech.def"
|
||||
include "monsters/miniturret.def"
|
||||
include "monsters/nihilanth.def"
|
||||
include "monsters/osprey.def"
|
||||
include "monsters/rat.def"
|
||||
include "monsters/scientist.def"
|
||||
include "monsters/scientist_dead.def"
|
||||
include "monsters/sentry.def"
|
||||
include "monsters/sitting_scientist.def"
|
||||
include "monsters/tentacle.def"
|
||||
include "monsters/turret.def"
|
||||
include "monsters/zombie.def"
|
||||
|
|
0
zpak001.pk3dir/def/monsters/alien_controller.def
Normal file
0
zpak001.pk3dir/def/monsters/alien_controller.def
Normal file
31
zpak001.pk3dir/def/monsters/alien_slave.def
Normal file
31
zpak001.pk3dir/def/monsters/alien_slave.def
Normal file
|
@ -0,0 +1,31 @@
|
|||
entityDef monster_alien_slave
|
||||
{
|
||||
"spawnclass" "NSMonster"
|
||||
"model" "models/islave.mdl"
|
||||
"netname" "Vortigaunt"
|
||||
"health" "skill:islave_health"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "64"
|
||||
"team" "2"
|
||||
"propdata" "actor_alien"
|
||||
"speed_walk" "72"
|
||||
"speed_run" "72"
|
||||
|
||||
"def_attack_melee" "melee_islave_claw"
|
||||
"melee_range" "96"
|
||||
"attack_ranged_range" "512"
|
||||
|
||||
"snd_idle" "monster_alien_slave.idle"
|
||||
"snd_pain" "monster_alien_slave.pain"
|
||||
"snd_death" "monster_alien_slave.die"
|
||||
"snd_thud" "monster_generic.thud"
|
||||
}
|
||||
|
||||
entityDef melee_islave_claw
|
||||
{
|
||||
"damage" "skill:islave_dmg_claw"
|
||||
"delay" "0.25f"
|
||||
"wait" "0.5"
|
||||
"attempts" "2"
|
||||
}
|
0
zpak001.pk3dir/def/monsters/apache.def
Normal file
0
zpak001.pk3dir/def/monsters/apache.def
Normal file
0
zpak001.pk3dir/def/monsters/babycrab.def
Normal file
0
zpak001.pk3dir/def/monsters/babycrab.def
Normal file
0
zpak001.pk3dir/def/monsters/barnacle.def
Normal file
0
zpak001.pk3dir/def/monsters/barnacle.def
Normal file
0
zpak001.pk3dir/def/monsters/barney_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/barney_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/bigmomma.def
Normal file
0
zpak001.pk3dir/def/monsters/bigmomma.def
Normal file
0
zpak001.pk3dir/def/monsters/bloater.def
Normal file
0
zpak001.pk3dir/def/monsters/bloater.def
Normal file
75
zpak001.pk3dir/def/monsters/bullchicken.def
Normal file
75
zpak001.pk3dir/def/monsters/bullchicken.def
Normal file
|
@ -0,0 +1,75 @@
|
|||
entityDef monster_bullchicken
|
||||
{
|
||||
"spawnclass" "NSMonster"
|
||||
"model" "models/bullsquid.mdl"
|
||||
"netname" "Bullsquid"
|
||||
"health" "skill:bullsquid_health"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "32"
|
||||
"team" "2"
|
||||
"propdata" "actor_alien"
|
||||
"speed_walk" "32"
|
||||
"speed_run" "72"
|
||||
|
||||
"attack_ranged_range" "512"
|
||||
"attack_melee1_range" "86" // tailwhip
|
||||
"attack_melee2_range" "86" // bite
|
||||
"def_attack_melee" "melee_bullchicken_tailwhip"
|
||||
"def_attack_melee2" "melee_bullchicken_bite"
|
||||
|
||||
"snd_idle" "monster_bullchicken.idle"
|
||||
"snd_pain" "monster_bullchicken.pain"
|
||||
"snd_death" "monster_bullchicken.die"
|
||||
|
||||
events {
|
||||
1 "SpawnProjectileDef" "ranged_bullchicken_spit"
|
||||
1 "StartSoundDef" "monster_bullchicken.attackshoot"
|
||||
|
||||
2 "StartSoundDef" "monster_bullchicken.attackbite"
|
||||
|
||||
3 "SetSkin" "1"
|
||||
|
||||
4 "StartSoundDef" "monster_bullchicken.attackwhip"
|
||||
|
||||
5 "SetVelocity" "0 0 256"
|
||||
|
||||
6 "StartSoundDef" "monster_bullchicken.attackthrow"
|
||||
}
|
||||
}
|
||||
|
||||
entityDef melee_bullchicken_bite
|
||||
{
|
||||
"damage" "skill:bullsquid_dmg_bite"
|
||||
"delay" "0.25f"
|
||||
}
|
||||
|
||||
|
||||
entityDef melee_bullchicken_tailwhip
|
||||
{
|
||||
"damage" "skill:bullsquid_dmg_whip"
|
||||
"delay" "0.25f"
|
||||
}
|
||||
|
||||
entityDef ranged_bullchicken_spit
|
||||
{
|
||||
"spawnclass" "NSProjectile"
|
||||
"model" "sprites/bigspit.spr"
|
||||
|
||||
"def_damage" "damage_spitDirect"
|
||||
|
||||
"health" "0"
|
||||
"velocity" "900"
|
||||
"fuse" "10"
|
||||
"detonate_on_fuse" "0"
|
||||
"detonate_on_death" "0"
|
||||
"detonate_on_world" "1"
|
||||
"detonate_on_actor" "1"
|
||||
"impact_damage_effect" "1"
|
||||
"impact_gib" "0"
|
||||
}
|
||||
|
||||
entityDef damage_spitDirect
|
||||
{
|
||||
damage "skill:bullsquid_dmg_spit"
|
||||
}
|
0
zpak001.pk3dir/def/monsters/cockroach.def
Normal file
0
zpak001.pk3dir/def/monsters/cockroach.def
Normal file
0
zpak001.pk3dir/def/monsters/flyer_flock.def
Normal file
0
zpak001.pk3dir/def/monsters/flyer_flock.def
Normal file
0
zpak001.pk3dir/def/monsters/gargantua.def
Normal file
0
zpak001.pk3dir/def/monsters/gargantua.def
Normal file
15
zpak001.pk3dir/def/monsters/gman.def
Normal file
15
zpak001.pk3dir/def/monsters/gman.def
Normal file
|
@ -0,0 +1,15 @@
|
|||
entityDef monster_gman
|
||||
{
|
||||
"spawnclass" "NSTalkMonster"
|
||||
"model" "models/gman.mdl"
|
||||
"netname" "G-Man"
|
||||
"health" "0"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "64"
|
||||
"team" "0"
|
||||
"propdata" "actor_human"
|
||||
|
||||
"speed_walk" "64"
|
||||
"speed_run" "364" // day one only
|
||||
}
|
26
zpak001.pk3dir/def/monsters/headcrab.def
Normal file
26
zpak001.pk3dir/def/monsters/headcrab.def
Normal file
|
@ -0,0 +1,26 @@
|
|||
entityDef monster_headcrab
|
||||
{
|
||||
"spawnclass" "NSMonster"
|
||||
"model" "models/headcrab.mdl"
|
||||
"netname" "Headcrab"
|
||||
"health" "skill:headcrab_health"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "12"
|
||||
"team" "2"
|
||||
"propdata" "actor_alien"
|
||||
"speed_walk" "32"
|
||||
"speed_run" "72"
|
||||
|
||||
"attack_ranged_range" "180" // needs launch attack
|
||||
|
||||
"snd_idle" "monster_headcrab.idle"
|
||||
"snd_pain" "monster_headcrab.pain"
|
||||
"snd_death" "monster_headcrab.death"
|
||||
|
||||
events {
|
||||
jump "AddVelocity" "512 0 250"
|
||||
jump_variation1 "AddVelocity" "512 0 250"
|
||||
jump_variation2 "AddVelocity" "512 0 250"
|
||||
}
|
||||
}
|
0
zpak001.pk3dir/def/monsters/hevsuit_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/hevsuit_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/hgrunt_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/hgrunt_dead.def
Normal file
20
zpak001.pk3dir/def/monsters/houndeye.def
Normal file
20
zpak001.pk3dir/def/monsters/houndeye.def
Normal file
|
@ -0,0 +1,20 @@
|
|||
entityDef monster_houndeye
|
||||
{
|
||||
"spawnclass" "NSMonster"
|
||||
"model" "models/houndeye.mdl"
|
||||
"netname" "Houndeye"
|
||||
"health" "skill:houndeye_health"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "32"
|
||||
"team" "2"
|
||||
"propdata" "actor_alien"
|
||||
"speed_walk" "32"
|
||||
"speed_run" "72"
|
||||
|
||||
"attack_ranged_range" "192"
|
||||
|
||||
"snd_idle" "monster_houndeye.idle"
|
||||
"snd_pain" "monster_houndeye.pain"
|
||||
"snd_death" "monster_houndeye.death"
|
||||
}
|
0
zpak001.pk3dir/def/monsters/human_assassin.def
Normal file
0
zpak001.pk3dir/def/monsters/human_assassin.def
Normal file
0
zpak001.pk3dir/def/monsters/ichthyosaur.def
Normal file
0
zpak001.pk3dir/def/monsters/ichthyosaur.def
Normal file
0
zpak001.pk3dir/def/monsters/leech.def
Normal file
0
zpak001.pk3dir/def/monsters/leech.def
Normal file
0
zpak001.pk3dir/def/monsters/miniturret.def
Normal file
0
zpak001.pk3dir/def/monsters/miniturret.def
Normal file
0
zpak001.pk3dir/def/monsters/nihilanth.def
Normal file
0
zpak001.pk3dir/def/monsters/nihilanth.def
Normal file
0
zpak001.pk3dir/def/monsters/osprey.def
Normal file
0
zpak001.pk3dir/def/monsters/osprey.def
Normal file
0
zpak001.pk3dir/def/monsters/rat.def
Normal file
0
zpak001.pk3dir/def/monsters/rat.def
Normal file
0
zpak001.pk3dir/def/monsters/scientist_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/scientist_dead.def
Normal file
0
zpak001.pk3dir/def/monsters/sentry.def
Normal file
0
zpak001.pk3dir/def/monsters/sentry.def
Normal file
43
zpak001.pk3dir/def/monsters/sitting_scientist.def
Normal file
43
zpak001.pk3dir/def/monsters/sitting_scientist.def
Normal file
|
@ -0,0 +1,43 @@
|
|||
entityDef monster_sitting_scientist
|
||||
{
|
||||
"spawnclass" "NSTalkMonster"
|
||||
"model" "models/scientist.mdl"
|
||||
"netname" "Scientist"
|
||||
"health" "50"
|
||||
"mins" "-16 -16 0"
|
||||
"maxs" "16 16 72"
|
||||
"eye_height" "64"
|
||||
"team" "0"
|
||||
"propdata" "actor_human"
|
||||
|
||||
when "body" equals "1" {
|
||||
"pitch" "105"
|
||||
"netname" "Walter"
|
||||
"body1" "1"
|
||||
}
|
||||
|
||||
when "body" equals "2" {
|
||||
"pitch" "100"
|
||||
"netname" "Einstein"
|
||||
"body1" "2"
|
||||
}
|
||||
|
||||
when "body" equals "3" {
|
||||
"pitch" "95"
|
||||
"netname" "Luther"
|
||||
"skin" "1"
|
||||
"body1" "3"
|
||||
}
|
||||
|
||||
when "body" equals "4" {
|
||||
"pitch" "105"
|
||||
"netname" "Slick"
|
||||
"body1" "4"
|
||||
}
|
||||
|
||||
"talk_ask" ""
|
||||
"talk_player_ask" "!SC_PQUEST"
|
||||
"talk_player_greet" "!SC_PHELLO"
|
||||
"talk_player_idle" "!SC_PIDLE"
|
||||
"follow_on_use" "0"
|
||||
}
|
0
zpak001.pk3dir/def/monsters/tentacle.def
Normal file
0
zpak001.pk3dir/def/monsters/tentacle.def
Normal file
0
zpak001.pk3dir/def/monsters/turret.def
Normal file
0
zpak001.pk3dir/def/monsters/turret.def
Normal file
|
@ -1,228 +1,14 @@
|
|||
entityDef weapon_357
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" ".367 Revolver"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_357.mdl"
|
||||
"inv_item" "3"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_python
|
||||
{
|
||||
"spawnclass" "weapon_357"
|
||||
}
|
||||
|
||||
entityDef weapon_9mmAR
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "9mm AR"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_9mmAR.mdl"
|
||||
"inv_item" "4"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_mp5
|
||||
{
|
||||
"spawnclass" "weapon_9mmAR"
|
||||
}
|
||||
|
||||
entityDef weapon_9mmhandgun
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "9mm Handgun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_9mmhandgun.mdl"
|
||||
"inv_item" "2"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_glock
|
||||
{
|
||||
"spawnclass" "weapon_9mmhandgun"
|
||||
}
|
||||
|
||||
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"
|
||||
"model" "models/w_crossbow.mdl"
|
||||
"inv_item" "6"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_crowbar
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Crowbar"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_crowbar.mdl"
|
||||
"inv_item" "1"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_egon
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Gluon Gun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_egon.mdl"
|
||||
"inv_item" "9"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_gauss
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Tau Cannon"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_gauss.mdl"
|
||||
"inv_item" "8"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
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" "11"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_hornetgun
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Hornet Gun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_hgun.mdl"
|
||||
"inv_item" "10"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_rpg
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Rocket Launcher"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_rpg.mdl"
|
||||
"inv_item" "7"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
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" "NSItem"
|
||||
"model" "models/w_satchel.mdl"
|
||||
"inv_item" "12"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
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" "NSItem"
|
||||
"model" "models/w_shotgun.mdl"
|
||||
"inv_item" "5"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_snark
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Snark"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_sqknest.mdl"
|
||||
"frame" "1"
|
||||
"inv_item" "14"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_tripmine
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Tripmine"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/v_tripmine.mdl"
|
||||
"body0" "2"
|
||||
"body1" "2"
|
||||
"frame" "8"
|
||||
"inv_item" "13"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
include "weapons/357.def"
|
||||
include "weapons/9mmAR.def"
|
||||
include "weapons/9mmhandgun.def"
|
||||
include "weapons/crossbow.def"
|
||||
include "weapons/crowbar.def"
|
||||
include "weapons/egon.def"
|
||||
include "weapons/gauss.def"
|
||||
include "weapons/handgrenade.def"
|
||||
include "weapons/hornetgun.def"
|
||||
include "weapons/rpg.def"
|
||||
include "weapons/satchel.def"
|
||||
include "weapons/shotgun.def"
|
||||
include "weapons/snark.def"
|
||||
include "weapons/tripmine.def"
|
||||
|
|
19
zpak001.pk3dir/def/weapons/357.def
Normal file
19
zpak001.pk3dir/def/weapons/357.def
Normal file
|
@ -0,0 +1,19 @@
|
|||
entityDef weapon_357
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" ".367 Revolver"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_357.mdl"
|
||||
"inv_item" "$WEAPON_PYTHON"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_python
|
||||
{
|
||||
"spawnclass" "weapon_357"
|
||||
}
|
19
zpak001.pk3dir/def/weapons/9mmAR.def
Normal file
19
zpak001.pk3dir/def/weapons/9mmAR.def
Normal file
|
@ -0,0 +1,19 @@
|
|||
entityDef weapon_9mmAR
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "9mm AR"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_9mmAR.mdl"
|
||||
"inv_item" "$WEAPON_MP5"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_mp5
|
||||
{
|
||||
"spawnclass" "weapon_9mmAR"
|
||||
}
|
19
zpak001.pk3dir/def/weapons/9mmhandgun.def
Normal file
19
zpak001.pk3dir/def/weapons/9mmhandgun.def
Normal file
|
@ -0,0 +1,19 @@
|
|||
entityDef weapon_9mmhandgun
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "9mm Handgun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_9mmhandgun.mdl"
|
||||
"inv_item" "$WEAPON_GLOCK"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
||||
|
||||
entityDef weapon_glock
|
||||
{
|
||||
"spawnclass" "weapon_9mmhandgun"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/crossbow.def
Normal file
14
zpak001.pk3dir/def/weapons/crossbow.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
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"
|
||||
"model" "models/w_crossbow.mdl"
|
||||
"inv_item" "$WEAPON_CROSSBOW"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/crowbar.def
Normal file
14
zpak001.pk3dir/def/weapons/crowbar.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
entityDef weapon_crowbar
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Crowbar"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_crowbar.mdl"
|
||||
"inv_item" "$WEAPON_CROWBAR"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/egon.def
Normal file
14
zpak001.pk3dir/def/weapons/egon.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
entityDef weapon_egon
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Gluon Gun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_egon.mdl"
|
||||
"inv_item" "$WEAPON_EGON"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/gauss.def
Normal file
14
zpak001.pk3dir/def/weapons/gauss.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
entityDef weapon_gauss
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Tau Cannon"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_gauss.mdl"
|
||||
"inv_item" "$WEAPON_GAUSS"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/handgrenade.def
Normal file
14
zpak001.pk3dir/def/weapons/handgrenade.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
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"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/hornetgun.def
Normal file
14
zpak001.pk3dir/def/weapons/hornetgun.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
entityDef weapon_hornetgun
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Hornet Gun"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_hgun.mdl"
|
||||
"inv_item" "$WEAPON_HORNETGUN"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/rpg.def
Normal file
14
zpak001.pk3dir/def/weapons/rpg.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
entityDef weapon_rpg
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Rocket Launcher"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_rpg.mdl"
|
||||
"inv_item" "$WEAPON_RPG"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/satchel.def
Normal file
14
zpak001.pk3dir/def/weapons/satchel.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
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" "NSItem"
|
||||
"model" "models/w_satchel.mdl"
|
||||
"inv_item" "$WEAPON_SATCHEL"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
14
zpak001.pk3dir/def/weapons/shotgun.def
Normal file
14
zpak001.pk3dir/def/weapons/shotgun.def
Normal file
|
@ -0,0 +1,14 @@
|
|||
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" "NSItem"
|
||||
"model" "models/w_shotgun.mdl"
|
||||
"inv_item" "$WEAPON_SHOTGUN"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
15
zpak001.pk3dir/def/weapons/snark.def
Normal file
15
zpak001.pk3dir/def/weapons/snark.def
Normal file
|
@ -0,0 +1,15 @@
|
|||
entityDef weapon_snark
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Snark"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/w_sqknest.mdl"
|
||||
"frame" "1"
|
||||
"inv_item" "$WEAPON_SNARK"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
17
zpak001.pk3dir/def/weapons/tripmine.def
Normal file
17
zpak001.pk3dir/def/weapons/tripmine.def
Normal file
|
@ -0,0 +1,17 @@
|
|||
entityDef weapon_tripmine
|
||||
{
|
||||
"editor_color" ".3 .3 1"
|
||||
"editor_mins" "-16 -16 -16"
|
||||
"editor_maxs" "16 16 16"
|
||||
"editor_usage" "Tripmine"
|
||||
"editor_rotatable" "1"
|
||||
|
||||
"spawnclass" "NSItem"
|
||||
"model" "models/v_tripmine.mdl"
|
||||
"body0" "2"
|
||||
"body1" "2"
|
||||
"frame" "8"
|
||||
"inv_item" "$WEAPON_TRIPMINE"
|
||||
"snd_acquire" "weapon.pickup"
|
||||
"snd_respawn" "item.respawn"
|
||||
}
|
16
zpak001.pk3dir/scripts/constants.txt
Normal file
16
zpak001.pk3dir/scripts/constants.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
// weapon constants
|
||||
WEAPON_NONE 0
|
||||
WEAPON_CROWBAR 1
|
||||
WEAPON_GLOCK 2
|
||||
WEAPON_PYTHON 3
|
||||
WEAPON_MP5 4
|
||||
WEAPON_SHOTGUN 5
|
||||
WEAPON_CROSSBOW 6
|
||||
WEAPON_RPG 7
|
||||
WEAPON_GAUSS 8
|
||||
WEAPON_EGON 9
|
||||
WEAPON_HORNETGUN 10
|
||||
WEAPON_HANDGRENADE 11
|
||||
WEAPON_SATCHEL 12
|
||||
WEAPON_TRIPMINE 13
|
||||
WEAPON_SNARK 14
|
|
@ -218,6 +218,10 @@ monster_bullchicken.attack
|
|||
monster_bullchicken.attackbite
|
||||
{
|
||||
sample bullchicken/bc_bite1.wav
|
||||
}
|
||||
|
||||
monster_bullchicken.attackthrow
|
||||
{
|
||||
sample bullchicken/bc_bite2.wav
|
||||
sample bullchicken/bc_bite3.wav
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue