Fix Battery

More accurate weapons, Hivehand, Grenade, Satchel, Gauss
Make Snark work with new ACT def system
Some formatting
This commit is contained in:
Xylemon 2024-11-02 02:49:26 -07:00
parent 3dea668df8
commit bac98f2f4e
12 changed files with 88 additions and 62 deletions

View file

@ -8,4 +8,5 @@ entityDef item_battery
"snd_respawn" "item.respawn"
"inv_armor" "skill:battery"
"requires" "item_suit"
"inv_carry" "1"
}

View file

@ -38,6 +38,7 @@
#include "monsters/sitting_scientist.def"
#include "monsters/skeleton_dead.def"
#include "monsters/snapbug.def"
#include "monsters/snark.def"
#include "monsters/stukabat.def"
#include "monsters/tentacle.def"
#include "monsters/tentaclemaw.def"

View file

@ -62,7 +62,7 @@ entityDef ranged_agrunt_shot_red
"health" "0"
"velocity" "600"
"fuse" "10"
"detonate_on_fuse" "0"
"detonate_on_fuse" "1"
"detonate_on_death" "0"
"detonate_on_world" "0"
"detonate_on_actor" "1"
@ -81,7 +81,7 @@ entityDef ranged_agrunt_shot_orange
"health" "0"
"velocity" "800"
"fuse" "10"
"detonate_on_fuse" "0"
"detonate_on_fuse" "1"
"detonate_on_death" "0"
"detonate_on_world" "0"
"detonate_on_actor" "1"

View file

@ -7,12 +7,16 @@ entityDef monster_snark
"mins" "-16 -16 0"
"maxs" "16 16 72"
"eye_height" "12"
"team" "2"
"team" "$ALLIANCE_ROGUE"
"propdata" "actor_alien"
"speed_walk" "32"
"speed_run" "72"
"speed_walk" "128"
"speed_run" "128"
"act_idle" "0"
"act_rangeAttack1" "2"
"act_walk" "3"
"act_run" "3"
"attack_ranged_range" "180" // needs launch attack
"attack_ranged_range" "96" // needs launch attack
"snd_idle" "monster_snark.idle"
"snd_pain" "monster_snark.pain"
@ -22,9 +26,5 @@ entityDef monster_snark
events {
jump "AddVelocity" "512 0 250"
jump "StartSoundDef" "monster_snark.attack"
jump_variation1 "AddVelocity" "512 0 350"
jump_variation1 "StartSoundDef" "monster_snark.attack"
jump_variation2 "AddVelocity" "512 0 350"
jump_variation2 "StartSoundDef" "monster_snark.attack"
}
}

View file

@ -68,5 +68,5 @@ entityDef fireInfo_gausscharge
"act_release" "5,6"
"act_delay" "3"
"act_loop" "4"
"knockbackRelease" "1024"
"knockbackRelease" "384"
}

View file

@ -1,4 +1,3 @@
entityDef weapon_handgrenade
{
"editor_color" ".3 .3 1"
@ -15,7 +14,7 @@ entityDef weapon_handgrenade
"inv_name" "Hand Grenade"
"inv_weapon" "weapon_handgrenade"
"inv_ammo_handgrenade" "5"
"inv_ammo_handgrenade" "1"
"def_onRelease" "projectile_handgrenade"
"def_onFire" "projectile_handgrenade"

View file

@ -9,11 +9,12 @@ entityDef weapon_hornetgun
"spawnclass" "HLWeapon"
"model" "models/w_hgun.mdl"
"model_view" "models/v_hgun.mdl"
"snd_acquire" "weapon.pickup"
"snd_acquire" "Player.PickupWeapon"
"snd_respawn" "item.respawn"
// weapon specific
"def_fireInfo" "fireInfo_hornetgun"
"def_altFireInfo" "fireInfo_hornetgunAlt"
"inv_name" "Hornet Gun"
"inv_ammo_hornet" "8"
@ -28,12 +29,22 @@ entityDef weapon_hornetgun
"hudSlot" "3"
"hudSlotPos" "3"
"weight" "10"
"regenAmmo" "1"
"regenRate" "0.7"
}
entityDef projectile_hornet
{
"spawnclass" "NSProjectile"
"inherit" "ranged_agrunt_shot_orange "
"damage" "10"
"offset" "24 8 -16"
}
entityDef projectile_hornet_red
{
"inherit" "ranged_agrunt_shot_red "
"damage" "10"
"offset" "24 8 -16"
}
entityDef fireInfo_hornetgun
@ -45,3 +56,13 @@ entityDef fireInfo_hornetgun
"fireRate" "1.0"
"punchAngle" "-1 0 0"
}
entityDef fireInfo_hornetgunAlt
{
"def_onFire" "projectile_hornet_red"
"ammoType" "ammo_hornet"
"ammoRequired" "1"
"ammoPerShot" "1"
"fireRate" "0.2"
"punchAngle" "-1 0 0"
}

View file

@ -37,6 +37,7 @@ entityDef weapon_rpg
"hudSlotPos" "0"
"weight" "20"
"altLaser" "1"
"altMode" "1"
}
entityDef projectile_rocket

View file

@ -37,5 +37,8 @@ entityDef weapon_snark
entityDef projectile_snark
{
"spawnclass" "monster_snark"
"spawnclass" "NSAttack"
"def_drop" "monster_snark"
"dropDistance" "24"
"dropOffset" "8"
}