====== PlayerData ====== ===== Inheritance ===== This namespace inherits from [[scripting:doc:u:shapebasedata|ShapeBaseData]] > [[scripting:doc:u:gamebasedata|GameBaseData]] > [[scripting:doc:u:simdatablock|SimDataBlock]] > [[scripting:doc:u:simobject|SimObject]]. ===== Fields ===== ==== ==== === airControl === [[scripting:doc:engine:types:float|float]] ''airControl''\\ Memory offset: 0x2A8\\ === boundingBox === [[scripting:doc:engine:types:Point3F|Point3F]] ''boundingBox''\\ Memory offset: 0x370\\ === bubbleEmitTime === [[scripting:doc:engine:types:float|float]] ''bubbleEmitTime''\\ Memory offset: 0xBD4\\ === cameraHorizontalOffset === [[scripting:doc:engine:types:float|float]] ''cameraHorizontalOffset''\\ Memory offset: 0x29C\\ === cameraMaxDist === [[scripting:doc:engine:types:float|float]] ''cameraMaxDist''\\ Memory offset: 0x2A0\\ === cameraMinDist === [[scripting:doc:engine:types:float|float]] ''cameraMinDist''\\ Memory offset: 0x2A4\\ === cameraTilt === [[scripting:doc:engine:types:float|float]] ''cameraTilt''\\ Memory offset: 0x294\\ === cameraVerticalOffset === [[scripting:doc:engine:types:float|float]] ''cameraVerticalOffset''\\ Memory offset: 0x298\\ === canJet === [[scripting:doc:engine:types:bool|bool]] ''canJet''\\ Memory offset: 0x2F8\\ === canRide === [[scripting:doc:engine:types:bool|bool]] ''canRide''\\ Memory offset: 0x2FA\\ === crouchBoundingBox === [[scripting:doc:engine:types:Point3F|Point3F]] ''crouchBoundingBox''\\ Memory offset: 0x37C\\ === dustEmitter === [[scripting:doc:engine:types:ParticleEmitterDataPtr|ParticleEmitterDataPtr]] ''dustEmitter''\\ Memory offset: 0xBB4\\ === exitingWater === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''exitingWater''\\ Memory offset: 0x36C\\ === exitSplashSoundVelocity === [[scripting:doc:engine:types:float|float]] ''exitSplashSoundVelocity''\\ Memory offset: 0xBE0\\ === FootBubblesSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootBubblesSound''\\ Memory offset: 0x344\\ === FootHardSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootHardSound''\\ Memory offset: 0x32C\\ === FootMetalSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootMetalSound''\\ Memory offset: 0x330\\ === footPuffEmitter === [[scripting:doc:engine:types:ParticleEmitterDataPtr|ParticleEmitterDataPtr]] ''footPuffEmitter''\\ Memory offset: 0xBA4\\ === footPuffNumParts === [[scripting:doc:engine:types:int|int]] ''footPuffNumParts''\\ Memory offset: 0xBAC\\ === footPuffRadius === [[scripting:doc:engine:types:float|float]] ''footPuffRadius''\\ Memory offset: 0xBB0\\ === FootShallowSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootShallowSound''\\ Memory offset: 0x338\\ === FootSnowSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootSnowSound''\\ Memory offset: 0x334\\ === FootSoftSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootSoftSound''\\ Memory offset: 0x328\\ === footstepSplashHeight === [[scripting:doc:engine:types:float|float]] ''footstepSplashHeight''\\ Memory offset: 0xBE4\\ === FootUnderwaterSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootUnderwaterSound''\\ Memory offset: 0x340\\ === FootWadingSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''FootWadingSound''\\ Memory offset: 0x33C\\ === groundImpactMinSpeed === [[scripting:doc:engine:types:float|float]] ''groundImpactMinSpeed''\\ Memory offset: 0x300\\ === groundImpactShakeAmp === [[scripting:doc:engine:types:Point3F|Point3F]] ''groundImpactShakeAmp''\\ Memory offset: 0x310\\ === groundImpactShakeDuration === [[scripting:doc:engine:types:float|float]] ''groundImpactShakeDuration''\\ Memory offset: 0x31C\\ === groundImpactShakeFalloff === [[scripting:doc:engine:types:float|float]] ''groundImpactShakeFalloff''\\ Memory offset: 0x320\\ === groundImpactShakeFreq === [[scripting:doc:engine:types:Point3F|Point3F]] ''groundImpactShakeFreq''\\ Memory offset: 0x304\\ === hardSplashSoundVelocity === [[scripting:doc:engine:types:float|float]] ''hardSplashSoundVelocity''\\ Memory offset: 0xBDC\\ === horizMaxSpeed === [[scripting:doc:engine:types:float|float]] ''horizMaxSpeed''\\ Memory offset: 0x2B4\\ === horizResistFactor === [[scripting:doc:engine:types:float|float]] ''horizResistFactor''\\ Memory offset: 0x2BC\\ === horizResistSpeed === [[scripting:doc:engine:types:float|float]] ''horizResistSpeed''\\ Memory offset: 0x2B8\\ === impactHardSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactHardSound''\\ Memory offset: 0x354\\ === impactMetalSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactMetalSound''\\ Memory offset: 0x358\\ === impactSnowSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactSnowSound''\\ Memory offset: 0x35C\\ === impactSoftSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactSoftSound''\\ Memory offset: 0x350\\ === impactWaterEasy === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactWaterEasy''\\ Memory offset: 0x360\\ === impactWaterHard === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactWaterHard''\\ Memory offset: 0x368\\ === impactWaterMedium === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''impactWaterMedium''\\ Memory offset: 0x364\\ === jetEmitter === [[scripting:doc:engine:types:ParticleEmitterDataPtr|ParticleEmitterDataPtr]] ''jetEmitter''\\ Memory offset: 0xB84\\ === jetEnergyDrain === [[scripting:doc:engine:types:float|float]] ''jetEnergyDrain''\\ Memory offset: 0x2F0\\ === jetGroundDistance === [[scripting:doc:engine:types:float|float]] ''jetGroundDistance''\\ Memory offset: 0xB94\\ === jetGroundEmitter === [[scripting:doc:engine:types:ParticleEmitterDataPtr|ParticleEmitterDataPtr]] ''jetGroundEmitter''\\ Memory offset: 0xB8C\\ === jumpDelay === [[scripting:doc:engine:types:int|int]] ''jumpDelay''\\ Memory offset: 0x2EC\\ === jumpEnergyDrain === [[scripting:doc:engine:types:float|float]] ''jumpEnergyDrain''\\ Memory offset: 0x2D8\\ === jumpForce === [[scripting:doc:engine:types:float|float]] ''jumpForce''\\ Memory offset: 0x2D4\\ === JumpSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''JumpSound''\\ Memory offset: 0x324\\ === jumpSurfaceAngle === [[scripting:doc:engine:types:float|float]] ''jumpSurfaceAngle''\\ Memory offset: 0x2E8\\ === maxBackwardCrouchSpeed === [[scripting:doc:engine:types:float|float]] ''maxBackwardCrouchSpeed''\\ Memory offset: 0x28C\\ === maxBackwardSpeed === [[scripting:doc:engine:types:float|float]] ''maxBackwardSpeed''\\ Memory offset: 0x26C\\ === maxForwardCrouchSpeed === [[scripting:doc:engine:types:float|float]] ''maxForwardCrouchSpeed''\\ Memory offset: 0x288\\ === maxForwardSpeed === [[scripting:doc:engine:types:float|float]] ''maxForwardSpeed''\\ Memory offset: 0x268\\ === maxFreelookAngle === [[scripting:doc:engine:types:float|float]] ''maxFreelookAngle''\\ Memory offset: 0x258\\ === maxJumpSpeed === [[scripting:doc:engine:types:float|float]] ''maxJumpSpeed''\\ Memory offset: 0x2E4\\ === maxLookAngle === [[scripting:doc:engine:types:float|float]] ''maxLookAngle''\\ Memory offset: 0x254\\ === maxSideCrouchSpeed === [[scripting:doc:engine:types:float|float]] ''maxSideCrouchSpeed''\\ Memory offset: 0x290\\ === maxSideSpeed === [[scripting:doc:engine:types:float|float]] ''maxSideSpeed''\\ Memory offset: 0x270\\ === maxStepHeight === [[scripting:doc:engine:types:float|float]] ''maxStepHeight''\\ Memory offset: 0x2AC\\ === maxTimeScale === [[scripting:doc:engine:types:float|float]] ''maxTimeScale''\\ Memory offset: 0x24C\\ === maxUnderwaterBackwardSpeed === [[scripting:doc:engine:types:float|float]] ''maxUnderwaterBackwardSpeed''\\ Memory offset: 0x278\\ === maxUnderwaterForwardSpeed === [[scripting:doc:engine:types:float|float]] ''maxUnderwaterForwardSpeed''\\ Memory offset: 0x274\\ === maxUnderwaterSideSpeed === [[scripting:doc:engine:types:float|float]] ''maxUnderwaterSideSpeed''\\ Memory offset: 0x27C\\ === mediumSplashSoundVelocity === [[scripting:doc:engine:types:float|float]] ''mediumSplashSoundVelocity''\\ Memory offset: 0xBD8\\ === minImpactSpeed === [[scripting:doc:engine:types:float|float]] ''minImpactSpeed''\\ Memory offset: 0x2FC\\ === minJetEnergy === [[scripting:doc:engine:types:float|float]] ''minJetEnergy''\\ Memory offset: 0x2F4\\ === minJumpEnergy === [[scripting:doc:engine:types:float|float]] ''minJumpEnergy''\\ Memory offset: 0x2DC\\ === minJumpSpeed === [[scripting:doc:engine:types:float|float]] ''minJumpSpeed''\\ Memory offset: 0x2E0\\ === minLookAngle === [[scripting:doc:engine:types:float|float]] ''minLookAngle''\\ Memory offset: 0x250\\ === minRunEnergy === [[scripting:doc:engine:types:float|float]] ''minRunEnergy''\\ Memory offset: 0x264\\ === movingBubblesSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''movingBubblesSound''\\ Memory offset: 0x348\\ === pickupRadius === [[scripting:doc:engine:types:float|float]] ''pickupRadius''\\ Memory offset: 0x248\\ === renderFirstPerson === [[scripting:doc:engine:types:bool|bool]] ''renderFirstPerson''\\ Memory offset: 0x244\\ === rideAble === [[scripting:doc:engine:types:bool|bool]] ''rideAble''\\ Memory offset: 0x2F9\\ === runEnergyDrain === [[scripting:doc:engine:types:float|float]] ''runEnergyDrain''\\ Memory offset: 0x260\\ === runForce === [[scripting:doc:engine:types:float|float]] ''runForce''\\ Memory offset: 0x25C\\ === runSurfaceAngle === [[scripting:doc:engine:types:float|float]] ''runSurfaceAngle''\\ Memory offset: 0x2B0\\ === Splash === [[scripting:doc:engine:types:SplashDataPtr|SplashDataPtr]] ''Splash''\\ Memory offset: 0xBBC\\ === splashAngle === [[scripting:doc:engine:types:float|float]] ''splashAngle''\\ Memory offset: 0xBC8\\ === splashEmitter === [[scripting:doc:engine:types:ParticleEmitterDataPtr|ParticleEmitterDataPtr]] ''splashEmitter[3]''\\ Memory offset: 0xBE8\\ === splashFreqMod === [[scripting:doc:engine:types:float|float]] ''splashFreqMod''\\ Memory offset: 0xBCC\\ === splashVelEpsilon === [[scripting:doc:engine:types:float|float]] ''splashVelEpsilon''\\ Memory offset: 0xBD0\\ === splashVelocity === [[scripting:doc:engine:types:float|float]] ''splashVelocity''\\ Memory offset: 0xBC4\\ === uiName === [[scripting:doc:engine:types:string|string]] ''uiName''\\ Memory offset: 0xBA0\\ === upMaxSpeed === [[scripting:doc:engine:types:float|float]] ''upMaxSpeed''\\ Memory offset: 0x2C0\\ === upResistFactor === [[scripting:doc:engine:types:float|float]] ''upResistFactor''\\ Memory offset: 0x2C8\\ === upResistSpeed === [[scripting:doc:engine:types:float|float]] ''upResistSpeed''\\ Memory offset: 0x2C4\\ === waterBreathSound === [[scripting:doc:engine:types:AudioProfilePtr|AudioProfilePtr]] ''waterBreathSound''\\ Memory offset: 0x34C\\ ===== Functions ===== ==== ==== [[scripting:doc:u:playerdata:ondriverleave|PlayerData::onDriverLeave]]\\