User Tools

Site Tools


zdaemon:dehacked:other

Other Definitions

Pointer definition

PropertyValue
Pointer <number> (Frame <number>)integer
Codep Frame = <source number>integer

Exemple

# this code change the imp fireball attack to a bruiser attack
Pointer 254 (Frame 454)
Codep Frame = 539

Misc definition

PropertyValue
Initial Healthinteger
Initial Bulletsinteger
Max Healthinteger
Max Armorinteger
Max Soulsphereinteger
Soulsphere Healthinteger
Megasphere Healthinteger
God Mode Healthinteger
IDFA Armorinteger
IDFA Armor Classinteger
IDKFA Armorinteger
IDKFA Armor Classinteger
BFG Aimingbool
Vampire Max Healthinteger
Vampire Player Factorinteger
Vampire Monster Factorinteger
No Autofreezebool
BFG Cells/Shotinteger
Rocket Explosion StyleSTYLE_None, STYLE_Normal, STYLE_Fuzzy, STYLE_SoulTrans, STYLE_OptFuzzy, STYLE_Shaded, STYLE_Translucent, STYLE_Add, STYLE_Stencil
Rocket Explosion Alphafloat
Monsters Infightinteger
Monsters Ignore Each Otherbool
Green Armor Classfloat
Blue Armor Classfloat
Silver Armor Classfloat
Enchanted Armor Classfloat
Green Armor SavePercentinteger
Blue Armor SavePercentinteger
Silver Armor SavePercentinteger
Enchanted Armor SavePercentinteger

Exemple

Misc 0
Initial Health = 50
Initial Bullets = 66
Max Health = 300
Max Armor = 300
Max Soulsphere = 300
Soulsphere Health = 201
Megasphere Health = 299
God Mode Health = 1
IDFA Armor = 175
IDFA Armor Class = 1
IDKFA Armor = 290
IDKFA Armor Class = 2
BFG Aiming = 1
Vampire Max Health = 300
Vampire Player Factor = 75
Vampire Monster Factor = 5
No Autofreeze = 1
BFG Cells/Shot = 2
Rocket Explosion Style = STYLE_Translucent
Rocket Explosion Alpha = 0.1
Monsters Infight = 1
Monsters Ignore Each Other = 1
Green Armor Class = 1.0
Blue Armor Class = 1.5
Silver Armor Class = 2.0
Enchanted Armor Class = 2.5
Green Armor SavePercent = 25
Blue Armor SavePercent = 50
Silver Armor SavePercent = 75
Enchanted Armor SavePercent = 100

Text definition

PropertyValues
Text <old length> <new length>integers
<old string><new string>Strings

Exemple

# this code change the imp sprite to a demon sprite
Text 4 4
TROOSARG

Sprite definition

PropertyValue
Sprite <number>integer
Offset = <number>integer

Exemple

# this code rearrange the imp sprite to the teleportfog sprite
Sprite 1
Offset = 151536

Strings definition

[STRINGS]
<String> = <New String>
...

Exemple

[STRINGS]
GOTARMOR = Picked up the sandwitch.
GOTMEDIKIT = Picked up a  m e d i k i t.

Pars definition

[PARS]
par <e> <m> <p>
par <m> <p>
...

Exemple

[PARS]
# e1m1 in 4 minutes
par 1 1 250
# map30 in 8 minutes
par 30 500

Codeptr definition

[CODEPTR]
Frame <number> = <Action>
...

Exemple

[CODEPTR]
Frame 960 = Chase
zdaemon/dehacked/other.txt · Last modified: 2020-02-17 00:06:12 (19 months ago) by jcd