mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 16:40:56 +00:00
0e69196370
- Removed doom.x, heretic.x and strife.x from the SVN repository. These are generated files. - Fixed: A_PainDie has to check whether a valid target exists before calling IsFriend. - Fixed: FDecalLib::FindAnimator needs a signed counter to work properly. May 1, 2006 (Changes by Graf Zahl) - Added support for game specific pickup messages, if only to be able to define Raven's invulnerability item in DECORATE. - Removed A_TreeDeath because it is no longer used. - Fixed: When picking up a PowerupGiver for an active powerup the blend color and the duration were transferred to a temorary item and never took effect. They have to be trnasferred to the newly created powerup item before trying to give it to the player, not afterward. - Made the colormap of the InvulnerabilitySphere item specific. The base power class still needs to have its color adjusted per game though and since Raven's invulnerability item is used in both Hexen and Heretic it can't define its own colormap/blend. - Separated the invulnerability colormaps from the game being played and made them item specific. They can also be specified as regular blend colors in DECORATE now. - Converted a_hereticarmor.cpp and most of a_doomartifacts.cpp, a_hereticartifacts.cpp and a_heretickeys.cpp to DECORATE. - Changed the Soulsphere to be a real health item with the Dehacked modifications made in d_dehacked.cpp as for most other items which need to be adjusted. - Added IF_BIGPOWERUP flag to AInventory to expose the RESPAWN_SUPER dmflag to DECORATE. Also removed the now obsolete ShouldRespawn methods from AInvulnerabilitySphere and ABlurSphere. - Converted a_splashes.cpp to DECORATE. - Converted most of a_debris.cpp to DECORATE. SVN r73 (trunk)
108 lines
2 KiB
Text
108 lines
2 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"
|
|
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"
|
|
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 ----------------------------------------------------------
|
|
|
|
ACTOR ArtiInvulnerability : PowerupGiver 84
|
|
{
|
|
Game Raven
|
|
SpawnID 133
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
+INVENTORY.PICKUPFLASH
|
|
Inventory.RespawnTics 4230
|
|
Inventory.Icon ARTIINVU
|
|
Inventory.PickupMessage "$TXT_ARTIINVULNERABILITY"
|
|
Inventory.PickupMessage Hexen "$TXT_ARTIINVULNERABILITY2"
|
|
Powerup.Type Invulnerable
|
|
States
|
|
{
|
|
Spawn:
|
|
INVU 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
|
|
}
|
|
}
|