Stubs the last of the power ups for CTF along with the Mission Packs.

Also some small fixes and enhancements (like lava nails having a fancy trail).
This commit is contained in:
Xylemon 2024-08-27 02:00:12 -07:00
parent a29d442e3c
commit 9e72ac330f
24 changed files with 347 additions and 64 deletions

View file

@ -1,9 +1,18 @@
#include "items/armor.def" #include "items/armor.def"
#include "items/artifact_empathy_shields.def"
#include "items/artifact_envirosuit.def" #include "items/artifact_envirosuit.def"
#include "items/artifact_invisibility.def" #include "items/artifact_invisibility.def"
#include "items/artifact_invulnerability.def" #include "items/artifact_invulnerability.def"
#include "items/artifact_super_damage.def" #include "items/artifact_super_damage.def"
#include "items/artifact_wetsuit.def"
#include "items/flags.def"
#include "items/health.def" #include "items/health.def"
#include "items/hornofconjuring.def"
#include "items/powerup_belt.def"
#include "items/powerup_shield.def"
#include "items/random_powerup.def"
#include "items/runes.def"
#include "items/sphere.def"
entityDef item_suit entityDef item_suit
{ {

View file

@ -1,8 +1,8 @@
entityDef item_armor1 entityDef item_armor1
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "(Green) Armor item that gives you 100 armor points." "editor_usage3" "(Green) Armor item that gives you 100 armor points."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"model" "models/armour_g.mdl" "model" "models/armour_g.mdl"
"mins" "-16 -16 0" "mins" "-16 -16 0"
@ -16,9 +16,9 @@ entityDef item_armor1
entityDef item_armor2 entityDef item_armor2
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "(Yellow) Armor item that gives you 150 armor points." "editor_usage3" "(Yellow) Armor item that gives you 150 armor points."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"model" "models/armour_y.mdl" "model" "models/armour_y.mdl"
"mins" "-16 -16 0" "mins" "-16 -16 0"
@ -33,9 +33,9 @@ entityDef item_armor2
entityDef item_armorInv entityDef item_armorInv
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "(Red) Armor item that gives you 200 armor points." "editor_usage3" "(Red) Armor item that gives you 200 armor points."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"model" "models/armour_r.mdl" "model" "models/armour_r.mdl"
"mins" "-16 -16 0" "mins" "-16 -16 0"

View file

@ -0,0 +1,14 @@
entityDef item_artifact_empathy_shields
{
"editor_usage" "QUAKE: MISSION PACK 1 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that repels half the damage from other players back onto themselves."
"spawnclass" "NSItem"
"inv_name" "Empathy Shield"
"model" "models/empathy.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -1,8 +1,8 @@
entityDef item_artifact_envirosuit entityDef item_artifact_envirosuit
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Powerup that gives players the ability to breath underwater." "editor_usage3" "Powerup that gives players the ability to breath underwater."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"model" "models/suit.mdl" "model" "models/suit.mdl"
"mins" "-16 -16 0" "mins" "-16 -16 0"

View file

@ -1,8 +1,8 @@
entityDef item_artifact_invisibility entityDef item_artifact_invisibility
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Powerup that gives players invisibility." "editor_usage3" "Powerup that gives players invisibility."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"inv_name" "Ring of Shadows" "inv_name" "Ring of Shadows"
"model" "models/pow_invis.mdl" "model" "models/pow_invis.mdl"

View file

@ -1,8 +1,8 @@
entityDef item_artifact_invulnerability entityDef item_artifact_invulnerability
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Powerup that makes players invulnerable." "editor_usage3" "Powerup that makes players invulnerable."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"inv_name" "Pentagram of Protection" "inv_name" "Pentagram of Protection"
"model" "models/pow_invuln.mdl" "model" "models/pow_invuln.mdl"

View file

@ -1,8 +1,8 @@
entityDef item_artifact_super_damage entityDef item_artifact_super_damage
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Powerup that gives players Quad (4x) damage." "editor_usage3" "Powerup that gives players Quad (4x) damage."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"inv_name" "Quad Damage" "inv_name" "Quad Damage"
"model" "models/pow_quad.mdl" "model" "models/pow_quad.mdl"

View file

@ -0,0 +1,14 @@
entityDef item_artifact_wetsuit
{
"editor_usage" "QUAKE: MISSION PACK 1 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that makes the player underwater shock resistant and swim faster."
"spawnclass" "NSItem"
"inv_name" "Wetsuit"
"model" "models/wsuit.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -1,10 +1,10 @@
entityDef item_cells entityDef item_cells
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Cells for the Lightning Gun." "editor_usage3" "Cells for the Lightning Gun."
"editor_usage4" "Gives players 6 Cells Ammo." "editor_usage4" "Gives players 6 Cells Ammo."
"editor_var spawnflags" "Gives players 12 Cells Ammo. "editor_var spawnflags" "Gives players 12 Cells Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/w_battery.mdl" "model" "models/w_battery.mdl"
@ -18,11 +18,11 @@ entityDef item_cells
entityDef item_plasma entityDef item_plasma
{ {
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY" "editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Plamsa Cells for the Thunderbolt." "editor_usage3" "Plamsa Cells for the Thunderbolt."
"editor_usage4" "Gives players 6 Plasma Cells Ammo." "editor_usage4" "Gives players 6 Plasma Cells Ammo."
"editor_var spawnflags" "Gives players 12 Plasma Cells Ammo. "editor_var spawnflags" "Gives players 12 Plasma Cells Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/b_plas0.mdl" "model" "models/b_plas0.mdl"

View file

@ -0,0 +1,47 @@
entityDef info_flag
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_usage" "Gray Flag (OneTeam)"
"editor_color" "1 0 0"
"spawnclass" "NSItem"
"inv_name" "Gray Flag (OneTeam)"
"model" "models/flag.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
// "fx_glowshell" "0.2 0.2 0.2"
}
entityDef info_flag_team1
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_usage" "Red Team Flag"
"editor_color" "1 0 0"
"spawnclass" "NSItem"
"inv_name" "Red Team Flag"
"model" "models/flag.mdl"
"skin" "1"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
// "fx_glowshell" "1 0 0"
}
entityDef info_flag_team2
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_usage" "Blue Team Flag"
"editor_color" "1 0 0"
"spawnclass" "NSItem"
"inv_name" "Blue Team Flag"
"model" "models/flag.mdl"
"skin" "2"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
// "fx_glowshell" "1 0 0"
}

View file

@ -1,10 +1,10 @@
entityDef item_health entityDef item_health
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Gives players 25 Health Points." "editor_usage3" "Gives players 25 Health Points."
"editor_var spawnflags" "Gives players 15 Health Points. "editor_var spawnflags" "Gives players 15 Health Points."
"editor_var spawnflags2" "Gives players 100 Health Points. "editor_var spawnflags2" "Gives players 100 Health Points."
"spawnclass" "NSItem" "spawnclass" "NSItem"
"model" "models/w_medkit.mdl" "model" "models/w_medkit.mdl"

View file

@ -0,0 +1,15 @@
entityDef item_hornofconjuring
{
"editor_usage" "QUAKE: MISSION PACK 1 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that allows a player to summon allied monsters."
"spawnclass" "NSItem"
"inv_name" "Ring of Shadows"
"model" "models/pow_invis.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
// TODO Uses the "target" field to find a "func_spawn" for monsters
}

View file

@ -1,10 +1,10 @@
entityDef item_spikes entityDef item_spikes
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Nails for the (Super) Nail Gun." "editor_usage3" "Nails for the (Super) Nail Gun."
"editor_usage4" "Gives players 25 Nails Ammo." "editor_usage4" "Gives players 25 Nails Ammo."
"editor_var spawnflags" "Gives players 50 Nails Ammo. "editor_var spawnflags" "Gives players 50 Nails Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/b_nail0.mdl" "model" "models/b_nail0.mdl"
@ -18,11 +18,11 @@ entityDef item_spikes
entityDef item_lava_spikes entityDef item_lava_spikes
{ {
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY" "editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Lava Spikes for the Lava variant of the Nail Gun." "editor_usage3" "Lava Spikes for the Lava variant of the Nail Gun."
"editor_usage4" "Gives players 25 Lava Nails Ammo." "editor_usage4" "Gives players 25 Lava Nails Ammo."
"editor_var spawnflags" "Gives players 50 Lava Nails Ammo. "editor_var spawnflags" "Gives players 50 Lava Nails Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/b_lnail0.mdl" "model" "models/b_lnail0.mdl"

View file

@ -0,0 +1,14 @@
entityDef item_powerup_belt
{
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that gives lowers gravity on the player for 45 seconds."
"spawnclass" "NSItem"
"inv_name" "Anti-Grav Belt"
"model" "models/beltup.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -0,0 +1,14 @@
entityDef item_powerup_shield
{
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that reduces knockback and front damage by 70% for 30 seconds."
"spawnclass" "NSItem"
"inv_name" "Power Shield"
"model" "models/shield.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -0,0 +1,14 @@
entityDef item_random_powerup
{
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Spawns a random powerup."
"spawnclass" "NSItem"
"inv_name" "Random Powerup Respawn"
// "model" "models/shield.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -1,10 +1,10 @@
entityDef item_rockets entityDef item_rockets
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Rockets for the Grenade & Rocket Launcher." "editor_usage3" "Rockets for the Grenade & Rocket Launcher."
"editor_usage4" "Gives players 5 Rockets Ammo." "editor_usage4" "Gives players 5 Rockets Ammo."
"editor_var spawnflags" "Gives players 10 Rockets Ammo. "editor_var spawnflags" "Gives players 10 Rockets Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/w_rpgammo.mdl" "model" "models/w_rpgammo.mdl"
@ -19,11 +19,11 @@ entityDef item_rockets
entityDef item_multi_rockets entityDef item_multi_rockets
{ {
"editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY" "editor_usage" "QUAKE: MISSION PACK 2 (1997) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Multi Rockets for the Rocket Launcher." "editor_usage3" "Multi Rockets for the Rocket Launcher."
"editor_usage4" "Gives players 5 Multi Rockets Ammo." "editor_usage4" "Gives players 5 Multi Rockets Ammo."
"editor_var spawnflags" "Gives players 10 Multi Rockets Ammo. "editor_var spawnflags" "Gives players 10 Multi Rockets Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/b_mrock0.mdl" "model" "models/b_mrock0.mdl"

View file

@ -0,0 +1,76 @@
entityDef runespawn
{
"editor_usage" "ThreeWave CTF (1996) ENTITY"
"editor_usage2" ""
"editor_usage3" "The internal entity that randomly spawns runes since this entity replaces or spawns ontop of info_player_deathmatch spawns."
"spawnclass" "NSItem"
"inv_name" "Rune Spawner"
"model" ""
"mins" "-16 -16 0"
"maxs" "16 16 16"
}
entityDef info_runespawn
{
"inherit" "runespawn"
}
entityDef item_rune_resist
{
"editor_usage" "ThreeWave CTF (1996) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that halves enemy damage."
"spawnclass" "NSItem"
"inv_name" "Rune of Earth Magic (Resistance)"
"model" "models/rune_resist.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "1 0 0"
}
entityDef item_rune_haste
{
"editor_usage" "ThreeWave CTF (1996) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that makes weapons fire twice as fast."
"spawnclass" "NSItem"
"inv_name" "Rune of Hell Magic (Haste)"
"model" "models/rune_haste.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "1 1 0"
}
entityDef item_rune_strength
{
"editor_usage" "ThreeWave CTF (1996) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that doubles damage output."
"spawnclass" "NSItem"
"inv_name" "Rune of Black Magic (Strength)"
"model" "models/rune_strength.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 1 0"
}
entityDef item_rune_regen
{
"editor_usage" "ThreeWave CTF (1996) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that gives the wearer two health points every second until their health is full."
"spawnclass" "NSItem"
"inv_name" "Rune of Elder Magic (Regeneration)"
"model" "models/rune_regen.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -1,10 +1,10 @@
entityDef item_shells entityDef item_shells
{ {
"editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY" "editor_usage" "DEATHMATCH CLASSIC (2001) ENTITY"
"editor_usage2" "" "editor_usage2" ""
"editor_usage3" "Shells for the (Double Barrel) Shotgun." "editor_usage3" "Shells for the (Double Barrel) Shotgun."
"editor_usage4" "Gives players 20 Shells Ammo." "editor_usage4" "Gives players 20 Shells Ammo."
"editor_var spawnflags" "Gives players 40 Shells Ammo. "editor_var spawnflags" "Gives players 40 Shells Ammo."
"inherit" "ammo_base" "inherit" "ammo_base"
"model" "models/w_shotbox.mdl" "model" "models/w_shotbox.mdl"

View file

@ -0,0 +1,14 @@
entityDef item_sphere
{
"editor_usage" "MISSION PACK 2 (1997) ENTITY"
"editor_usage2" ""
"editor_usage3" "Powerup that attacks other players if the health of the wearer is low"
"spawnclass" "NSItem"
"inv_name" "Vengeance Sphere"
"model" "models/sphere.mdl"
"mins" "-16 -16 0"
"maxs" "16 16 16"
"inv_carry" "1"
"spin" "1"
// "fx_glowshell" "0 0 1"
}

View file

@ -0,0 +1,44 @@
entityDef info_player_start
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_description" "Singleplayer Spawn Point"
"editor_color" "1 0 0"
"spawnclass" "NSSpawnPoint"
}
entityDef info_player_deathmatch
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_description" "Deathmatch Spawn Point"
"editor_color" "1 0 0"
"spawnclass" "NSSpawnPoint"
}
entityDef info_player_coop
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_description" "Cooperative Spawn Point"
"editor_color" "1 0 0"
"spawnclass" "NSSpawnPoint"
}
entityDef info_player_team1
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_description" "Red Team Spawn Point"
"editor_color" "1 0 0"
"spawnclass" "NSSpawnPoint"
}
entityDef info_player_team2
{
"editor_mins" "-16 -16 -36"
"editor_maxs" "16 16 36"
"editor_description" "Blue Team Spawn Point"
"editor_color" "0 0 1"
"spawnclass" "NSSpawnPoint"
}

View file

@ -3,7 +3,7 @@ entityDef weapon_nailgun_lava
"editor_color" ".3 .3 1" "editor_color" ".3 .3 1"
"editor_mins" "-16 -16 0" "editor_mins" "-16 -16 0"
"editor_maxs" "16 16 32" "editor_maxs" "16 16 32"
"editor_usage" "Nailgun" "editor_usage" "(Lava) Nailgun"
"editor_rotatable" "1" "editor_rotatable" "1"
"spawnclass" "HLWeapon" "spawnclass" "HLWeapon"
@ -16,7 +16,7 @@ entityDef weapon_nailgun_lava
// weapon specific // weapon specific
"def_fireInfo" "fireInfo_nailgunLava" "def_fireInfo" "fireInfo_nailgunLava"
"def_altfireInfo" "fireInfo_nailgunLavaAlt" "def_altfireInfo" "fireInfo_nailgunLavaAlt"
"inv_name" "Nailgun" "inv_name" "(Lava) Nailgun"
"ammoType" "ammo_lava_nails" "ammoType" "ammo_lava_nails"
"ammoRequired" "1" "ammoRequired" "1"
"ammoPerShot" "1" "ammoPerShot" "1"
@ -75,6 +75,7 @@ entityDef projectile_nailLava
"detonate_on_death" "0" "detonate_on_death" "0"
"detonate_on_world" "1" "detonate_on_world" "1"
"detonate_on_actor" "1" "detonate_on_actor" "1"
"smoke_fly" "weapon_rocketlauncher.trail"
"model_detonate" "weapon_nailgun_lava.impact" "model_detonate" "weapon_nailgun_lava.impact"
"decal_detonate" "Impact.Shot" "decal_detonate" "Impact.Shot"
"snd_explode" "weapon_nailgun.ricochet" "snd_explode" "weapon_nailgun.ricochet"

View file

@ -33,7 +33,7 @@ entityDef weapon_supernailgun_lava
// HLWeapon specific // HLWeapon specific
"hudSlot" "4" "hudSlot" "4"
"hudSlotPos" "0" "hudSlotPos" "1"
"weight" "25" "weight" "25"
"crosshair" "none" "crosshair" "none"
} }
@ -59,6 +59,7 @@ entityDef projectile_superNailLava
"detonate_on_death" "0" "detonate_on_death" "0"
"detonate_on_world" "1" "detonate_on_world" "1"
"detonate_on_actor" "1" "detonate_on_actor" "1"
"smoke_fly" "weapon_rocketlauncher.trail"
"model_detonate" "weapon_nailgun_lava.impact" "model_detonate" "weapon_nailgun_lava.impact"
"decal_detonate" "Impact.Shot" "decal_detonate" "Impact.Shot"
"snd_explode" "weapon_nailgun.ricochet" "snd_explode" "weapon_nailgun.ricochet"

View file

@ -1,3 +1,9 @@
ctf_overrides
{
when-serverinfo teamplay equals 256
replace info_player_deathmatch info_runespawn
}
dmc_overrides dmc_overrides
{ {
replace trigger_teleport dmc_trigger_teleport replace trigger_teleport dmc_trigger_teleport