EvilEngine/DYNA/game object:Turret

From Heavy Iron Modding

game_object:Turret
Hash0x798A7982
Games usedThe Incredibles

Format

class zTurretAsset : public xDynAsset
{
public:
    unsigned int baseObject;
    unsigned int gunObject;
    float yawRange;
    float yawSpeed;
    float pitchRange;
    float pitchSpeed;
    float recoveryTime;
    float overheatFraction;
    float coolingSpeed;
    float overheatTime;
    signed short hitPoints;
    unsigned short damage;
    xVec3 cameraOffset;
    unsigned int finalPointer;
    xColor_tag laserColor;
    xVec3 offsets[2];
    float laserLength;
    float laserThickness;
    float laserSpeed;
    union
    {
        unsigned int laserSoundGroupId;
        iSndGroupHandle laserSoundGroup;
    };
    union
    {
        unsigned int targetTextureId;
        RwRaster* targetTextureRaster;
    };
    float targetTextureSizeX;
    float targetTextureSizeY;
};
Offset Type Variable Description
0x10 AssetID baseObject SIMP
0x14 AssetID gunObject SIMP
0x18 f32 yawRange
0x1C f32 yawSpeed
0x20 f32 pitchRange
0x24 f32 pitchSpeed
0x28 f32 recoveryTime
0x2C f32 overheatFraction
0x30 f32 coolingSpeed
0x34 f32 overheatTime
0x38 u16 hitPoints
0x3A u16 damage
0x3C Vector3 cameraOffset
0x48 AssetID finalPointer DYNA Pointer
0x4C Color laserColor
0x50 Vector3[2] offsets
0x68 f32 laserLength
0x6C f32 laserThickness
0x70 f32 laserSpeed
0x74 AssetID laserSoundGroupId SGRP
0x78 AssetID targetTextureId RWTX
0x7C f32 targetTextureSizeX
0x80 f32 targetTextureSizeY