GTFO Modding
  • 🏠Home
    • 🫂Contributing
  • Guides
    • 📖The Complete Newbie Guide
    • The Newbie Level Guide
      • Isolating a level
      • Editing rundown and level metadata
      • Adding and editing zones
      • Editing warden objective
      • Adding a secondary sector
      • Final datablocks version
    • The Newbie Git Guide
    • 👶Your First Plugin
      • Setting up Visual Studio Community
      • Creating a C# class library project
      • Writing a Plugin class
      • Compiling for release
      • Creating a Patch class
      • Patching in slightly more detail
    • 🎹Adding Custom Audio
      • Project Setup
      • Adding Sounds into Wwise
      • Creating a Sound Event
      • Creating a SoundBank
      • Using SoundBanks in GTFO
    • ⛏️Datamining
      • Audio files
      • Export asset files from GTFO
      • Import asset files to Unity
      • Fixing Unity errors after importing
    • Introduction to Errors
    • Modded GTFO on Linux
    • Enabling MTFO Hot Reload
    • VS Code Tips
    • Creating Custom Weapons
    • External Guides
  • Reference
    • Datablocks
      • Main
        • Archetype
        • BigPickupDistribution
        • ChainedPuzzle
        • ComplexResourceSet
        • ConsumableDistribution
        • Dimension
        • EnemyBalancing
        • EnemyBehavior
        • Enemy
        • EnemyDetection
        • EnemyGroup
        • EnemyMovement
        • EnemyPopulation
        • EnemySFX
        • ExpeditionBalance
        • FlashlightSettings
        • FogSettings
        • GearCategory
        • Gear
        • Item
        • ItemFPSSettings
        • LevelLayout
        • LightSettings
        • MeleeAnimationSet
        • MeleeArchetype
        • Player
        • PlayerOfflineGear
        • Recoil
        • Rundown
        • SurvivalWavePopulation
        • SurvivalWaveSettings
        • Text
        • VanityItemsTemplate
        • WardenObjective
        • Weapon
      • Rarely Edited
        • Artifact
        • ArtifactDistribution
        • ArtifactTag
        • Atmosphere
        • BoosterImplantCondition
        • BoosterImplantEffect
        • BoosterImplantTemplate
        • ChainedPuzzleType
        • Clouds
        • CustomAssetShard
        • EnvironmentFeedback
        • Feedback
        • GameSetup
        • GearCategoryFilter
        • GearFlashlightPart
        • GearFrontPart
        • GearMagPart
        • GearMeleeHandlePart
        • GearMeleeHeadPart
        • GearMeleeNeckPart
        • GearMeleePommelPart
        • GearPartAttachment
        • GearReceiverPart
        • GearSightPart
        • GearStockPart
        • GearToolDeliveryPart
        • GearToolGripPart
        • GearToolMainPart
        • GearToolPayloadPart
        • GearToolScreenPart
        • GearToolTargetingPart
        • ItemMovementAnimation
        • ItemPart
        • MarkerGroup
        • MeleeSFX
        • MiningMarker
        • MLSArrayDescriptorReference
        • MusicState
        • PlayerDialog
        • ServiceMarker
        • StaticSpawn
        • TechMarker
        • TextCharacterMeta
        • VanityItemsGroup
        • VanityItemsLayerDrops
        • WeaponAudio
        • WeaponMuzzleFlash
        • WeaponShellCasing
      • Unused
        • Commodity
        • EffectNode
        • EventSequenceAction
        • EventSequence
        • ExtractionEvent
        • FogScenario
        • GameplayTrailer
        • GearDecal
        • GearPalette
        • GearPattern
        • GearPerk
        • LevelGenSettings
        • Loot
        • Recepie
    • Nested Types
      • AbilityData
      • ActiveEnemyWaveData
      • AltitudeData
      • AnimHash
      • ArtifactLayerData
      • ArtifactZoneDistribution
      • AssetData
      • BigPickupSpawnData
      • BoosterImplantEffectInstance
      • BuildLayerFromData
      • BuildSeedData
      • BulkheadDoorPlacementData
      • ChainedPuzzleComponent
      • ConsumableSpawnData
      • CustomTerminalCommand
      • DescriptiveData
      • DialogActorSettings
      • DialogDramaFilter
      • DialogLine
      • DialogStructure
      • DialogStructureHolder
      • DimensionData
      • DimensionInExpeditionData
      • DOFSettingsData
      • DumbwaiterPlacementData
      • EffectNodeListData
      • EffectNodePrefabData
      • EnemyGroupCompositionData
      • EnemyRoleData
      • EnemySpawningData
      • ESA_EnemyWave
      • ESA_FogSettings
      • ESA_Lights
      • ESA_PostEffect
      • ESA_Sound
      • EventSequenceActionListComponent
      • ExpeditionData
      • ExpeditionIndex
      • ExpeditionInTierData
      • ExpeditionZoneData
      • FeedbackAudioCompData
      • FeedbackEffectCompData
      • FunctionPlacementData
      • GameEventSound
      • GameplayTrailerDirectorAction
      • GearArchetypeData
      • GearCategoryFilterData
      • GearDropPeriodData
      • GearPartAlignData
      • GearPartAlignPriority
      • GearPartGeneralData
      • GearPerkModifierData
      • GearPicker
      • GearSightPartProperties
      • GearSpecialPerkData
      • GeneralFogDataStep
      • GenericEnemyWaveData
      • HealthData
      • ItemPartData
      • LayerData
      • LayerDropData
      • LanguageData
      • LevelEventData
      • LevelEventNoiseData
      • LevelEventSoundData
      • LevelEventWardenIntelData
      • LevelGenConfig
      • LightCategorySetting
      • LinkedSlaveModelData
      • LocalizedText
      • Loot
      • MarkerComposition
      • MarkerDataCommon
      • MeleeAttackData
      • MinMaxValue
      • ModelData
      • MusicEventData
      • MusicEventDataConditional
      • MusicEventDataTimed
      • MusicSwitchData
      • MusicSwitchDataOnCustomCue
      • MusicSwitchDataTimed
      • ProgressionPuzzleData
      • ReactorWaveData
      • ReactorWaveEnemyData
      • ResourceData
      • RundownStorytellingData
      • RundownStorytellingVisualData
      • RundownTierProgressionData
      • SpecialExpeditionOverridesData
      • SpecificChainPuzzleSpawnData
      • SpecificPickupSpawnData
      • SpecificTerminalSpawnData
      • StaticEnemyData
      • StaticSpawnDataContainer
      • StaticSpawnPrefabDistancePair
      • TerminalLogFileData
      • TerminalOutput
      • TerminalPlacementData
      • TerminalStartStateData
      • TerminalZoneSelectionData
      • TierVisualData
      • TimingData
      • TypeAndGeneralData
      • VanityItemsDropData
      • Vector3AnimationCurve
      • WardenObjectiveEventData
      • WardenObjectiveLayerData
      • WeaponAnimSequenceItem
      • WorldEventConditionPair
      • WorldEventFromSourceData
      • ZonePlacementData
      • ZonePlacementWeights
    • Enum Types
  • Mods Documentation
    • Noteworthy Mods
    • Documentation
      • StealthAdjustment
      • DynamicCustomCombatMusic
      • ConfigurableGlobalWaveSettings
Powered by GitBook
On this page
  • Fields
  • localPosHip - Vector3
  • localRotHip - Vector3
  • SwayAmount - Single
  • crouchTiltAngle - Single
  • localPosRelaxed - Vector3
  • localRotRelaxed - Vector3
  • localPosZoom - Vector3
  • localRotZoom - Vector3
  • bodyOffsetLocal - Vector3
  • bodyRotationOffsetLocal - Vector3
  • ItemCameraFOVDefault - Int32
  • ItemCameraFOVZoom - Int32
  • LookCameraFOVZoom - Int32
  • canAim - Boolean
  • onlyStartAimOnPressed - Boolean
  • canRelax - Boolean
  • customDelayUntilRelax - Single
  • allowRotToAimPos - Boolean
  • rotToAimPosMinDis - Single
  • transitionToAim - eFPISTransitionTime (enum)
  • RecoilAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • IdleAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • WalkAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • RunAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • JumpAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • LandAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • ChargeCancelAnimation - UInt32 (ItemMovementAnimationDataBlock)
  • DofDefault - DOFSettingsData (nested type)
  • DofAim - DOFSettingsData (nested type)

Was this helpful?

Edit on GitHub
Export as PDF
  1. Reference
  2. Datablocks
  3. Main

ItemFPSSettings

GameData_ItemFPSSettingsDataBlock_bin.json (filled)

Determines Item location and camera settings for the first-person view.

Note: GTFO uses 2 separate cameras in the First-Person view - the Look Camera renders the world, and the Item Camera renders the item held in the player's hands. These two cameras usually have differing FOVs in both the aimed and unaimed state of a weapon/tool.


Fields

localPosHip - Vector3

Position of weapon when hipfiring

localRotHip - Vector3

Rotation of weapon when hipfiring

SwayAmount - Single

No description provided.

crouchTiltAngle - Single

Angle the weapon tilts when player is crouched

localPosRelaxed - Vector3

Position of weapon when idle animation is playing

localRotRelaxed - Vector3

Rotation of weapon when idle animation is playing

localPosZoom - Vector3

Position of weapon when aiming

localRotZoom - Vector3

Rotation of weapon when aiming

bodyOffsetLocal - Vector3

Root position of weapon

bodyRotationOffsetLocal - Vector3

Root rotation of weapon

ItemCameraFOVDefault - Int32

FOV of camera that renders the weapon or tool

ItemCameraFOVZoom - Int32

FOV of camera that renders the weapon or tool, when aiming

LookCameraFOVZoom - Int32

FOV of camera that renders the world

canAim - Boolean

Can this weapon be aimed?

onlyStartAimOnPressed - Boolean

Identical across all base game Items (set to false), probably unused

canRelax - Boolean

Can this weapon play an idle animation?

customDelayUntilRelax - Single

Time until this weapon plays an idle animation

allowRotToAimPos - Boolean

Is the weapon allowed to rotate when moving to the aimed position?

rotToAimPosMinDis - Single

Identical across all base game Items (set to 1.0), probably unused

Speed of aim transition animation

Animation used when the weapon is recoiling

Animation used when the player is stationary

Animation used when the player is walking

Animation used when the player is sprinting

Animation used when the player is jumping

Animation used when the player lands from a jump

Animation used when the weapon is charged and the charge is aborted before completion

Default Depth of Field settings

Depth of Field settings when weapon is aiming

PreviousItemNextLevelLayout

Last updated 3 months ago

Was this helpful?

transitionToAim - (enum)

RecoilAnimation - UInt32 ()

IdleAnimation - UInt32 ()

WalkAnimation - UInt32 ()

RunAnimation - UInt32 ()

JumpAnimation - UInt32 ()

LandAnimation - UInt32 ()

ChargeCancelAnimation - UInt32 ()

DofDefault - (nested type)

DofAim - (nested type)

ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
ItemMovementAnimationDataBlock
DOFSettingsData
DOFSettingsData
eFPISTransitionTime