Structs List


 
Structs List
Item File Description
Spell File Description
Hex Glossary
Appendices


 

AC Bonus vs. Weapon Type
Aid
AI Change
Alignment Change
Alignment Reversal
Attack Speed Factor
Attacks Per Round
Awaken *

Besrerking
Bless
Blindness
Blur
Burning Hands Effect

Calm *
Can't Cast Spells
Cast Spell
Cast Spell Point
Casting Glow *
Change Colors
Chant
Chant Bad *
Character Color Pulse
Character Color Tint Solid
Character Color Tint Glow
Charisma Modifier
Charm (Dire)
Clairvoyance
Confusion(Potion:Feeblemindness)
Constitution Modifier
Create Hostile Creature
Create Inventory Item
Create Temp. Weapon
Creature Summoning
Cure Blindness *
Cure Disease *
Cure Deafness *
Cure Feeblemindness *
Cure Poison

Damage (Fire/Ice/Elec./Etc.)
Damage Bonus Modifier
Damage/THAC0 vs. Creature Type Bonus
Deafness *
Death
Defrost *
Destroy Temp.Weapon
Detect Alignment
Detect Invisible
Dexterity Modifier
Disable Mage Spellcasting
Disable Thieving Skill
Disease *
Dispel Magic
Display Text (String)
Duration Modifier *

End Non-Detection *
Equip Weapon *

Failed Morale (Flight)
Fatigue Modifier
Find Traps
Find Traps Modifier
Force Animation Sequence
Force Visible *
Fright/Rigid Thinking/Confusion

Give Innate Ability
Gold *

Haste
Hold Creature
Hold Creature II
Hold Creature Type
Horror Effect

HP Modifier (Current)
HP Modifier (Max)

Icon Display
Identify (Lore)
Identify (II) *
Immunity to Normal Weapons
Increase Spellcasting Speed
Infravision
Infravision Off *
Intelligence Modifier
Intoxication Modifier
Invisibility

Learn Spell
Lore Modifier
Luck

Magic Resistance II
Minor Globe Effect
Mirror Image (1)
Mirror Image (2)
Miscast Magic
Missile THAC0 *
Monster Summoning

Non-Detection

Open Locks Modifier
Overlay Entangle Effect
Overlay Grease Effect
Overlay Web Effect

Petrification
Pick Pockets Modifier
Play Movie
Poison
Polymorphing
Polymorph (2)
Portrait *
Prot. from Norm Missiles Effect
Protection from Cold (Magic)
Protection from Creature
Protection from Heat (Magic)
Protection from (Opcode)
Protection from Ranged Weapon
Protection from Spells

Raise Dead
Raise STR, CON, DEX
Regeneration
Remove Creatures
Remove Curse
Remove Fear
Remove Icon
Remove Inventory Item
Remove Spell
Replace Item
Reputation *
Resist Acid Modifier
Resist Cold Modifier
Resist Crushing *
Resist Fire Modifier
Resist Lightning Modifier
Resist Magic Modifier
Resist Missile *
Resist Piercing *
Resist Slashing *
Retreat From *

Sanctuary
Save vs. Death Mod.
Save vs. Wands Mod.
Save vs. Pet./Poly. Mod.
Save vs. Breath Mod.
Save vs. Spells Mod.
Set Default Script
Set Item Colors
Set Name
Set XP Level (Level Change)
Sex Change
Shining Colors
Show Creatures *
Silence
Skill Tracking *
 

Slay (Arrow of Slaying)
Sleep
Slow
Slow Poison
Sound Effects
Sparkle *
Special Effect
Speed Mod (Movement Rate)
Spell Memory Bonus (Mage)
Spell Memory Bonus (Priest)
Spell Speed Factor
Stealth Modifier
Stone to Flesh
Strength Bonus Modifier
Strength Modifier
Stun

Teleport
THAC0 Modifier
Transparency Fade

Unlock (A la Knock)
Unstun *
Unsummon Monster

Visible *
Visual Animation Effect
Vocalize

Wisdom Modifier

Tables/Lists

00h - AC - Bonus AC vs. Weapon Type 
Discovered By: ViperSting

00 00 ßß  00 xx  xx xx xx yy  yy yy yy ti tm dd dd
dd dd 64 00 00 00 00 A4 14 45 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the AC bonus or AC setting. 
Parameter2: YY is the weapon type: 
  00 00 00 00h All Weapons. 
  01 00 00 00h Blunt Weapons. 
  02 00 00 00h Missile Weapons. 
  04 00 00 00h Piercing Weapons.
  08 00 00 00h Slashing Weapons. 
  10 00 00 00h Base AC setting (As in bracers). 

Back to List  Struct Key


01h - ATTACKNO - Attacks per Round Modifier
See "Statistics Section"

Back to List  Struct Key


02h - AWAKEN - 
Not Identified 

Back to List  Struct Key


03h - BERSERK -Berserking 
Discovered By: ViperSting 

03 00 ßß 00 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 45 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


04h - CALM - 
Not Identified 

Back to List  Struct Key


05h - CHARM -Dire Charm 
Discovered By: Thorin 
Expanded By: Burton Radons 

05 00 01 02 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the type to charm 
(from general.ids, See:"Creature Types" Types" for list) 

Back to List  Struct Key


06h - CHR -Charisma 
See "Statistics Section"

Back to List  Struct Key


07h - COLORCHANGE -Set Item Colors 
Discovered By: Thalic 

07 00 01 00 xx  xx xx xx  yy  yy yy yy ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the color. See "Known Colors"
Parameter2: YY controls location. See "Locations"

Back to List  Struct Key


08h - COLORGLOW_SOLID -Change Colors 
Discovered By: Alanon 

08 00 01 00 00 rr gg bb LL 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

This struct changes the colors of your character's skin, hair, armor, etc.
Parameter1: 00 RR GG BBh
RR - red value GG - green value  BB - blue value
Parameter2: LL 00 00 00h is location. See "Locations"

Back to List  Struct Key


09h - COLORGLOW_PULSE -Shining Colors (A la clown.itm) 
Discovered By: Ramza 
Expanded By: Graf Hohfels 

09 00 01 00 00 rr gg bb LL 00 TT 00 ti tm dd dd
dd dd  64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: 00 RR GG BBh
RR - red value GG - green value  BB - blue value
Parameter2: LL 00 TT 00h
LL is location. See "Locations"
TT = CycleDuration: 
00 - No Cycle, 01 - Fastest Cycle, FF - Slowest Cycle

This struct makes the item flash. This can apply to anything equipable. 

Back to List  Struct Key


0Ah - CON -Constitution Modifier 
See "Statistics Section"

Back to List  Struct Key


0Bh - CUREPOISON - Cure Poison 
Discovered by: Burton Radons 

0B 00 01 04 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


0Ch - DAMAGE - Damage 
Fixed Fire/Ice/Electric/etc Damage 

0C 00 02 08 xx xx xx xx yy yy yy yy 01 01 00 00 
00 00 64 00 00 00 00 A4 14 46 00 04 00 00 00 00 
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX damage (singed long integer, little-endian). 
Parameter2: YY damage type: See "Damage Types"

Random Fire/Ice/Electric/etc Damage 

0C 00 02 06 00 00 00 00 yy yy yy yy 01 01 00 00 
00 00 64 00 00 00 00 A4 14 46 00 04 dt 00 00 00
ds 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00

Parameter2: YY damage type: See "Damage Types"
Replace DT with the number of damage dice and DS with the number of sides per die (DT D DS damage- e.g. 1d6= 1 to 6 points). 

Back to List  Struct Key


0Dh - DEATH - Death (From Death Spell-TotSC) 
Discovered By: ViperSting 

0D 00 02 06 00 00 00 00 08 00 00 00 01 01 00 00 
00 00 64 00 00 00 00 00 00 00 00 77 05 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


0Eh - DEFROST - 
Not Identified 

Back to List  Struct Key


0Fh - DEX -Dexterity Modifier 
See "Statistics Section"

Back to List  Struct Key


10h - HASTE - Haste 
Discovered By: Roach 

10 00 01 03 00 00 00 00 00 00 00 00 02 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


11h - HEAL -Current HP Modifier 
See "Statistics Section"

Back to List  Struct Key


12h - HITPOINTS -Maximum HP Modifier 
See "Statistics Section"

Back to List  Struct Key


13h - INT -Intelligence Modifier 
See "Statistics Section"

Back to List  Struct Key


14h - INVISIBLE - Invisibility 
Discovered By: Thalic 

14 00 01 00 00 00 00 00 00 00 00 00 02 01 dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


15h - LORE - Identify 
Discovered by: Burton Radons 

15 00 03 01 00 00 00 00 02 00 00 00 02 01 00 00 
00 00 64 00 00 00 80 1E 46 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


16h - LUCK - Lore Modifier 
See "Statistics Section"

Back to List  Struct Key


17h - MORALE -Remove Fear 
Discovered by: Burton Radons 

17 00 02 01 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


18h - PANIC - Horror Effect 
Discovered By: Graf Hofels 

18 00 02 02 00 00 00 00 00 00 00 00 00 01 12 00 
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 

Back to List  Struct Key


19h - POISON - Poison
Discovered by: Roach 

19 00 02 00 xx xx xx xx 02 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

Parameter1: XX Damage per second

Back to List  Struct Key


1Ah - REMOVECURSE - Remove Curse
Discovered By: ViperSting 

1A 00 02 03 00 00 00 00 00 00 00 00 01 01 00 00
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Back to List  Struct Key


1Bh - RESISTACID - Acid Res. Modifier 
See "Statistics Section"

Back to List  Struct Key


1Ch - RESISTCOLD - Cold Res. Modifier 
See "Statistics Section"

Back to List  Struct Key


1Dh - RESISTELECTRICITY - Lightning Res. Modifier 
See "Statistics Section"

Back to List  Struct Key


1Eh - RESISTFIRE - Fire Res. Modifier 
See "Statistics Section"

Back to List  Struct Key


1Fh - RESISTMAGIC - Magic Res. Modifier 
See "Statistics Section"

Back to List  Struct Key


20h - RESURRECT - Raise Dead
Discovered By: ViperSting 

20 00 02 05 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


21h - SAVEVSDEATH - Save vs. Death Modifier 
See "Statistics Section"

Back to List  Struct Key


22h - SAVEVSWANDS - Save vs. Wands Modifier 
See "Statistics Section"

Back to List  Struct Key


23h - SAVEVSPOLY - Save vs. Petrification/Polymorph Modifier 
See "Statistics Section"

Back to List  Struct Key


24h - SAVEVSBREATH - Save vs. BreathWeapons 
See "Statistics Section"

Back to List  Struct Key


25h - SAVEVSSPELL - Save vs. Spells  Modifier 
See "Statistics Section"

Back to List  Struct Key


26h - SILENCE - Silence 
Discovered by: Burton Radons 

26 00 02 02 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

Back to List  Struct Key


27h - SLEEP - Sleep 
Discovered By: Thorin 

27 00 02 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A414 24 00 04 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

Back to List  Struct Key


28h - SLOW - Slow 
Discovered By: Thorin 

28 00 02 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A414 24 00 04 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

Back to List  Struct Key


29h - SPARKLE - 
Not Identified 

Back to List  Struct Key


2Ah - SPELLMEMORIZATIONMAGE - Spell Memory Bonus Mage
(A la Amulet of Metaspell Influence, Ring of Wizardry) 
Discovered By: ViperSting (with data provided by Zoso) 

2A 00 01 00 xx xx xx xx zz 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX number of spells to add per level .
Parameter2: ZZ To control which spell levels are affected
Replace the ZZ in the 9th byte with a bitmask in which you set bit (n-1) to affect spell level n. 
To double the number of spells in the affected levels, replace the first byte of XX with a bitmask in which you set bit (n-1) to affect spell level n, and set ZZ to 00 
Example: 
00000001 - Only bit 0 (1-1) is set. Level 1 spells affected 
00000101 - Bits 2 (3-1) and 0 are set. Levels 1 and 3 affected. 

Back to List  Struct Key


2Bh - STONETOFLESH - Stone to Flesh 
Discovered By: Graf Hohfels 

2B 00 02 00 00 00 00 00 00 00 00 00 01 00 00 00 00 
00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


2Ch - STR - Strength Modifier 
See "Statistics Section"

Back to List  Struct Key


2Dh - STUN - Stun 
Discvered By: ViperSting 

2D 00 02 08 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 00 A4 14 4B 00 04 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

Back to List  Struct Key


2Eh - UNSTUN - 
Not Identified 

Back to List  Struct Key


2Fh - VISIBLE - 
Not Identified 

Back to List  Struct Key


30h - VOCALIZE - Volcalize 
Discovered by: Burton Radons 

30 00 01 02 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


31h - WIS - Wisdom Modifier 
See "Statistics Section"

Back to List  Struct Key


32h - SINGLECOLORPULSEALL - Char. Color Pulse
Discovered By: Thalic (Like Healing Effect) 

32 00 02 01 00 rr gg bb LL 00 00 00 ti tm 00 00 
00 00 64 00 00 00 00 A4 14 45 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

This struct changes the colors of your character's skin, hair, armor, etc.
Parameter1: 00 RR GG BBh
RR - red value GG - green value  BB - blue value
Parameter2: LL 00 00 00h is location. See "Locations"

Back to List  Struct Key


33h - COLORTINT_SOLID - Char. Color Tint Solid 
Discovered By: Thalic 

33 00 ßß 00 00 rr gg bb LL 00 00 00 ti tmdd dd
dd dd 64 00 00 00 00 A4 14 4C 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

This struct changes the colors of your character's skin, hair, armor, etc.
Parameter1: 00 RR GG BBh
RR - red value GG - green value  BB - blue value
Parameter2: LL 00 00 00h is location. See "Locations"

Back to List  Struct Key


34h - COLORLIGHT_SOLID - Char. Color Tint Glow 
Discovered By: Thalic 

34 00 ßß 00 00 rr gg bb LL 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 4C 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

This struct changes the colors of your character's skin, hair, armor, etc.
Parameter1: 00 RR GG BBh
RR - red value GG - green value  BB - blue value
Parameter2: LL 00 00 00h is location. See "Locations"

Back to List  Struct Key


35h - ANIMATION_CHANGE - Polymorphing 
Discovered By: Mr.Mark, Thorin 

35 00 01 00 00 xx 00 00 00 00 00 00 00 00 78 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: 00 XX 00 00h Creature into which you will morph
See "Known Polymorph Values"

Back to List  Struct Key


36h - THAC0 -THAC0 Modifier 
See "Statistics Section"

Back to List  Struct Key


37h - SLAY - Slay (Arrow of Slaying) 
Discovered by: Asgorath 

37 00 02 00 xx 00 00 00 05 00 00 00 01 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 yy yy yy yy
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX controls what class(monster) the struct slays.
See "Classes" (from class.ids) for class.
YY is the maximum hit dice of the creature to slay, or the maximum level.

Back to List  Struct Key


38h - ALIGNMENTREVERSAL -Alignment Reversal 
Discovered By: Roach 

38 00 01 00 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 00 00 00 A4 24 14 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


39h - ALIGNMENTCHANGE -Alignment Change 
Discovered by: Burton Radons 

39 00 01 00 00 00 00 00 xx 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: XX is the alignment to set to:
See "Alignments" (from alignment.ids)

Back to List  Struct Key


3Ah - DISPLEFFECTS -Dispel Magic 
Discovered By: ViperSting 

3A 00 02 00 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Note: This will not remove things like Spiritual Hammer, Flame Blade, Chill Touch, etc.; use the Remove Weapon structure for that. 

Back to List  Struct Key


3Bh - SKILLSSTEALTH -Stealth Modifier 
 See "Statistics Section"

Back to List  Struct Key


3Ch - CASTINGFAILURE - Miscast Magic 
Discovered By: ViperSting 

3C 00 02 03 xx 00 00 00 01 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX percent chance that the spell casting will fail.

Back to List  Struct Key


3Dh - NONE 

Back to List  Struct Key


3Eh - SPELLMEMORIZATIONCLERIC - Bonus Spells (A la Amulet of Metaspell Influence, Ring of Wizardry) 
Discovered By: ViperSting (with data provided by Zoso) 

3E 00 01 00 xx xx xx xx zz 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX number of spells to add per level .
Parameter2: ZZ To control which spell levels are affected.
Replace the ZZ in the 9th byte with a bitmask in which you set bit (n-1) to affect spell level n. 
To double the number of spells in the affected levels, replace the first byte of XX with a bitmask in which you set bit (n-1) to affect spell level n, and set ZZ to 00 
Example: 
00000001 - Only bit 0 (1-1) is set. Level 1 spells affected 
00000101 - Bits 2 (3-1) and 0 are set. Levels 1 and 3 affected. 

Back to List  Struct Key


3Fh - INFRAVISION - Infravision 
Discovered By: ViperSting 

3F 00 01 00 00 00 00 00 00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


40h - INFRAVISIONOFF 
Not Identified 

Back to List  Struct Key


41h - BLUR - Blur 
Discovered By: Legion 

41 00 01 02 00 00 00 00 00 00 00 00 02 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


42h - TRANSLUCENT - Transparency Fade 
( Stealth/ Invisibility) 
Discovered By: Graf Hohfels 

42 00 ßß 00 xx 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 

Parameter1: XX Degree of fading: 
                             00h = fully visible 
                             3Fh = 25% fade 
                             7Fh = 50% fade 
                             BFh = 75% fade 
                             FFh = nearly invisible

Backk to List  Struct Key


43h - SUMMON - Creature Summoning 
Discovered By: Roach 
Expanded By: Graf Hohfels

43 00 ßß 00 00 00 00 00 xx 00 00 00 ti tm dd dd
dd dd  64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

ßß -> Target SubIdentifier, but here it has a dfferent meaning: 
01 creates 1 creature (default=friendly) 
02 creates 2 creature (sometimes)(default=friendly) 
03 creates as many creatures as partymembers extist(default=friendly) 
04 creates as many creatures as people/creatures on the map (number of partymembers: default=fiendly; rest: default=hostile) 
05 creates as many creatures as people/creatures 
on the map minus the number of partymembers (default=hostile) 

Parameter2: XX -> AI: 00 - default , 01 - friendly , ff -> hostile, 
somewhere between - neutral. 

The RR should be the creature's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


44h - UNSUMMON - Unsummon Monster 
Discovered By: Graf Hohfels 

44 00 ßß 00 01 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

removes creature and displays the end of summoning text 
does not work on PCs 

Back to List  Struct Key


45h - NONDETECTION - Non-Detection 
Discovered By: ViperSting 

45 00 02 03 00 00 00 00 00 00 00 00 ti tmdd dd
dd dd 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


46h - ENDNONDETECTION 
Not Identified 

Back to List  Struct Key


47h - SEXCHANGE - Sex Change 
Discovered By: ViperSting 

47 00 01 00 00 00 00 00 00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 

Back to List  Struct Key


48h - AICHANGE - Sex Change AICHANGE
Set Reaction 
Discovered by: Graf Hohfels 

48 00 ßß 00 xx 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX  Sets state 
00 -> friendly (no control, the target acts on script default) 
40 -> neutral (blue circle) 
FF -> hostile 

Back to List  Struct Key


49h - DAMAGEMOD -Bonus Damage Modifier 
 See "Statistics Section"

Back to List  Struct Key


4Ah - BLINDNESS - Blindness 
Discovered By: ViperSting 

4A 00 02 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


4Bh - CUREBLINDNESS - 
Not Identified 

Back to List  Struct Key


4Ch - FEEBLEMINDEDNESS - Confusion (Potion) 
Discovered by: Burton Radons 

4C 00 01 04 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


4Dh - CUREFEEBLEMINDEDNESS - 
Not Identified 

Back to List  Struct Key


4Eh - DISEASE - 
Not Identified 

Back to List  Struct Key


4Fh - CUREDISEASE - 
Not Identified 

Back to List  Struct Key


50h - DEAFNESS - 
Not Identified 

Back to List  Struct Key


51h - CUREDEAFNESS - 
Not Identified 

Back to List  Struct Key


52h - SETAISCRIPT - Set Default Script 
 Discovered By: Graf Hohfels 

52 00 ßß 00 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

AIChange: 
The RR should be the default scripts filename.  Fill in unused spaces with 00. 
See: "Default Scripts"

Back to List  Struct Key


53h - IMMUNITYTOPROJECTILE - Protection from Ranged Weapon 
Discovered By: Alanon 

53 00 01 04 00 00 00 00 xx 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A414 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: XX controls  type of weapon struct provides protection against. 

04 arrow 
09 axe 
0E bolt 
13 bullet 
1A dagger (thrown) 
22 dart 

Back to List  Struct Key



54h - RESISTMAGICFIRE - Protection from Heat 
 Discovered by: Burton Radons 

54 00 02 03 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is percent of heat damage to remove.

Back to List  Struct Key


55h - RESISTMAGICCOLD - Protection from Cold 
Discovered by: Burton Radons 

55 00 02 02 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is percent of heat damage to remove.

Back to List  Struct Key


56h - RESISTSLASHING - 
Not Identified 

Back to List  Struct Key


57h - RESISTCRUSHING - 
Not Identified 

Back to List  Struct Key


58h - RESISTPIERCING - 
Not Identified 

Back to List  Struct Key


59h - RESISTMISSLE - 
Not Identified 

Back to List  Struct Key


5Ah - SKILLLOCKPICKING - Open Locks Modifier 
 See "Statistics Section"

Back to List  Struct Key


5Bh - SKILLLTRAPS - Find Traps Modifier 
 See "Statistics Section"

Back to List  Struct Key


5Ch - SKILLPICKPOCKET - Pick Pockets Modifier 
 See "Statistics Section"

Back to List  Struct Key


5Dh - FATIGUE -Fatigue Modifier 
 See "Statistics Section"

Back to List  Struct Key


5Eh - INTOXICATION -Intoxication Modifier 
 See "Statistics Section"

Back to List  Struct Key


5Fh - SKILLTRACKING 
 Not Identified 

Back to List  Struct Key



60h - LEVEL - Set XP Level (Level Change) 
Discovered By: Graf Hohfels 

60 00 ßß 00 xx 00 00 00 yy 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 0000 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

(affects only the first class) 
Parameter1: XX- Level to Set or Amount to Inc./Dec. 
Parameter2: YY - Method Identifier: 
  00 -> inc./dec.      01 -> set      02 -> set[%] 

Back to List  Struct Key



61h - STREXTRA - Strength Bonus Modifier 
See "Statistics Section"

Back to List  Struct Key



62h - REGENERATION - Regeneration 
Discovered By: Mike 

62 00 01 04 03 00 00 00 03 00 00 00 ti tm dd dd
dd dd  64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


63h - DURATIONMOD - 
Not Identified 

Back to List  Struct Key



64h - PROTECTIONFROMCREATURE - Protection From Creature 
Discovered By: Alanon 
64 00 02 04 04 00 00 00 yy 00 00 0002 01 00 00
00 00 64 00 00 A4 14 24 00 04 00 00 00 00 00 00 
00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY - controls what you have protection from. 
Known values: 
00 Everything 
03 Undead 

Back to List  Struct Key



65h - IMMUNITYTOEFFECT - Protection from (Opcode) 
Discovered by: Burton Radons and Thundarr 

65 00 02 02 00 00 00 00 yy 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY - is the opcode (Or struct index) to "protect" from. The first two bytes of a struct are the opcode. 

Back to List  Struct Key

66h - IMMUNITYTOSPELLLEVEL - Protection from Spells 
(ala minor globe of invulnerability) 
Discovered By: Alanon 

66 00 01 04 xx 00 00 00 00 00 00 0002 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX controls the level, i.e... 
01= level one spells 
02= level two spells 
etc... 

Back to List  Struct Key


67h - NAME - Set Name 
Discovered by: Burton Radons 

67 00 01 00 xx xx xx xx  00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


68h - XP - Set XP 
Discovered By: Graf Hohfels 

68 00 ßß 00 xx xx xx xx yy 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX - amount of XP (values from -32768 to 32767 are possible) 
Parameter2: YY - 00 - change XP, 01 - set XP, 02 - set XP[%] 

Back to List  Struct Key


69h - GOLD - 
Not Identified 

Back to List  Struct Key


6Ah - MORALEBREAK - Failed Morale (Flight) 
Discovered By: Graf Hohfels 

6A 00 ßß 00 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Same effect as an failed morale throw would have 

Back to List  Struct Key


6Bh - PORTRAIT - 
Not Identified 

Back to List  Struct Key


6Ch - REPUTATION - 
Not Identified 

Back to List  Struct Key


6Dh - HOLDCREATURE - Hold 
Discovered by: Burton Radons 
Expanded by: Graf Hohfels 

6D 00 02 00 xx 00 00 00 04 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00
00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX - Creature Type 
.....00 -> probably all 
.....01,02,04,05,06... need testing 

Back to List  Struct Key


6Eh - RETREAT_FROM -
Not Identified 

Back to List  Struct Key


6Fh - CREATEWEAPON - Create Temporary Item 
(A la Spiritual Hammer) 
Discovered By: ViperSting 

6F 00 01 02 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the item's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


70h - DESTROY_WEAPON - Destroy Temp. Weapon 
(Used in Dispel Magic to get rid of Spiritual Hammer, etc.) 
Discovered By: ViperSting 

70 00 02 00 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the item's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


71h - EQUIP_WEAPON - 
Not Identified 

Back to List  Struct Key


72h - DITHER - Cant Cast Spells 

72 00 01 03 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Back to List  Struct Key


73h - DETECT_ALIGNMENT - Detect Alignment 
(A la Detect Evil, Know Alignment) 
Discovered By: ViperSting 

73 00 04 02 00 00 00 00 xx 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: XX  - alignment to detect (three of these structs make up the functional part of know alignment). 

Known XX Values: 
00 ?? 
02 ?? 
04 Evil 

Back to List  Struct Key


74h - DISPEL_INVISIBLE - Detect Invisible 
Discovered By: ViperSting 

74 00 04 00 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


75h - SHOW_AREA - Clairvoyance 
Discovered By: Graf Hohfels 

75 00 01 03 00 00 00 00 00 00 00 00 00 00 0F 00 
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


76h - SHOW_CREATURES - 
Not Identified 

Back to List  Struct Key


77h - MIRROR_IMAGE - Mirror Image 
Discovered By: Thorin 

77 00 01 02 xx xx xx xx  00 00 00 00 02 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the maximum number of mirror images to create (signed long integer, Little-endian byte ordering, normally 08 00 00 00). 

Back to List  Struct Key


78h - IMMUNITY_TO_WEAPON - Immunity to Normal Weapons 

78 00 01 01 00 00 00 00 02 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 46 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


79h - VISUAL_ANIMATION_EFFECT - 
Not Identified 

Back to List  Struct Key


7Ah - CREATE_ITEM - Create Inventory Item 
Discovered By: ViperSting 

7A 00 01 02 00 00 00 00 00 00 00 00 xx 00 01 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

XX is the number to create. 
Reference: RR should be the item's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


7Bh - DESTROY_ITEM - Remove Inventory Item 
Discovered By: Graf Hohfels 

7B 00 01 00 00 00 00 00 00 00 00 0004 00 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the item's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


7Ch - TELEPORT - Teleport 
(A la Dimension Door) 
Discovered By: ViperSting 

7C 00 01 04 00 00 00 00 00 00 00 00 04 01 01 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


7Dh - KNOCK - Unlock 
(A la Knock) 
Discovered By: ViperSting 

7D 00 02 02 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


7Eh - MOVEMENT_RATE - Speed Modifier ? 
See "Statistics Section"

Back to List  Struct Key


7Fh - RANDOM_SUMMON - Monster Summoning 
Discovered By: ViperSting

7F 00 01 sl xx xx xx xx yy  00 00 00 00 00 3C 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Replace the SL with the spell level (3, 4, or 5)?? 
Parameter1: XX is the number of HD of monsters to summon times four. 
Parameter2: YY is unknown but is always XX - 3. 

Back to List  Struct Key


80h - CONFUSION - Fright/Rigid Thinking/Confusion 
Discovered By: ViperSting 

80 00 02 xx 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

XX Controls whether the effect is that of the Confusion spell (04) or the Rigid Thinking spell (03). 

Back to List  Struct Key


81h - NON_CUMULATIVE_AID - Aid 
Discovered by: Burton Radons 

81 00 02 02 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the aid degree multiplier (1 for normal). 

Back to List  Struct Key


82h - NON_CUMULATIVE_BLESS - Bless 
Discovered by: Burton Radons 

82 00 02 01 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the degree of blessing. 

Back to List  Struct Key


83h - NON_CUMULATIVE_CHANT - Chant 
Discovered by: Burton Radons 

83 00 02 02 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the degree multiplier (1 for normal) 

Back to List  Struct Key


84h - NON_CUMULATIVE_DRAW_UPON_HOLY_MIGHTAID - Raise STR, CON, DEX 
Discovered by: Burton Radons 

84 00 01 02 xx xx xx xx 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the amount of change. 

Back to List  Struct Key


85h - NON_CUMULATIVE_LUCK - Luck 
Discovered by: Burton Radons 

85 00 02 02 xx xx xx xx  00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the degree multiplier; normal is 1. 

Back to List  Struct Key


86h - PETRIFICATION - Petrification 
Discovered By: Asgorath 

86 00 02 00 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 00 00 00 A4 14 45 00 04 00 00 00 00 
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 

This structure actually has two uses, depending on where you update the block count. 

If you increase the block count at 0x70, then this struct will turn whoever equips the item to stone (save vs petrification allowed). Usable on all equipable items. 

If you increase the block count at 0x90, then this struct will turn whoever is struck by the weapon to stone (save vs petrification allowed). Usable on weapons only. 

Back to List  Struct Key


87h - POLYMORPH - Polymorph (2)
Discovered By: Graf Hohfels 

***some creature selections may cause instability*** 

87 00 02 03 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the creature's filename.  Fill in unused spaces with 00.

Back to List  Struct Key


88h - FORCE_VISIBLE - 
Not Identified 

Back to List  Struct Key


89h - NON_CUMULATIVE_CHANTBAD - 
Not Identified

Back to List  Struct Key


8Ah - SETSEQUENCE - Force Animation Sequence 
Discovered By: Graf Hohfels 

8A 00 01 00 00 00 00 00 yy 00 00 00 01 00 00 00 
00 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY -> AnimationSequence: 
01 -> Lay down (short) 
02 -> move hands (short) 
03 -> move hands (long) 
04 -> move shoulder (short) 
05 -> move shoulder (long) 
06 -> lay down (long) 
07 -> breath rapidly (short) 
08 -> breath rapidly (long) 

Back to List  Struct Key


8Bh - DISPLAYSTRING - Display  Text
Discovered By: Thalic 

8B 00 01 02 xx xx xx xx  00 00 00 00 01 01 00 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is a string reference 

Back to List  Struct Key


8Ch - CASTINGGLOW - 
Not Identified 

Back to List  Struct Key


8Dh - VISUALSPELLHIT - Special Effect 
Discovered By: ?? 

8D 00 02 01 00 00 00 00 yy 00 00 00 01 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY desired special effect. See "Special Effects"

Back to List  Struct Key


8Eh - PORTRAITICON - Icon Display
Icons for special effects (free action, etc.) 
Discovered By: Asgorath 

8E 00 01 00 00 00 00 00 yy 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY - determines what icon is generated when the 
item is equipped. See "Portrait Icons"

Back to List  Struct Key


8Fh - REPLACE_ITEM - Replace Item 
Discovered  By: Graf Hohfels 

8F 00 ßß 00 xx 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX - slot to create (taken from slot.ids). 
See "Slot ID's"
Reference: RR should be the creature's filename.  Fill in unused spaces with 00. 

Back to List  Struct Key


90h - DISABLE_BUTTON - Disable Thieving Skill 
Discovered by: Burton Radons 

90 00 01 00 00 00 00 00 yy yy yy yy 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY is the thieving skill to disable. 

The skills are: 
00h - Stealth, Hide in Shadows. 
01h - Thieving, Pickpocketing, Picklocks, Backstabbing.

Back to List  Struct Key


91h - DISABLE_SPELLTYPE - Disable Mage Spellcasting 
Discovered by: Burton Radons 

91 00 01 00 00 00 00 00 00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

This is used for leather armor and above, for multiclass mages who can wear such armor but can't cast spells when doing so. 

Back to List  Struct Key


92h - CAST_SPELL - Cast Spell 
Discovered By: ViperSting 

92 00 02 00 0A 00 00 00 00 00 00 00 01 00 00 00
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the spells filename.  Fill in unused spaces with 00. 
Increment 0x070 for it to be cast on the character who equips the item. 
For weapons, increment 0x090 for it to be cast on hit. 
Increment 0x090 for it to be cast when the item is used. 

See "Known Spells"

Back to List  Struct Key


93h - LEARN_SPELL - Learn Spell 
Discovered By: ViperSting 

93 00 01 00 01 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the spells filename.  Fill in unused spaces with 00. 

See "Known Spells"

Back to List  Struct Key


94h - CAST_SPELL_POINT - Cast Spell Point 
Discovered by: Burton Radons 

94 00 01 02 xx xx xx xx  00 00 00 00 04 01 dd dd
dd dd 64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX - the level to cast as. 
Duration: DD is the delay until the cast. 
Reference: RR should be the spells filename.
Fill in unused spaces with 00. 
This is used by the Find Traps spell to cast a sub-spell Find Traps every six seconds and is used by all scrolls. 

Back to List  Struct Key


95h - IDENTIFY (II) - 
Not Identified 

Back to List  Struct Key


96h - DETECTTRAPS - Find Traps 
Discovered By: ViperSting 

96 00 02 02 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


97h - REPLACESELF - Create Hostile Creature 
Discovered by: Graf Hohfels 

97 00 02 03 00 00 00 00 00 00 00 00 04 00 01 00 
00 00 64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the creatures filename.
Fill in unused spaces with 00. 

Back to List  Struct Key


98h - PLAYMOVIE - Play Movie 
Discovered By: Graf Hohfels 
List Expanded By: Suryiel (from baldur.ini) 

98 00 01 02 00 00 00 00 00 00 00 00 00 01 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be the movies filename.
Fill in unused spaces with 00. 
WYVERN: Cloakwood3Movie 
BEREGOST: BeregostMovie 
BG4LOGO 
TSRLOGO 
BILOGO 
INFELOGO 
INTRO 
DEATHAND 
REST 
FRARMINN 
BEREGOST 
NASHKELL 
GNOLL 
BGENTER 
IRONTHRN 
CAMP 
SEWER 
BGSUNSET 

Back to List  Struct Key


99h - SANCTUARY - Sanctuary 
Discovered By: Thorin 

99 00 02 01 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


9Ah - Overlay Entangle Effect
Discovered by: Burton Radons 

9A 00 02 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 

Place entangle display over character. 

Back to List  Struct Key


9Bh - Minor Globe Effect
Discovered By: Alanon 

9B 00 01 04 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


9Ch - Protection from Normal Missles Cylinder Effect
Discovered By: Alanon 

9C 00 01 04 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


9Dh - Overlay Web Effect
Discovered by: Burton Radons 

9D 00 02 02 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

This puts the web effect over top of the character sprite 

Back to List  Struct Key


9Eh - Overlay Grease Effect
Discovered by: Burton Radons 

9E 00 02 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 st st st st sb sb sb sb 00 00 00 00 

This puts the grease effect on ground around character sprite 

Back to List  Struct Key


9Fh - Mirror Image (2)  Effect
Discovered By: Graf Hohfels 

9F 00 ßß 00 xx xx xx xx 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX- Number of Images 

Not the same as 77, since 77 checks the user's level. This one makes as many Mirror Images as you want it to make! 

Back to List  Struct Key


A0h - Unkown Effect
Not Identified 

Back to List  Struct Key


A1h - Unkown Effect
Found in Kiel's Helm, Grease Spell, and Resist Fear 

Back to List  Struct Key


A2h - Unkown Effect
Found in SPPR308: Remove Paralysis

Back to List  Struct Key


A3h - Unkown Effect
Found in SPPR308: Remove Paralysis

Back to List  Struct Key


A4h - Slow Posion 
Discovered by: Burton Radons 

A4 00 02 00 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


A5h - Burning Hands Effect 
Discovered by: Burton Radons 
**not sure here- does this cause damage, or just effect?** 

A5 00 01 01 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd  64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Hit the target with the burning hands effect. 

Back to List  Struct Key


A6h - Magic Resistance II 
Discovered By: Ingoman 

A6 00 01 00 xx xx xx xx 00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 45 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX - the magic resistance % bonus.

Back to List  Struct Key


A7h - Missle THAC0 
Not Identified 

Back to List  Struct Key


A8h - Remove Creature
Discovered by: Graf Hohfels 

A8 00 ßß 01 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Changing the duration has no effect since remove is permanent - NO XP given.... 

Back to List  Struct Key


A9h - Remove Icon 
Discovered by: Burton Radons 

A9 00 01 04 00 00 00 00 yy 00 00 00 ti tm dd dd
dd dd  64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter2: YY - the icon to remove. 

Back to List  Struct Key


AAh - Unknown Effect 
Not Identified 

Back to List  Struct Key


ABh - Give Innate Ability 
Discovered by: Burton Radons 

AB 00 01 00 00 00 00 00 00 00 00 00 01 00 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be spell to cast- must be innate ability. 
See "Known Spells"

Back to List  Struct Key


ACh - Remove Spell 
Discovered By: Roach 

AC 00 01 04 00 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be spell to remove- must be innate ability.
See "Known Spells"

Back to List  Struct Key


ADh - Unknown Effect 
Not Identified 

Back to List  Struct Key


AEh - Sound Effects 
Sound Effects 
Discovered By: ?? 

AE 00 02 00 00 00 00 00 00 00 00 00 01 01 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be effect name (unused spaces get 00). 
See "Known Sound Effects"

Back to List  Struct Key


AFh - Hold Creature Type 
Discovered By: ViperSting

AF 00 02 03 xx xx xx xx 03 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX is the type to charm.
(general.ids, See:"Creature Types" Types" for list)

Back to List  Struct Key


B0h - Unknown Effect 
Not Identified 

Back to List  Struct Key


B1h - Damage/THAC0 vs. Creature Type Bonus 
Discovered By: Roach 

B1 00 01 00 00 00 00 00 02 00 00 00 02 00 00 00 
00 00 64 00 rr rr rr rr rr rr rr rr  00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Reference: RR should be replaced with one of the below, unused spaces should be 00. 
One struct each for damage and THACO (see sw1h03.itm) 
The different damage and hit types: 
regenerating creatures:    ft1dam 
                                      ft1hit 
cold using creatures:       ft2dam 
                                      ft2hit 
Undead:                       undeddam 
                                     undedhit 
Gianttype creatures:       giantdam 
                                     gianthit 
? dont really know?       monstdam 
                                     monsthit 
Lycanthropes:                lycandam 
                                     lycanhit 
Doppelgangers:             doppdam 
                                    dopphit 

Back to List  Struct Key


B2h - B7h Unknown Effects 
Not Identified 

Back to List  Struct Key


B8h - Unknown Effect 
From Crushing Trap Spell

Back to List  Struct Key


B9h - Hold Creature II 
Discovered By: Banelord (from Otiluke's Resilient Sphere)

B9 00 02 04 00 00 00 00 02 00 00 00 00 01 2A 00 
00 00 64 00 00 00 80 1E 24 00 04 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


BAh - BBh Unknown Effects 
Not Identified 

Back to List  Struct Key


BCh - Increase Spellcasting Speed 
Discovered by: Graf Hohfels 

BC 00 01 04 00 00 00 00 01 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 00 00 00 00 77 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Back to List  Struct Key


BDh - Spell Speed Factor 
Discovered by: Trix and Graf Hohfels 

BD 00 01 00 xx 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX  value decreases specific Speed Factor 
(note: values of [80..FF] are negative!) 

Back to List  Struct Key


BEh - Attack Speed Factor 
Discovered by: Trix and Graf Hohfels 

BE 00 ßß 00 xx 00 00 00 00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Parameter1: XX  value decreases specific Speed Factor 
(note: values of [80..FF] are negative!) 

Back to List  Struct Key


BFh - FFh Unknown Effects 
Not Identified 

Back to List  Struct Key

Set Stat 
Discovered By: ViperSting and Mr. Mike 

xx 00 01 00 yy yy yy yy  01 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A414 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Temporary Stat Bonus 
Discovered By: Roach 

xx 00 01 04 yy yy yy yy  00 00 00 00 ti tm dd dd
dd dd 64 00 00 00 80 1E 2C 00 04 00 00 00 00 00 
04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Increase Stat 
Discovered By: ViperSting and Asgorath 

xx 00 01 00 yy yy yy yy  00 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 

Increase Stat Permanently 
Discovered By: ViperSting 

xx 00 01 00 yy yy yy yy  01 00 00 00 01 00 00 00 
00 00 64 00 00 00 00 A414 24 00 04 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Set Stat to % of Normal Value 
Discovered By: ViperSting 

xx 00 01 00 yy yy yy yy  02 00 00 00 02 00 00 00 
00 00 64 00 00 00 00 A4 14 24 00 04 00 00 00 00 
00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 
 

XX - Replace with appropriate Stat Opcode. 
See "Known Stat Values"
YY - Replace with the new value (signed long integer, Little-endian byte ordering). 

Back to List  Struct Key