Skip to content

Glacier Type Properties

DronCode edited this page Jan 29, 2022 · 43 revisions

RTP::cBase

Description:

This class is a startup class for every Glacier class type. It contains only type name "RTP::cBase"

ZGEOM

Description:

This class is a base for most in-game objects.

Parent type: RTP::cBase

Properties:

Name Type Offset
BoundingBox EBoundingBox ( BOUNDING_DynamicAutoAssign = 2, BOUNDING_Dynamic = 1, BOUNDING_Static = 0 ) N/A
Matrix float[9] N/A
Position float[3] N/A
Inactive bool N/A
PrimId int N/A

ZLIGHT

Description:

Base class of any light source on scene

Parent type: ZGEOM

Properties:

Name Type Offset Comment
ParentBound bool N/A ?
ExcludeList ZREFTAB32 N/A List of geoms excluded of lighting
StaticShadowList ZREFTAB32 N/A List of geoms with only static shadows

ZOMNILIGHT

Description:

(?) Another kind of light source?

Parent type: ZLIGHT

Properties: no properties

ZSPOTLIGHT

Description:

(?) Another kind of light source?

Parent type: ZLIGHT

Properties: no properties

ZSPOTLIGHTSQUARE

Description:

(?) Another kind of light source?

Parent type: ZLIGHT

Properties:

Name Type Offset Comment
property_10 ZVector3F 0x10 N/A
property_1C int16 0x1C N/A
property_20 ZVector3F 0x20 N/A
property_2C float 0x2C N/A
property_30 float 0x30 N/A
property_34 float 0x34 N/A
property_38 float 0x38 N/A
property_3C ZVector3F 0x3C N/A
property_48 float 0x48 N/A
property_4C float 0x4C N/A
property_50 float 0x50 N/A
property_54 ZGEOMREF (string) 0x54 N/A
property_58 int 0x58 N/A
property_5C int 0x5C N/A
property_60 bool 0x60 N/A
property_64 float 0x64 N/A
property_68 int 0x68 N/A
property_6C bool 0x6C N/A
property_6D bool 0x6D N/A
property_6E ZMsg 0x6E N/A
IsGlobal bool N/A N/A
bHide bool N/A N/A
bLighting bool N/A N/A
bAutoStart bool N/A N/A
bDeactivate bool N/A N/A
szParticleTemplateName string N/A N/A

ZENVIRONMENT

Description:

Environment color settings

Parent type: ZLIGHT

Properties:

Name Type Offset Comment
AmbientEnable bool N/A Enable or disable ambient color
CharacterLight bool N/A ?
CharacterShadow bool N/A ?
FogEnable bool N/A ?
property_24 ZCOLOR (int) 0x24 ?
property_28 ZCOLOR (int) 0x28 ?
property_2C ZCOLOR (int) 0x2C ?
property_30 ZCOLOR (int) 0x30 ?

ZSTDOBJ

Description:

Base class for in-game objects

Parent type: ZGEOM

Properties:

Name Type Offset
Invisible bool N/A

ZSNDOBJ

Description:

Base class for sound source on scene

Parent type: ZSTDOBJ

Properties:

Name Type Offset
Sound ZAUDIOREF 0xC

ZBoxPrimitive

Description:

Logical box on scene

Parent type: ZSTDOBJ

Properties:

Name Type Offset
ScaleX float N/A
ScaleY float N/A
ScaleZ float N/A

ZBOUND

Description:

Declares region on scene

Parent type: ZSTDOBJ

Properties: no properties

ZHM3HitmanMovementGuide

Description:

Movement controller on specific area on the scene

Parent type: ZSTDOBJ

Properties:

Name Type Offset Comment
GuideType EHM3GuideType 0x84 Type of movement guide
eAnyGuide = 32769
eNoGuide = 32768
eJumpBalcony = 8
eDrainPipe = 7
eLadder = 6
eScaleWall = 5
eWindow = 4
ePassObstacle = 3
eClimbBox = 2
eLedge = 1
eClimbWall = 0
StartTransform ZMatrix34F (float[12]) 0x88 Start player transform (Mat3x4 ?)

ZCAMERA

Description:

Base class for in-game camera

Parent type: ZGEOM

Properties:

Name Type Offset Comment
property_44 float 0x44 ?
property_48 float 0x48 ?
property_4C float 0x4C ?
property_54 uint 0x54 ?
property_58 float 0x58 ?
property_5C float 0x5C ?
AspectRatioParams ZCamAspectParms N/A Aspect ratio preset
CAMERA_ASPECT_FORCE_4_3 = 3
CAMERA_ASPECT_PANAVISION = 2
CAMERA_ASPECT_WIDESCREEN = 1
CAMERA_ASPECT_NORMAL = 0
DisableGates bool N/A Disable or enable gates
FogEnabled bool N/A Enable or disable fog
FOV float N/A Set FOV for camera
WinPos (Viewport?) ZViewport (float[4]) N/A Set WinPos (viewport)
TargetSubWindow int N/A ?
WindowListPrio int N/A ?
BackColor ZRGB (int[3]) N/A Camera background color (RGB)

ZGROUP

Description:

Some sort of 'grouped' objects on scene.

Parent type: ZGEOM

Properties:

Name Type Offset
property_40 float 0x40
bLightShinesIn bool N/A
bLightShinesOut bool N/A

ZTreeGroup

Description:

Same to ZGROUP but more abilities to make group static/dynamic/private and etc.

Parent type: ZGROUP

Properties:

Name Type Offset
bIsDynamicContainer bool N/A
bIsPrivate bool N/A
bIsStaticContainer bool N/A

ZROOM

Description:

Root entity on the scene that contains all objects.

Parent type: ZTreeGroup

Properties:

Name Type Offset Comment
property_6C uint 0x6C ?
property_84 int8 0x84 ?
property_A4 ZAUDIOREF (int) 0xA4 ?
NoiseLevel ENoiseLevel: eNoEvents = 5, eVeryNoisy = 4, eNoisy = 3, eNormal = 2, eQuiet = 1, eSuperQuiet = 0) N/A Describes noise level on scene
Location ELocation: eBOTH = 3, eINSIDE = 2, eOUTSIDE = 1, eUNDEFINED = 0 Describes type of location
property_12C container 0x12C ?
NotInRoomData bool N/A ? Maybe something about room tree coli data
DisableAudiEvt bool N/A ? Disable Audio Environment?
ExitOffsets uint 0x74 Contains offset in BUF file for 'exits'
NeighborsOffset uint 0x84 Contains offset in BUF file for 'neighbors'
EnvironmentLight ZGEOMREF (string) ? Contains entity ID of type ZENVIRONMENT
property_134 float[3] ? ?

ZWINOBJ

Description:

Generic object of ZWINDOWS subsystem

Parent type: ZSTDOBJ

Properties:

Name Type Offset Comment
property_7E int8 0x7E ?
property_7F int8 0x7F ?
Alignment EAlignment : ALIGNMENT_None = 0xF N/A Alignment of widget on screen
ALIGNMENT_Middle = 0xE
ALIGNMENT_Bottom = 0xD
ALIGNMENT_Top = 0xC
ALIGNMENT_Center = 0xB
ALIGNMENT_Right = 0xA
ALIGNMENT_Left = 0x9
ALIGNMENT_Middle_Center = 0x8
ALIGNMENT_Middle_Right = 0x7
ALIGNMENT_Middle_Left = 0x6
ALIGNMENT_Bottom_Center = 0x5
ALIGNMENT_Bottom_Right = 0x4
ALIGNMENT_Bottom_Left = 0x3
ALIGNMENT_Top_Center = 0x2
ALIGNMENT_Top_Right = 0x1
ALIGNMENT_Top_Left = 0x0
DrawMode EDrawMode : DRAWMODE_HARDOPACITY = 0x6 N/A Render mode of ZWINOBJ
DRAWMODE_OPACITY = 0x5
DRAWMODE_MUL = 0x4
DRAWMODE_TRANS = 0x3
DRAWMODE_SUB = 0x2
DRAWMODE_ADD = 0x1
DRAWMODE_NORMAL = 0x0
Type EType : TYPE_Background = 0x7 N/A Type of ZWINOBJ entity
TYPE_Invisible = 0x6
TYPE_Disabled = 0x5
TYPE_Checked = 0x4
TYPE_Focused = 0x3
TYPE_Hover = 0x2
TYPE_Pushed = 0x1
TYPE_Normal = 0x0

ZWINPIC

Description:

Represents image in ZWINDOWS subsystem

Parent type: ZWINOBJ

Properties:

Name Type Offset Comment
Width int 0x84 Width of the picture
Height int 0x88 Height of the picture
PicResourcePrim uint N/A PrimID of resource

ZLNKOBJ

Description:

Represents any in-game object

Parent type: ZSTDOBJ

Properties:

Name Type Offset Comment
MeshVariantId ZMESHVARIANT (int) 0x48 Id of mesh variant
property_60 ZAUDIOREF (int) 0x60 ?
AnimCollection ZANIM (string) N/A Reference to animations collection

ZIKLNKOBJ

Description:

Represents IK (Inverse Kinematics) in-game object

Parent type: ZLNKOBJ

Properties: no properties

ZCTRLIKLNKOBJ

Description:

Represents controllable (by player or AI) LNK objects

Parent type: ZIKLNKOBJ

Properties: no properties

ZLNKWHANDS

Description:

Represents LNK object with hands (at least 2)

Parent type: ZCTRLIKLNKOBJ

Properties:

Name Type Offset Comment
rSpeechSound ZSDOwner(int?) 0x208 ?
property_218 ZSDOwner(int?) 0x218 ?
property_228 float 0x228 ?

ZPlayer

Description:

Base class for the player

Parent type: ZLNKWHANDS

Properties:

Name Type Offset Comment
property_404 int 0x404 ?

ZActor

Description:

Base class for NPC

Parent type: ZLNKWHANDS

Properties:

Name Type Offset Comment
property_580 REFTAB (container) 0x580 ?

ZHM3Boid

Description:

Base class for any boid on scene

Parent type: ZIKLNKOBJ

Properties:

Name Type Offset Comment
property_18C float 0x18C ?
property_194 float 0x194 ?
property_19C float 0x19C ?
property_1A0 float 0x1A0 ?
property_1A4 ZGEOMREF (string) 0x1A4 ?
property_1A8 ZAUDIOREF (int) 0x1A8 ?

ZHM3Actor

Description:

HBM specific NPC

Parent type: ZActor

Properties:

Name Type Offset Comment
property_900 ZGEOMREF (string) 0x900 ZHM3Actor says that this is enum
OverrideHitpoints uint N/A ?
property_9D8 ZGEOMREF (string) 0x9D8 ?

ZHitman3

Description:

HBM specific player

Parent type: ZPlayer

Properties:

Name Type Offset Comment
property_12CC ZROOM (uint) 0x12CC some REF to ZROOM

ZEventBase

Description:

Base class for 'ZEvent' things

Parent type: RTP::cBase

Properties: no properties

ZScriptC

Description:

Represents script for any object (attached as controller)

Parent type: ZEventBase

Properties:

Name Type Offset Comment
ScriptName string N/A Name of script in ScriptCModule (ZDefinitions)

NOTE: ZScriptC declares some fields at runtime. Be aware and skip all other properties or think about how to prepare em'all at runtime. See ZScriptC::PostLoad method (at 0x0054D780 for details)

CInventory

Description:

Represents inventory of Actor/Player

Parent type: ZEventBase

Properties:

Name Type Offset Comment
Items REFTAB (array of string) 0x30 Array of strings (names of items in inventory)

CMapObject

Description:

Add marker on map for owner ZGEOM (geom where added CMapObject controller)

Parent type: ZEventBase

Properties:

Name Type Offset Comment
IconType CMapObject::EIconType: N/A Name of icon on map
* DeadOptionalTarget : 29
* OptionalTarget : 28
* Guardquarters : 27
* ICA : 26
* Stairs : 25
* VIPDead : 24
* VIP : 23
* Helicopter : 22
* PoliceDead : 21
* Police : 20
* AnimalDead : 19
* TargetDead : 18
* NeutralDead : 17
* EnemyDead : 16
* Animal : 15
* None : 14
* Target : 13
* Neutral : 12
* Enemy : 11
* Hitman : 10
* Pickup : 9
* ExitPoint : 8
* StairsUp : 7
* StairsDown : 6
* Vehicle : 5
* Elevator : 4
* PowerSwitch : 3
* InterestPoint : 2
* Ladder : 1
* SewerHole : 0
IsVisible bool N/A Is icon visible on map

ZAction

Description:

Represents 'action' marker for the game. When you near to geom with this marker game will show this action in action UI.

Parent type: ZEventBase

Properties:

Name Type Offset Comment
ActionName String (localized) N/A Path to localization token with value
IsVisible bool N/A Is action visible by default or not
ActionType ZAction.EActionType 0x2C Type of action
AT_LAST - 42
AT_STEALTAPE - 41
AT_SURRENDWEAPON - 40
AT_USEFIREALARM - 39
AT_USELIGHTSWITCH - 38
AT_BREAKUTILBOX - 37
AT_HMUSEWEAPONSTORAGE - 36
AT_PLACEITEMTOPOS - 35
AT_ELEVATORBUTTON - 34
AT_STRANGELINELEVATOR - 33
AT_CLIMBHATCH - 32
AT_USEKEYCARD - 31
AT_BODYCONTAINER - 30
AT_OPERATEDOOR - 29
AT_PICKUP_NOINIT - 28
AT_PLACE_NOINIT - 27
AT_RETRIEVEITEM - 26
AT_CLOSELID - 25
AT_OPENLID - 24
AT_HIDEBODYTABLE - 23
AT_USESWITCH - 22
AT_ACTIONKILL - 21
AT_PLACEBOMB - 20
AT_JUMPBALCONY - 19
AT_PUTITEMELEVATOR - 18
AT_RELEASE - 17
AT_GRAB - 16
AT_HIDECLOSET - 15
AT_CLIMBWALL - 14
AT_CLIMBWINDOW - 13
AT_DROPBODY - 12
AT_PEEKHOLE - 11
AT_PICKDOOR - 10
AT_DRAG - 9
AT_ALWAYSINRANGE - 8
AT_PLACEITEM - 7
AT_GENERIC - 6
AT_DIALOG - 5
AT_CLOTHES - 4
AT_CLOSEDOOR - 3
AT_OPENDOOR - 2
AT_BUTTON - 1
AT_PICKUP - 0
MessageID ZMsg (string) 0x30 Message-ID (like MSG_SHOWCUI) which will be sent to the owner object on the activation
property_34 ZGEOMREF (string) 0x34 ?
property_38 int 0x38 ?
property_3C int 0x3C ?
property_40 bool 0x40 ?
HideAction_MessageID ZMsg 0x4A Message-ID to hide this action
ShowAction_MessageID ZMsg 0x4C Message-ID to show this action
property_F4 ZGEOMREF (string) 0xF4 ?

ZLoader_Sequence_Setup

Description:

Represents information about loader screen player

Parent type: ZSTDOBJ

Properties:

Name Type Offset Comment
property_C ZFILENAME (string) 0xC ?
property_10 ZREFTAB32 (?) 0x10 ?

ZItem

Description:

Represents any item on the scene

Parent type: ZGROUP

Properties:

Name Type Offset Comment
property_4C ZGEOMREF (string) 0x4C ?
property_50 bool 0x50 ?

ZItemAmmo

Description:

Represents ammo item on the scene

Parent type: ZItem

Properties:

Name Type Offset Comment
property_80 int 0x80 NOTE I guess it's projectiles amount but it conflicts with IDA DB. Need to check it.

ZItemWeapon

Description:

Represents gun item on the scene

Parent type: ZItem

Properties:

Name Type Offset Comment
property_90 int 0x90 ?

ZHM3ItemAmmo

Description:

Represents ammo item on the scene (specific for Hitman Blood Money)

Parent type: ZItemAmmo

Properties: no properties

ZHM3ItemWeapon

Description:

Represents any gun on scene (specific for Hitman Blood Money)

Parent type: ZItemWeapon

Properties: no properties

ZShatter

Description:

IDK

Parent type: ZEventBase

Properties:

Name Type Offset Comment
property_3C ZGEOMREF (string) 0x3C ?
RemovalsList ZREFTAB32 N/A ?
RemainsList ZREFTAB32 N/A ?
AlignPivot bool N/A ?
property_40 ZAUDIOREF 0x40 ?
property_44 ZAUDIOREF 0x44 ?
property_48 ZAUDIOREF 0x48 ?
property_4C float 0x4C ?
ProjectileHit bool N/A ?
Frozen bool N/A ?
Vital bool N/A ?

ZMsgForward

Description:

Forwards messages to the receiver

Parent type: ZEventBase

Properties:

Name Type Offset Comment
Receiver ZGEOMREF (string) 0x2C Name of geom which will receive messages
MessageID ZMsg 0x30 ?

ZAffectedByLightSwitch

Description:

IDK

Parent type: ZEventBase

Properties:

Name Type Offset Comment
property_2C ZREFTAB 0x2C ?
property_48 ZREFTAB 0x48 ?

ZAllocMany

Description:

Think allocates many instances of one geom (aka ZGEOM pool)

Parent type: ZGROUP

Properties:

Name Type Offset Comment
property_48 Int16 0x48 (?) How much allocate geoms
property_54 ZMsg 0x54 ?
property_56 bool 0x56 ?
property_58 ZGEOMREF (string) 0x58 (?) Name of geom which should be pre-allocated

ZShotActivate

Description:

IDK

Parent type: ZEventBase

Properties:

Name Type Offset Comment
property_3C bool 0x3C ?
property_40 ZGEOMREF (string) 0x40 ?
property_44 int8 0x44 ?
rtActivate ZREFTAB32 N/A ?
rtDelete ZREFTAB32 N/A ?
property_48 float 0x48 ?
property_4C float 0x4C ?

CExplosionController

Description:

Controls explosions on scene

Parent type: ZEventBase

Properties:

Name Type Offset Comment
property_2C float 0x2C ?
property_30 float 0x30 ?
property_34 float 0x34 ?
property_38 ZGEOMREF 0x38 ?
property_3C ZGEOMREF 0x3C ?
property_40 ZREFTAB32 0x40 ?
property_5C ZREFTAB32 0x5C ?
property_78 float 0x78 ?
property_7C ZMsg 0x7C ?
Clone this wiki locally