Difference between revisions of "User:Aruki/Sandbox"

From Retro Modding Wiki
Jump to: navigation, search
m (Vulnerabilities)
Line 1: Line 1:
 
Dumping script object structures here for now. Miles is the one who figured out most of this stuff.
 
Dumping script object structures here for now. Miles is the one who figured out most of this stuff.
 +
 +
Note: Whenever a struct is used, it's preceded by a value indicating the number of properties contained in that struct. Therefore, you need to add 4 to the size of its members to get an accurate size.
  
 
== Script Objects ==
 
== Script Objects ==
Line 7: Line 9:
 
=== Patterned ===
 
=== Patterned ===
  
=== ContactDamage ===
+
0x130 bytes
 +
 
 +
{| class="wikitable"
 +
! Offset
 +
! Type
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| float
 +
| 4
 +
| '''Mass'''
 +
|-
 +
| 0x4
 +
| float
 +
| 4
 +
| '''Speed'''
 +
|-
 +
| 0x8
 +
| float
 +
| 4
 +
| '''Turn Speed'''
 +
|-
 +
| 0xC
 +
| float
 +
| 4
 +
| '''Detection Range'''
 +
|-
 +
| 0x10
 +
| float
 +
| 4
 +
| '''Detection Height Range'''
 +
|-
 +
| 0x14
 +
| float
 +
| 4
 +
| '''Detection Angle'''
 +
|-
 +
| 0x18
 +
| float
 +
| 4
 +
| '''Min Attack Range'''
 +
|-
 +
| 0x1C
 +
| float
 +
| 4
 +
| '''Max Attack Range'''
 +
|-
 +
| 0x20
 +
| float
 +
| 4
 +
| '''Average Attack Time'''
 +
|-
 +
| 0x24
 +
| float
 +
| 4
 +
| '''Attack Time Variation'''
 +
|-
 +
| 0x28
 +
| float
 +
| 4
 +
| '''Leash Radius'''
 +
|-
 +
| 0x2C
 +
| float
 +
| 4
 +
| '''Player Leash Radius'''
 +
|-
 +
| 0x30
 +
| float
 +
| 4
 +
| '''Player Leash Time'''
 +
|-
 +
| 0x34
 +
| struct
 +
| 0x14
 +
| '''Contact Damage'''
 +
|-
 +
| 0x48
 +
| float
 +
| 4
 +
| '''Damage Wait Time'''
 +
|-
 +
| 0x4C
 +
| struct
 +
| 0xC
 +
| '''Health'''
 +
|-
 +
| 0x50
 +
| struct
 +
| 0x74
 +
| '''Vulnerabilities'''
 +
|-
 +
| 0xC4
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xC8
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xCC
 +
| vec3
 +
| 0xC
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xD8
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xDC
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xE0
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xE4
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xE8
 +
| u32
 +
| 4
 +
| {{unknown|'''Sound?'''}}
 +
|-
 +
| 0xEC
 +
| ANCS
 +
| 0xC
 +
| '''Char Set'''
 +
|-
 +
| 0xF0
 +
| bool
 +
| 1
 +
| '''Active'''
 +
|-
 +
| 0xF4
 +
| AFSM
 +
| 4
 +
| '''FSM'''
 +
|-
 +
| 0xF8
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0xFC
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x100
 +
| float
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x104
 +
| u32
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x108
 +
| vec3
 +
| 0xC
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x114
 +
| PART
 +
| 4
 +
| '''Particle'''
 +
|-
 +
| 0x118
 +
| u32
 +
| 4
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x11C
 +
| vec3
 +
| 0xC
 +
| {{unknown|'''Unknown'''}}
 +
|-
 +
| 0x128
 +
| PART
 +
| 4
 +
| '''Particle'''
 +
|-
 +
| 0x12C
 +
| u32
 +
| 4
 +
| '''Sound?'''
 +
| 0x130
 +
| colspan=3 {{unknown|End}}
 +
|}
 +
 
 +
=== Contact Damage ===
  
 
0x10 bytes
 
0x10 bytes
Line 171: Line 374:
 
==== Charged Beams ====
 
==== Charged Beams ====
  
0x10 bytes
+
0x14 bytes
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 210: Line 413:
 
==== Beam Combos ====
 
==== Beam Combos ====
  
0x10 bytes
+
0x14 bytes
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 11:10, 27 January 2015

Dumping script object structures here for now. Miles is the one who figured out most of this stuff.

Note: Whenever a struct is used, it's preceded by a value indicating the number of properties contained in that struct. Therefore, you need to add 4 to the size of its members to get an accurate size.

Script Objects

Structs

Patterned

0x130 bytes

Offset Type Size Description
0x0 float 4 Mass
0x4 float 4 Speed
0x8 float 4 Turn Speed
0xC float 4 Detection Range
0x10 float 4 Detection Height Range
0x14 float 4 Detection Angle
0x18 float 4 Min Attack Range
0x1C float 4 Max Attack Range
0x20 float 4 Average Attack Time
0x24 float 4 Attack Time Variation
0x28 float 4 Leash Radius
0x2C float 4 Player Leash Radius
0x30 float 4 Player Leash Time
0x34 struct 0x14 Contact Damage
0x48 float 4 Damage Wait Time
0x4C struct 0xC Health
0x50 struct 0x74 Vulnerabilities
0xC4 float 4 Unknown
0xC8 float 4 Unknown
0xCC vec3 0xC Unknown
0xD8 float 4 Unknown
0xDC float 4 Unknown
0xE0 float 4 Unknown
0xE4 float 4 Unknown
0xE8 u32 4 Sound?
0xEC ANCS 0xC Char Set
0xF0 bool 1 Active
0xF4 AFSM 4 FSM
0xF8 float 4 Unknown
0xFC float 4 Unknown
0x100 float 4 Unknown
0x104 u32 4 Unknown
0x108 vec3 0xC Unknown
0x114 PART 4 Particle
0x118 u32 4 Unknown
0x11C vec3 0xC Unknown
0x128 PART 4 Particle
0x12C u32 4 Sound? 0x130 End

Contact Damage

0x10 bytes

Offset Type Size Description
0x0 u32 4 Weapon Type
0x4 float 4 Damage
0x8 float 4 Radius
0xC float 4 Knockback Power
0x10 End

Health

0x8 bytes

Offset Type Size Description
0x0 float 4 Health
0x4 float 4 Knockback Resistance
0x8 End

Vulnerabilities

0x70 bytes

Offset Type Size Description
0x0 u32 4 Power Beam
0x4 u32 4 Ice Beam
0x8 u32 4 Wave Beam
0xC u32 4 Plasma Beam
0x10 u32 4 Morph Ball Bomb
0x14 u32 4 Power Bomb
0x18 u32 4 Missile
0x1C u32 4 Boost Ball
0x20 u32 4 Phazon Beam
0x24 u32 4 Enemy Weapon 1
0x28 u32 4 Enemy Weapon 2 (Poison)
0x2C u32 4 Enemy Weapon 3 (Lava)
0x30 u32 4 Enemy Weapon 4
0x34 u32 4 Unknown Weapon 1
0x38 u32 4 Unknown Weapon 2
0x3C u32 4 Unknown Weapon 3
0x40 struct 0x18 Charged Beams
0x54 struct 0x18 Beam Combos
0x70 End

Charged Beams

0x14 bytes

Offset Type Size Description
0x0 u32 4 Charged Power Beam
0x4 u32 4 Charged Ice Beam
0x8 u32 4 Charged Wave Beam
0xC u32 4 Charged Plasma Beam
0x10 u32 4 Charged Phazon Beam
0x14 End

Beam Combos

0x14 bytes

Offset Type Size Description
0x0 u32 4 Super Missile
0x4 u32 4 Ice Spreader
0x8 u32 4 Wavebuster
0xC u32 4 Flamethrower
0x10 u32 4 Phazon Combo
0x14 End