mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
42ac64d964
- Fixed: Gravity application was not correct. For actors with no vertical momentum the initial pull is supposed to be twice as strong as when vertical movement already takes place. - added invquery CCMD like in Strife. Also removed all underscores from the tag strings so that they can be printed properly. - Fixed: Skill baby was missing 'autousehealth' for all games. - Added a new CVAR: sv_disableautohealth - Autouse of health items is no longer hardwired to the default item classes. There's a new property HealthPickup.Autouse. 0 means no autouse, 1 a small Raven health item, 2 a large Raven health item and 3 a Strife item. SVN r1452 (trunk)
131 lines
2.4 KiB
Text
131 lines
2.4 KiB
Text
|
|
// Health -------------------------------------------------------------------
|
|
|
|
ACTOR ArtiHealth : HealthPickup 82
|
|
{
|
|
Game Raven
|
|
SpawnID 24
|
|
Health 25
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Icon ARTIPTN2
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
Inventory.PickupMessage "$TXT_ARTIHEALTH"
|
|
HealthPickup.Autouse 1
|
|
States
|
|
{
|
|
Spawn:
|
|
PTN2 ABC 4
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Super health -------------------------------------------------------------
|
|
|
|
ACTOR ArtiSuperHealth : HealthPickup 32
|
|
{
|
|
Game Raven
|
|
SpawnID 25
|
|
Health 100
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Icon ARTISPHL
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
Inventory.PickupMessage "$TXT_ARTISUPERHEALTH"
|
|
HealthPickup.Autouse 2
|
|
States
|
|
{
|
|
Spawn:
|
|
SPHL A 350
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Flight -------------------------------------------------------------------
|
|
|
|
ACTOR ArtiFly : PowerupGiver 83
|
|
{
|
|
Game Raven
|
|
SpawnID 15
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
+INVENTORY.INTERHUBSTRIP
|
|
Inventory.RespawnTics 4230
|
|
Inventory.Icon ARTISOAR
|
|
Inventory.PickupMessage "$TXT_ARTIFLY"
|
|
Powerup.Type Flight
|
|
States
|
|
{
|
|
Spawn:
|
|
SOAR ABCB 5
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Invulnerability Heretic (Ring of invincibility) --------------------------
|
|
|
|
ACTOR ArtiInvulnerability : PowerupGiver 84
|
|
{
|
|
Game Heretic
|
|
SpawnID 133
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
Inventory.RespawnTics 4230
|
|
Inventory.Icon ARTIINVU
|
|
Inventory.PickupMessage "$TXT_ARTIINVULNERABILITY"
|
|
Powerup.Type Invulnerable
|
|
Powerup.Color GoldMap
|
|
States
|
|
{
|
|
Spawn:
|
|
INVU ABCD 3
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Invulnerability Hexen (Icon of the defender) -----------------------------
|
|
|
|
ACTOR ArtiInvulnerability2 : PowerupGiver 84
|
|
{
|
|
Game Hexen
|
|
SpawnID 133
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
Inventory.RespawnTics 4230
|
|
Inventory.Icon ARTIDEFN
|
|
Inventory.PickupMessage "$TXT_ARTIINVULNERABILITY2"
|
|
Powerup.Type Invulnerable
|
|
States
|
|
{
|
|
Spawn:
|
|
DEFN ABCD 3
|
|
Loop
|
|
}
|
|
}
|
|
|
|
// Torch --------------------------------------------------------------------
|
|
|
|
ACTOR ArtiTorch : PowerupGiver 33
|
|
{
|
|
Game Raven
|
|
SpawnID 73
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
Inventory.Icon ARTITRCH
|
|
Inventory.PickupMessage "$TXT_ARTITORCH"
|
|
Powerup.Type Torch
|
|
States
|
|
{
|
|
Spawn:
|
|
TRCH ABC 3 Bright
|
|
Loop
|
|
}
|
|
}
|