Skip to content

Commit

Permalink
add kingpin
Browse files Browse the repository at this point in the history
it has the same abilities as in sven except for the shield. The visual effects are similar but not identical. Most of the sounds are high pitched alien grunt noises. It's still no fun to fight because the lasers are impossible to avoid. The eye laser things have a field of view now, so fewer of them can attack you at once.
  • Loading branch information
wootguy committed Dec 4, 2024
1 parent 566114f commit e2e3ec9
Show file tree
Hide file tree
Showing 6 changed files with 1,135 additions and 6 deletions.
1 change: 1 addition & 0 deletions dlls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ set(MONSTER_ALIEN_SRC
monster/CHoundeye.cpp
monster/CIchthyosaur.cpp
monster/CISlave.cpp
monster/CKingpin.cpp
monster/CNihilanth.cpp
monster/CPitdrone.cpp
monster/CShockRoach.cpp
Expand Down
10 changes: 9 additions & 1 deletion dlls/game/skill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ skill_cvar_t skill_cvars[] = {
DECL_SKILL_CVAR(sk_stukabat_health, CVAR_TYPE_HEALTH),
DECL_SKILL_CVAR(sk_stukabat_dmg_bite, CVAR_TYPE_DAMAGE),

// Kingpin
DECL_SKILL_CVAR(sk_kingpin_health, CVAR_TYPE_HEALTH),
DECL_SKILL_CVAR(sk_kingpin_lightning, CVAR_TYPE_DAMAGE),
DECL_SKILL_CVAR(sk_kingpin_tele_blast, CVAR_TYPE_DAMAGE),
DECL_SKILL_CVAR(sk_kingpin_plasma_blast, CVAR_TYPE_DAMAGE),
DECL_SKILL_CVAR(sk_kingpin_melee, CVAR_TYPE_DAMAGE),
DECL_SKILL_CVAR(sk_kingpin_telefrag, CVAR_TYPE_DAMAGE),

// Nihilanth
DECL_SKILL_CVAR(sk_nihilanth_health, CVAR_TYPE_HEALTH),
DECL_SKILL_CVAR(sk_nihilanth_zap, CVAR_TYPE_DAMAGE),
Expand Down Expand Up @@ -334,7 +342,7 @@ void RefreshSkillData(bool mapSkills) {
hpDict["monster_hwgrunt"] = gSkillData.sk_hwgrunt_health;
hpDict["monster_hwgrunt_repel"] = gSkillData.sk_hwgrunt_health;
hpDict["monster_ichthyosaur"] = gSkillData.sk_ichthyosaur_health;
hpDict["monster_kingpin"] = gSkillData.sk_tor_health;
hpDict["monster_kingpin"] = gSkillData.sk_kingpin_health;
hpDict["monster_leech"] = gSkillData.sk_leech_health;
hpDict["monster_male_assassin"] = gSkillData.sk_massassin_health;
hpDict["monster_medic_ally_repel"] = gSkillData.sk_hgrunt_health;
Expand Down
8 changes: 8 additions & 0 deletions dlls/game/skill.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ struct skilldata_t
float sk_stukabat_health;
float sk_stukabat_dmg_bite;

// Kingpin
float sk_kingpin_health;
float sk_kingpin_lightning;
float sk_kingpin_tele_blast;
float sk_kingpin_plasma_blast;
float sk_kingpin_melee;
float sk_kingpin_telefrag;

// Nihilanth
float sk_nihilanth_health;
float sk_nihilanth_zap;
Expand Down
Loading

0 comments on commit e2e3ec9

Please sign in to comment.