Thing type 1805, Puma , is a type of Thing used in Mario mode . It is a hazardous fireball that bounces up and down and deals elemental damage upon being touched. Although originally intended for Mario mode, SRB2 actually uses it in Red Volcano Zone Act 1 , outside of a Mario setting. The Puma will hop whenever it hits the floor or goes a certain depth under the surface of lava or water. The Angle value of the Puma determines its jumping strength. If the Angle is set to 0, it uses its default jumping strength of 44.
Object type info – MT_PUMA
Thing type number
1805
PUMAA0
Object type
MT_PUMA
Sprite name prefix
PUMA
SpawnState
S_PUMA_START1
SeeState
S_PUMA_START1
SeeSound
sfx_None
AttackSound
sfx_None
PainState
S_NULL
PainSound
sfx_None
MeleeState
S_PUMA_DOWN1
MissileState
S_NULL
DeathState
S_NULL
XDeathState
S_PUMA_DOWN3
DeathSound
sfx_None
ActiveSound
sfx_None
RaiseState
S_NULL
SpawnHealth
1000
ReactionTime
8
PainChance
0
Speed
2000*FRACUNIT
Radius
8*FRACUNIT
Height
16*FRACUNIT
Display offset
0
Mass
DMG_FIRE
Damage
0
Flags
MF_PAIN|MF_FIRE
States – MT_PUMA
State
Sprite prefix
Frame
Duration (tics)
Action
Var 1
Var 2
Next state
Full brightness?
Translucency
S_PUMA_START1
PUMA
FF_FULLBRIGHT|C
1
A_FishJump
0
MT_PUMATRAIL
S_PUMA_START2
Yes
0%
S_PUMA_START2
PUMA
FF_FULLBRIGHT|C
1
A_PlaySound
sfx_s3k70
1+(1<<16)
S_PUMA_UP1
Yes
0%
S_PUMA_UP1
PUMA
FF_FULLBRIGHT|A
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_UP2
Yes
0%
S_PUMA_UP2
PUMA
FF_FULLBRIGHT|B
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_UP3
Yes
0%
S_PUMA_UP3
PUMA
FF_FULLBRIGHT|C
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_UP1
Yes
0%
S_PUMA_DOWN1
PUMA
FF_FULLBRIGHT|D
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_DOWN2
Yes
0%
S_PUMA_DOWN2
PUMA
FF_FULLBRIGHT|E
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_DOWN3
Yes
0%
S_PUMA_DOWN3
PUMA
FF_FULLBRIGHT|F
2
A_FishJump
0
MT_PUMATRAIL
S_PUMA_DOWN1
Yes
0%
Object type info – MT_PUMATRAIL
Thing type number
-1
PUMAA0
Object type
MT_PUMATRAIL
Sprite name prefix
PUMA
SpawnState
S_PUMATRAIL1
SeeState
S_NULL
SeeSound
sfx_None
AttackSound
sfx_None
PainState
S_NULL
PainSound
sfx_None
MeleeState
S_NULL
MissileState
S_NULL
DeathState
S_NULL
XDeathState
S_NULL
DeathSound
sfx_None
ActiveSound
sfx_None
RaiseState
S_NULL
SpawnHealth
1000
ReactionTime
8
PainChance
0
Speed
0
Radius
2*FRACUNIT
Height
4*FRACUNIT
Display offset
0
Mass
100
Damage
0
Flags
MF_NOBLOCKMAP|MF_NOCLIP|MF_NOCLIPHEIGHT|MF_NOGRAVITY|MF_SCENERY
States – MT_PUMATRAIL
State
Sprite prefix
Frame
Duration (tics)
Action
Var 1
Var 2
Next state
Full brightness?
Translucency
S_PUMATRAIL1
PUMA
FF_FULLBRIGHT|FF_TRANS20|G
4
none
0
0
S_PUMATRAIL2
Yes
20%
S_PUMATRAIL2
PUMA
FF_FULLBRIGHT|FF_TRANS40|H
5
A_SetScale
FRACUNIT
1
S_PUMATRAIL3
Yes
40%
S_PUMATRAIL3
PUMA
FF_FULLBRIGHT|FF_TRANS60|I
4
none
0
0
S_PUMATRAIL4
Yes
60%
S_PUMATRAIL4
PUMA
FF_FULLBRIGHT|FF_TRANS80|J
3
none
0
0
S_NULL
Yes
80%
Sample
Example file: ex_t1805_puma.wad (MAP01)
This example demonstrates the jumping force of Pumas with different Angle values.
How to use
You may load this file into your favorite map editor, such as Zone Builder . Select MAP01
as the map to load.
You may also load this file in the game:
Save ex_t1805_puma.wad
into the addons
folder of your SRB2 directory.
Start SRB2, go to the Addons menu, and then select ex_t1805_puma.wad
.
Start the game in Single Player mode.
Press the Console button (~
), and type in the command MAP MAP01
to access the example map.
When you load this file in the game, it replaces Greenflower Zone Act 1 .