mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 17:31:23 +00:00
ea4f160e35
to specific damage types. - Changed Dehacked parser to use the DECORATE symbol tables for code pointers instead of creating its own ones. - Removed the HandleNoSector hack and changed A_Look so that it uses the sector's sound target for actors with MF_NOSECTOR regardless of compatibility settings. - Moved initialization of weapon slots after the actor initialization. With default weapons exported to DECORATE it can't be done earlier. - Converted Doom weapons to DECORATE. - Changed backpack definition so that Doom's backpack is no longer the base class that implements its functionality. Now there is an abstract base class all backpack-like items derive from. Also moved the actual definition of Doom's backpack to DECORATE. SVN r519 (trunk)
160 lines
2.6 KiB
Text
160 lines
2.6 KiB
Text
// Clip --------------------------------------------------------------------
|
|
|
|
ACTOR Clip : Ammo 2007
|
|
{
|
|
Game Doom
|
|
SpawnID 11
|
|
Inventory.PickupMessage "$GOTCLIP"
|
|
Inventory.Amount 10
|
|
Inventory.MaxAmount 200
|
|
Ammo.BackpackAmount 10
|
|
Ammo.BackpackMaxAmount 400
|
|
Inventory.Icon "CLIPA0"
|
|
States
|
|
{
|
|
Spawn:
|
|
CLIP A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Clip box ----------------------------------------------------------------
|
|
|
|
ACTOR ClipBox : Clip 2048
|
|
{
|
|
Game Doom
|
|
SpawnID 139
|
|
Inventory.PickupMessage "$GOTCLIPBOX"
|
|
Inventory.Amount 50
|
|
States
|
|
{
|
|
Spawn:
|
|
AMMO A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Rocket ------------------------------------------------------------------
|
|
|
|
ACTOR RocketAmmo : Ammo 2010
|
|
{
|
|
Game Doom
|
|
SpawnID 140
|
|
Inventory.PickupMessage "$GOTROCKET"
|
|
Inventory.Amount 1
|
|
Inventory.MaxAmount 50
|
|
Ammo.BackpackAmount 1
|
|
Ammo.BackpackMaxAmount 100
|
|
Inventory.Icon "ROCKA0"
|
|
States
|
|
{
|
|
Spawn:
|
|
ROCK A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Rocket box --------------------------------------------------------------
|
|
|
|
ACTOR RocketBox : RocketAmmo 2046
|
|
{
|
|
Game Doom
|
|
SpawnID 141
|
|
Inventory.PickupMessage "$GOTROCKBOX"
|
|
Inventory.Amount 5
|
|
States
|
|
{
|
|
Spawn:
|
|
BROK A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Cell --------------------------------------------------------------------
|
|
|
|
ACTOR Cell : Ammo 2047
|
|
{
|
|
Game Doom
|
|
SpawnID 75
|
|
Inventory.PickupMessage "$GOTCELL"
|
|
Inventory.Amount 20
|
|
Inventory.MaxAmount 300
|
|
Ammo.BackpackAmount 20
|
|
Ammo.BackpackMaxAmount 600
|
|
Inventory.Icon "CELLA0"
|
|
States
|
|
{
|
|
Spawn:
|
|
CELL A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Cell pack ---------------------------------------------------------------
|
|
|
|
ACTOR CellPack : Cell 17
|
|
{
|
|
Game Doom
|
|
SpawnID 142
|
|
Inventory.PickupMessage "$GOTCELLBOX"
|
|
Inventory.Amount 100
|
|
States
|
|
{
|
|
Spawn:
|
|
CELP A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Shells ------------------------------------------------------------------
|
|
|
|
ACTOR Shell : Ammo 2008
|
|
{
|
|
Game Doom
|
|
SpawnID 12
|
|
Inventory.PickupMessage "$GOTSHELLS"
|
|
Inventory.Amount 4
|
|
Inventory.MaxAmount 50
|
|
Ammo.BackpackAmount 4
|
|
Ammo.BackpackMaxAmount 100
|
|
Inventory.Icon "SHELA0"
|
|
States
|
|
{
|
|
Spawn:
|
|
SHEL A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Shell box ---------------------------------------------------------------
|
|
|
|
ACTOR ShellBox : Shell 2049
|
|
{
|
|
Game Doom
|
|
SpawnID 143
|
|
Inventory.PickupMessage "$GOTSHELLBOX"
|
|
Inventory.Amount 20
|
|
States
|
|
{
|
|
Spawn:
|
|
SBOX A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Backpack ---------------------------------------------------------------
|
|
|
|
ACTOR Backpack : BackpackItem 8
|
|
{
|
|
Game Doom
|
|
SpawnID 144
|
|
Height 26
|
|
Inventory.PickupMessage "$GOTBACKPACK"
|
|
States
|
|
{
|
|
Spawn:
|
|
BPAK A -1
|
|
Stop
|
|
}
|
|
}
|
|
|