BFME 2 - ROTWK Code Refence  1.0
TurretModule Class Reference

Public Attributes

FloatingPoint TurretTurnRate
 
FloatingPoint TurretPitchRate
 
Degrees NaturalTurretAngle
 
Degrees NaturalTurretPitch
 
Degrees FirePitch
 
Degrees MinPhysicalPitch
 
Degrees GroundUnitPitch
 
Unknown TurretFireAngleSweep
 
Unknown TurretSweepSpeedModifier
 
Unknown ControlledWeaponSlots
 
Boolean AllowsPitch
 
Degrees MinIdleScanAngle
 
Degrees MaxIdleScanAngle
 
UnsignedInteger MinIdleScanInterval
 
UnsignedInteger MaxIdleScanInterval
 
UnsignedInteger RecenterTime
 
Boolean InitiallyDisabled
 
Boolean FiresWhileTurning
 
Degrees TurretMaxDeflectionCW
 
Degrees TurretMaxDeflectionACW
 

Detailed Description

; L00E3AD60:
    Turret ;L00E3AD60 //Turret module
    ;L0136B020:
        TurretTurnRate = 30 ;L00E6AAC0: Pitch Angle
        TurretPitchRate = 30 ;L00E6AAC0: Pitch Angle
        NaturalTurretAngle = 25 ;SUB_L006D4B70:Float Point Value //Degrees
        NaturalTurretPitch = 46 ;SUB_L006D4B70:Float Point Value //Degrees
        FirePitch = 25 ;SUB_L006D4B70:Float Point Value //Degrees
        MinPhysicalPitch = 5 ;SUB_L006D4B70:Float Point Value //Degrees
        GroundUnitPitch = 5 ;SUB_L006D4B70:Float Point Value //Degrees
        TurretFireAngleSweep = ? ;L0136AF80 PRIMARY SECONDARY TERTIARY QUATERNARY QUINARY
        TurretSweepSpeedModifier = ? ;L0136AFD0
        ControlledWeaponSlots = ? ;L0136B040
        AllowsPitch = Yes ;SUB_L006D3400:Boolean
        MinIdleScanAngle = -25 ;SUB_L006D4B70:Float Point Value //Degrees
        MaxIdleScanAngle = 25 ;SUB_L006D4B70:Float Point Value //Degrees
        MinIdleScanInterval = 300 ;SUB_L00E6CB10:Unsigned Integer Value
        MaxIdleScanInterval = 1000 ;SUB_L00E6CB10:Unsigned Integer Value
        RecenterTime = 3000 ;SUB_L00E6CB10:Unsigned Integer Value
        InitiallyDisabled = Yes ;SUB_L006D3400:Boolean
        FiresWhileTurning = Yes ;SUB_L006D3400:Boolean
        TurretMaxDeflectionCW = 25 ;SUB_L006D4B70:Float Point Value //Degrees
        TurretMaxDeflectionACW = 5 ;SUB_L006D4B70:Float Point Value //Degrees
    End
Todo:
{ Fix Types... }

Member Data Documentation

◆ TurretTurnRate

FloatingPoint TurretTurnRate

Pitch Angle

◆ TurretPitchRate

FloatingPoint TurretPitchRate

Pitch Angle