6307 lines
223 KiB
Plaintext
6307 lines
223 KiB
Plaintext
/*
|
|
================================================================================================
|
|
CONFIDENTIAL AND PROPRIETARY INFORMATION/NOT FOR DISCLOSURE WITHOUT WRITTEN PERMISSION
|
|
Copyright 2010 id Software LLC, a ZeniMax Media company. All Rights Reserved.
|
|
================================================================================================
|
|
*/
|
|
// This file has been generated with the Type Info Generator v2.6
|
|
|
|
|
|
#ifndef __SCRIPT_EVENTS_SCRIPT__
|
|
#define __SCRIPT_EVENTS_SCRIPT__
|
|
|
|
/*
|
|
================================================================================================
|
|
|
|
Script Events
|
|
|
|
================================================================================================
|
|
*/
|
|
|
|
/*
|
|
+- idEntity
|
|
|- idAASObstacle
|
|
|- idAIInteraction
|
|
|- idAIScriptedAnimWeb
|
|
|- idAITest
|
|
| +- idAITest_Rotation
|
|
|- idActionNode
|
|
|- idAnimatedEntity
|
|
| |- idAFEntity_Dummy
|
|
| |- idAFEntity_Generic
|
|
| |- idActor
|
|
| | |- idAI2
|
|
| | +- idPlayer
|
|
| |- idAlignedEntity
|
|
| |- idAnimated
|
|
| |- idAnimatedInteractable
|
|
| |- idAnimatedSimple
|
|
| | |- idAnimatedSimplePhysics
|
|
| | +- idModifiedPlayerMovement
|
|
| |- idAnimated_AnimWeb
|
|
| | +- idPanzerHund
|
|
| |- idBinaryAnimation
|
|
| |- idDoor_Base
|
|
| | |- idDoor_Animated
|
|
| | +- idDoor_Parametric
|
|
| |- idDrone
|
|
| |- idDropShip
|
|
| |- idEditorModelEntity
|
|
| |- idMoverAttachment
|
|
| |- idMoverMM
|
|
| |- idPlayerControlled
|
|
| |- idProjectile
|
|
| | |- idProjectile_Arrow
|
|
| | | +- idProjectile_Dagger
|
|
| | |- idProjectile_DragonBreath
|
|
| | |- idProjectile_Grenade
|
|
| | | |- idProjectile_BouncyBomb
|
|
| | | +- idProjectile_EventPulser
|
|
| | |- idProjectile_Rocket
|
|
| | | +- idProjectile_Homing
|
|
| | +- idProjectile_StickyBomb
|
|
| |- idProp
|
|
| | |- idProp_MissionBoard
|
|
| | +- idProp_Usable
|
|
| | |- idProp_BreakableLoot
|
|
| | |- idProp_ContinuallyUsed
|
|
| | | +- idProp_BatteryChargePoint
|
|
| | |- idProp_JobPosting
|
|
| | |- idProp_Moveable
|
|
| | | |- idProp_AIArmor
|
|
| | | | +- idProp_ElectricArmor
|
|
| | | |- idProp_AmmoRefill
|
|
| | | |- idProp_Breakable
|
|
| | | | +- idProp_VehicleJump
|
|
| | | |- idProp_CombineItem
|
|
| | | |- idProp_Explosive
|
|
| | | |- idProp_ExplosivePlunger
|
|
| | | |- idProp_GameStateInt
|
|
| | | |- idProp_HealthPickup
|
|
| | | |- idProp_Loot
|
|
| | | |- idProp_Noticable
|
|
| | | |- idProp_OnlineCollectible
|
|
| | | |- idProp_Secret
|
|
| | | |- idProp_Spawnable
|
|
| | | +- idProp_VehiclePickup
|
|
| | | |- idProp_Boost
|
|
| | | |- idProp_VehicleAmmo
|
|
| | | +- idProp_VehicleArmor
|
|
| | |- idProp_PlayerInteraction
|
|
| | |- idProp_Static
|
|
| | | +- idProp_WeaponStatic
|
|
| | +- idProp_Zipline
|
|
| |- idRaceSpectator
|
|
| |- idRobot
|
|
| |- idSplineFollower
|
|
| |- idSpringEntity
|
|
| |- idTestAnimWeb
|
|
| |- idTestModel2
|
|
| |- idTestRollBones
|
|
| |- idTurret
|
|
| | |- idRailTurret
|
|
| | +- idTowerTurret
|
|
| |- idTurretGunner
|
|
| |- idVehicle
|
|
| | +- idVehicle_Car
|
|
| |- idVehicleMountedTurret
|
|
| +- idVehicleOccupant
|
|
| |- idVehicleOccupant_ATV
|
|
| |- idVehicleOccupant_Car
|
|
| +- idVehicleOccupant_Event
|
|
|- idAnnouncementManager
|
|
|- idBinaryModel
|
|
|- idBreakable
|
|
|- idCamera
|
|
| |- idCameraView
|
|
| | |- idAnimCamera
|
|
| | |- idDeathCamera
|
|
| | | +- idOnlineVehicleDeathCamera
|
|
| | |- idFreeCamera
|
|
| | |- idRCBombDeathCamera
|
|
| | |- idRaceCamera
|
|
| | |- idRaceCountdownCamera
|
|
| | |- idRaceDeathCamera
|
|
| | |- idReviveCamera
|
|
| | |- idSpectatorCamera
|
|
| | +- idThrownCamera
|
|
| |- idInteractionCamera
|
|
| |- idSpringCamera
|
|
| +- idUtilityCamera
|
|
| |- idEntityCamera
|
|
| | |- idAIDebugCamera
|
|
| | |- idCinematicCamera
|
|
| | |- idSlowMotionCamera
|
|
| | |- idTownGarageCamera
|
|
| | +- idTrailerCamera
|
|
| +- idRotatableCamera
|
|
|- idCaptureController
|
|
|- idCollisionStreamArea
|
|
|- idCoopStartingInventory
|
|
|- idCoverBlocker
|
|
|- idCuttable
|
|
|- idDamageableEntity
|
|
|- idDoor_Blocker
|
|
|- idDummyGarbageDontUse
|
|
|- idDynamicEntity
|
|
| |- idAlarm
|
|
| |- idDebrisEntity
|
|
| |- idElectricBoltEmitter
|
|
| |- idEntityFx
|
|
| |- idEntityImposter
|
|
| |- idGuiEntity
|
|
| |- idLensFlare
|
|
| |- idParticleEmitter
|
|
| |- idRegimeTile
|
|
| |- idRibbonEmitter
|
|
| |- idTumbleWeed
|
|
| +- idWaterRippleEmitter
|
|
|- idDynamicJob
|
|
|- idDynamicSceneEntity
|
|
|- idEncounterGroupMgr
|
|
|- idEntityEmitter
|
|
|- idEntityParticle
|
|
|- idExplodable
|
|
|- idFirstPersonEvent
|
|
| +- idFirstPersonPickup
|
|
|- idFuncChain
|
|
|- idFuncChainGroup
|
|
|- idFuncCloth
|
|
|- idFuncRotate
|
|
|- idFuncShadowCaster
|
|
|- idFuncSwing
|
|
|- idFuncWind
|
|
|- idGameChallenge
|
|
| |- idGameChallenge_Coop
|
|
| +- idGameChallenge_PVP
|
|
| +- idGameChallenge_DM
|
|
| |- idGameChallenge_DM_FFA
|
|
| +- idGameChallenge_DM_TDM
|
|
|- idGodRays
|
|
|- idHorizonScale
|
|
|- idInfo
|
|
| |- idAIHint
|
|
| | |- idAIAASHint
|
|
| | | |- idAISearchHintAnimation
|
|
| | | +- idAISearchHintAuto
|
|
| | |- idAIBackStandHint
|
|
| | +- idAICombatHint
|
|
| | +- idAICombatHint_SuppressionFirePoint
|
|
| |- idAIHintGroup
|
|
| | |- idAISearchHintGroup
|
|
| | +- idTurretSpawnerControlGroup
|
|
| |- idInfoAmbient
|
|
| |- idInfoCloudShot
|
|
| |- idInfoCover
|
|
| |- idInfoDebugMarker
|
|
| |- idInfoDebugText
|
|
| | +- idInfoDebugMapName
|
|
| |- idInfoDevComment
|
|
| |- idInfoExportHint
|
|
| |- idInfoGarageBay
|
|
| |- idInfoLinkSegment
|
|
| |- idInfoLookTarget
|
|
| |- idInfoLookTargetGroup
|
|
| |- idInfoNavExclusionVolume
|
|
| |- idInfoNavFlightVolume
|
|
| |- idInfoNavInclusionVolume
|
|
| |- idInfoNavIslandMarker
|
|
| |- idInfoNavObstacle
|
|
| |- idInfoNavRepulsor
|
|
| |- idInfoOrbit
|
|
| |- idInfoPath
|
|
| |- idInfoRoam
|
|
| |- idInfoSpawnPoint
|
|
| |- idInfoSplineChild
|
|
| |- idInfoStaticReflection
|
|
| |- idInfoTexLod
|
|
| |- idInfoTowLocation
|
|
| |- idInfoTraversal
|
|
| |- idInfoTraversalEndPoint
|
|
| |- idInfoVehicleObstacle
|
|
| |- idInfoZiplineTarget
|
|
| |- idInfo_TraversalPoint
|
|
| | +- idInfo_TraversalChain
|
|
| |- idInfo_Trigger_Facing_Target
|
|
| |- idScenePoint
|
|
| | |- idScenePoint_Arc
|
|
| | | |- idScenePoint_Combat
|
|
| | | |- idScenePoint_Look
|
|
| | | +- idScenePoint_Search
|
|
| | +- idScenePoint_Roam
|
|
| |- idScenePoint_UserGroup
|
|
| +- idTownGarageManager
|
|
|- idInfoAAS
|
|
|- idInfoFocus
|
|
|- idInfoLevelFadeIn
|
|
|- idInformationEntity
|
|
|- idInventoryStorage
|
|
|- idLaserGate
|
|
|- idLight
|
|
| |- idBuildArea
|
|
| +- idEnvArea
|
|
|- idLoot_Blocker
|
|
|- idLoot_ItemCase
|
|
|- idMover
|
|
|- idMoverModifier
|
|
|- idPathCorner
|
|
|- idPieceEmitter
|
|
|- idProgressionEntity
|
|
|- idRandomLoot
|
|
|- idReferenceMap
|
|
|- idRoamSpawn
|
|
|- idScriptMapEntity
|
|
|- idSound
|
|
|- idSoundDoor
|
|
|- idSoundEnvironment
|
|
|- idSpawnNode
|
|
| |- idPlayerStart
|
|
| |- idSpawnArea
|
|
| |- idSpawnNodeSplines
|
|
| +- idSpawnPoint
|
|
|- idSplinePath
|
|
| |- idLedge
|
|
| |- idNavSplinePath
|
|
| | |- idAISplinePath
|
|
| | +- idQuestNavSplinePath
|
|
| +- idSplinePathWithOrientation
|
|
|- idSplinePathMM
|
|
|- idStaticEntity
|
|
|- idTarget_AICommand
|
|
|- idTarget_AIEvent
|
|
|- idTarget_Achievement
|
|
|- idTarget_ActionNode
|
|
|- idTarget_ActionScript
|
|
|- idTarget_AddAggression
|
|
|- idTarget_AnimWebChangeState
|
|
|- idTarget_AnimWebChangeStateVia
|
|
|- idTarget_AnimWebPause
|
|
|- idTarget_AnimWebUnpause
|
|
|- idTarget_ApplyExplosionImpulse
|
|
|- idTarget_ApplyImpulse
|
|
|- idTarget_AssignVehicle
|
|
|- idTarget_AttachItem
|
|
|- idTarget_Bink
|
|
|- idTarget_Break
|
|
|- idTarget_C01_TurretFight
|
|
|- idTarget_ChangeAnimState
|
|
|- idTarget_ChangeColor
|
|
|- idTarget_ChangeSeatInfo
|
|
|- idTarget_ClearFakeEnemy
|
|
|- idTarget_CollisionDamage
|
|
|- idTarget_CompleteGame
|
|
|- idTarget_Conditional
|
|
|- idTarget_ConditionalAccessor
|
|
|- idTarget_CoopGiveScore
|
|
|- idTarget_CoopObjectiveTracker
|
|
|- idTarget_Count
|
|
|- idTarget_Count_Random
|
|
|- idTarget_Cvar
|
|
|- idTarget_Damage
|
|
|- idTarget_DeactivateDoor
|
|
|- idTarget_Disconnect
|
|
|- idTarget_Door
|
|
|- idTarget_DummyFire
|
|
|- idTarget_DynamicVehicleAiController
|
|
|- idTarget_EnableAIEvent
|
|
|- idTarget_EnableBlink
|
|
|- idTarget_EnableGroup
|
|
|- idTarget_Enemy
|
|
|- idTarget_EquipItem
|
|
|- idTarget_FadeSoundChannel
|
|
|- idTarget_FadeSoundGroup
|
|
|- idTarget_FakeEnemy
|
|
|- idTarget_FirstThinkActivate
|
|
|- idTarget_ForceDormancy
|
|
|- idTarget_GameChallengeGameOver
|
|
|- idTarget_GameChallengeSetState
|
|
|- idTarget_GameStateIntInc
|
|
|- idTarget_GameStateIntSet
|
|
|- idTarget_GiveItems
|
|
|- idTarget_GiveJobNote
|
|
|- idTarget_GiveSpecialEvent
|
|
|- idTarget_GiveSpecialEvent_Area
|
|
|- idTarget_GroupExpression
|
|
|- idTarget_GroupMessage
|
|
|- idTarget_Hide
|
|
|- idTarget_HideShowHands
|
|
|- idTarget_HideShowMesh
|
|
|- idTarget_InhibitControl
|
|
|- idTarget_InventoryCheck
|
|
|- idTarget_Job
|
|
|- idTarget_JobTimerGiveMoney
|
|
|- idTarget_JobTimerIncrementScore
|
|
|- idTarget_JobTimerStart
|
|
|- idTarget_JobTimerStop
|
|
|- idTarget_JobTriggered
|
|
|- idTarget_LayerChange
|
|
|- idTarget_LayerChange2
|
|
|- idTarget_LayerCheckpointModifier
|
|
|- idTarget_LayerStateChange
|
|
|- idTarget_LevelTransition
|
|
|- idTarget_LockDoor
|
|
|- idTarget_MakeActivatable
|
|
|- idTarget_ModifyGroup
|
|
|- idTarget_ModifyTraversalClass
|
|
|- idTarget_MoveToScenePoint
|
|
|- idTarget_MultiSound
|
|
|- idTarget_NextMap
|
|
|- idTarget_Path
|
|
|- idTarget_PauseAnim
|
|
|- idTarget_PlayAnim
|
|
|- idTarget_PlayVideo
|
|
|- idTarget_PlayVoiceOver
|
|
|- idTarget_PlayerCheckpoint
|
|
|- idTarget_PlayerCrouch
|
|
|- idTarget_PlayerLoadSpecialWeapon
|
|
|- idTarget_PlayerOverrideFocus
|
|
|- idTarget_PlayerStatModifier
|
|
|- idTarget_PlayerVehicleExit
|
|
|- idTarget_PlayerViewEffect
|
|
|- idTarget_PlayerWhiplash
|
|
|- idTarget_Print
|
|
|- idTarget_Remove
|
|
|- idTarget_RemoveItems
|
|
|- idTarget_RemoveJobNote
|
|
|- idTarget_RestartMapForMissionFailure
|
|
|- idTarget_SetAISolidState
|
|
|- idTarget_SetGroupCombatStage
|
|
|- idTarget_SetHelp
|
|
|- idTarget_SetHudElement
|
|
|- idTarget_SetInEncounterGroup
|
|
|- idTarget_SetOverrideScenePoint
|
|
|- idTarget_SetRestrictionVolume
|
|
|- idTarget_SetSceneModelFlag
|
|
|- idTarget_SetSpawnSpot
|
|
|- idTarget_SetUsable
|
|
|- idTarget_SetWorldSpawnAIUsesCoverFalse
|
|
|- idTarget_ShakeTrigger
|
|
|- idTarget_Show
|
|
|- idTarget_ShowGui
|
|
|- idTarget_ShowTargetHealth
|
|
|- idTarget_SoundDuck
|
|
|- idTarget_Spawn
|
|
|- idTarget_Spawn_Target
|
|
|- idTarget_StartSoundShader
|
|
|- idTarget_SwapFaction
|
|
|- idTarget_Teleport
|
|
|- idTarget_Test
|
|
| |- idTarget_TestActivation
|
|
| |- idTarget_TestCommand
|
|
| |- idTarget_TestEntity
|
|
| | +- idTarget_TestEntityBool
|
|
| |- idTarget_TestExit
|
|
| |- idTarget_TestInstruction
|
|
| |- idTarget_TestOverrideStatus
|
|
| |- idTarget_TestScreenCompare
|
|
| |- idTarget_TestScreenShot
|
|
| +- idTarget_TestShotsFired
|
|
|- idTarget_TestPlayerState
|
|
|- idTarget_TimedEvents
|
|
|- idTarget_Timeline
|
|
|- idTarget_Timer
|
|
|- idTarget_ToggleTraversal
|
|
|- idTarget_Turret_BlockCooldown
|
|
|- idTarget_TutorialGui
|
|
|- idTarget_UnlockDoor
|
|
|- idTarget_UnlockMap
|
|
|- idTarget_UnlockSecret
|
|
|- idTarget_UpdateVehicleKey
|
|
|- idTarget_Use
|
|
|- idTarget_VehicleAi
|
|
|- idTestEntity
|
|
|- idTest_AimPoint
|
|
|- idTest_ConeConstraint
|
|
|- idTest_MetaData_Bounds
|
|
|- idTest_MetaData_Circle
|
|
|- idTest_MetaData_Cylinder
|
|
|- idTest_MetaData_Cylinder2
|
|
|- idTest_MetaData_Fov
|
|
|- idTest_MetaData_FovPitch
|
|
|- idTest_MetaData_FovYaw
|
|
|- idTest_MetaData_Line
|
|
|- idTest_MetaData_Model
|
|
|- idTest_MetaData_MoveableSpheres
|
|
|- idTest_MetaData_Plane
|
|
|- idTest_MetaData_SectorPitch
|
|
|- idTest_MetaData_SectorYaw
|
|
|- idTest_MetaData_String
|
|
|- idTest_MetaData_Target
|
|
|- idTest_MetaData_WebPath
|
|
|- idTest_RandomAimPoint
|
|
|- idTest_RotationTracker
|
|
|- idTest_Sector
|
|
|- idTrigger
|
|
| |- idMultiplayerTrigger
|
|
| | +- idMultiplayerTrigger_BoostPad
|
|
| |- idSoundTrigger
|
|
| |- idTrigger_AIInteraction
|
|
| |- idTrigger_BoostPad
|
|
| |- idTrigger_Damage
|
|
| | +- idTrigger_TakeDamage
|
|
| |- idTrigger_DamageType
|
|
| |- idTrigger_DummyFire
|
|
| |- idTrigger_EventListener
|
|
| |- idTrigger_Exit
|
|
| | +- idTrigger_AIGroupsExit
|
|
| |- idTrigger_Facing
|
|
| |- idTrigger_GameChallenge
|
|
| |- idTrigger_Hurt
|
|
| |- idTrigger_Multiplayer
|
|
| |- idTrigger_OpenDoor
|
|
| |- idTrigger_PlayerIndefiniteSprint
|
|
| |- idTrigger_RemoveEntities
|
|
| |- idTrigger_SaveGame
|
|
| |- idTrigger_TestPlayerState
|
|
| |- idTrigger_TurretFireArea
|
|
| |- idTrigger_VehicleAI
|
|
| |- idTrigger_VehicleUse
|
|
| +- idTrigger_WastelandTownEnter
|
|
|- idUse
|
|
| |- idCombiner
|
|
| |- idMinigame
|
|
| |- idPropSmartLoot
|
|
| |- idProp_MissionPin
|
|
| |- idUseFirstPersonEvent
|
|
| |- idUseLedge
|
|
| +- idUseWallClimb
|
|
|- idVehicleAI
|
|
|- idVolume
|
|
| |- idAIDeathVolume
|
|
| |- idBounceSparks
|
|
| |- idCombatVolume
|
|
| |- idDoor_Laser
|
|
| |- idPerceptionVolume
|
|
| |- idVolume_DamageMultiplier
|
|
| |- idVolume_DynamicJob
|
|
| |- idVolume_EnterExit
|
|
| |- idVolume_ForceDormant
|
|
| |- idVolume_ItemGroup
|
|
| |- idVolume_KillDownedInjured
|
|
| |- idVolume_LocationCalling
|
|
| |- idVolume_PlayerEnvOverride
|
|
| |- idVolume_PlayerInteraction
|
|
| |- idVolume_PlayerViewEffect
|
|
| |- idVolume_RegimeRegenerate
|
|
| |- idVolume_Repairs
|
|
| |- idVolume_Restriction
|
|
| |- idVolume_RunCycleHint
|
|
| |- idVolume_ScenePoints
|
|
| |- idVolume_ShowGui_Leveltransition
|
|
| +- idVolume_Stairs
|
|
|- idWallClimb
|
|
|- idWaterEntity
|
|
| |- idDynamicWaterEntity
|
|
| +- idStaticWaterEntity
|
|
|- idWaypoint
|
|
| +- idSplineWaypoint
|
|
| +- idDroneSplineWaypoint
|
|
|- idWindEmitter
|
|
|- idWorldClipBounds
|
|
|- idWorldDestructibleEntity
|
|
|- idWorldspawn
|
|
|- mgFuncSaveGame
|
|
|- mgFunc_CaptureDemo
|
|
|- mgFunc_CaptureFrames
|
|
|- mgFunc_RecordDemo
|
|
|- mgFunc_StopCapture
|
|
|- mgFunc_StopDemo
|
|
+- mgTimelineController
|
|
*/
|
|
|
|
#define AGGREGATE_MIN 0 // Write the new value if it is less than the existing value.
|
|
#define AGGREGATE_MAX 1 // Write the new value if it is greater than the existing value.
|
|
#define AGGREGATE_SUM 2 // Add the new value to the existing value and write the result.
|
|
#define AGGREGATE_LAST 3 // Write the new value.
|
|
|
|
#define BUTTON_INVALID 0
|
|
#define BUTTON_ATTACK1 1
|
|
#define BUTTON_ATTACK2 2
|
|
#define BUTTON_USE 4
|
|
#define BUTTON_ZOOM 8
|
|
#define BUTTON_USE_AND_RELOAD 32
|
|
#define BUTTON_SPRINT 16
|
|
#define BUTTON_CHANGEWEAPON 64
|
|
#define BUTTON_WEAP_RELOAD 128
|
|
#define BUTTON_WEAP_NEXT 256
|
|
#define BUTTON_WEAP_PREV 512
|
|
#define BUTTON_WEAP_0 1024
|
|
#define BUTTON_WEAP_1 2048
|
|
#define BUTTON_WEAP_2 4096
|
|
#define BUTTON_WEAP_3 8192
|
|
#define BUTTON_WEAP_4 16384
|
|
#define BUTTON_WEAP_5 32768
|
|
#define BUTTON_WEAP_NEXT_IN_INV 65536
|
|
#define BUTTON_WEAP_PREV_IN_INV 131072
|
|
#define BUTTON_WEAP_PREV_EQUIPPED 262144
|
|
#define BUTTON_TOGGLEDUALWIELD 1048576
|
|
#define BUTTON_QUICK_USE 2097152
|
|
#define BUTTON_QUICK_SELECT 4194304
|
|
#define BUTTON_COVERMODE 8388608
|
|
#define BUTTON_CYCLE_TARGET 16777216
|
|
#define BUTTON_SCOREBOARD 67108864
|
|
#define BUTTON_INVENTORY 134217728
|
|
#define BUTTON_SWITCH_POS 33554432
|
|
#define BUTTON_TOGGLEFIREMODE_LEFT 268435456
|
|
#define BUTTON_TOGGLEFIREMODE_RIGHT 536870912
|
|
#define BUTTON_NEXT_QUICK_ITEM 1
|
|
#define BUTTON_PREV_QUICK_ITEM 2
|
|
|
|
#define HIGHLIGHT_COLOR_NONE 0
|
|
#define HIGHLIGHT_COLOR_USE 1
|
|
#define HIGHLIGHT_COLOR_ITEM 2
|
|
#define HIGHLIGHT_COLOR_LOOT 3
|
|
#define HIGHLIGHT_COLOR_EXPLODE 4
|
|
#define HIGHLIGHT_COLOR_MAX 5
|
|
|
|
#define HIGHLIGHT_FREQ_NORMAL 0
|
|
#define HIGHLIGHT_FREQ_FAST 1
|
|
|
|
#define JOINTMOD_NONE 0 // no modification
|
|
#define JOINTMOD_LOCAL 1 // modifies the joint's position or orientation in joint local space
|
|
#define JOINTMOD_LOCAL_OVERRIDE 2 // sets the joint's position or orientation in joint local space
|
|
#define JOINTMOD_MODEL 3 // modifies joint's position or orientation in model space
|
|
#define JOINTMOD_MODEL_OVERRIDE 4 // sets the joint's position or orientation in model space
|
|
#define JOINTMOD_PARENT_OVERRIDE 5
|
|
|
|
#define SND_CHANNEL_ANY 0
|
|
#define SND_CHANNEL_VOICE 1
|
|
#define SND_CHANNEL_VOICE2 2
|
|
#define SND_CHANNEL_BODY 3
|
|
#define SND_CHANNEL_BODY2 4
|
|
#define SND_CHANNEL_BODY3 5
|
|
#define SND_CHANNEL_WEAPON 6
|
|
#define SND_CHANNEL_WEAPON2 7
|
|
#define SND_CHANNEL_WEAPON3 8
|
|
#define SND_CHANNEL_WEAPON4 9
|
|
#define SND_CHANNEL_WEAPON5 10
|
|
#define SND_CHANNEL_WEAPON6 11
|
|
#define SND_CHANNEL_WEAPON7 12
|
|
#define SND_CHANNEL_WEAPON8 13
|
|
#define SND_CHANNEL_WEAPON9 14
|
|
#define SND_CHANNEL_WEAPON_AMBIENT 15
|
|
#define SND_CHANNEL_WEAPON_AMBIENT2 16
|
|
#define SND_CHANNEL_WEAPON_LOOP 17 // for looping fire sounds
|
|
#define SND_CHANNEL_WEAPON_LOOP_SOUND1 18
|
|
#define SND_CHANNEL_WEAPON_LOOP_SOUND2 19
|
|
#define SND_CHANNEL_WEAPON_LOOP_LEFT_HAND 20 // for looping fire sounds (second channel, left hand gun)
|
|
#define SND_CHANNEL_WEAPON_LOOP_LH_SOUND1 21
|
|
#define SND_CHANNEL_WEAPON_LOOP_LH_SOUND2 22
|
|
#define SND_CHANNEL_ITEM 23
|
|
#define SND_CHANNEL_ITEM2 24
|
|
#define SND_CHANNEL_BREATHE 25
|
|
#define SND_CHANNEL_HEARTBEAT1 26
|
|
#define SND_CHANNEL_HEARTBEAT2 27
|
|
#define SND_CHANNEL_GENERIC_AMBIENT 28 // Catch-all for sounds that don't fit into the above categories
|
|
#define SND_CHANNEL_WEAPON_ALERT 29
|
|
#define SND_CHANNEL_ENVIRONMENTAL_HAZARD 30
|
|
#define SND_CHANNEL_ENGINE_IDLE 31
|
|
#define SND_CHANNEL_ENGINE_LOADED 32
|
|
#define SND_CHANNEL_ENGINE_UNLOADED 33
|
|
#define SND_CHANNEL_ENGINE_DAMAGE 34
|
|
#define SND_CHANNEL_ENGINE_EXPLOSION 35
|
|
#define SND_CHANNEL_ENGINE_FIRE 36
|
|
#define SND_CHANNEL_SURFACE_ROLL 37
|
|
#define SND_CHANNEL_SURFACE_SLIDE 38
|
|
#define SND_CHANNEL_SURFACE_SCRAPE 39
|
|
#define SND_CHANNEL_SURFACE_TIRE_SCRAPE 40
|
|
#define SND_CHANNEL_SURFACE_BODY_SCRAPE 41
|
|
#define SND_CHANNEL_WIND 42
|
|
#define SND_CHANNEL_WIND2 43
|
|
#define SND_CHANNEL_WIND3 44
|
|
#define SND_CHANNEL_WIND4 45
|
|
#define SND_CHANNEL_CRASH 46
|
|
#define SND_CHANNEL_COLLIDE 47
|
|
#define SND_CHANNEL_EXPLODE 48
|
|
#define SND_CHANNEL_BOOST 49 // normal boosting sound
|
|
#define SND_CHANNEL_BOOST2 50 // additional jet sound on top of boost
|
|
#define SND_CHANNEL_BOOST3 51 // ran out (need a separate channel to lerp the other two down)
|
|
#define SND_CHANNEL_WATER 52
|
|
#define SND_CHANNEL_STEERING 53
|
|
#define SND_CHANNEL_MUSIC1 54
|
|
#define SND_CHANNEL_MUSIC2 55
|
|
#define SND_CHANNEL_MUSIC3 56
|
|
#define SND_CHANNEL_DOOR 57
|
|
#define SND_CHANNEL_WEAPON_1 58
|
|
#define SND_CHANNEL_WEAPON_2 59
|
|
#define SND_CHANNEL_TIREWOBBLE 60
|
|
#define SND_CHANNEL_TIRE_BUMP 61
|
|
#define SND_CHANNEL_VEH_SHIFT_DOWN 62
|
|
#define SND_CHANNEL_VEH_SHIFT_UP 63
|
|
#define SND_CHANNEL_VEH_BRAKE 64
|
|
#define SND_CHANNEL_ALERT 65
|
|
#define SND_CHANNEL_REPAIR 66
|
|
#define SND_CHANNEL_THROW_ACTOR 67
|
|
#define SND_CHANNEL_AMBIENT 68
|
|
#define SND_CHANNEL_DAMAGE 69
|
|
#define SND_CHANNEL_DEBUG 70
|
|
#define SND_CHANNEL_FX 71
|
|
#define SND_CHANNEL_QUAD_FIRE_LOOP 72
|
|
#define SND_CHANNEL_QUAD_FIRE 73
|
|
#define SND_CHANNEL_QUAD_FIRE2 74
|
|
#define SND_CHANNEL_QUAD_FIRE3 75
|
|
#define SND_CHANNEL_AI_STALK_ENEMY 76
|
|
#define SND_CHANNEL_JET_PACK 77
|
|
#define SND_CHANNEL_SYNC_MELEE_1 78
|
|
#define SND_CHANNEL_SYNC_MELEE_2 79
|
|
#define SND_CHANNEL_SYNC_MELEE_3 80
|
|
#define SND_CHANNEL_LOW_HEALTH 81
|
|
#define SND_CHANNEL_SPECIAL_FIRE_LOOP 82
|
|
#define SND_CHANNEL_SPECIAL_FIRE 83
|
|
#define SND_CHANNEL_SPECIAL_FIRE2 84
|
|
#define SND_CHANNEL_SPECIAL_FIRE3 85
|
|
#define SND_CHANNEL_ABILITY 86
|
|
#define SND_CHANNEL_GAMECHALLENGE 87
|
|
#define SND_CHANNEL_GAMECHALLENGE_LOOP 88
|
|
#define NUM_SND_CHANNELS 89
|
|
|
|
#define FX_NONE 0
|
|
#define FX_VEH_START_BOOST 1
|
|
#define FX_VEH_STOP_BOOST 2
|
|
#define FX_VEH_START_BOOST2 3
|
|
#define FX_VEH_STOP_BOOST2 4
|
|
#define FX_VEH_START_BOOST3 5
|
|
#define FX_VEH_STOP_BOOST3 6
|
|
#define FX_VEH_START_PUSH 7
|
|
#define FX_VEH_STOP_PUSH 8
|
|
#define FX_VEH_MEGABOOST 9
|
|
#define FX_VEH_QUAD_DAMAGE 10
|
|
#define FX_VEH_TELEPORTER 11
|
|
#define FX_VEH_START_STOMP 12
|
|
#define FX_VEH_STOP_STOMP 13
|
|
#define FX_VEH_START_SLAM 14
|
|
#define FX_VEH_START_SHOCKWAVE 15
|
|
#define FX_VEH_STOP_SHOCKWAVE 16
|
|
#define FX_VEH_START_AFTERSHOCKER 17
|
|
#define FX_VEH_STOP_AFTERSHOCKER 18
|
|
#define FX_VEH_START_MONSTERBASHER 19
|
|
#define FX_VEH_STOP_MONSTERBASHER 20
|
|
#define FX_VEH_START_ARMOR_RESTORE 21
|
|
#define FX_VEH_START_JUMP 22
|
|
#define FX_VEH_START_SLIDE 23
|
|
#define FX_VEH_STOP_SLIDE 24
|
|
#define FX_VEH_START_SMASH 25
|
|
#define FX_VEH_STOP_SMASH 26
|
|
#define FX_VEH_RALLY_CAP 27
|
|
#define FX_VEH_RALLY_CAP_3 28
|
|
#define FX_VEH_EMP_VICTIM 29
|
|
#define FX_VEH_EMP_INITIATED 30
|
|
#define FX_DRONE_FORWARD_THRUSTER 31
|
|
#define FX_DRONE_START_AFTERBURNER 32
|
|
#define FX_DRONE_STOP_AFTERBURNER 33
|
|
#define FX_DRONE_START_SCANNER 34
|
|
#define FX_DRONE_STOP_SCANNER 35
|
|
#define FX_HOVERTURRET 36
|
|
#define FX_CAPTURE_SKULL 37
|
|
#define FX_HOVERTURRET_FIRE 38
|
|
#define FX_HOVERTURRET_DESTROYED 39
|
|
#define FX_START_MARKER 40
|
|
#define FX_TRI_RALLY_3_START 41
|
|
#define FX_METEOR_START_MARKER 42
|
|
#define FX_TOUCH_MARKER 43
|
|
#define FX_TOUCH_MARKER_THIRD 44
|
|
#define FX_VEH_METEOR 45
|
|
#define FX_CHANGE_TEAM 46
|
|
#define FX_START_DAMAGE_LEVEL_1 47
|
|
#define FX_STOP_DAMAGE_LEVEL_1 48
|
|
#define FX_START_DAMAGE_LEVEL_2 49
|
|
#define FX_STOP_DAMAGE_LEVEL_2 50
|
|
#define FX_START_DAMAGE_LEVEL_3 51
|
|
#define FX_STOP_DAMAGE_LEVEL_3 52
|
|
#define FX_START_DAMAGE_LEVEL_4 53
|
|
#define FX_STOP_DAMAGE_LEVEL_4 54
|
|
#define FX_WEAPON_START_FIRE 55
|
|
#define FX_WEAPON_START_FIRE_LEFT 56
|
|
#define FX_WEAPON_START_FIRE_RIGHT 57
|
|
#define FX_WEAPON_START_THIRD_PERSON_FIRE 58
|
|
#define FX_WEAPON_START_FIRE_QUAD 59
|
|
#define FX_WEAPON_START_THIRD_PERSON_FIRE_QUAD 60
|
|
#define FX_WEAPON_STOP_FIRE 61
|
|
#define FX_WEAPON_STOP_FIRE_LEFT 62
|
|
#define FX_WEAPON_STOP_FIRE_RIGHT 63
|
|
#define FX_WEAPON_START_SHELL_EJECT 64
|
|
#define FX_WEAPON_BEGIN_RAISE 65
|
|
#define FX_WEAPON_RELOAD 66
|
|
#define FX_WEAPON_UNLOAD_AMMO 67
|
|
#define FX_WEAPON_CHAMBER_AMMO 68
|
|
#define FX_WEAPON_LOW_AMMO 69
|
|
#define FX_WEAPON_NO_AMMO 70
|
|
#define FX_WEAPON_START_ZOOM 71
|
|
#define FX_WEAPON_END_ZOOM 72
|
|
#define FX_WEAPON_LASERCUTTER_STARTCUTTING 73
|
|
#define FX_WEAPON_LASERCUTTER_STOPCUTTING 74
|
|
#define FX_WEAPON_LASERCUTTER_STARTENDPOINT 75
|
|
#define FX_WEAPON_LASERCUTTER_STOPENDPOINT 76
|
|
#define FX_WEAPON_LASERCUTTER_STARTCUTINDICATION 77
|
|
#define FX_WEAPON_LASERCUTTER_STOPCUTINDICATION 78
|
|
#define FX_WEAPON_LASERCUTTER_STARTCHARGE 79
|
|
#define FX_WEAPON_LASERCUTTER_STOPCHARGE 80
|
|
#define FX_WEAPON_LASERCUTTER_STARTSHOOTINGFAIL 81
|
|
#define FX_WEAPON_LASERCUTTER_STOPSHOOTINGFAIL 82
|
|
#define FX_LASER_ON 83
|
|
#define FX_LASER_OFF 84
|
|
#define FX_BFG_POWER_DOWN 85
|
|
#define FX_PROJECTILE_LAUNCH 86
|
|
#define FX_PROJECTILE_TRAIL 87
|
|
#define FX_PROJECTILE_BREAK 88
|
|
#define FX_PROJECTILE_STOP 89
|
|
#define FX_PROJECTILE_EXPLODE 90
|
|
#define FX_PROJECTILE_EXPLODE_DEFAULT 91
|
|
#define FX_PROJECTILE_EXPLODE_BLOOD_POOL 92
|
|
#define FX_PROJECTILE_EXPLODE_SLUDGE 93
|
|
#define FX_PROJECTILE_EXPLODE_DIRT 94
|
|
#define FX_PROJECTILE_EXPLODE_PLASTIC 95
|
|
#define FX_PROJECTILE_EXPLODE_GLASS 96
|
|
#define FX_PROJECTILE_EXPLODE_WATER 97
|
|
#define FX_PROJECTILE_EXPLODE_WOOD 98
|
|
#define FX_PROJECTILE_EXPLODE_STONE 99
|
|
#define FX_PROJECTILE_EXPLODE_METAL 100
|
|
#define FX_PROJECTILE_EXPLODE_AIR 101
|
|
#define FX_PROJECTILE_EXPLODE_ASPHALT 102
|
|
#define FX_AI_HEADSHOT 103
|
|
#define FX_AI_DMG_BLOOD 104
|
|
#define FX_AI_DMG_SMOKE 105
|
|
#define FX_AI_DMG_TANK 106 // used for when the tank on the jet guy should shoot off a flame spout
|
|
#define FX_AI_START_DMG_ELECTROCUTE 107
|
|
#define FX_AI_STOP_DMG_ELECTROCUTE 108
|
|
#define FX_AI_IMPALED 109
|
|
#define FX_AI_BFG_EXPLODE 110
|
|
#define FX_PROP_SPAWN 111
|
|
#define FX_PROP_PICKUP 112
|
|
#define FX_PROP_USE 113
|
|
#define FX_PROP_STOP_USE 114
|
|
#define FX_PROP_BREAK 115
|
|
#define FX_PROP_EXPLODE 116
|
|
#define FX_PROP_DAMAGE 117
|
|
#define FX_ZIPLINE_SPEED_SLOW 118
|
|
#define FX_ZIPLINE_SPEED_MED 119
|
|
#define FX_ZIPLINE_SPEED_FAST 120
|
|
#define FX_ZIPLINE_SPEED_LUDICROUS 121
|
|
#define FX_ZIPLINE_SPEED_SLOW_REVERSE 122
|
|
#define FX_ZIPLINE_SPEED_MED_REVERSE 123
|
|
#define FX_ZIPLINE_SPEED_FAST_REVERSE 124
|
|
#define FX_ZIPLINE_SPEED_LUDICROUS_REVERSE 125
|
|
#define FX_START_ON_FIRE 126
|
|
#define FX_STOP_ON_FIRE 127
|
|
#define FX_START_SURFACESWIMSTROKE_LEFT 128
|
|
#define FX_START_SURFACESWIMSTROKE_RIGHT 129
|
|
#define FX_START_SUBSURFACESWIMSTROKE_LEFT 130
|
|
#define FX_START_SUBSURFACESWIMSTROKE_RIGHT 131
|
|
#define FX_STOP_SWIMSTROKE 132
|
|
#define FX_START_DEATH_1 133
|
|
#define FX_START_DEATH_2 134
|
|
#define FX_START_DEATH_3 135
|
|
#define FX_START_DEATH_4 136
|
|
#define FX_CINEMATIC_1 137
|
|
#define FX_CINEMATIC_2 138
|
|
#define FX_CINEMATIC_3 139
|
|
#define FX_CINEMATIC_4 140
|
|
#define FX_CINEMATIC_5 141
|
|
#define FX_CINEMATIC_6 142
|
|
#define FX_CINEMATIC_7 143
|
|
#define FX_CINEMATIC_8 144
|
|
#define FX_CINEMATIC_9 145
|
|
#define FX_CINEMATIC_10 146
|
|
#define FX_LASERGATE_ON_0L 147
|
|
#define FX_LASERGATE_ON_0R 148
|
|
#define FX_LASERGATE_ON_1L 149
|
|
#define FX_LASERGATE_ON_1R 150
|
|
#define FX_LASERGATE_ON_2L 151
|
|
#define FX_LASERGATE_ON_2R 152
|
|
#define FX_LASERGATE_ON_3L 153
|
|
#define FX_LASERGATE_ON_3R 154
|
|
#define FX_LASERGATE_ON_4L 155
|
|
#define FX_LASERGATE_ON_4R 156
|
|
#define FX_LASERGATE_ON_5L 157
|
|
#define FX_LASERGATE_ON_5R 158
|
|
#define FX_LASERGATE_ON_6L 159
|
|
#define FX_LASERGATE_ON_6R 160
|
|
#define FX_LASERGATE_OFF_0L 161
|
|
#define FX_LASERGATE_OFF_0R 162
|
|
#define FX_LASERGATE_OFF_1L 163
|
|
#define FX_LASERGATE_OFF_1R 164
|
|
#define FX_LASERGATE_OFF_2L 165
|
|
#define FX_LASERGATE_OFF_2R 166
|
|
#define FX_LASERGATE_OFF_3L 167
|
|
#define FX_LASERGATE_OFF_3R 168
|
|
#define FX_LASERGATE_OFF_4L 169
|
|
#define FX_LASERGATE_OFF_4R 170
|
|
#define FX_LASERGATE_OFF_5L 171
|
|
#define FX_LASERGATE_OFF_5R 172
|
|
#define FX_LASERGATE_OFF_6L 173
|
|
#define FX_LASERGATE_OFF_6R 174
|
|
#define FX_STOP_LEFT_HAND_FX 175
|
|
#define FX_STOP_RIGHT_HAND_FX 176
|
|
#define FX_PLAYER_VIEW_HIT 177
|
|
#define FX_REPAIRBOT_LEFT_WELDER 178
|
|
#define FX_REPAIRBOT_RIGHT_WELDER 179
|
|
#define FX_REPAIRBOT_REAR_THRUSTER 180
|
|
#define FX_REPAIRBOT_EXPLODE1 181
|
|
#define FX_REPAIRBOT_EXPLODE2 182
|
|
#define FX_REPAIRBOT_ON_FIRE 183
|
|
#define FX_REPAIRBOT_SMOKE_TRAIL 184
|
|
#define FX_FFF_START_BLOOD 185
|
|
#define FX_FFF_START_TABLE_STAB 186
|
|
#define FX_EXPLODABLE_EXPLODE 187
|
|
#define FX_EXPLODABLE_STEAM_01 188
|
|
#define FX_EXPLODABLE_STEAM_02 189
|
|
#define FX_EXPLODABLE_STEAM_03 190
|
|
#define FX_EXPLODABLE_STEAM_04 191
|
|
#define FX_HEAD_SHOT 192
|
|
#define FX_ABILITY_ACTIVATION_SUCCESS 193
|
|
#define FX_ABILITY_ACTIVATION_END 194
|
|
#define FX_ABILITY_ACTIVATION_SUCCESS_LOCAL 195
|
|
#define FX_ABILITY_ACTIVATION_END_LOCAL 196
|
|
#define FX_SUMMON_DEMON_IMP 197
|
|
#define FX_MAX_CONDITIONS 198
|
|
|
|
#define CONTENTS_SOLID 1 // an eye is never valid in a solid
|
|
#define CONTENTS_OPAQUE 2 // blocks visibility (for ai)
|
|
#define CONTENTS_WATER 4 // used for water
|
|
#define CONTENTS_PLAYERCLIP 8 // solid to players
|
|
#define CONTENTS_MONSTERCLIP 16 // solid to monsters
|
|
#define CONTENTS_VEHICLECLIP 32 // solid to vehicles
|
|
#define CONTENTS_MOVEABLECLIP 64 // solid to moveable entities
|
|
#define CONTENTS_SHOTCLIP 128 // solid to projectiles
|
|
#define CONTENTS_IKCLIP 256 // solid to IK
|
|
#define CONTENTS_AIAWARE 512 // other things AIs want to detect so they can shoot or use it
|
|
#define CONTENTS_AI 1024 // used for AIs
|
|
#define CONTENTS_PROJECTILE 2048 // used for projectiles
|
|
#define CONTENTS_CORPSE 4096 // used for dead bodies
|
|
#define CONTENTS_BREAKABLE 8192 // breakable
|
|
#define CONTENTS_TRIGGER 16384 // used for triggers
|
|
#define CONTENTS_PLAYER 32768 // used for players
|
|
#define CONTENTS_VEHICLE 65536 // used for vehicles
|
|
#define CONTENTS_OBSTACLE 131072 // used to indicate to obstacle avoidance code whether to consider an entity an obstacle
|
|
#define CONTENTS_CONTEXTUALCOVER_CLIP 262144 // solid to the contextual cover system
|
|
#define CONTENTS_PLAYERCOVERCLIP 524288 // considered opaque for purposes of player taking cover
|
|
#define CONTENTS_MONSTERCOVERCLIP 1048576 // considered opaque for purposes of AI taking cover
|
|
#define CONTENTS_PLAYERFOCUS 2097152 // considered lootable and usable by the focustracker
|
|
#define CONTENTS_PUSHABLE 4194304 // can be pushed (needs to be a bit instead of only a bool flag so objects we would've had a 0 contents, it would be a physicsStatic object)
|
|
#define CONTENTS_SHIELD 8388608 // Authority shields
|
|
#define CONTENTS_TICKCLIP 16777216 // solid to ticks only (intended for water presentation) - deprecate?
|
|
#define CONTENTS_AAS_FLY 33554432 // Fly AAS
|
|
#define CONTENTS_AAS_SOLID 67108864 // solid for AAS
|
|
#define CONTENTS_AAS_OBSTACLE 134217728 // used to compile an obstacle into AAS that can be enabled/disabled
|
|
#define CONTENTS_AAS_CLUSTER_PORTAL 268435456 // used to define a cluster portal area in the AAS
|
|
#define CONTENTS_AAS_WALKABLE_WALL 536870912 // used to define a wall (or ceiling) which is walkable in the AAS
|
|
#define CONTENTS_NOCOVER 1073741824 // don't place any cover points within this brush
|
|
#define CONTENTS_DO_NOT_USE -2147483648 // this should never be set explicitly except by idClipModel::Init() and is used only to catch cases where a clip model's contents are not set
|
|
|
|
#define SET_DEFAULT 0
|
|
#define SET_INDOOR_SMALL_ROOM 1
|
|
#define SET_INDOOR_MID_ROOM 257
|
|
#define SET_INDOOR_LARGE_ROOM 513
|
|
#define SET_INDOOR_LARGE_HALL 769
|
|
#define SET_INDOOR_CORIDOR 2049
|
|
#define SET_OUTDOOR_OPEN_SPACE 2
|
|
#define SET_OUTDOOR_COURT_YARD 514
|
|
#define SET_OUTDOOR_SINGLE_WALL 770
|
|
|
|
#define AAS_MONSTER16 0
|
|
#define AAS_MONSTER24 1
|
|
#define AAS_MONSTER32 2
|
|
#define AAS_MONSTER48 3
|
|
#define AAS_MONSTER96 4
|
|
#define AAS_MONSTER128 5
|
|
#define AAS_MONSTER160 6
|
|
#define AAS_VEHICLE 7
|
|
#define AAS_FILE_EXTENSION_MAX 8
|
|
|
|
#define BIND_NONE 0
|
|
#define BIND_ORIENTED 1 // the bind object should be oriented with the bind parent
|
|
#define BIND_SNAPTO 2 // snap the bind object to the parent with no local transform(otherwise a local transform is calculated based on offsets at bind time)
|
|
#define BIND_LOCKLOCALOFFSET 4 // don't allow any lock offset to occur
|
|
|
|
#define MASK_SOLID 1
|
|
#define MASK_MONSTERSOLID 106513
|
|
#define MASK_PLAYER 32768
|
|
#define MASK_PLAYERSOLID 107529
|
|
#define MASK_PLAYERCOOPSOLID 74761
|
|
#define MASK_VEHICLESOLID 107553
|
|
#define MASK_NPCSOLID 17 // don't collide against other NPCs / AI
|
|
#define MASK_PLAYERDEADSOLID 9
|
|
#define MASK_PLAYERCLIP 8
|
|
#define MASK_WATER 4
|
|
#define MASK_OPAQUE 3
|
|
#define MASK_PLAYERFOCUS 2209987
|
|
#define MASK_SHOT 8462469
|
|
#define MASK_PROJECTILE 8495233
|
|
#define MASK_RADIUS_DAMAGE 8462337
|
|
#define MASK_THIRDPERSONCROSSHAIR 238593
|
|
#define MASK_PLAYERCOVER 8193 // ID_DOOM4
|
|
|
|
#define ANIMWEB_EVENT_NONE -1
|
|
#define ANIMWEB_EVENT_START_BLEND_IN 0 // signaled for a node that is just starting to blend in
|
|
#define ANIMWEB_EVENT_START_BLEND_OUT 1 // signaled for a node that is just starting to blend out
|
|
#define ANIMWEB_EVENT_END_BLEND_IN 2 // signaled for a node that has just finished blending in
|
|
#define ANIMWEB_EVENT_END_BLEND_OUT 3 // signaled for a node that has just finished blending out
|
|
#define ANIMWEB_EVENT_DEST_START_BLEND_IN 4 // signaled when the destination node has started to blend in
|
|
#define ANIMWEB_EVENT_DEST_END_BLEND_IN 5 // signaled when the destination node has finished blending in
|
|
#define ANIMWEB_EVENT_DEST_CLAMPED 6 // signaled when the destination node has clamped/reached the end
|
|
#define ANIMWEB_EVENT_BLEND_NEXT_FRAME 7 // signaled 1 game frame (NOT ANIMATION FRAME!) before the current node blends out
|
|
#define ANIMWEB_EVENT_CLAMP_NEXT_FRAME 8 // signaled 1 game frame (NOT ANIMATION FRAME!) before the current node clamps. NOTE this is only sent for the last node in a path, and only if the node is clamped.
|
|
#define ANIMWEB_EVENT_MAX 9
|
|
|
|
#define DEATH_INSTANT 0 // normal death, when health < 0, explode
|
|
#define DEATH_IMPULSE_1 1 // impulse into air, explode when it settles
|
|
#define DEATH_PULL_FROM_CAMERA 2 // freeze the camera and watch the car fall away
|
|
|
|
#define AIHINT_PRIMITIVE_CIRCLE 0 // primitive is a circle (oriented on XY plane)
|
|
#define AIHINT_PRIMITIVE_CYLINDER 1 // primitive is a cylinder (axis along Z)
|
|
#define AIHINT_PRIMITIVE_SPHERE 2 // primitive is a sphere
|
|
#define AIHINT_PRIMITIVE_PLANE 3 // primitive is a plane with entity's spawn orientation as normal and spawn position as a point on the plane
|
|
#define AIHINT_PRIMITIVE_VOLUME 4 // primitive is a volume
|
|
#define AIHINT_PRIMITIVE_MAX 5
|
|
|
|
#define ACTORCLASS_PLAYER 0
|
|
#define ACTORCLASS_HUMAN 1
|
|
#define ACTORCLASS_MUTANT 2
|
|
#define ACTORCLASS_ROBOT 3
|
|
#define ACTORCLASS_MAX 4
|
|
|
|
#define TALK_NEVER 0 // never talk
|
|
#define TALK_DEAD 1 // talk when dead?
|
|
#define TALK_OK 2 // talk when ok
|
|
#define TALK_BUSY 3 // talk while busy
|
|
#define TALK_MAX 4 // number of talk states (unused for script)
|
|
|
|
#define VISPOINT_EYES 0 // eyes
|
|
#define VISPOINT_CENTER 1 // center
|
|
|
|
#define AIMPOINT_ORIGIN 0 // aiming at target's origin
|
|
#define AIMPOINT_HEAD 1 // aiming at target's head
|
|
#define AIMPOINT_TORSO 2 // aiming at target's torso
|
|
#define AIMPOINT_CENTER 3 // aiming at target's center of mass
|
|
#define AIMPOINT_LEGS 4 // aiming at target's legs
|
|
#define AIMPOINT_FEET 5 // aiming at target's feet
|
|
#define AIMPOINT_BEST 6 // special aim point which means choose best aim point on the target
|
|
#define AIMPOINT_EYELEVEL 7 // special aim point which means the eye-level of the entity aiming
|
|
#define AIMPOINT_LOOKAHEAD 8 // special aim point which is placed in front of the target, used for NPCs walking past other NPCs
|
|
#define AIMPOINT_MAX 9 // number of aim points (unused for script)
|
|
|
|
#define MODIFY_TARGETING_1 1
|
|
#define MODIFY_TARGETING_2 2
|
|
|
|
#define ACCURACY_FROMSKILL 0 // determine the accuracy based on the AI's skill level
|
|
#define ACCURACY_HORRIBLE 1 // aim is horrible
|
|
#define ACCURACY_POOR 2 // aim is poor
|
|
#define ACCURACY_DECENT 3 // aim is decent
|
|
#define ACCURACY_GOOD 4 // aim is good
|
|
#define ACCURACY_EXCELLENT 5 // aim is excellent
|
|
#define ACCURACY_PERFECT 6 // aim is perfect
|
|
#define ACCURACY_MAX 7 // number of accuracy types (unused for script)
|
|
|
|
#define LOOKRATE_NORMAL 0 // used when an actor is looking at something other than a target
|
|
#define LOOKRATE_FAST 1 // used when an actor is looking at something other than a target and should turn their head quickly
|
|
#define LOOKRATE_MAX 2
|
|
|
|
#define AIDODGEDIR_NONE 0 // no direction
|
|
#define AIDODGEDIR_FORWARD 1 // dodge forward
|
|
#define AIDODGEDIR_RIGHT 2 // dodge to the right
|
|
#define AIDODGEDIR_LEFT 3 // dodge to the left
|
|
#define AIDODGEDIR_BACK 4 // dodge backwards
|
|
#define AIDODGEDIR_MAX 5 // number of dodge direction (unused for script)
|
|
|
|
#define DAMAGEDIR_NONE 0 // no direction
|
|
#define DAMAGEDIR_FRONT 1 // damage from the front
|
|
#define DAMAGEDIR_BACK 2 // damage from the rear
|
|
#define DAMAGEDIR_LEFT 3 // damage from the left
|
|
#define DAMAGEDIR_RIGHT 4 // damage from the right
|
|
#define DAMAGEDIR_FRONTLEFT 5 // damage from the left of front
|
|
#define DAMAGEDIR_FRONTRIGHT 6 // damage from the right of front
|
|
#define DAMAGEDIR_BACKLEFT 7 // damage from the left of rear
|
|
#define DAMAGEDIR_BACKRIGHT 8 // damage from the right of rear
|
|
#define DAMAGEDIR_MAX 9 // number of damage directions (unused for script)
|
|
|
|
#define DAMAGEINTENSITY_NONE 0 // no damage
|
|
#define DAMAGEINTENSITY_LIGHT 1 // light damage
|
|
#define DAMAGEINTENSITY_MEDIUM 2 // medium damage
|
|
#define DAMAGEINTENSITY_HEAVY 3 // heavy damage
|
|
#define DAMAGEINTENSITY_MAX 4 // number of damage intensities (unused for script)
|
|
|
|
#define AIDIR_FRONT 0 // front
|
|
#define AIDIR_FRONT_LEFT 1 // front-left
|
|
#define AIDIR_LEFT 2 // left
|
|
#define AIDIR_BEHIND_LEFT 3 // behind-left
|
|
#define AIDIR_BEHIND 4 // behind
|
|
#define AIDIR_BEHIND_RIGHT 5 // behind-right
|
|
#define AIDIR_RIGHT 6 // right
|
|
#define AIDIR_FRONT_RIGHT 7 // front-right
|
|
#define AIDIR_MAX 8 // number of directions (unused for script)
|
|
|
|
#define ALERTCYCLE_RELAXED 1 // relaxed
|
|
#define ALERTCYCLE_SEARCH 2 // search
|
|
#define ALERTCYCLE_COMBAT 3 // combat
|
|
#define ALERTCYCLE_PAIN 4 // pain
|
|
#define ALERTCYCLE_DYING 5 // dying
|
|
#define ALERTCYCLE_DEAD 6 // dead
|
|
#define ALERTCYCLE_ANIMATE 7 // animate
|
|
#define ALERTCYCLE_AVOID 8 // avoid
|
|
#define ALERTCYCLE_CONTROLLED 9 // controlled by a player
|
|
#define ALERTCYCLE_ERROR 10 // error
|
|
#define ALERTCYCLE_MAX 11 // number of alert cycles (unused for script)
|
|
|
|
#define AISUBWEB_RELAXED 0 // relaxed SubWeb
|
|
#define AISUBWEB_COMBAT 1 // combat SubWeb
|
|
#define AISUBWEB_HOSTILE 2 // hostile SubWeb
|
|
#define AISUBWEB_SEARCH 3 // search SubWeb
|
|
#define AISUBWEB_PAIN 4 // pain SubWeb
|
|
#define AISUBWEB_PAIN_STAGGER 5 // staggering-pain SubWeb
|
|
#define AISUBWEB_PAIN_MOVING 6 // moving-pain SubWeb
|
|
#define AISUBWEB_PAIN_SHOCK 7 // shocking-pain SubWeb
|
|
#define AISUBWEB_DYING 8 // dying SubWeb
|
|
#define AISUBWEB_ACTIONSCRIPT 9 // ActionScript SubWeb
|
|
#define AISUBWEB_FCOVER 10 // find cover SubWeb?
|
|
#define AISUBWEB_MELEE 11 // melee SubWeb
|
|
#define AISUBWEB_SURPRISE 12 // surprise SubWeb
|
|
#define AISUBWEB_DIVE 13 // dive SubWeb
|
|
#define AISUBWEB_DODGE 14 // dodge SubWeb
|
|
#define AISUBWEB_GRENADE 15 // grenade SubWeb
|
|
#define AISUBWEB_THROW 16 // throw SubWeb
|
|
#define AISUBWEB_OVERRIDE 17 // OverRide SubWeb
|
|
#define AISUBWEB_TURRET 18 // Turret SubWeb
|
|
#define AISUBWEB_RCCONTROL 19 // Using RC car controller
|
|
#define AISUBWEB_TRAVERSAL 20 // traversal animations SubWeb
|
|
#define AISUBWEB_ZIPLINE 21 // using ziplines
|
|
#define AISUBWEB_DROPSHIP_FALL 22 // falling from dropship
|
|
#define AISUBWEB_MAX 23 // number of SubWebs (unused for script)
|
|
|
|
#define ANIMOVERRIDE_NONE 0 // no override
|
|
#define ANIMOVERRIDE_SURPRISE_START 1 // first surprise override (unused for script)
|
|
#define ANIMOVERRIDE_SURPRISE_FORWARD 1 // surprised from the front
|
|
#define ANIMOVERRIDE_SURPRISE_BACKWARD 2 // surprised from the rear
|
|
#define ANIMOVERRIDE_SURPRISE_LEFT 3 // surprised from the left
|
|
#define ANIMOVERRIDE_SURPRISE_RIGHT 4 // surprised from the right
|
|
#define ANIMOVERRIDE_SURPRISE_END 4 // last surprise override (unused for script)
|
|
#define ANIMOVERRIDE_SEARCH_START 5 // first search override (unused for script)
|
|
#define ANIMOVERRIDE_SEARCH_INTRO_FORWARD 5 // relaxed to search when alert was in front of AI
|
|
#define ANIMOVERRIDE_SEARCH_INTRO_BACKWARD 6 // relaxed to search when alert was behind AI
|
|
#define ANIMOVERRIDE_SEARCH_INTRO_LEFT 7 // enter search when alert was to the left of AI
|
|
#define ANIMOVERRIDE_SEARCH_INTRO_RIGHT 8 // enter search when alert was to the right of AI
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_OVER 9 // look over (a ledge) from idle
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_UNDER 10 // look under (a table or into a crouch area) from idle
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_LEFT 11 // look to the left from idle
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_RIGHT 12 // look to the right from idle
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_UP 13 // look up (at a hole or a ladder) from idle
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_AROUND 14 // look around randomly
|
|
#define ANIMOVERRIDE_SEARCH_LOOK_BOTH 15 // look left and right
|
|
#define ANIMOVERRIDE_SEARCH_GIVE_UP 16 // give up searching
|
|
#define ANIMOVERRIDE_SEARCH_END 16 // last search override (unused for script)
|
|
#define ANIMOVERRIDE_DIVE_START 17 // first dive override (unused for script)
|
|
#define ANIMOVERRIDE_DIVE_FORWARD 17 // dive forwards
|
|
#define ANIMOVERRIDE_DIVE_RIGHT 18 // dive to the right
|
|
#define ANIMOVERRIDE_DIVE_LEFT 19 // dive to the left
|
|
#define ANIMOVERRIDE_DIVE_BACK 20 // dive backwards
|
|
#define ANIMOVERRIDE_DIVE_END 20 // last dive override (unused for script)
|
|
#define ANIMOVERRIDE_DODGE_START 21 // first dodge override (unused for script)
|
|
#define ANIMOVERRIDE_DODGE_FORWARD 21 // dodge forward
|
|
#define ANIMOVERRIDE_DODGE_RIGHT 22 // dodge to the right
|
|
#define ANIMOVERRIDE_DODGE_LEFT 23 // dodge to the left
|
|
#define ANIMOVERRIDE_DODGE_BACK 24 // dodge backward
|
|
#define ANIMOVERRIDE_DODGE_END 24 // last dodge override (unused for script)
|
|
#define ANIMOVERRIDE_FLINCH_LEFT 25
|
|
#define ANIMOVERRIDE_FLINCH_RIGHT 26
|
|
#define ANIMOVERRIDE_COWER 27
|
|
#define ANIMOVERRIDE_GRENADE_START 28 // first grenade override (unused for script)
|
|
#define ANIMOVERRIDE_GRENADE_THROW_HIGHCOVER_LEFT 28 // throw a grenade from high cover to the left
|
|
#define ANIMOVERRIDE_GRENADE_THROW_HIGHCOVER_RIGHT 29 // throw a grenade from high cover to the right
|
|
#define ANIMOVERRIDE_GRENADE_THROW_LOWCOVER_LEFT 30 // throw a grenade from low cover to the left
|
|
#define ANIMOVERRIDE_GRENADE_THROW_LOWCOVER_RIGHT 31 // throw a grenade from high cover to the right
|
|
#define ANIMOVERRIDE_GRENADE_THROW 32 // throw a grenade from an open position
|
|
#define ANIMOVERRIDE_GRENADE_ROLL 33 // roll a grenade out from an open position
|
|
#define ANIMOVERRIDE_GRENADE_END 33 // last grenade override (unused for script)
|
|
#define ANIMOVERRIDE_MELEE_START 34 // first melee override (unused for script)
|
|
#define ANIMOVERRIDE_MELEE_PUNCH 34 // this is a punch animation for a character holding a ranged weapon
|
|
#define ANIMOVERRIDE_MELEE_KICK 35 // this is a kick animation, normally for a character holding a ranged weapon
|
|
#define ANIMOVERRIDE_MELEE_FORWARD 36 // a non-specific forward melee attack
|
|
#define ANIMOVERRIDE_MELEE_BACK 37 // this is a melee attack which includes a 180-degree turn to attack a target behind the initial position
|
|
#define ANIMOVERRIDE_MELEE_LEFT 38 // melee attack including a 90 degree left turn (or just to that side)
|
|
#define ANIMOVERRIDE_MELEE_RIGHT 39 // melee attack including a 90 degree right turn (or just to that side)
|
|
#define ANIMOVERRIDE_MELEE_CROUCHED_FORWARD 40 // melee attack while crouched
|
|
#define ANIMOVERRIDE_MELEE_MEDIUM 41 // medium range melee attack (tentacle)
|
|
#define ANIMOVERRIDE_MELEE_LONG 42 // long range melee attack (tentacle)
|
|
#define ANIMOVERRIDE_MELEE_MOVING_FORWARD 43 // moving forward attack
|
|
#define ANIMOVERRIDE_MELEE_TAKEDOWN 44
|
|
#define ANIMOVERRIDE_MELEE_END 44 // last melee override (unused for script)
|
|
#define ANIMOVERRIDE_LEAP_ATTACK 45 // leaping melee attack
|
|
#define ANIMOVERRIDE_RAGE_ATTACK 46 // frantic rage attack
|
|
#define ANIMOVERRIDE_THROW_PROJECTILE 47 // throw knife or other object
|
|
#define ANIMOVERRIDE_CROUCHED_THROW_PROJECTILE 48 // throw projectile while crouched
|
|
#define ANIMOVERRIDE_MOVING_THROW_PROJECTILE 49 // throw projectile while moving
|
|
#define ANIMOVERRIDE_SHOOT 50 // go into shooting cycle
|
|
#define ANIMOVERRIDE_BLOCKED 51 // blocked
|
|
#define ANIMOVERRIDE_BLOCKED_OUTSIDER 52 // blocked by outsider
|
|
#define ANIMOVERRIDE_BLOCKED_ACCEPTED 53 // blocked by accepted
|
|
#define ANIMOVERRIDE_BLOCKED_HEROIC 54 // blocked by heroic
|
|
#define ANIMOVERRIDE_BUMPED 55 // bumped
|
|
#define ANIMOVERRIDE_INVESTIGATE_BODY 56 // peering over dead body
|
|
#define ANIMOVERRIDE_ANGRY_RAGE 57 // show RAGE!
|
|
#define ANIMOVERRIDE_TAUNT_RAGE 58 // show RAGE!
|
|
#define ANIMOVERRIDE_TRAVERSAL_START 59
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_256_JUMP_LEFT 59 // entrance to play modular climb sequence (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_LEDGE_64 60 // entrance to play climbledge64
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_LEDGE_128 61 // entrance to play climbledge128
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_LEDGE_256 62 // entrance to play climbledge256
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_LEDGE_512 63 // entrance to play climbledge512
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_PIPE_CAGE_96 64 // entrance to play climbpipecage96
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_RAIL_128 65 // entrance to play climbrail128
|
|
#define ANIMOVERRIDE_ENTRANCE_CLIMB_RAIL_256 66 // entrance to play climbrail256
|
|
#define ANIMOVERRIDE_ENTRANCE_CRAWL_DOWN_PIPE_0 67 // entrance to play crawldownpipe0
|
|
#define ANIMOVERRIDE_ENTRANCE_CRAWL_DOWN_PIPE_64 68 // entrance to play crawldownpipe64
|
|
#define ANIMOVERRIDE_ENTRANCE_CRAWL_LARGE_PIPE_64 69 // entrance to play crawllargepipe64
|
|
#define ANIMOVERRIDE_ENTRANCE_CRAWL_UP_PIPE_0 70 // entrance to play crawluppipe0
|
|
#define ANIMOVERRIDE_ENTRANCE_FLOOR_ROUND_COVER_UP_0 71 // entrance to play floorroundcoverup0
|
|
#define ANIMOVERRIDE_ENTRANCE_FLOOR_ROUND_PANEL_UP_0 72 // entrance to play floorroundpanelup0
|
|
#define ANIMOVERRIDE_ENTRANCE_FLOOR_SQUARE_PANEL_UP_0 73 // entrance to play floorsquarepanelup0
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_FORWARD_128 74 // entrance to play jumpforward128
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_FORWARD_256 75 // entrance to play jumpforward256
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_FORWARD_384 76 // entrance to play jumpforward384
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEDGE_DOWN_64 77 // entrance to play jumpledgedown64
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEDGE_DOWN_128 78 // entrance to play jumpledgedown128
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEDGE_DOWN_192 79 // entrance to play jumpledgedown192
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEDGE_DOWN_256 80 // entrance to play jumpledgedown256
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEDGE_OUT_256 81 // entrance to play jumpledgeout256
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_UP_64_THEN_192 82 // entrance to play jumprailup64then192 (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_UP_256 83 // entrance to play jumprailup256 (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_DOWN_0 84 // entrance to play jumpraildown0
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_DOWN_64 85 // entrance to play jumpraildown64land (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_DOWN_128 86 // entrance to play jumpraildown128land
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_DOWN_128_DOUBLE 87 // entrance to play jumpraildown128double
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_DOWN_256 88 // entrance to play jumpraildown256
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_OUT_128 89 // entrance to play jumprailout128land (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_RAIL_OUT_256 90 // entrance to play jumprailout256
|
|
#define ANIMOVERRIDE_ENTRANCE_JUMP_LEFT_WALL_UP_256 91 // entrance to play jumpleftwallup256 (new)
|
|
#define ANIMOVERRIDE_ENTRANCE_PIPE_DROP_DOWN_192 92 // entrance to play pipedropdown192
|
|
#define ANIMOVERRIDE_ENTRANCE_PIPE_DROP_DOWN_CLING_192 93 // entrance to play pipedropdowncling192
|
|
#define ANIMOVERRIDE_ENTRANCE_PIPE_DROP_OUT_192 94 // entrance to play pipedropout192
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_ARMS_512 95 // entrance to play poleshimmyarms512
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_ARMS_768 96 // entrance to play poleshimmyarms768
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_ARMS_1024 97 // entrance to play poleshimmyarms1024
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_QUAD_512 98 // entrance to play poleshimmyquad512
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_QUAD_768 99 // entrance to play poleshimmyquad768
|
|
#define ANIMOVERRIDE_ENTRANCE_POLE_SHIMMY_QUAD_1024 100 // entrance to play poleshimmyquad1024
|
|
#define ANIMOVERRIDE_ENTRANCE_SLIDE_PIPE_0 101 // entrance to play slidepipe0
|
|
#define ANIMOVERRIDE_ENTRANCE_SLIDE_PIPE_64 102 // entrance to play slidepipe64
|
|
#define ANIMOVERRIDE_ENTRANCE_SWOOP_RAIL_DOWN_128 103 // entrance to play swoopraildown128
|
|
#define ANIMOVERRIDE_ENTRANCE_TRACK_DROP_240 104 // entrance to play trackdrop240
|
|
#define ANIMOVERRIDE_ENTRANCE_WALL_ENTRANCE 105 // entrance to play wallentrance
|
|
#define ANIMOVERRIDE_ENTRANCE_WELL_RAFTER_ENTRANCE320 106 // entrance to play rafterentrance320
|
|
#define ANIMOVERRIDE_ENTRANCE_WELL_SWOOP_RAIL_ENTRANCE128 107 // entrance to play swooprailentrance128
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_BARSWING 108 // traversal to play roof horizontal bar swing evasion/attack
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_BOUNCE_LEFT 109 // traversal to play wallrun evasion/attack
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_BOUNCE_RIGHT 110 // traversal to play wallrun evasion/attack
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_RAILRUN_LEFT 111 // traversal to play railrun evasion/attack
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_WALLRUN_RIGHT 112 // traversal to play wallrun evasion/attack
|
|
#define ANIMOVERRIDE_TRAVERSAL_ATTACK_JUMP_COVER 113 // traversal to play jump cover with optional attack
|
|
#define TRAVERSAL_EMERGENCY_DIVE_COVER 114 // traversal to play to dive over cover
|
|
#define ANIMOVERRIDE_TRAVERSAL_END 114
|
|
#define ANIMOVERRIDE_CUSTOM 115 // custom override
|
|
#define ANIMOVERRIDE_MAX 116 // number of overrides (unused for script)
|
|
|
|
#define AIMELEE_NONE 1 // none
|
|
#define AIMELEE_FORWARD 2 // melee to the front
|
|
#define AIMELEE_BACK 4 // melee to the rear
|
|
#define AIMELEE_LEFT 8 // melee to the left
|
|
#define AIMELEE_RIGHT 16 // melee to the right
|
|
#define AIMELEE_KICK 32 // melee by kicking
|
|
#define AIMELEE_PUNCH 64 // melee by punching
|
|
#define AIMELEE_MEDIUM 128 // medium range attack (tentacle)
|
|
#define AIMELEE_LONG 256 // long range attack (tentacle)
|
|
#define AIMELEE_CROUCH_FORWARD 512 // melee to the front while crouching
|
|
#define AIMELEE_CROUCH_BACK 1024 // melee to the rear while crouching
|
|
#define AIMELEE_CROUCH_LEFT 2048 // melee to the left while crouching
|
|
#define AIMELEE_CROUCH_RIGHT 4096 // melee to the right while crouching
|
|
#define AIMELEE_RAGE 8192 // frantic rage attack (substitute for melee forward)
|
|
#define AIMELEE_MOVING_FORWARD 16384 // continue moving forward and attack
|
|
#define AIMELEE_TAKEDOWN 32768 // a stealth take down from behind
|
|
#define AIMELEE_CROUCH_TYPES 7680
|
|
#define AIMELEE_CLOSE 96 // use close-combat melee (kicking & punching)
|
|
#define AIMELEE_ALL -1 // all types of melee are available
|
|
#define AIMELEE_MAX 16 // number of melee types (unused for script)
|
|
|
|
#define TURN_NONE 0 // no turn
|
|
#define TURN_LEFT 1 // turn to the left
|
|
#define TURN_RIGHT 2 // turn to the right
|
|
#define TURN_MAX 3 // number of turn directions (unused for script)
|
|
|
|
#define PAIN_NONE 0 // no pain
|
|
#define PAIN_FLINCH 1 // ai should flinch
|
|
#define PAIN_STAGGER 2 // ai should stagger
|
|
#define PAIN_STUN 3 // ai is stunned
|
|
#define PAIN_STUN_IGNORE 4 // ai was hit with a stunning attack that they're ignoring - for animation purpose, play a stagger or flinch, but treat otherwise as a stun
|
|
#define PAIN_DEATH 5 // ai should die
|
|
#define PAYNE_MAX 6 // number of types (unused for script)
|
|
|
|
#define POSTURE_NONE 0 // posture not specified
|
|
#define POSTURE_STANDING 1 // standing
|
|
#define POSTURE_CROUCHED 2 // crouched
|
|
#define POSTURE_SITTING 3 // sitting down
|
|
#define POSTURE_MAX 4 // number of postures (unused for script)
|
|
|
|
#define MENTALSTATE_AWAKE 0
|
|
#define MENTALSTATE_ASLEEP 1
|
|
#define MENTALSTATE_DRUNK 2
|
|
#define MENTALSTATE_MAX 3
|
|
|
|
#define STANDSTATE_DEFAULT 0 // default, named "idle"
|
|
#define STANDSTATE_2 1 // named "idle2"
|
|
#define STANDSTATE_3 2 // named "idle3"
|
|
#define STANDSTATE_4 3 // named "idle4"
|
|
#define STANDSTATE_5 4 // named "idle5"
|
|
#define STANDSTATE_6 5 // named "idle6"
|
|
#define STANDSTATE_7 6 // named "idle7"
|
|
#define STANDSTATE_8 7 // named "idle8"
|
|
#define STANDSTATE_9 8 // named "idle9"
|
|
#define STANDSTATE_10 9 // named "idle10"
|
|
#define STANDSTATE_11 10 // named "idle11"
|
|
#define STANDSTATE_12 11 // named "idle12"
|
|
#define STANDSTATE_13 12 // named "idle13"
|
|
#define STANDSTATE_14 13 // named "idle14"
|
|
#define STANDSTATE_15 14 // named "idle15"
|
|
#define STANDSTATE_16 15 // named "idle16"
|
|
#define STANDSTATE_17 16 // named "idle17"
|
|
#define STANDSTATE_18 17 // named "idle18"
|
|
#define STANDSTATE_19 18 // named "idle19"
|
|
#define STANDSTATE_20 19 // named "idle20"
|
|
#define STANDSTATE_21 20 // named "idle21"
|
|
#define STANDSTATE_22 21 // named "idle22"
|
|
#define STANDSTATE_23 22 // named "idle23"
|
|
#define STANDSTATE_24 23 // named "idle24"
|
|
#define STANDSTATE_25 24 // named "idle25"
|
|
#define STANDSTATE_26 25 // named "idle26"
|
|
#define STANDSTATE_27 26 // named "idle27"
|
|
#define STANDSTATE_28 27 // named "idle28"
|
|
#define STANDSTATE_29 28 // named "idle29"
|
|
#define STANDSTATE_30 29 // named "idle30"
|
|
#define STANDSTATE_31 30 // named "idle31"
|
|
#define STANDSTATE_32 31 // named "idle32"
|
|
#define STANDSTATE_33 32 // named "idle33"
|
|
#define STANDSTATE_34 33 // named "idle34"
|
|
#define STANDSTATE_35 34 // named "idle35"
|
|
#define STANDSTATE_36 35 // named "idle36"
|
|
#define STANDSTATE_37 36 // named "idle37"
|
|
#define STANDSTATE_38 37 // named "idle38"
|
|
#define STANDSTATE_39 38 // named "idle39"
|
|
#define STANDSTATE_40 39 // named "idle40"
|
|
#define STANDSTATE_41 40 // named "idle41"
|
|
#define STANDSTATE_42 41 // named "idle42"
|
|
#define STANDSTATE_43 42 // named "idle43"
|
|
#define STANDSTATE_44 43 // named "idle44"
|
|
#define STANDSTATE_45 44 // named "idle45"
|
|
#define STANDSTATE_46 45 // named "idle46"
|
|
#define STANDSTATE_47 46 // named "idle47"
|
|
#define STANDSTATE_48 47 // named "idle48"
|
|
#define STANDSTATE_49 48 // named "idle49"
|
|
#define STANDSTATE_50 49 // named "idle50"
|
|
#define STANDSTATE_51 50 // named "idle51"
|
|
#define STANDSTATE_52 51 // named "idle52"
|
|
#define STANDSTATE_53 52 // named "idle53"
|
|
#define STANDSTATE_54 53 // named "idle54"
|
|
#define STANDSTATE_55 54 // named "idle55"
|
|
#define STANDSTATE_56 55 // named "idle56"
|
|
#define STANDSTATE_57 56 // named "idle57"
|
|
#define STANDSTATE_58 57 // named "idle58"
|
|
#define STANDSTATE_59 58 // named "idle59"
|
|
#define STANDSTATE_60 59 // named "idle60"
|
|
#define STANDSTATE_MAX 60 // internal use only, DO NOT USE
|
|
|
|
#define TURNSTATE_DEFAULT 0 // default, names "turn_left", "turn_right", "turn_left_157", "turn_right_157"
|
|
#define TURNSTATE_ARMSCROSSED 1 // "turn_left_armscrossed", "turn_right_armscrossed", "turn_left_armscrossed_157", "turn_right_armscrossed_157"
|
|
#define TURNSTATE_MAX 2
|
|
|
|
#define SITSTATE_DEFAULT 0
|
|
#define SITSTATE_2 1
|
|
#define SITSTATE_3 2
|
|
#define SITSTATE_4 3
|
|
#define SITSTATE_5 4
|
|
#define SITSTATE_6 5
|
|
#define SITSTATE_7 6
|
|
#define SITSTATE_8 7
|
|
#define SITSTATE_9 8
|
|
#define SITSTATE_10 9
|
|
#define SITSTATE_11 10
|
|
#define SITSTATE_12 11
|
|
#define SITSTATE_13 12
|
|
#define SITSTATE_14 13
|
|
#define SITSTATE_15 14
|
|
#define SITSTATE_16 15
|
|
#define SITSTATE_17 16
|
|
#define SITSTATE_18 17
|
|
#define SITSTATE_19 18
|
|
#define SITSTATE_20 19
|
|
#define SITSTATE_21 20
|
|
#define SITSTATE_22 21
|
|
#define SITSTATE_23 22
|
|
#define SITSTATE_24 23
|
|
#define SITSTATE_25 24
|
|
#define SITSTATE_26 25
|
|
#define SITSTATE_27 26
|
|
#define SITSTATE_28 27
|
|
#define SITSTATE_29 28
|
|
#define SITSTATE_30 29
|
|
#define SITSTATE_31 30
|
|
#define SITSTATE_32 31
|
|
#define SITSTATE_33 32
|
|
#define SITSTATE_34 33
|
|
#define SITSTATE_35 34
|
|
#define SITSTATE_36 35
|
|
#define SITSTATE_37 36
|
|
#define SITSTATE_38 37
|
|
#define SITSTATE_39 38
|
|
#define SITSTATE_40 39
|
|
#define SITSTATE_41 40
|
|
#define SITSTATE_42 41
|
|
#define SITSTATE_43 42
|
|
#define SITSTATE_44 43
|
|
#define SITSTATE_45 44
|
|
#define SITSTATE_46 45
|
|
#define SITSTATE_47 46
|
|
#define SITSTATE_48 47
|
|
#define SITSTATE_49 48
|
|
#define SITSTATE_50 49
|
|
#define SITSTATE_MAX 50
|
|
|
|
#define WALKSTATE_NOCLIP 0 // Walk through walls
|
|
#define WALKSTATE_WALKING 1 // Walk
|
|
#define WALKSTATE_RUNNING 2 // Run
|
|
#define WALKSTATE_SPRINTING 3 // Sprint
|
|
#define WALKSTATE_MAX 4 // Number of states (unused for script)
|
|
|
|
#define WEAPONREADY_NONE 0 // not ready
|
|
#define WEAPONREADY_HOLSTERED 1 // weapon is holstered
|
|
#define WEAPONREADY_LOWERED 2 // weapon is lowered
|
|
#define WEAPONREADY_RAISED 3 // weapon is raised
|
|
|
|
#define COVERORIENT_NONE 0 // used when not going to cover
|
|
#define COVERORIENT_ANY 1 // ai can orient to any direction it prefers when using cover
|
|
#define COVERORIENT_FORWARD 2 // ai faces toward enemy when in cover
|
|
#define COVERORIENT_BACKWARD 3 // ai faces away from enemy when in cover and turns to fire
|
|
#define COVERORIENT_MAX 4 // number of cover orientations (unused for script)
|
|
|
|
#define COVERACTION_NONE 0 // no animation
|
|
#define COVERACTION_FIRE_OVER 1 // "fire over" animation
|
|
#define COVERACTION_FIRE_LEAN_LEFT 2 // "fire left" animation
|
|
#define COVERACTION_FIRE_LEAN_RIGHT 3 // "fire right" animation
|
|
#define COVERACTION_FIRE_STEP_LEFT 4 // "fire step left" animation
|
|
#define COVERACTION_FIRE_STEP_RIGHT 5 // "fire step right" animation
|
|
#define COVERACTION_BLINDFIRE_OVER 6 // "blind-fire over" animation
|
|
#define COVERACTION_BLINDFIRE_LEFT 7 // "blind-fire left" animation
|
|
#define COVERACTION_BLINDFIRE_RIGHT 8 // "blind-fire right" animation
|
|
#define COVERACTION_PEEK_OVER 9 // "peek over" animation
|
|
#define COVERACTION_PEEK_LEFT 10 // "peek left" animation
|
|
#define COVERACTION_PEEK_RIGHT 11 // "peek right" animation
|
|
#define COVERACTION_HIDE 12 // "hide" animation
|
|
#define COVERACTION_RAIL_DOWN 13 // "rail down" animation
|
|
#define COVERACTION_RAIL_UP 14 // "rail up" animation
|
|
#define COVERACTION_RAIL_LEFT 15 // "rail left" animation
|
|
#define COVERACTION_RAIL_RIGHT 16 // "rail right" animation
|
|
#define COVERACTION_MAX 17 // number of cover actions (unused for script)
|
|
|
|
#define VISIBLE_OUTSIDE_FOV_NOT_VISIBLE 0 // entity is both outside FOV and not visible
|
|
#define VISIBLE_OUTSIDE_FOV 1 // entity is outside of the actor's field of view
|
|
#define VISIBLE_NOT_VISIBLE 2 // entity is not visible to actor
|
|
#define VISIBLE_IN_COVER 3 // entity is visible, but partially covered
|
|
#define VISIBLE_VISIBLE 4 // entity is fully visible
|
|
#define VISIBLE_INVALID 5 // query was invalid
|
|
#define VISIBLE_MAX 6 // number of visibility types (unused for script)
|
|
|
|
#define AIFOCI_AIM 0 // the highest priority target we're looking at
|
|
#define AIFOCI_LOOK 1 // focus target chosen automatically by the AI. This is always overridden by the primaryFocus
|
|
#define AIFOCI_MAX 2
|
|
|
|
#define AIGROUPMSG_ENABLE 0 // enable the group
|
|
#define AIGROUPMSG_DISABLE 1 // disable the group
|
|
#define AIGROUPMSG_ADD_ENEMY 2 // and the entity as an enemy, but don't override the current enemy
|
|
#define AIGROUPMSG_SET_ENEMY 3 // add the entity as an enemy and DO override the current enemy
|
|
#define AIGROUPMSG_MAX 4 // INTERNAL USE ONLY! DO NOT SET IN EDITOR!
|
|
|
|
#define AIACTION_FALSE 0 // The Action version of "false"
|
|
#define AIACTION_TRUE 1 // The Action version of "true"
|
|
|
|
#define ACTIONSCRIPT_ABORT_FOR_COMBAT 1 // abort for combat
|
|
#define ACTIONSCRIPT_ABORT_FOR_SEARCH 2 // abort for search
|
|
#define ACTIONSCRIPT_IGNORE_AI_EVENTS 4 // ignore ALL incoming AI events during an action script
|
|
#define ACTIONSCRIPT_NO_COMBAT_CHATTER 8 // don't use combat chatter during an action script
|
|
#define ACTIONSCRIPT_NO_TARGETS 16 // do not update targets during action script
|
|
#define ACTIONSCRIPT_IGNORE_PLAYER_APPROACH 32 // ignore player approaching events
|
|
#define ACTIONSCRIPT_NO_DAMAGE 64 // AI will ignore all damage and pain during an action script
|
|
#define ACTIONSCRIPT_NO_TWITCH_PAIN 128 // AI will not play any twitch pain animations during an action script
|
|
#define ACTIONSCRIPT_ENABLE_STAGGER_PAIN 256 // AI can play stagger/moving pain during script (they will break out)
|
|
#define ACTIONSCRIPT_ENABLE_AUTOFOCUS 512 // script requested that autofocus be turned back on until end of script (unless permanent flag set)
|
|
|
|
#define PERCEPTION_NO_TARGETS 1 // do not update targets
|
|
|
|
#define AIPLAYER_CLOSEST 0 // the player closest to the AI
|
|
#define AIPLAYER_FARTHEST 1 // the player furthest from the AI
|
|
#define AIPLAYER_LOWEST_HEALTH 2 // the player with the lowest health
|
|
#define AIPLAYER_HIGHEST_HEALTH 3 // the player with the greatest health
|
|
#define AIPLAYER_MAX 4 // the number of AI Players (unused for script)
|
|
|
|
#define AIOVERRIDE_DEFAULT 0 // use default AI behavior
|
|
#define AIOVERRIDE_FORCE_AWARENESS_OF_PLAYER 1 // give AI awareness of highest threat player
|
|
#define AIOVERRIDE_FORCE_AWARENESS_OF_ENTITY 2 // give AI awareness of entity
|
|
#define AIOVERRIDE_FORCE_SEARCH_TO_PLAYER 3 // give AI awareness and search to given point
|
|
#define AIOVERRIDE_FORCE_SEARCH_TO_ENTITY 4 // AI searches towards current position of initialTarget entity
|
|
#define AIOVERRIDE_COVER_FROM_PLAYER 5 // take cover from the highest-threat player at most-suitable cover point that is closest to the targeted entity
|
|
#define AIOVERRIDE_COVER_FROM_PLAYER_TARGET 6 // taker cover from the highest-threat player, but use the "initialTarget" as the position to take cover from
|
|
#define AIOVERRIDE_CHARGE_MELEE_PLAYER 7 // charge the player with the intent to melee
|
|
#define AIOVERRIDE_PLAY_ENTRANCE_ANIMATION 8 // enter combat with the player as a target and play a specified animation
|
|
#define AIOVERRIDE_FORCE_MOVE_TO_TRAVERSAL 9 // enter combat with the player as a target and run to the target traversal node, which will play the traversal anim
|
|
#define AIOVERRIDE_MAX 10 // number of state overrides (unused for script)
|
|
|
|
#define FIREMODE_WEAPON 0 // fire control updates the weapon, but doesn't change weapon states
|
|
#define FIREMODE_HOLDFIRE 1 // fire control won't fire the weapon and releases the trigger if it's held
|
|
#define FIREMODE_FIREWHENREADY 2 // fire control fires the weapon when there's an opportunity
|
|
#define FIREMODE_SPRAYWHENREADY 3 // fire control fires the weapon when there is even a chance a shot might hit
|
|
#define FIREMODE_MAX 4 // for internal use only... never set this value on a script!
|
|
|
|
#define AIARRIVAL_UNKNOWN 0 // we have no idea what we need to do, or we don't care
|
|
#define AIARRIVAL_CONTINUE 1 // continue movement through point
|
|
#define AIARRIVAL_STOP 2 // stop when point is reached
|
|
|
|
#define AIARRIVAL_ORIENT_NONE 0 // don't orient
|
|
#define AIARRIVAL_ORIENT_ALIGN 1 // align to the explicit orientation
|
|
|
|
#define AISKILL_INCOMPETENT 0 // Incompetent
|
|
#define AISKILL_EASY 1 // Easy
|
|
#define AISKILL_NORMAL 2 // Normal
|
|
#define AISKILL_HARD 3 // Hard
|
|
#define AISKILL_LETHAL 4 // Lethal
|
|
#define AISKILL_MAX 5 // number of skill types (unused for script)
|
|
|
|
#define EQUIP_NONE 0 // item can't be equipped, only held in inventory
|
|
#define EQUIP_LEFT_HAND 1 // equips only in left hand
|
|
#define EQUIP_RIGHT_HAND 2 // equips only in right hand
|
|
#define EQUIP_HEAD 3 // equips on the head
|
|
#define EQUIP_TORSO 4 // equips on the torso
|
|
#define EQUIP_HOLSTER_HIP_LEFT 5 // holster slot for pistol on the left hip
|
|
#define EQUIP_HOLSTER_HIP_RIGHT 6 // holster slot for pistol on the right leg
|
|
#define EQUIP_HOLSTER_BACK 7 // holster slot on the back
|
|
#define EQUIP_HOLSTER_SHOULDER 8 // holster slot on the shoulder
|
|
#define EQUIP_HOLSTER_BELT_LEFT 9 // holster slot on the left belt
|
|
#define EQUIP_HOLSTER_BELT_RIGHT 10 // holster slot on the right belt
|
|
#define EQUIP_HOLSTER_BELT_BACK 11 // holster slot on the back of the belt
|
|
#define EQUIP_HOLSTER_BELT_FRONT 12 // holster slot of the front of the belt
|
|
#define EQUIP_VEHICLE 13 // a vehicle
|
|
#define EQUIP_VEHICLE_RAM 14 // front of vehicle
|
|
#define EQUIP_MAX 15 // number of slot types (unused for script)
|
|
|
|
#define REMOVE_CONDITION_NONE 0 // no fadeing
|
|
#define REMOVE_CONDITION_DORMANT 1 // fades over time once dormant
|
|
#define REMOVE_CONDITION_TIMEOUT 2 // fades direclty, no need for dormancy
|
|
#define REMOVE_CONDITION_MAX 3 // Num types
|
|
|
|
#define AIVAROP_LESS 0
|
|
#define AIVAROP_LESS_EQUAL 1
|
|
#define AIVAROP_EQUAL 2
|
|
#define AIVAROP_GREATER_EQUAL 3
|
|
#define AIVAROP_GREATER 4
|
|
|
|
#define AIVAR_INT 0
|
|
#define AIVAR_FLOAT 1
|
|
#define AIVAR_STRING 2
|
|
|
|
#define AISELECTCONDITION_ADVANCE 0
|
|
#define AISELECTCONDITION_OPENCOMBAT 1
|
|
#define AISELECTCONDITION_COVER 2
|
|
#define AISELECTCONDITION_MAX 3
|
|
|
|
#define AIITEMSELECT_NONE 0 // can't throw anything
|
|
#define AIITEMSELECT_GRENADE 1
|
|
#define AIITEMSELECT_DUAL_MUTANT 2
|
|
#define AIITEMSELECT_CLUB_MUTANT 3
|
|
#define AIITEMSELECT_SCOOP_MUTANT 4
|
|
#define AIITEMSELECT_LARGE_RANGED_MUTANT 5
|
|
#define AIITEMSELECT_HEAVY_BANDIT 6
|
|
#define AIITEMSELECT_PIPE_BANDIT 7
|
|
#define AIITEMSELECT_IMP 8
|
|
#define AIITEMSELECT_MAX 9
|
|
|
|
#define AIANIMWEB_BODY 0
|
|
#define AIANIMWEB_MAX 1
|
|
|
|
#define AIANIMWAIT_DONT_WAIT 0
|
|
#define AIANIMWAIT_WAIT_FOR_DEST_TO_START_BLEND 1
|
|
#define AIANIMWAIT_WAIT_FOR_DEST_TO_FINISH_BLEND 2
|
|
|
|
#define LOOKFLAG_NONE 0
|
|
#define LOOKFLAG_ROAM 1 // allow Look SP in Roam
|
|
#define LOOKFLAG_SEARCH 2 // allow Look SP in Search
|
|
#define LOOKFLAG_COMBAT 4 // allow Look SP in Combat
|
|
#define LOOKFLAG_ID_STUDIO_RENDER 1024 // Bit needed for rendering in idStudio if no LookFlags are set. Cleared upon spawn
|
|
|
|
#define SEARCHFLAG_NONE 0
|
|
#define SEARCHFLAG_ARC_SWEEP 1 // sweep arc
|
|
#define SEARCHFLAG_FORWARD 2 // search forward
|
|
#define SEARCHFLAG_LEFT 4 // search left
|
|
#define SEARCHFLAG_RIGHT 8 // search right
|
|
#define SEARCHFLAG_ABOVE 16 // search above
|
|
#define SEARCHFLAG_BELOW 32 // search below
|
|
#define SEARCHFLAG_ID_STUDIO_RENDER 1024 // Bit needed for rendering in idStudio if no SearchFlags are set. Cleared upon spawn
|
|
|
|
#define TACFLAG_NONE 0
|
|
#define TACFLAG_STAND 1 // STAND pose is allowed at this Combat IP
|
|
#define TACFLAG_CROUCH 2 // CROUCH pose is allowed
|
|
#define TACFLAG_LEFT 32 // LEFT movement is allowed
|
|
#define TACFLAG_RIGHT 64 // RIGHT movement is allowed
|
|
#define TACFLAG_POPUP 128 // POPUP movement is allowed
|
|
#define TACFLAG_RAIL 512 // RAIL movement allowed
|
|
#define TACFLAG_COWARD 4096 // COWARD behaviors allowed
|
|
#define TACFLAG_ID_STUDIO_RENDER 32768 // Bit needed for rendering in IdStudio if no tacflags at all are set. Removed upon Spawn.
|
|
|
|
#define ARC_SECTOR_INVALID -1
|
|
#define ARC_SECTOR_INSIDE 0
|
|
#define ARC_SECTOR_NEAR 1
|
|
#define ARC_SECTOR_LEFT 2
|
|
#define ARC_SECTOR_RIGHT 3
|
|
#define ARC_SECTOR_FAR 4
|
|
|
|
#define NONE 0
|
|
#define ROAM 1 // Roam ScenePoint, used in non-tension areas for patrols etc
|
|
#define LOOK 2 // Look SceenPoint, used for making AI look at things
|
|
#define SEARCH 3 // Search SP, used by AIs when searching
|
|
#define COMBAT 4 // Combat SP, used by AIs while in combat. Being in cover / open areas is determined by the tactical flags used.
|
|
|
|
#define SCRIPTFLAG_NONE 0
|
|
#define SCRIPTFLAG_SCRIPT 1 // Set to indicate if this scenepoint is a script scenepoint or not
|
|
#define SCRIPTFLAG_RUN 2 // Run
|
|
#define SCRIPTFLAG_TRACK_TARGET 4 // Track target (if any)
|
|
#define SCRIPTFLAG_ATTACK_TARGET 8 // Attack target (if any)
|
|
#define SCRIPTFLAG_ABORT_IF_PLAYER_NOT_IN_ARC 16 // Abort if Player not in Arc
|
|
#define SCRIPTFLAG_ABORT_IF_PLAYER_IN_ARC 32 // Abort if Player enters Arc
|
|
#define SCRIPTFLAG_ABORT_IF_HURT_MOVING_TO 64 // Abort if hurt while moving to scenepoint
|
|
#define SCRIPTFLAG_ABORT_IF_HURT_STAYING_AT 128 // Abort if hurt while at scenepoint
|
|
#define SCRIPTFLAG_ABORT_IF_DETECTING_ENEMY 256 // Abort if detecting enemy
|
|
#define SCRIPTFLAG_ABORT_IF_SPOTTING_ENEMY 512 // Abort if spotting enemy
|
|
#define SCRIPTFLAG_KEEP_AFTER_ABORT 1024 // Stores the last override SP on abort and restores it again as apropriate
|
|
#define SCRIPTFLAG_EVALUATE_RELATED 2048 // If we have related scenepoints, evaluate which one to take instead of chosing a random one.
|
|
#define SCRIPTFLAG_ID_STUDIO_RENDER 32768 // Bit needed for rendering in idStudio if no ScriptFlags are set. Cleared upon spawn
|
|
|
|
#define MTSP_NONE 0
|
|
#define MTSP_ABORT_PLAYER_NOT_IN_ARC 1 // Abort the movement if player not in arc
|
|
#define MTSP_ABORT_HURT 2
|
|
#define MTSP_ABORT_SPOT_ENEMY 4
|
|
#define MTSP_ABORT_DETECT_ENEMY 8
|
|
#define MTSP_RUN 32 // Run? Or def. Walk?
|
|
#define MTSP_MOVE_ATTACK 64 // Track and attack target when moving
|
|
#define MTSP_STAY_ATTACK 128 // Track and attack target when staying at SP
|
|
|
|
#define SP_NONE 0
|
|
#define SP_LOW_PRIO 1 // Low Prio, backup, scenepoint
|
|
|
|
#define SP_SELECT_NONE 0
|
|
#define SP_SELECT_ALLOW_TACTICAL 1 // Required to use scenepoints with leanouts/popups/cowards.
|
|
#define SP_SELECT_PREFER_CLOSEST 2 // Prefer closest valid SP etc
|
|
#define SP_SELECT_PREFER_FLANKING 4 // Prefer SPs that are away from the enemies look
|
|
#define SP_SELECT_ALLOW_LAST 8 // We can (re)use the last SP (it still has a history score of 0.0 though)
|
|
#define SP_SELECT_ALLOW_PLAYERCROSSING 16 // Allow scenepoints that are past the player (inside a 45 cone behind the player)
|
|
#define SP_SELECT_ALLOW_TURRET 32 // Allow Turret Scenepoints
|
|
#define SP_SELECT_DEFAULT 3
|
|
|
|
#define COVER_NONE 0
|
|
#define COVER_POPIN_HURT 1 // Go to cover if we get hurt
|
|
#define COVER_POPIN_AIM 2 // Go to cover if enemy is aiming at us
|
|
#define COVER_POPIN_RELOAD 4 // Go to cover if we need to reload
|
|
#define COVER_POPOUT_NO_AIM 8 // Go to attack if enemy is aiming away
|
|
#define COVER_POPOUT_HURT 16 // Go to attack if we got hurt while in cover
|
|
#define COVER_STAYOUT_SAFE 32 // Extend attack time if we are safe (no one aiming/firing at us)
|
|
|
|
#define DODGE_NONE 0
|
|
#define DODGE_AIM 1 // Perform dodge if enemy is aiming at us
|
|
#define DODGE_SHOT 2 // Perform dodge if enemy shot us
|
|
#define DODGE_BLOCKED 4 // Perform dodge if we are blocked (by nearby friend or friend LOS)
|
|
#define DODGE_STRAFE 8 // Allow normal strafe movement as dodge move
|
|
#define DODGE_ANIMATIONS 16 // Allow dodge animations to be used as a dodge move
|
|
#define DODGE_ALL 31
|
|
|
|
#define CLOSE_NONE 0
|
|
#define CLOSE_STOP_ON_SPOT 1 // Stop upon spotting the enemy
|
|
|
|
#define DEATHIMPULSE_NONE 0 // Nothing, default.
|
|
#define DEATHIMPULSE_ANIM_DONE 1 // Death Animation Done.
|
|
#define DEATHIMPULSE_DISABLE_COLLISION 2 // Disable collision checks against geometry
|
|
#define DEATHIMPULSE_ENABLE_COLLISION 3 // Re-enable collision checks against geometry
|
|
|
|
#define DEATH_NONE 0
|
|
#define DEATH_CUSTOM 1 // Custom death animation, special handling
|
|
#define DEATH_LOCAL 2 // Local death animation, special handling
|
|
#define DEATH_DONE 4 // Death animation is done ( not necessarily all done though, could be a partial one)
|
|
#define DEATH_ANIMVERIFIED 8 // Have we really started a correct death animation?
|
|
#define DEATH_EXECUTED 16 // Killed through execution
|
|
#define DEATH_CHECK_COLLISION 32 // If we shall check collision against geometry
|
|
|
|
#define NAVLAYER_PLAYER 0
|
|
#define NAVLAYER_MONSTER16 1
|
|
#define NAVLAYER_MONSTER32 2
|
|
#define NAVLAYER_MONSTER48 3
|
|
#define NAVLAYER_MONSTER96 4
|
|
#define NAVLAYER_MONSTER128 5
|
|
#define NAVLAYER_FLIGHT 6
|
|
#define NAVLAYER_NONE 7 // just an empty stub, for debugging menus.
|
|
#define NAVLAYER_MAX 8
|
|
|
|
#define INVALID_THREAD 0
|
|
|
|
#define ROLE_NONE 0
|
|
#define ROLE_DEFEND 1
|
|
#define ROLE_ASSAULT 2
|
|
#define ROLE_FLANK 3
|
|
#define ROLE_FLANK_CHARGE 4
|
|
#define ROLE_FORMATION 5
|
|
#define ROLE_THROW 6
|
|
#define ROLE_CHARGE 7
|
|
#define ROLE_UNAVAILABLE 8
|
|
#define ROLE_MAX 9
|
|
|
|
#define ATTITUDE_UNKNOWN -1 // this is returned when no attitude is defined between two factions
|
|
#define ATTITUDE_DESPISE 0
|
|
#define ATTITUDE_HATE 1
|
|
#define ATTITUDE_DISLIKE 2
|
|
#define ATTITUDE_NEUTRAL 3
|
|
#define ATTITUDE_LIKE 4
|
|
#define ATTITUDE_LOVE 5
|
|
#define ATTITUDE_IDOLIZE 6
|
|
#define ATTITUDE_MAX 7
|
|
|
|
#define ATTITUDESTAGE_OUTSIDER 0
|
|
#define ATTITUDESTAGE_ACCEPTED 1
|
|
#define ATTITUDESTAGE_HEROIC 2
|
|
#define ATTITUDESTAGE_NUM 3 // "MAX" is wrong I can't bring myself to use it
|
|
|
|
#define RAGE_STAT_INVALID -1
|
|
#define RAGE_STAT_VEHICLE_KILLS 0 // vehicles player has killed either in SP/MP
|
|
#define RAGE_STAT_VEHICLE_DEATHS 1
|
|
#define RAGE_STAT_VEHICLE_SUICIDES 2
|
|
#define RAGE_STAT_VEHICLE_DOUBLEKILLS 3
|
|
#define RAGE_STAT_VEHICLE_TRIPLEKILLS 4
|
|
#define RAGE_STAT_VEHICLE_QUADKILLS 5
|
|
#define RAGE_STAT_VEHICLE_KILLINGSPREES 6
|
|
#define RAGE_STAT_VEHICLE_SHOTS 7 // shots from vehicle
|
|
#define RAGE_STAT_VEHICLE_HITS 8 // shots that hit from vehicle
|
|
#define RAGE_STAT_VEHICLE_DAMAGEDEALT 9
|
|
#define RAGE_STAT_VEHICLE_IMPRESSIVES 10
|
|
#define RAGE_STAT_VEHICLE_AIRSHOTS 11
|
|
#define RAGE_STAT_VEHICLE_ODOMETER 12 // will wrap with ~33K miles (shouldn't be a problem(TM))
|
|
#define RAGE_STAT_VEHICLE_ODOMETER_ON_GROUND 13
|
|
#define RAGE_STAT_VEHICLE_ODOMETER_ON_TWOWHEELS 14
|
|
#define RAGE_STAT_VEHICLE_ODOMETER_IN_AIR 15
|
|
#define RAGE_STAT_VEHICLE_TIME_IN_AIR 16 // ms, ~600hr max (shouldn't be a problem(TM))
|
|
#define RAGE_STAT_VEHICLE_QUAD_PICKUPS 17
|
|
#define RAGE_STAT_VEHICLE_PERK_BOOSTUP_SP 18
|
|
#define RAGE_STAT_VEHICLE_PERK_JUMPMAN_SP 19
|
|
#define RAGE_STAT_VEHICLE_PERK_DURABUMP_SP 20
|
|
#define RAGE_STAT_CASH_MP 21
|
|
#define RAGE_STAT_SP_XP 22
|
|
#define RAGE_STAT_MP_XP 23
|
|
#define RAGE_STAT_VEHICLE_FLAG_CAPTURES 24
|
|
#define RAGE_STAT_VEHICLE_PERK_OVERAMMO_SP 25
|
|
#define RAGE_STAT_VEHICLE_PERK_LOCKJACK_SP 26
|
|
#define RAGE_STAT_VEHICLE_PERK_FASTERFASTER_SP 27
|
|
#define RAGE_STAT_VEHICLE_PERK_THESNAPPER_SP 28
|
|
#define RAGE_STAT_VEHICLE_PERK_OVERLOAD_SP 29
|
|
#define RAGE_STAT_VEHICLE_TEAMKILLS 30
|
|
#define RAGE_STAT_SP_LEVEL 31 // Special stat, automatically derived from RAGE_STAT_MP_XP, DO NOT manually set outside.
|
|
#define RAGE_STAT_MP_LEVEL 32 // Special stat, automatically derived from RAGE_STAT_SP_XP, DO NOT manually set outside.
|
|
#define RAGE_STAT_VEHICLE_POWERUPS 33
|
|
#define RAGE_STAT_SCORE_COOP 34 // coop scoring, does not award XP
|
|
#define RAGE_STAT_SCORE_VDM 35 // scoring in all vehicle modes. This awards XP
|
|
#define RAGE_STAT_TIME_PLAYED 36 // total time in mini-game/challenge (just for reporting back to all the clients, not the real player time [RAGE_STAT_TIME_IN_GAME] )
|
|
#define RAGE_STAT_WINS 37
|
|
#define RAGE_STAT_VEHICLE_LEADERKILLS 38
|
|
#define RAGE_STAT_VEHICLE_SKULL_CAPTURES 39
|
|
#define RAGE_STAT_VEHICLE_ROAD_KILLS 40
|
|
#define RAGE_STAT_VEHICLE_RALLY_CAPTURES 41
|
|
#define RAGE_STAT_VEHICLE_RALLY_AIR_CAPTURES 42
|
|
#define RAGE_STAT_VEHICLE_RALLY_CLOSECALLS 43
|
|
#define RAGE_STAT_VEHICLE_RALLY_DENIALS 44
|
|
#define RAGE_STAT_VEHICLE_METEOR_CAPTURES 45
|
|
#define RAGE_STAT_VEHICLE_METEORS_DROPPED 46
|
|
#define RAGE_STAT_VEHICLE_METEORS_STOLEN 47
|
|
#define RAGE_STAT_VEHICLE_TRIADS_COMPLETED 48
|
|
#define RAGE_STAT_VEHICLE_TRIADS_MISSED 49
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_WELLSPRING_1 50
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_WELLSPRING_2 51
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_PRISON 52
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_DAM 53
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_BASH 54
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_BASH_INFESTATION 55
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_RCBOMB 56
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_PLAZA 57
|
|
#define RAGE_STAT_CHALLENGE_UNLOCK_MUTANT_CAVES 58
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_WELLSPRING_1 59
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_WELLSPRING_2 60
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_PRISON 61
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_DAM 62
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_BASH 63
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_BASH_INFESTATION 64
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_RCBOMB 65
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_PLAZA 66
|
|
#define RAGE_STAT_CHALLENGE_COMPLETE_MUTANT_CAVES 67
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_WELLSPRING_1 68
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_WELLSPRING_2 69
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_PRISON 70
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_DAM 71
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_BASH 72
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_BASH_INFESTATION 73
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_RCBOMB 74
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_PLAZA 75
|
|
#define RAGE_STAT_CHALLENGE_NIGHTMARE_COMPLETE_MUTANT_CAVES 76
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_WELLSPRING_1 77
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_WELLSPRING_2 78
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_PRISON 79
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_DAM 80
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_BASH 81
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_BASH_INFESTATION 82
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_RCBOMB 83
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_PLAZA 84
|
|
#define RAGE_STAT_CHALLENGE_COLLECTION_MUTANT_CAVES 85
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_01 86
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_02 87
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_03 88
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_04 89
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_05 90
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_06 91
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_07 92
|
|
#define RAGE_STAT_CHALLENGE_SPECIAL_COLLECTION_08 93
|
|
#define RAGE_STAT_WINNING_KILL 94
|
|
#define RAGE_STAT_WINNING_FLAG_CAPTURE 95
|
|
#define RAGE_STAT_WINNING_SCORE 96
|
|
#define RAGE_STAT_SHIELD_ABSORBED_DAMAGE 97
|
|
#define RAGE_STAT_AIR_KILLS 98 // kill an in air enemy
|
|
#define RAGE_STAT_AERIAL_KILLS 99 // kill an enemy from the air
|
|
#define RAGE_STAT_NO_VEHICLE_DEATHS 100 // finish a round without a death
|
|
#define RAGE_STAT_AFTERLIFE_KILLS 101 // killed someone while you were dead
|
|
#define RAGE_STAT_REVENGE_KILLS 102
|
|
#define RAGE_STAT_SHIELD_USE 103
|
|
#define RAGE_STAT_LONGEST_KILLSTREAK 104
|
|
#define RAGE_STAT_LONGEST_LIFE 105
|
|
#define RAGE_STAT_LONGEST_BULLY 106
|
|
#define RAGE_STAT_LONGEST_RALLY_CHAIN 107 // most consecutive rally chains
|
|
#define RAGE_STAT_LONGEST_RALLY_CHAIN_MAX_TIME 108 // longest time while holding on to highest rally chain (5x)
|
|
#define RAGE_STAT_MOST_LONGEST_RALLY_CHAIN 109 // most consecutive rally chains
|
|
#define RAGE_STAT_MOST_LONGEST_RALLY_CHAIN_MAX_TIME 110 // longest time while holding on to highest rally chain (5x)
|
|
#define RAGE_STAT_MOST_KILLS 111
|
|
#define RAGE_STAT_MOST_RALLYCAPS 112
|
|
#define RAGE_STAT_MOST_TRIADS_COMPLETED 113
|
|
#define RAGE_STAT_MOST_TRIADS_BROKEN 114
|
|
#define RAGE_STAT_MOST_TRIADS_MISSED 115
|
|
#define RAGE_STAT_MOST_METEORCAPS 116
|
|
#define RAGE_STAT_MOST_METEOR_DROPS 117
|
|
#define RAGE_STAT_MOST_POWERUPS 118
|
|
#define RAGE_STAT_MOST_DEATHS 119
|
|
#define RAGE_STAT_MOST_LONGEST_KILLSTREAK 120
|
|
#define RAGE_STAT_MOST_MULTIKILLS 121
|
|
#define RAGE_STAT_MATCH_WINNER 122
|
|
#define RAGE_STAT_MOST_LONGEST_LIFE 123
|
|
#define RAGE_STAT_MOST_LONGEST_BULLY 124
|
|
#define RAGE_STAT_MOST_KILLS_AS_BULLY 125
|
|
#define RAGE_STAT_MOST_BULLIES_KILLED 126
|
|
#define RAGE_STAT_MOST_SHIELD_USE 127
|
|
#define RAGE_STAT_HARD_DRIVER 128
|
|
#define RAGE_STAT_MOST_SKULLS 129
|
|
#define RAGE_STAT_MOST_FLAG_CAPS 130
|
|
#define RAGE_STAT_MOST_AIR_KILLS 131
|
|
#define RAGE_STAT_MOST_SUICIDES 132
|
|
#define RAGE_STAT_LEAST_KILLS 133
|
|
#define RAGE_STAT_LEAST_DEATHS 134
|
|
#define RAGE_STAT_BEST_KDR 135
|
|
#define RAGE_STAT_MOST_LEADER_KILLS 136
|
|
#define RAGE_STAT_MOST_CHAIN_BREAKS 137
|
|
#define RAGE_STAT_MOST_RALLY_CHAIN_OWNER_KILLS 138
|
|
#define RAGE_STAT_MOST_MILES_DRIVEN 139
|
|
#define RAGE_STAT_MOST_SPECIAL_KILLS 140
|
|
#define RAGE_STAT_ACCURACY 141 // number of accuracy awards for getting over 50% accuracy in a match
|
|
#define RAGE_STAT_TWO_QUAD_PICKUPS 142
|
|
#define RAGE_STAT_AI_ASSISTS 143 // doing % of damage to kill an AI (coop)
|
|
#define RAGE_STAT_VEHICLE_ASSISTS 144 // doing % of damage to kill a vehicle (VDM)
|
|
#define RAGE_STAT_HEADSHOT_KILLS 145
|
|
#define RAGE_STAT_HEADSHOT_KILLS_SNIPER 146
|
|
#define RAGE_STAT_BANDIT_KILLS 147
|
|
#define RAGE_STAT_MUTANT_KILLS 148
|
|
#define RAGE_STAT_AUTHORITY_KILLS 149
|
|
#define RAGE_STAT_VEHICLE_KILLS_BY_CLASS_1 150 // how many class 1's you killed
|
|
#define RAGE_STAT_VEHICLE_KILLS_BY_CLASS_2 151
|
|
#define RAGE_STAT_VEHICLE_KILLS_BY_CLASS_3 152
|
|
#define RAGE_STAT_VEHICLE_KILLS_BY_CLASS_4 153
|
|
#define RAGE_STAT_SEWER_LEVELS_COMPLETE 154
|
|
#define RAGE_STAT_LEVELS_COMPLETE 155
|
|
#define RAGE_STAT_TIME_IN_GAME 156 // total time in RAGE (sec)
|
|
#define RAGE_STAT_AI_KILLS 157 // AI + Player = Actors...
|
|
#define RAGE_STAT_PLAYER_KILLS 158
|
|
#define RAGE_STAT_SHOTS 159 // hand weapons + vehicle shots
|
|
#define RAGE_STAT_ITEMS_TAKEN 160
|
|
#define RAGE_STAT_CLIENT_DAMAGE 161
|
|
#define RAGE_STAT_WEAPON_HIT_ENEMY 162 // shot hit enemy
|
|
#define RAGE_STAT_WEAPON_HIT_FRIENDLY 163 // shot hit teammate player
|
|
#define RAGE_STAT_WEAPON_HIT_OBJECT 164 // shot hit attachable bomb
|
|
#define RAGE_STAT_WEAPON_HIT_DIRECT 165 // used in grenade direct hits
|
|
#define RAGE_STAT_WEAPON_HIT_BREAKABLE 166
|
|
#define RAGE_STAT_WEAPON_HITS_FOR_ACCURACY 167 // this is more of a temp stat that will be incremented to calculate hit accuracy
|
|
#define RAGE_STAT_WEAPON_BREAKABLE_DESTROYED 168 // breakables destroyed
|
|
#define RAGE_STAT_WEAPON_DAMAGE_TO_GENERAL 169 // damage done to breakables
|
|
#define RAGE_STAT_WEAPON_KILLED_ENEMY 170
|
|
#define RAGE_STAT_WEAPON_KILLED_FRIENDLY 171
|
|
#define RAGE_STAT_WEAPON_DAMAGE_ENEMY 172
|
|
#define RAGE_STAT_WEAPON_DAMAGE_FRIENDLY 173
|
|
#define RAGE_STAT_WEAPON_HEADSHOT_ENEMY 174 // times shot hit enemy in head, not a kill
|
|
#define RAGE_STAT_WEAPON_HEADSHOT_FRIENDLY 175 // times shot hit teammate in head, not a kill
|
|
#define RAGE_STAT_WEAPON_ACTORS_KILLED 176 // duplicated stat (AI + Player = Actors...)
|
|
#define RAGE_STAT_WEAPON_VEHICLES_KILLED 177
|
|
#define RAGE_STAT_FIST_KILLS 178
|
|
#define RAGE_STAT_PISTOL_KILLS 179
|
|
#define RAGE_STAT_CROSSBOW_KILLS 180
|
|
#define RAGE_STAT_RIFLE_KILLS 181
|
|
#define RAGE_STAT_REGIME_MACHINEGUN_KILLS 182
|
|
#define RAGE_STAT_REGIME_SHOTGUN_KILLS 183
|
|
#define RAGE_STAT_SETTLER_MACHINEGUN 184
|
|
#define RAGE_STAT_REGIME_ROCKETLAUNCHER 185
|
|
#define RAGE_STAT_PLASMA_KILLS 186
|
|
#define RAGE_STAT_DOUBLEBARREL_SHOTGUN_KILLS 187
|
|
#define RAGE_STAT_DEPLOYABLETURRET_KILLS 188
|
|
#define RAGE_STAT_DEPLOYABLETURRET_REGIME_KILLS 189
|
|
#define RAGE_STAT_DEPLOYABLETURRET_PLACEABLE_KILLS 190
|
|
#define RAGE_STAT_DEPLOYABLETURRET_BARRICADE_KILLS 191
|
|
#define RAGE_STAT_DEPLOYABLETURRET_BARRICADE_MC_KILLS 192
|
|
#define RAGE_STAT_SENTRYBOT_CHAINUPDRADE_KILLS 193
|
|
#define RAGE_STAT_INCREASE_RALLY_CHAIN 194
|
|
#define RAGE_STAT_MAX_RALLY_CHAIN 195
|
|
#define RAGE_STAT_KILL_RALLY_CHAIN_OWNER 196
|
|
#define RAGE_STAT_BREAK_RALLY_CHAIN 197
|
|
#define RAGE_STAT_BREAK_TRIAD 198
|
|
#define RAGE_STAT_KILL_TRIAD_OWNER 199
|
|
#define RAGE_STAT_ONE_SHOT_KILL 200 // doesn't work with multi-trace weapons (shotgun, etc.)
|
|
#define RAGE_STAT_VDM_COMPLETED_RALLY 201
|
|
#define RAGE_STAT_VDM_COMPLETED_RALLY_FIRST 202 // finished first in rally
|
|
#define RAGE_STAT_VDM_COMPLETED_RALLY_SECOND 203 // finished first in rally
|
|
#define RAGE_STAT_VDM_COMPLETED_RALLY_THIRD 204 // finished first in rally
|
|
#define RAGE_STAT_COOP_SCORE_MULTIPLIER 205 // not detected
|
|
#define RAGE_STAT_REVIVES 206 // number of times you were revived (by your partner)
|
|
#define RAGE_STAT_PARTNER_REVIVES 207 // number of times you revived your partner
|
|
#define RAGE_STAT_COOP_NO_INCAPACITATE 208 // Beat level in coop without anyone going down
|
|
#define RAGE_STAT_COOP_NO_INCAPACITATE_NIGHTMARE 209 // Beat level in coop without anyone going down on nightmare difficulty
|
|
#define RAGE_STAT_COOP_NO_DEFIB 210 // Beat level in coop without using personal defib (partner revive OK)
|
|
#define RAGE_STAT_COOP_NO_DEFIB_NIGHTMARE 211 // ^^ nightmare
|
|
#define RAGE_STAT_INCAPACITATES 212 // number of times you were incapacitated
|
|
#define RAGE_STAT_STEALTH_KILLS 213
|
|
#define RAGE_STAT_COMBO_KILLS 214 // "stunning, then killing enemy"
|
|
#define RAGE_STAT_DEFEND_KILLS 215 // killing an enemy after he melee'd your partner
|
|
#define RAGE_STAT_VDM_SPECIAL_KILLS 216 // any type of special kill: double/tripple/quad/air/pull/afterlife/denial
|
|
#define RAGE_STAT_COOP_KILLS 217 // *
|
|
#define RAGE_STAT_COOP_REVENGE_KILLS 218
|
|
#define RAGE_STAT_COOP_LEGENDS_COMPLETED 219 // *
|
|
#define RAGE_STAT_COOP_BEST_SCORE 220 // *
|
|
#define RAGE_STAT_COOP_SHOTS_FIRED 221 // *
|
|
#define RAGE_STAT_COOP_HEADSHOTS 222 // *
|
|
#define RAGE_STAT_COOP_HEADSHOT_KILLS 223
|
|
#define RAGE_STAT_COOP_COLLECTIBLES_FOUND 224 // *
|
|
#define RAGE_STAT_COOP_SCORE_HIGHEST_RANK 225 // obtained highest score tier in coop
|
|
#define RAGE_STAT_COOP_SCORE_HIGHEST_RANK_NIGHTMARE 226 // ^^ nightmare
|
|
#define RAGE_STAT_COOP_BOMBCAR_SINGLE_MAX_KILLS 227
|
|
#define RAGE_STAT_RR_KILLS 228 // Total kills for all mp road rage games (all game modes)
|
|
#define RAGE_STAT_RR_AWARDS_EARNED 229 // Total end of game awards in all mp RR game modes
|
|
#define RAGE_STAT_RR_ODO_GROUND 230 // Total miles driven in all mp RR game modes
|
|
#define RAGE_STAT_BULLIES_KILLED 231 // Killed Bully in MP game mode
|
|
#define RAGE_STAT_KILLS_AS_BULLY 232 // Kills while you are bully in MP
|
|
#define RAGE_STAT_BECAME_BULLY 233 // Kills while you are bully in MP
|
|
#define RAGE_STAT_SKILL_JUMPS 234
|
|
#define RAGE_STAT_GAME_COMPLETED 235 // # of times completed at all difficulties
|
|
#define RAGE_STAT_GAME_COMPLETED_DIFFICULTY_0 236
|
|
#define RAGE_STAT_GAME_COMPLETED_DIFFICULTY_1 237
|
|
#define RAGE_STAT_GAME_COMPLETED_DIFFICULTY_2 238
|
|
#define RAGE_STAT_GAME_COMPLETED_DIFFICULTY_3 239
|
|
#define RAGE_STAT_ITEMS_ENGINEERED 240
|
|
#define RAGE_STAT_KILLS_WITH_ENGINEERED_ITEM 241
|
|
#define RAGE_STAT_STEALTH_KILLS_CROSSBOW 242
|
|
#define RAGE_STAT_SENTRY_BOT_KILLS 243
|
|
#define RAGE_STAT_SENTRY_BOT_SINGLE_MAX_KILLS 244 // how many kills with a single sentry bot?
|
|
#define RAGE_STAT_TURRET_KILLS 245
|
|
#define RAGE_STAT_TURRET_SINGLE_MAX_KILLS 246 // how many kills with a single turret?
|
|
#define RAGE_STAT_MIND_CONTROLLED_KILLS 247
|
|
#define RAGE_STAT_MIND_CONTROLLED_SINGLE_MAX_KILLS 248 // how many kills with a single mind controlled enemy?
|
|
#define RAGE_STAT_PERSONAL_DEATHS 249
|
|
#define RAGE_STAT_PLAYER_SUICIDES 250 // non-vehicle suicides
|
|
#define RAGE_STAT_PUNCHES_THROWN 251
|
|
#define RAGE_STAT_PUNCHES_HIT 252
|
|
#define RAGE_STAT_JETPACKER_SHOT 253
|
|
#define RAGE_STAT_FIELD_GOALS_FROM_ATV 254
|
|
#define RAGE_STAT_CASH_SP 255
|
|
#define NUM_RAGE_STATS 256
|
|
#define MAX_RAGE_STATS 500
|
|
|
|
#define JOBSTATUS_NONE 0
|
|
#define JOBSTATUS_FAILED 1
|
|
#define JOBSTATUS_ACCEPTED 2
|
|
#define JOBSTATUS_READYTOTURNIN 3
|
|
#define JOBSTATUS_READYTOTURNIN_UNKNOWN 4
|
|
#define JOBSTATUS_COMPLETED 5
|
|
|
|
#define SIMPLEMISSIONSTATUS_ACCEPTED 0
|
|
#define SIMPLEMISSIONSTATUS_READYTOTURNIN 1
|
|
#define SIMPLEMISSIONSTATUS_COMPLETED 2
|
|
|
|
#define TUTORIAL_TEXT 0 // Just text
|
|
#define TUTORIAL_IMAGE 1 // Just image and heading text
|
|
#define TUTORIAL_COMBO 2 // Heading and body text and image
|
|
#define TUTORIAL_SIMPLE 3 // Single line of text shown on hud
|
|
|
|
#define TUTORIAL_SPECIAL_NONE 0 // used for regular tutorials
|
|
#define TUTORIAL_SPECIAL_CROUCH 1 // used for special casing crouch tutorial
|
|
#define TUTORIAL_SPECIAL_VEHICLE 2 // must be in a vehicle for this to show.
|
|
#define TUTORIAL_SPECIAL_NONVEHICLE 3 // must not be in a vehicle for this to show.
|
|
#define TUTORIAL_SPECIAL_LOCKGRINDER 4 // build lockgrinder
|
|
#define TUTORIAL_SPECIAL_QUICKSELECTOR 5 // for things that need to show the quickselector
|
|
|
|
#define JOBPRECONDITION_NONE 0 // No precondition
|
|
#define JOBPRECONDITION_JOB 1 // Job greater or equal to jobstatus
|
|
#define JOBPRECONDITION_ITEM 2 // InventoryItem acquired
|
|
#define JOBPRECONDITION_GAMESTATEINT 3 // idDeclGameStateInt required
|
|
|
|
#define JOBPRECONDITIONSTATUS_ACCEPTED 0
|
|
#define JOBPRECONDITIONSTATUS_READYTOTURNIN 1
|
|
#define JOBPRECONDITIONSTATUS_COMPLETED 2
|
|
|
|
#define JOBREWARD_NONE 0 // No reward
|
|
#define JOBREWARD_ITEM 1 // InventoryItem acquired
|
|
#define JOBREWARD_ITEM_REMOVE 2 // remove an inventory item.
|
|
#define JOBREWARD_FACTION 3 // FactionAttitude achieved
|
|
#define JOBREWARD_JOBCOMPLETION 4 // Completes another job.
|
|
#define JOBREWARD_JOBACCEPT 5 // Gives you another job.
|
|
#define JOBREWARD_JOBREMOVE 6 // Removes this job and all trace of it from memory.
|
|
#define JOBREWARD_JOBREMOVE_INPROGRESS 7 // Removes this job if it is currently in progress
|
|
#define JOBREWARD_USEALTERNATEHANDS 8 // once this job is rewarded, use the alternate hands model
|
|
#define JOBREWARD_GAMESTATEINT 9 // sets a gameStateInt value
|
|
#define JOBREWARD_GARAGE 10 // sets all keys to be in a certain garage.
|
|
#define JOBREWARD_ACTIVATE_JOB 11 // if the jobdecl is a job in progess set it as the active job.
|
|
|
|
#define JOBFACTION_NONE 0 // No associated faction
|
|
#define JOBFACTION_BOUNTY 1 // No associated faction but bounty board job
|
|
#define JOBFACTION_WASTELANDER 2 // wasteland job faction
|
|
#define JOBFACTION_WELLSPRING 3 // job giver is wellspring faction
|
|
#define JOBFACTION_SUBWAYTOWN 4 // job giver is subway town faction
|
|
#define JOBFACTION_REGIME 5 // job giver is regime faction
|
|
#define JOBFACTION_MUTANTBASH 6 // job given is mutant bash related
|
|
|
|
#define JOBCOMPLETE_NONE 0 // No action required
|
|
#define JOBCOMPLETE_ITEM 1 // One or more of an InventoryItem must be acquired
|
|
#define JOBCOMPLETE_TRIGGER 2 // A Trigger must be tripped.
|
|
#define JOBCOMPLETE_JOB 3 // an other job must be completed for this job to complete
|
|
#define JOBCOMPLETE_JOB_ACCEPTED 4 // an other job must be accepted or further for this job to complete
|
|
#define JOBCOMPLETE_GAMESTATEINT 5 // game state int must be count or higher.
|
|
#define JOBCOMPLETE_JUSTDISPLAY 6 // just for display, not an actual completion condition
|
|
|
|
#define JOBTYPE_NONE 0 // invalid bass type to know something is wrong.
|
|
#define JOBTYPE_REQUIRED 1 // main required quest job.
|
|
#define JOBTYPE_SIMPLE 2 // helpers for the main job. i.e. pickup pistol, talk to lassard.
|
|
#define JOBTYPE_OPTIONAL 3 // optional quest job
|
|
#define JOBTYPE_OPTIONAL_POSTED 4 // optional quest job that is not related to an ai.
|
|
#define JOBTYPE_REPEATING 5 // repeating optional quest job. (i.e. destroy bandit cars)
|
|
#define JOBTYPE_APPROACHVO 6 // wandering NPC one-off approach vo job
|
|
#define JOBTYPE_RADIOVO 7 // radio one-off vo job
|
|
#define JOBTYPE_DATAMANAGEMENT 8 // used to maintain data state.
|
|
#define JOBTYPE_DYNAMIC_COMBAT 9 // used for vehicle combat dynamic job
|
|
#define JOBTYPE_DYNAMIC_OTHER 10 // used for other dynamic jobs
|
|
#define JOBTYPE_JUSTGUI 11 // not really a job but uses the same system to show the gui. (used for transitioning between wastelands)
|
|
#define JOBTYPE_INFO 12 // used for information that is always stored
|
|
|
|
#define BURSTMODE_DEFAULT 0
|
|
#define BURSTMODE_SINGLE 0 // a single shot is fired
|
|
#define BURSTMODE_BURST 1 // a limited number shots are fired in succession
|
|
#define BURSTMODE_FULLAUTO 2 // shots are fired until the loaded ammo is expended
|
|
#define BURSTMODE_MAX 3 // number of burst mode types (unused for script)
|
|
|
|
#define WEAPONKICK_AXIS_YAW 0
|
|
#define WEAPONKICK_AXIS_PITCH 1
|
|
#define WEAPONKICK_AXIS_PITCH_ADDITIONAL 2
|
|
#define WEAPONKICK_WEAPON_OFFSET 3
|
|
#define WEAPONKICK_WEAPON_OFFSET_LEFT 4
|
|
#define WEAPONKICK_AXIS_MAX 5
|
|
|
|
#define WEAPONANIM_FISTS 0 // weapon is a fist weapon (nothing held in hands)
|
|
#define WEAPONANIM_MELEE 1 // weapon is a melee weapon
|
|
#define WEAPONANIM_PISTOL 2 // weapon is a one-handed pistol-type weapon
|
|
#define WEAPONANIM_RIFLE 3 // weapon is a two-handed rifle-ish weapon
|
|
#define WEAPONANIM_MAX 4 // number of weapon anim set types (unused for script)
|
|
|
|
#define INVENUM_ALL 0 // all items from player
|
|
#define INVENUM_NOAMMO 1 // all items but no ammo from player
|
|
#define INVENUM_AMMOONLY 2 // only ammo items from player
|
|
#define INVENUM_NOQUICKSLOTS 3 // all items but no ammo or quickslot items from player
|
|
#define INVENUM_FOCUSITEMS 4 // all items from the player's focus entity
|
|
#define INVENUM_LOOTABLEITEMS 5 // all lootable items from the player's focus entity
|
|
#define INVENUM_ALTENTITYITEMS 6 // all items from the alternate inventory entity set in idUIScope_Player
|
|
#define INVENUM_FOCUSITEMSFORSALE 7 // all items for sale from the focus entity
|
|
#define INVENUM_ITEMSFORSALE 8 // all items for sale from the player entity
|
|
#define INVENUM_QUICKITEMS 9 // all inventory items with quickslots defined (not weapons)
|
|
#define INVENUM_INVENTORYONLY 10 // all inventory items with no weapons or ammo
|
|
#define INVENUM_EQUIPPEDWEAPONS 11 // only weapons equipped to a quick slot
|
|
#define INVENUM_UNEQUIPPEDWEAPONS 12 // only weapons not equipped to a quick slot
|
|
#define INVENUM_INVENTORYONLYCONTAINERS 13 // same as inventoryOnly, but displays containers first
|
|
#define INVENUM_INVENTORYCONTAINERITEMS 14 // only the container items for the specified container item
|
|
#define INVENUM_VEHICLEUPGRADES 15 // all upgrades that can be applied to any vehicle
|
|
|
|
#define INVQUERY_PLAYER 0 // query the player's inventory
|
|
#define INVQUERY_FOCUSENTITY 1 // query the player's focus entity's inventory
|
|
#define INVQUERY_NAMEDENTITY 2 // query the named entity's inventory
|
|
|
|
#define QUICKSLOTGROUP_NONE 0 // item can not be placed into a quickslot group
|
|
#define QUICKSLOTGROUP_WEAPON 1 // item can be in the weapon quickslot group
|
|
#define QUICKSLOTGROUP_ITEM 2 // item can be in the items quickslot group
|
|
#define QUICKSLOTGROUP_VEHICLE 3 // item can be in the vehicle quickslot group
|
|
|
|
#define WASTELAND_UNDEFINED 0
|
|
#define WASTELAND_ONE 1
|
|
#define WASTELAND_TWO 2
|
|
|
|
#define VEHICLE_DRIVER_ATV 0
|
|
#define VEHICLE_DRIVER_CAR 1
|
|
#define VEHICLE_DRIVER_MAX 2
|
|
|
|
#define UPGRADE_TIRES 0 // tires
|
|
#define UPGRADE_SUPERCHARGER 1 // supercharger
|
|
#define UPGRADE_SUSPENSION 2 // suspension
|
|
#define UPGRADE_BOOSTER 3 // booster
|
|
#define UPGRADE_FRONTGRILL 4 // front-grill
|
|
#define UPGRADE_WEAPONS 5 // weapons
|
|
#define UPGRADE_FLAG 6 // flag
|
|
#define UPGRADE_THEME 7 // theme
|
|
#define UPGRADE_TRANSMISSION 8 // transmission
|
|
#define UPGRADE_ENGINE 9 // engine
|
|
#define UPGRADE_ARMOR 10 // armor
|
|
#define UPGRADE_TIRERIPPERS 11 // tire-rippers
|
|
#define UPGRADE_MAGNET 12 // magnet
|
|
#define UPGRADE_MAX 13
|
|
|
|
#define VEHICLE_CLASSNONE 0 // no class
|
|
#define VEHICLE_CLASS1 1 // class 1
|
|
#define VEHICLE_CLASS2 2 // class 2
|
|
#define VEHICLE_CLASS3 3 // class 3
|
|
#define VEHICLE_CLASS4 4 // class 4
|
|
|
|
#define BACKPACK 0 // in the actor's backpack (no visible)
|
|
#define HOLSTERED 1 // in a holster slot
|
|
#define EQUIPPED 2 // equipped is it's use spot
|
|
|
|
#define AI_DODGE_TYPE_MELEE 0
|
|
#define AI_DODGE_TYPE_LIGHT 1
|
|
#define AI_DODGE_TYPE_MEDIUM 2
|
|
#define AI_DODGE_TYPE_HEAVY_CLOSE_RANGE 3
|
|
#define AI_DODGE_TYPE_HEAVY_MEDIUM_RANGE 4
|
|
#define AI_DODGE_TYPE_HEAVY_LONG_RANGE 5
|
|
|
|
#define PISTATE_INACTIVE 0 // waiting to be activated
|
|
#define PISTATE_APPROACH_PLAYED 1 // approach VO played
|
|
#define PISTATE_JOB_SETUP_PLAYED 2 // job VO played
|
|
#define PISTATE_JOB_END_PLAYED 3 // job VO played
|
|
#define PISTATE_JOB_IN_PROGRESS 4 // job in progress
|
|
|
|
#define INTERACTIONCONDITION_NONE 0 // No precondition
|
|
#define INTERACTIONCONDITION_JOB 1 // Job status higher then jobStatus
|
|
#define INTERACTIONCONDITION_ITEM 2 // InventoryItem acquired, if count = 0 means you can't have the item.
|
|
#define INTERACTIONCONDITION_GAMESTATEINT 3 // gameStateInt value required
|
|
#define INTERACTIONCONDITION_FORCEFALSE 4 // forces the result to false
|
|
#define INTERACTIONCONDITION_FORCETRUE 5 // forces the result to true
|
|
|
|
#define INTERACTIONTEST_JOBSTATUS_ACCEPTED 0
|
|
#define INTERACTIONTEST_JOBSTATUS_READYTOTURNIN 1
|
|
#define INTERACTIONTEST_JOBSTATUS_COMPLETED 2
|
|
|
|
#define AIIDLETURN_RELAXED 0
|
|
#define AIIDLETURN_COMBAT 1
|
|
#define AIIDLETURN_INCOVER 2
|
|
#define AIIDLETURN_MAX 3
|
|
|
|
#define AIINJUREDRUNMODE_MOSTDAMAGED 0 // injured run once beyond damage threshold, or after played pain
|
|
#define AIINJUREDRUNMODE_RECENTLYDAMAGED 1 // injured run when recently damaged, for a limited time
|
|
#define AIINJUREDRUNMODE_AFTERPAIN 2 // injured run once beyond damage threshold but only after to injury pain
|
|
#define AIINJUREDRUNMODE_GORE_LEVEL 3 // injured runs based on damage group gore level info
|
|
|
|
#define VOCHAIN_NONE 0
|
|
#define VOCHAIN_ORDER_STAGE_ADVANCE 1
|
|
#define VOCHAIN_ORDER_STAGE_FALLBACK 2
|
|
#define VOCHAIN_ORDER_STAGE_RETREAT 3
|
|
#define VOCHAIN_ORDER_CHARGE 4
|
|
#define VOCHAIN_ORDER_ASSAULT 5
|
|
#define VOCHAIN_ORDER_DEFEND 6
|
|
#define VOCHAIN_ORDER_FLANK 7
|
|
#define VOCHAIN_ORDER_GRENADE 8
|
|
#define VOCHAIN_ORDER_COVER_FIRE 9
|
|
#define VOCHAIN_RESPOND_STAGE_ADVANCING 10
|
|
#define VOCHAIN_RESPOND_STAGE_FALLBACK 11
|
|
#define VOCHAIN_RESPOND_STAGE_RETREAT 12
|
|
#define VOCHAIN_RESPOND_CHARGING 13
|
|
#define VOCHAIN_RESPOND_ASSAULTING 14
|
|
#define VOCHAIN_RESPOND_DEFENDING 15
|
|
#define VOCHAIN_RESPOND_FLANKING 16
|
|
#define VOCHAIN_RESPOND_GRENADE_OUT 17
|
|
#define VOCHAIN_RESPOND_COVERING 18
|
|
#define VOCHAIN_RESPOND_OK 19
|
|
#define VOCHAIN_RESPOND_CANT_SEE 20
|
|
#define VOCHAIN_RESPOND_INJURED 21
|
|
#define VOCHAIN_RESPOND_INTIMIDATED 22
|
|
#define VOCHAIN_RESPOND_PINNED 23
|
|
#define VOCHAIN_RESPOND_REPEAT_ORDER 24
|
|
#define VOCHAIN_RESPOND_ILL_DO_IT 25
|
|
#define VOCHAIN_RESPOND_ENEMY_LOCATION 26
|
|
#define VOCHAIN_DELAYED_VO 27
|
|
#define VOCHAIN_DELAYED_ORDER 28
|
|
#define VOCHAIN_MAX 29
|
|
|
|
#define DAMAGETYPE_NONE 0
|
|
#define DAMAGETYPE_GENERIC 1 // generic damage type, should be used by scripts etc
|
|
#define DAMAGETYPE_MELEE 2 // damage from melee
|
|
#define DAMAGETYPE_PISTOL 4 // damage from a pistol
|
|
#define DAMAGETYPE_RIFLE 8 // damage from a rifle
|
|
#define DAMAGETYPE_SHOTGUN 16 // damage from a shotgun
|
|
#define DAMAGETYPE_TURRET 32 // damage from a turret
|
|
#define DAMAGETYPE_VEHICLE_RAM 64 // damage from a vehicle ram
|
|
#define DAMAGETYPE_LASER 128 // damage from laser
|
|
#define DAMAGETYPE_EXPLOSION 256 // explosion damage
|
|
#define DAMAGETYPE_FIRE 512 // fire damage
|
|
#define DAMAGETYPE_ELECTRIC 1024 // electric damage
|
|
#define DAMAGETYPE_EDGED 4096 // edged damage, knifes etc
|
|
#define DAMAGETYPE_BLUNT 8192 // blunt damage, batongs, rifle butt
|
|
#define DAMAGETYPE_LASER_CUTTING 16384 // damage causes cutting to occur
|
|
#define DAMAGETYPE_NO_DAMAGE 32768 // no damage should be taken from this damage, only effects
|
|
#define DAMAGETYPE_ALL 2147483647 // all damage types
|
|
#define DAMAGETYPE_LIGHT 140
|
|
#define DAMAGETYPE_HEAVY 48
|
|
|
|
#define GORETYPE_NONE 0
|
|
#define GORETYPE_DECAPITATION 1 // decapitation
|
|
#define GORETYPE_DISMEMBER_ARMS 2 // arm dismemberment
|
|
#define GORETYPE_DISMEMBER_LEGS 4 // leg dismemberment
|
|
#define GORETYPE_GIB 8 // body gib
|
|
#define GORETYPE_HEAD_EXPLODE 16 // head explode
|
|
#define GORETYPE_SMALL_WOUND 32 // small wound
|
|
#define GORETYPE_BIG_WOUND 64 // big wound
|
|
#define GORETYPE_TORSO_SAW 128 // saw
|
|
#define GORETYPE_BFG 256 // bfg complete body gib
|
|
#define GORETYPE_ANY 2147483647 // all
|
|
|
|
#define DAMAGESRC_UNKNOWN 0
|
|
#define DAMAGESRC_BULLET 1
|
|
#define DAMAGESRC_MELEE 2
|
|
#define DAMAGESRC_FIRE 4
|
|
#define DAMAGESRC_ELECTRICAL 8
|
|
#define DAMAGESRC_FALL 16
|
|
#define DAMAGESRC_CRUSH 32
|
|
#define DAMAGESRC_EXPLOSIVE 64
|
|
#define DAMAGESRC_CHAINSAW 128
|
|
#define DAMAGESRC_ACID 256
|
|
#define DAMAGESRC_HELLSPIKE 512
|
|
#define DAMAGESRC_PLASMA 1024
|
|
#define DAMAGESRC_BFG 2048
|
|
#define DAMAGESRC_SPIRITWEB 4096
|
|
#define DAMAGESRC_POISON_GAS 8192
|
|
#define DAMAGESRC_SYNCED_FATALITY 16384
|
|
|
|
#define ATTACK_DEFAULT 0
|
|
#define ATTACK_LEFT 1
|
|
#define ATTACK_RIGHT 2
|
|
#define ATTACK_LEFT2 3 // single model with 2 weapons, each weapons has left/right muzzle
|
|
#define ATTACK_RIGHT2 4
|
|
#define ATTACK_LEFT3 5 // single model with 3 weapons, each weapons has left/right muzzle
|
|
#define ATTACK_RIGHT3 6
|
|
#define ATTACK_MAX 7
|
|
|
|
#define USABLE_NOT_USABLE 0
|
|
#define USABLE_DISABLED 1 // generic usable, show icon but we can't actually use it
|
|
#define USABLE_LOOT 2
|
|
#define USABLE_PROP 3
|
|
#define USABLE_AI_TALK 4
|
|
#define USABLE_AI_TOWN 5
|
|
#define USABLE_AI_TAGGABLE 6
|
|
#define USABLE_DOOR 7
|
|
#define USABLE_MOVER 8
|
|
#define USABLE_RC_PICKUP 9
|
|
#define USABLE_VEHICLE_DRIVE 10
|
|
#define USABLE_VEHICLE_GUNNER 11
|
|
#define USABLE_DISASSEMBLE 12
|
|
#define USABLE_AMMO_REFILL 13
|
|
#define USABLE_MAX 14
|
|
|
|
#define AIEVENT_NONE 0
|
|
#define AIEVENT_FOOTSTEP 1 // a footstep sound
|
|
#define AIEVENT_GUNFIRE 2 // a gunfire sound
|
|
#define AIEVENT_EXPLOSION 4 // an explosion sound
|
|
#define AIEVENT_GRENADE 8 // a bounds surrounding a grenade
|
|
#define AIEVENT_BODY 16 // a bounds surrounding a dead body
|
|
#define AIEVENT_VEHICLE 32 // a swept bounds surrounds a vehicle
|
|
#define AIEVENT_AIM 64 // a swept bounds encompassing an entity's aim vector
|
|
#define AIEVENT_VOICE 512 // an AI said or yelled something
|
|
#define AIEVENT_INVESTIGATE 2048 // a generic an AI should investigate
|
|
#define AIEVENT_PROJECTILE 4096 // a generic projectile that AI should avoid
|
|
#define AIEVENT_POSSESSION 8192 // distracted by a possessed guy
|
|
#define AIEVENT_DOOR_MOTION 65536 // door open/close sound
|
|
#define AIEVENT_DEAD_BODY_LAND 131072 // dead body crumple sound
|
|
#define AIEVENT_DEPLOY_SOUND 262144 // deploy turret, rc car, etc
|
|
#define AIEVENT_VEHICLE_SOUND 524288 // sound from rc cars, vehicles
|
|
#define AIEVENT_PLAYER_GRENADE 1048576 // a (larger) bounds surrounding a grenade for the player
|
|
#define AIEVENT_PLAYER_INTERACTION 2097152 // bounds around the player for init'ing interactions
|
|
#define AIEVENT_RELOAD 16777216 // AI or player is reloading their weapon
|
|
#define AIEVENT_PROJECTILE_IMPACT 33554432 // sound of something like a crossbow bolt hitting the wall
|
|
#define AIEVENT_DELAYED_VO 67108864
|
|
#define AIEVENT_ALL_AI -1048577 // all AI-only events
|
|
#define AIEVENT_ALL_PLAYER 1048576 // all Player-only events
|
|
#define AIEVENT_ALL -1 // all events
|
|
|
|
#define SIG_TOUCH 0 // object was touched
|
|
#define SIG_USE 1 // object was used
|
|
#define SIG_TRIGGER 2 // object was activated
|
|
#define SIG_REMOVED 3 // object was removed from the game
|
|
#define SIG_DAMAGE 4 // object was damaged
|
|
#define SIG_BLOCKED 5 // object was blocked
|
|
#define SIG_MOVER_POS1 6 // mover at position 1 (door closed)
|
|
#define SIG_MOVER_POS2 7 // mover at position 2 (door open)
|
|
#define SIG_MOVER_1TO2 8 // mover changing from position 1 to 2
|
|
#define SIG_MOVER_2TO1 9 // mover changing from position 2 to 1
|
|
#define SIG_PLAYER_INTERACTING 10 // player within interaction range
|
|
#define SIG_INTERACTION_FINISHED 11 // interaction with a player finished
|
|
#define NUM_SIGNALS 12
|
|
#define SIG_DOOR_CLOSED 6 // mover at position 1 (door closed)
|
|
#define SIG_DOOR_OPEN 7 // mover at position 2 (door open)
|
|
#define SIG_DOOR_OPENING 8 // mover changing from position 1 to 2
|
|
#define SIG_DOOR_CLOSING 9 // mover changing from position 2 to 1
|
|
|
|
#define ENTITYTYPE_NONE 0
|
|
#define ENTITYTYPE_MISC 1 // all weapons, power-ups, other models (EXCEPT those below)
|
|
#define ENTITYTYPE_LIVINGAI 2 // all living ai's (health > 0)
|
|
#define ENTITYTYPE_DEADAI 4 // all dead ai's (health <= 0)
|
|
#define ENTITYTYPE_TURRET 8 // all player-placed sentry turrets
|
|
|
|
#define INVALID_FIBER 0
|
|
|
|
#define DIR_UP -1 // upwards in worldspace
|
|
#define DIR_DOWN -2 // downwards in worldspace
|
|
#define DIR_LEFT -3 // left, relative to the object's yaw
|
|
#define DIR_RIGHT -4 // right, relative to the object's yaw
|
|
#define DIR_FORWARD -5 // forward, relative to the object's yaw
|
|
#define DIR_BACK -6 // backward, relative to the object's yaw
|
|
#define DIR_REL_UP -7 // up, relative to the object's full orientation
|
|
#define DIR_REL_DOWN -8 // down, relative to the object's full orientation
|
|
#define DIR_REL_LEFT -9 // left, relative to the object's full orientation
|
|
#define DIR_REL_RIGHT -10 // right, relative to the object's full orientation
|
|
#define DIR_REL_FORWARD -11 // forward, relative to the object's full orientation
|
|
#define DIR_REL_BACK -12 // backward, relative to the object's full orientation
|
|
|
|
#define MAPTYPE_INSTANCE 0 // InstanceMap
|
|
#define MAPTYPE_OUTDOOR 1 // OutdoorMap (Wasteland)
|
|
#define MAPTYPE_RACETRACK 2 // RaceTrack map
|
|
#define MAPTYPE_TOWN 3 // TownMap (Wasteland town or hub)
|
|
#define MAPTYPE_MERGEMAP 4 // MergeMap (a terrain+unique fragment map that's merged with others to create a Wasteland)
|
|
#define MAPTYPE_MAX 5
|
|
|
|
#define OFFERCHOICE_DECLINED 0 // player declined the offer
|
|
#define OFFERCHOICE_ACCEPTED 1 // player accepted the offer
|
|
#define OFFERCHOICE_PURCHASE 2 // player purchased an item
|
|
#define OFFERCHOICE_GENERICSELECTION_1 3 // player generic selection 1
|
|
#define OFFERCHOICE_GENERICSELECTION_2 4 // player generic selection 2
|
|
#define OFFERCHOICE_GENERICSELECTION_3 5 // player generic selection 3
|
|
#define OFFERCHOICE_GENERICSELECTION_4 6 // player generic selection 3
|
|
#define OFFERCHOICE_UNKNOWN 7 // hasn't chosen yet
|
|
|
|
#define TL_EVENT_NONE 0 // Undefined
|
|
#define TL_EVENT_ANIM 1 // Animation event(play animation)
|
|
#define TL_EVENT_SOUND 2 // Sound event(play sound)
|
|
#define TL_EVENT_TELEPORT 3 // Teleport event(move entity)
|
|
#define TL_EVENT_SETKEY 4 // SetKey event(modify entity value)
|
|
#define TL_EVENT_ANIMKEY 5 // AnimKey event(animate entity value)
|
|
#define TL_EVENT_ACTIVATE 6 // Activate event(activate entity)
|
|
#define TL_EVENT_SETENV 7 // SetEnv event(set env override)
|
|
#define TL_EVENT_MAX 8
|
|
|
|
#define TL_KEY_INVALID -1
|
|
#define TL_KEY_VISIBILITY 0 // Entity visibility
|
|
#define TL_KEY_LIGHTCOLOR 1 // Light entity color
|
|
#define TL_KEY_DOF 2 // Depth of field on camera, sets all four values below
|
|
#define TL_KEY_FOCAL 3 // Focal plane
|
|
#define TL_KEY_NEARBP 4 // Near blur plane
|
|
#define TL_KEY_FARBP 5 // Far blur plane
|
|
#define TL_KEY_BSCALE 6 // Blur scale
|
|
#define TL_KEY_MAX 7
|
|
|
|
#define TL_KEYTYPE_BOOL 0 // boolean valuebool
|
|
#define TL_KEYTYPE_INT 1 // integer valueint
|
|
#define TL_KEYTYPE_FLOAT 2 // floating point valuefloat
|
|
#define TL_KEYTYPE_FLOAT3 3 // 3-float valueidVec3
|
|
#define TL_KEYTYPE_COLOR_RGB 4 // rgb color valueidVec3
|
|
#define TL_KEYTYPE_FLOAT4 5 // 4-float valueidVec4
|
|
#define TL_KEYTYPE_COLOR_RGBA 6 // rgba color valueidVec4
|
|
#define TL_KEYTYPE_MAX 7
|
|
|
|
#define GROUP_AVERAGE_HEALTH 0 // trigger on the average health of the group members
|
|
#define GROUP_MEMBERS_DEAD 1 // trigger on the number of dead group members
|
|
#define GROUP_MEMBERS_DEAD_UNALERTED 2 // trigger on the number of dead group members if the group has not yet been alerted
|
|
#define GROUP_MEMBERS_ALIVE 3 // trigger on the number of group members remaining
|
|
#define GROUP_MEMBERS_ALIVE_UNALERTED 4 // trigger on the number of members remaining in group that is not alerted
|
|
#define GROUP_PERCENT_ALIVE 5 // trigger on percentage of total group still alive
|
|
#define GROUP_CONFIDENCE 6 // trigger on the average confidence level for the group. 0 is SCARED while 4 is FEARLESS.
|
|
#define GROUP_NUMBERS_ADVANTAGE 7 // trigger on number of living group members minus number of known group enemies
|
|
#define AVERAGE_ENEMY_HEALTH 8 // trigger on the average health of all enemies known to the group
|
|
#define LOWEST_PLAYER_HEALTH 9 // trigger on health of player with lowest health
|
|
#define LOWEST_TARGET_PLAYER_HEALTH 10 // trigger on the health of player with lowest health that is a target of the group
|
|
#define HIGHEST_PLAYER_HEALTH 11 // trigger on health of player with lowest health
|
|
#define HIGHEST_TARGET_PLAYER_HEALTH 12 // trigger on the health of player with lowest health that is a target of the group
|
|
#define GROUP_LEADER_HEALTH 13 // trigger on the health of the group leader
|
|
#define HAS_ENEMY 14 // true if more than 1/2 of the group members have an enemy target (search or combat)
|
|
#define NUM_IN_COMBAT 15 // returns the number of living group members in the combat state
|
|
#define NUM_IN_SEARCH 16 // returns the number of living group members in the search state
|
|
#define NUM_IN_RELAXED 17 // returns the number of living group members in the relaxed state
|
|
#define NUM_WITH_ENEMY 18 // returns the number of living group members that have an enemy
|
|
#define NUM_WITH_PLAYER_ENEMY 19 // returns the number of living group members that have a player as the enemy
|
|
#define TRIGGERVAR_MAX 20 // internal use only! do not use in editor!
|
|
|
|
#define ACTIVATOR_NONE 0 // pass a NULL activator
|
|
#define ACTIVATOR_GROUP_LEADER 1 // pass the group leader as the activator of the trigger
|
|
#define ACTIVATOR_RANDOM_GROUP_MEMBER 2 // pass a randomly selected member of the group as the activator of the trigger (include dead members)
|
|
#define ACTIVATOR_RANDOM_LIVE_GROUP_MEMBER 3 // pass a randomly selected living member of the group as the activator of the trigger ( NULL if no living members )
|
|
#define ACTIVATOR_RANDOM_DEAD_GROUP_MEMBER 4 // pass a randomly selected dead member of the group as the activator of the trigger ( NULL if no dead members )
|
|
#define ACTIVATOR_RANDOM_ENEMY 5 // pass a randomly selected enemy from the known enemies of the group as the activator of the trigger
|
|
#define ACTIVATOR_TARGET_PLAYER_LOWEST_HEALTH 6 // pass the player with the lowest health who is a known enemy of the group as the activator of the trigger ( if no targeted players, choose from non-targeted players )
|
|
#define ACTIVATOR_TARGET_PLAYER_HIGHEST_HEALTH 7 // pass the player with the highest health who is a known enemy of the group as the activator of the trigger ( if no targeted players, choose from non-targeted players )
|
|
#define ACTIVATOR_PLAYER_LOWEST_HEALTH 8 // pass the player with the lowest health as the activator of the trigger
|
|
#define ACTIVATOR_PLAYER_HIGHEST_HEALTH 9 // pass the player with the highest health as the activator of the trigger
|
|
|
|
#define TRIGGEROP_LESS_THAN 0 // trigger when the trigger variable is less than the test value
|
|
#define TRIGGEROP_LESS_THAN_EQUAL 1 // trigger when the trigger variable is less than or equal to the test value
|
|
#define TRIGGEROP_EQUAL 2 // trigger when the trigger variable equals the test value
|
|
#define TRIGGEROP_GREATER_THAN 3 // trigger when the trigger variable is greater than the test value
|
|
#define TRIGGEROP_GREATER_THAN_EQUAL 4 // trigger when the trigger variable is greater than or equal to the test value
|
|
|
|
#define AIMOVESTATUS_DONE 0
|
|
#define AIMOVESTATUS_MOVING 1
|
|
#define AIMOVESTATUS_ERROR 2
|
|
#define AIMOVESTATUS_NO_AAS 3 // no aas
|
|
#define AIMOVESTATUS_INVALID_ENTITY 4 // tried to move to a NULL entity
|
|
#define AIMOVESTATUS_UNREACHABLE 5 // point or entity is unreachable
|
|
#define AIMOVESTATUS_NOT_IN_AAS 6 // AI could not be pushed into a valid AAS area.
|
|
#define AIMOVESTATUS_PATHING_FAILED 7 // couldn't find a path to the destination point
|
|
#define AIMOVESTATUS_OBSTRUCTED 8 // obstacle in the way
|
|
#define AIMOVESTATUS_NO_PATH_GROUP 9 // no path group was found
|
|
#define AIMOVESTATUS_NO_PATH_POINT 10 // no closest path point was found
|
|
#define AIMOVESTATUS_STUCK 11 // not making any progress for an unknown reason
|
|
#define AIMOVESTATUS_MAX 12
|
|
|
|
#define ONOFFAUTO_OFF 0
|
|
#define ONOFFAUTO_ON 1
|
|
#define ONOFFAUTO_AUTO 2
|
|
|
|
#define MERCHANTCONDITION_AVAILABLE 0 // No precondition
|
|
#define MERCHANTCONDITION_PLAYERINVENTORY 1 // test if the player has the test inventory item
|
|
#define MERCHANTCONDITION_NOTININVENTORY 2 // test to make sure an item isn't in the inventory.
|
|
#define MERCHANTCONDITION_JOB_ACCEPTED 3 // Job at least accepted
|
|
#define MERCHANTCONDITION_JOB_READY 4 // Job at least ready
|
|
#define MERCHANTCONDITION_JOB_COMPLETE 5 // Job complete
|
|
|
|
#define TAKEDOWNTYPE_DEFAULT 0 // Default, if friendly won't be able to do takedowns
|
|
#define TAKEDOWNTYPE_NOTAKEDOWN 1 // Can't do takedowns on this ai
|
|
#define TAKEDOWNTYPE_FORCEFRIENDLYTAKEDOWN 2 // Can do takedown even if friendly
|
|
|
|
#define ACTION_SET_CLASSES 0
|
|
#define ACTION_ADD_CLASSES 1
|
|
#define ACTION_REMOVE_CLASSES 2
|
|
|
|
#define TARGETJOB_ACCEPTED 0
|
|
#define TARGETJOB_READYTOTURNIN 1
|
|
#define TARGETJOB_COMPLETED 2
|
|
#define TARGETJOB_FAILED 3
|
|
|
|
#define JOBTRIGGEREDTIME_IMMEDIATE 0
|
|
#define JOBTRIGGEREDTIME_MAPLOAD 1
|
|
#define JOBTRIGGEREDTIME_BOTH 2
|
|
|
|
#define JOBTRIGGEREDTYPE_EQUAL 0
|
|
#define JOBTRIGGEREDTYPE_GREATER_OR_EQUAL 1
|
|
#define JOBTRIGGEREDTYPE_LESS 2
|
|
#define JOBTRIGGEREDTYPE_NOTEQUAL 3
|
|
|
|
#define TLC_ACTIVATE 0
|
|
#define TLC_ACTIVATE_FROM_DEACTIVE 1
|
|
#define TLC_DEACTIVATE_IN_MAP 2
|
|
#define TLC_ADD_DEACTIVE_TO_PLAYER 3
|
|
#define TLC_REMOVE_FROM_PLAYER 4
|
|
#define TLC_REMOVE_FROM_GAME 5
|
|
#define TLC_REMOVE_MARK_ACTIVE_NEXT_MAP_LOAD 6
|
|
#define TLC_REMOVE_MARK_DEACTIVE_NEXT_MAP_LOAD 7
|
|
|
|
#define TARGETLAYERCHANGE_NONE 0
|
|
#define TARGETLAYERCHANGE_ACTIVATE 1
|
|
#define TARGETLAYERCHANGE_DEACTIVATE 2
|
|
|
|
#define BLOCKED_NONE 0
|
|
#define BLOCKED_WORLD 1 // World blocks dummyFire from shooting
|
|
#define BLOCKED_AI 2 // AI blocks dummyFire from shooting
|
|
#define BLOCKED_PLAYER 4 // Player blocks dummyFire from shooting
|
|
#define BLOCKED_VEHICLE 8 // Vehicles block dummyFire from shooting
|
|
|
|
#define WHEN_GOING_ABOVE_COUNT 0
|
|
#define WHEN_GOING_BELOW_COUNT 1
|
|
#define WHEN_REACHING_COUNT 2
|
|
|
|
#define MODE_AUTO 0
|
|
#define MODE_MANUAL 1
|
|
|
|
#define ELEMENT_NONE 0
|
|
#define ELEMENT_BOTTOMBAR 1
|
|
|
|
#define HELPBUTTON_NONE 0
|
|
#define HELPBUTTON_USE 1
|
|
#define HELPBUTTON_JUMP 2
|
|
#define HELPBUTTON_CROUCH 3
|
|
#define HELPBUTTON_JOURNAL 4
|
|
#define HELPBUTTON_LOOK 5
|
|
#define HELPBUTTON_SPRINT 6
|
|
#define HELPBUTTON_FIRE 7
|
|
#define HELPBUTTON_EXIT 8
|
|
#define HELPBUTTON_MAX 9
|
|
|
|
|
|
/*
|
|
================================================
|
|
idEntity
|
|
================================================
|
|
*/
|
|
|
|
// Returns entity from a name
|
|
scriptEvent entity findEntity( string newName );
|
|
|
|
// Returns the name of this entity.
|
|
scriptEvent string getName();
|
|
|
|
// Sets the name of this entity.
|
|
scriptEvent void setName( string newName );
|
|
|
|
// Called when an entity is triggered
|
|
scriptEvent void activate( entity activator );
|
|
|
|
// Causes this entity to activate all it's targets. Similar to how a trigger activates entities. Activator is the entity that caused the action (usually the player).
|
|
scriptEvent void activateTargets( entity activator );
|
|
|
|
// sets this entity activatable or unactivatable
|
|
scriptEvent void makeActivatable( boolean activatable );
|
|
|
|
// Returns the number of entities this entity has targeted.
|
|
scriptEvent boolean targetsReady();
|
|
|
|
// Returns the number of targets.
|
|
scriptEvent float numTargets();
|
|
|
|
// Returns the requested target entity.
|
|
scriptEvent entity getTarget( float index );
|
|
|
|
// Removes the specified entity from the target list. Returns false if not found.
|
|
scriptEvent boolean removeTarget( entity target );
|
|
|
|
// Adds the specified entity to the target list
|
|
scriptEvent void addTarget( entity target );
|
|
|
|
// Clear all entities in the target list
|
|
scriptEvent void clearTargets();
|
|
|
|
// Returns a random targeted entity. Pass in an entity name to skip that entity.
|
|
scriptEvent entity randomTarget( string ignore );
|
|
|
|
// Fixes the position and orientation of this entity relative to another entity, such that when the master entity moves, so does this entity.
|
|
scriptEvent void bind( entity master );
|
|
|
|
// Fixes the position (but not orientation) of this entity relative to another entity, such that when the master entity moves, so does this entity.
|
|
scriptEvent void bindPosition( entity master );
|
|
|
|
// Fixes the position and orientation of this entity relative to a joint on another entity, such that when the master's joint moves, so does this entity.
|
|
scriptEvent void bindToJoint( entity master, string animName, string jointName, float orientated );
|
|
|
|
// Detaches this entity from its master.
|
|
scriptEvent void unbind();
|
|
|
|
// Removes all attached entities from the game.
|
|
scriptEvent void removeBinds();
|
|
|
|
// Sets the owner of this entity. Entity's will never collide with their owner.
|
|
scriptEvent void setOwner( entity owner );
|
|
|
|
// Sets the progression owner of this entity. The progression owner of this entity is notified on removal/use/destruction.
|
|
scriptEvent void setProgressionOwner( entity owner );
|
|
|
|
// Notifies the progression owner of this entity so it can update it's state.
|
|
scriptEvent void notifyProgressionOwner();
|
|
|
|
// Sets the model this entity uses.
|
|
scriptEvent void setModel( string modelname );
|
|
|
|
// returns the model this entity uses.
|
|
scriptEvent string getModel();
|
|
|
|
// Sets the clip model this entity uses.
|
|
scriptEvent void setClipModel( string clipModelName );
|
|
|
|
// Set the contents of the physics object to the specified flags.
|
|
scriptEvent void setContents( int contents );
|
|
|
|
// returns the contents of the entity's physics object.
|
|
scriptEvent int getContents();
|
|
|
|
// adds the specified contents flags to the physics object's existing contents flags.
|
|
scriptEvent void addContentsFlag( int contents );
|
|
|
|
// removes the specified contents flags from the physics object's existing contents flags.
|
|
scriptEvent void removeContentsFlag( int contents );
|
|
|
|
// Set the contents of the physics object to the specified flags.
|
|
scriptEvent void setClipMask( int mask );
|
|
|
|
// returns the contents of the entity's physics object.
|
|
scriptEvent int getClipMask();
|
|
|
|
// adds the specified contents flags to the physics object's existing contents flags.
|
|
scriptEvent void addClipMaskFlag( int mask );
|
|
|
|
// removes the specified contents flags from the physics object's existing contents flags.
|
|
scriptEvent void removeClipMaskFlag( int mask );
|
|
|
|
// Sets the skin this entity uses. Set to "" to turn off the skin.
|
|
scriptEvent void setSkin( string skinname );
|
|
|
|
// Sets shader parms Parm0, Parm1, Parm2, and Parm3 (red, green, blue, and alpha respectively).
|
|
scriptEvent void setShaderParms( float parm0, float parm1, float parm2, float parm3 );
|
|
|
|
// Sets the RGBA color of this entity (shader parms Parm0, Parm1, Parm2, Parm3).
|
|
scriptEvent void setColorAndAlpha( float red, float green, float blue, float alpha );
|
|
|
|
// Sets the RGB color of this entity (shader parms Parm0, Parm1, Parm2).
|
|
scriptEvent void setColor( float red, float green, float blue );
|
|
|
|
// Gets the color of this entity (shader parms Parm0, Parm1, Parm2).
|
|
scriptEvent vector getColor();
|
|
|
|
// Returns true if the entity's model is invisible.
|
|
scriptEvent int isHidden();
|
|
|
|
// Makes this entity invisible.
|
|
scriptEvent void hide();
|
|
|
|
// Makes this entity visible if it has a model.
|
|
scriptEvent void show();
|
|
|
|
// Pre-caches the specified sound shader. Prevents cache hits when playing sound shaders.
|
|
scriptEvent void cacheSoundShader( string soundName );
|
|
|
|
// Plays a specific sound shader on the channel and returns the length of the sound in seconds. This is not the preferred method of playing a sound since you must ensure that the sound is loaded.
|
|
scriptEvent float startSoundShader( decl shader, int channel );
|
|
|
|
// Stops a specific sound shader on the channel.
|
|
scriptEvent void stopSound( int channel, int netSync );
|
|
|
|
// Fades the sound on this entity to a new level over a period of time. Use SND_CHANNEL_ANY for all currently playing sounds.
|
|
scriptEvent void fadeSound( int channel, float to, float over );
|
|
|
|
// Fades pitch on this entity to a new level over a period of time. Units are in semitones. The Base pitch is zero. Negative is lower and positive is higher. Use SND_CHANNEL_ANY for all currently playing sounds.
|
|
scriptEvent void fadePitch( int channel, float to, float over );
|
|
|
|
// Plays a voiceover on the channel and returns the length of the voice over.
|
|
scriptEvent float playVoiceOver( decl voToPlay, int channel, string talkerID );
|
|
|
|
// change how the entity flashes.
|
|
scriptEvent void setHighlight( int hlColor );
|
|
|
|
// Returns the current world space position of this entity (regardless of any bind parent).
|
|
scriptEvent vector getWorldOrigin();
|
|
|
|
// Sets the current position of this entity (regardless of any bind parent).
|
|
scriptEvent void setWorldOrigin( vector org );
|
|
|
|
// Returns the current position of this entity (relative to bind parent if any).
|
|
scriptEvent vector getOrigin();
|
|
|
|
// Sets the current position of this entity (relative to it's bind parent if any).
|
|
scriptEvent void setOrigin( vector org );
|
|
|
|
// Returns the current orientation of this entity (relative to bind parent if any).
|
|
scriptEvent vector getAngles();
|
|
|
|
// Sets the current orientation of this entity (relative to bind parent if any).
|
|
scriptEvent void setAngles( vector ang );
|
|
|
|
// Returns the current forward vector of this entity's model axis
|
|
scriptEvent vector getModelForward();
|
|
|
|
// Gets the current linear velocity of this entity. The linear velocity of a physics object is a vector that defines the translation of the center of mass in units per second.
|
|
scriptEvent void setLinearVelocity( vector velocity );
|
|
|
|
// Sets the current linear velocity of this entity in units per second. The linear velocity of a physics object is a vector that defines the translation of the center of mass in units per second.
|
|
scriptEvent vector getLinearVelocity();
|
|
|
|
// Gets the current angular velocity of this entity. The angular velocity of a physics object is a vector that passes through the center of mass. The direction of this vector defines the axis of rotation and the magnitude defines the rate of rotation about the axis in radians per second.
|
|
scriptEvent void setAngularVelocity( vector velocity );
|
|
|
|
// Sets the current angular velocity of this entity. The angular velocity of a physics object is a vector that passes through the center of mass. The direction of this vector defines the axis of rotation and the magnitude defines the rate of rotation about the axis in radians per second.
|
|
scriptEvent vector getAngularVelocity();
|
|
|
|
// Gets the size of this entity's bounding box.
|
|
scriptEvent vector getSize();
|
|
|
|
// Gets the minimum corner of this entity's bounding box.
|
|
scriptEvent vector getMins();
|
|
|
|
// Gets the maximum corner of this entity's bounding box.
|
|
scriptEvent vector getMaxs();
|
|
|
|
// Returns true if this entity touches the other entity.
|
|
scriptEvent int touches( entity ent );
|
|
|
|
// Returns this entity to the position stored in the "origin" spawn arg. This is the position the entity was spawned in unless the "origin" key is changed. Note that there is no guarantee that the entity won't be stuck in another entity when moved, so care should be taken to make sure that isn't possible.
|
|
scriptEvent void restorePosition();
|
|
|
|
// Returns the distance of this entity to another entity.
|
|
scriptEvent float distanceTo( entity ent );
|
|
|
|
// Returns the distance of this entity to a point.
|
|
scriptEvent float distanceToPoint( vector point );
|
|
|
|
// Returns the angle (yaw) of this entity to another entity.
|
|
scriptEvent float angleTo( entity ent );
|
|
|
|
// Suspends execution of current thread for one game frame.
|
|
scriptEvent void waitFrame();
|
|
|
|
// Suspends execution of the current thread for the given number of seconds.
|
|
scriptEvent void wait( float time );
|
|
|
|
// Returns true if an entity's script object has a specific function.
|
|
scriptEvent int hasFunction( string name );
|
|
|
|
// Calls a function on this entity's script object.
|
|
scriptEvent void callFunction( string name );
|
|
|
|
// gets the named float variable from the entity's script object
|
|
scriptEvent float getScriptObjectFloat( string name );
|
|
|
|
// gets the named bool variable from the entity's script object
|
|
scriptEvent boolean getScriptObjectBool( string name );
|
|
|
|
// gets the named string variable from the entity's script object
|
|
scriptEvent string getScriptObjectString( string name );
|
|
|
|
// sets the type of script object attached to the entity and initializes it
|
|
scriptEvent void setScriptObject( string name );
|
|
|
|
// returns the name of the type of script object attached to the entity
|
|
scriptEvent string getScriptObject();
|
|
|
|
// Enables or prevents an entity from going dormant.
|
|
scriptEvent void setCanBecomeDormant( int enable );
|
|
|
|
// teleports the entity to a location
|
|
scriptEvent void teleport( vector origin, vector angles );
|
|
|
|
// clamp 'angles' between 'center' +/- 'offset'
|
|
scriptEvent vector clampAngles( vector angles, vector center, vector offset );
|
|
|
|
// calls functionality test on entity
|
|
scriptEvent void testFunctionality();
|
|
|
|
// gets the object class type
|
|
scriptEvent string getClass();
|
|
|
|
// compare class types
|
|
scriptEvent boolean isClass( string className );
|
|
|
|
// compare class type with inheritance
|
|
scriptEvent boolean isSpecificClass( string className );
|
|
|
|
// adds the entity to the remove list
|
|
scriptEvent void remove();
|
|
|
|
// true to enable damage
|
|
scriptEvent void setTakesDamage( boolean takesDamage );
|
|
|
|
// signal threads
|
|
scriptEvent void signalEvent( int signal );
|
|
|
|
/*
|
|
================================================
|
|
idScriptList
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent entity get( int index );
|
|
|
|
//
|
|
scriptEvent int size();
|
|
|
|
//
|
|
scriptEvent void append( entity toAdd );
|
|
|
|
//
|
|
scriptEvent void appendList( list toAdd );
|
|
|
|
//
|
|
scriptEvent void insert( entity toAdd, int index );
|
|
|
|
//
|
|
scriptEvent void erase( int index );
|
|
|
|
//
|
|
scriptEvent void clear();
|
|
|
|
//
|
|
scriptEvent void copy( list otherList );
|
|
|
|
/*
|
|
================================================
|
|
idEventReceiver
|
|
================================================
|
|
*/
|
|
|
|
// Removes this object from the game.
|
|
scriptEvent void remove();
|
|
|
|
/*
|
|
================================================
|
|
idThread
|
|
================================================
|
|
*/
|
|
|
|
// Disassociates the thread from it's thread entity and deletes the thread.
|
|
scriptEvent void remove();
|
|
|
|
// Terminates this thread.
|
|
scriptEvent void endThread();
|
|
|
|
// Terminates a thread.
|
|
scriptEvent void terminate( int threadHandle );
|
|
|
|
// Pauses the current thread.
|
|
scriptEvent void pause();
|
|
|
|
// Suspends execution of the current thread for the given number of seconds.
|
|
scriptEvent void wait( float time );
|
|
|
|
// Suspends execution for one game frame.
|
|
scriptEvent void waitFrame();
|
|
|
|
// Waits for the given entity to complete it's move.
|
|
scriptEvent void waitFor( entity ent );
|
|
|
|
// Waits for the given thread to terminate.
|
|
scriptEvent void waitForThread( int threadHandle );
|
|
|
|
//
|
|
scriptEvent void waitForEvent( int eventId );
|
|
|
|
// Waits for any of the specified flags to be set.
|
|
scriptEvent void waitForFlags( int flags );
|
|
|
|
// Prints the given string to the console.
|
|
scriptEvent void print( string text );
|
|
|
|
// Prints the given line to the console.
|
|
scriptEvent void println( string text );
|
|
|
|
// Prints this line in multiplayer.
|
|
scriptEvent void say( string text );
|
|
|
|
// Breaks if the condition is zero. (Only works in debug builds.)
|
|
scriptEvent void assert( float value );
|
|
|
|
// Triggers the given entity.
|
|
scriptEvent void trigger( entity ent, entity activator );
|
|
|
|
// Sets a cvar.
|
|
scriptEvent void setcvar( string name, string value );
|
|
|
|
// Returns the string for a cvar.
|
|
scriptEvent string getcvar( string name );
|
|
|
|
// Returns a random value X where 0 <= X < range.
|
|
scriptEvent float random( float range );
|
|
|
|
// Returns a random value X where 0 <= X < range.
|
|
scriptEvent int randomInt( int range );
|
|
|
|
// Returns the current game time in seconds.
|
|
scriptEvent float getTime();
|
|
|
|
// Sets the name of the current thread.
|
|
scriptEvent void setThreadName( string name );
|
|
|
|
// REturns the name of the current thread
|
|
scriptEvent string getThreadName();
|
|
|
|
// entity associated with this thread
|
|
scriptEvent void setThreadEntity( entity ent );
|
|
|
|
// returns the handle of the current thread
|
|
scriptEvent int getThreadHandle();
|
|
|
|
// Kills all threads with the specified name.
|
|
scriptEvent void killThread( string name );
|
|
|
|
// calls a the specified function using the entity's script object, using the entity's thread
|
|
scriptEvent void threadCall( entity ent, string functionName );
|
|
|
|
// Returns a reference to the entity with the specified name.
|
|
scriptEvent entity getEntity( string name );
|
|
|
|
// Creates an entity of the specified classname and returns a reference to the entity.
|
|
scriptEvent entity spawn( string classname );
|
|
|
|
// Returns a forward vector for the given Euler angles.
|
|
scriptEvent vector angToForward( vector ang );
|
|
|
|
// Returns a right vector for the given Euler angles.
|
|
scriptEvent vector angToRight( vector ang );
|
|
|
|
// Returns an up vector for the given Euler angles.
|
|
scriptEvent vector angToUp( vector ang );
|
|
|
|
// Returns the sine of the given angle in degrees.
|
|
scriptEvent float sin( float angle );
|
|
|
|
// Returns the cosine of the given angle in degrees.
|
|
scriptEvent float cos( float angle );
|
|
|
|
// Returns the tangent of the given angle in degrees.
|
|
scriptEvent float tan( float angle );
|
|
|
|
// Returns the arcsine of the given value in degrees.
|
|
scriptEvent float arcSin( float value );
|
|
|
|
// Returns the arccos of the given value in degrees.
|
|
scriptEvent float arcCos( float value );
|
|
|
|
// Returns the arctangent of the given value in degrees.
|
|
scriptEvent float arcTan( float value );
|
|
|
|
// Returns the arctangent of the given values in degrees.
|
|
scriptEvent float arcTan2( float y, float x );
|
|
|
|
// Returns the square root of the given number.
|
|
scriptEvent float sqrt( float theSquare );
|
|
|
|
// Returns the normalized version of the given vector.
|
|
scriptEvent vector vecNormalize( vector vec );
|
|
|
|
// Returns the length of the given vector.
|
|
scriptEvent float vecLength( vector vec );
|
|
|
|
// Returns the dot product of the two vectors.
|
|
scriptEvent float vecDotProduct( vector vec1, vector vec2 );
|
|
|
|
// Returns the cross product of the two vectors.
|
|
scriptEvent vector vecCrossProduct( vector vec1, vector vec2 );
|
|
|
|
// Returns Euler angles for the given direction.
|
|
scriptEvent vector vecToAngles( vector vec );
|
|
|
|
// Sets a script callback function for when the given signal is raised on the given entity.
|
|
scriptEvent void onSignal( int signal, entity ent, string func );
|
|
|
|
// Clears the script callback function set for when the given signal is raised on the given entity.
|
|
scriptEvent void clearSignalThread( int signal, entity ent );
|
|
|
|
// Returns the fraction of movement completed before the box from 'mins' to 'maxs' hits solid geometry when moving from 'start' to 'end'. The 'passEntity' is considered non-solid during the move.
|
|
scriptEvent float trace( vector start, vector end, vector mins, vector maxs, int contents_mask, entity passEntity );
|
|
|
|
// Returns the fraction of movement completed before the trace hits solid geometry when moving from 'start' to 'end'. The 'passEntity' is considered non-solid during the move.
|
|
scriptEvent float tracePoint( vector start, vector end, int contents_mask, entity passEntity );
|
|
|
|
// Returns the fraction of movement completed during the last call to trace or tracePoint.
|
|
scriptEvent float getTraceFraction();
|
|
|
|
// Returns the position the trace stopped due to a collision with solid geometry during the last call to trace or tracePoint.
|
|
scriptEvent vector getTraceEndPos();
|
|
|
|
// Returns the normal vector of the hit plane during the last call to trace or tracePoint.
|
|
scriptEvent vector getTraceNormal();
|
|
|
|
// Returns a reference to the entity hit during the last call to trace or tracePoint.
|
|
scriptEvent entity getTraceEntity();
|
|
|
|
// Returns the namer of the skeletal joint closest to the location on the entity which was hit during the last call to trace or tracePoint.
|
|
scriptEvent string getTraceJoint();
|
|
|
|
// Returns the name of the body part of the entity which was hit during the last call to trace or tracePoint.
|
|
scriptEvent string getTraceBody();
|
|
|
|
// Create a decal
|
|
scriptEvent void spawnDecal( entity entityToAttachTo, vector pos, vector dir, vector size, float lifeTime, decl material );
|
|
|
|
// Starts playing background music.
|
|
scriptEvent void music( string name );
|
|
|
|
// Disables saving--forces player to wait to save his progress until enable-saves is called
|
|
scriptEvent void disableSaves();
|
|
|
|
// Enables saving--be sure to call once it's safe to save if you've called disable-saves.
|
|
scriptEvent void enableSaves();
|
|
|
|
// Issues a warning.
|
|
scriptEvent void warning( string text );
|
|
|
|
// Issues an error.
|
|
scriptEvent void error( string text );
|
|
|
|
// Returns the number of characters in the string.
|
|
scriptEvent int strLength( string string );
|
|
|
|
// Returns a string composed of the first num characters.
|
|
scriptEvent string strLeft( string string, int num );
|
|
|
|
// Returns a string composed of the last num characters.
|
|
scriptEvent string strRight( string string, int num );
|
|
|
|
// Returns the string following the first num characters.
|
|
scriptEvent string strSkip( string string, int num );
|
|
|
|
// Returns a string composed of the characters from start to start + num.
|
|
scriptEvent string strMid( string string, int start, int num );
|
|
|
|
// Returns the numeric value of a string.
|
|
scriptEvent float strToFloat( string string );
|
|
|
|
// Returns the numeric value of a string.
|
|
scriptEvent int strToInt( string string );
|
|
|
|
// Damages entities within a radius defined by the damageDef. Inflictor is the entity causing the damage and can be the same as the attacker (in the case of projectiles, the projectile is the inflictor, while the attacker is the character that fired the projectile). Ignore is an entity to not cause damage to. dmgPower scales the damage (for cases where damage is dependent on time).
|
|
scriptEvent void radiusDamage( vector origin, entity inflictor, entity attacker, entity ignore, string damageDefName, float dmgPower );
|
|
|
|
// Kills all entities of specified typ (any number of bit flags may be set)
|
|
scriptEvent void killByType( entity boundsEntity, int flags );
|
|
|
|
// Returns length of time between game frames. This is not related to renderer frame rate.
|
|
scriptEvent float getFrameTime();
|
|
|
|
// Returns the number of game frames per second. This is not related to renderer frame rate.
|
|
scriptEvent float getTicsPerSecond();
|
|
|
|
// Precaches the specified sound shader. Prevents cache hits when playing sound shaders.
|
|
scriptEvent void cacheSoundShader( string soundName );
|
|
|
|
// fades a specified sound group
|
|
scriptEvent void fadeSoundGroup( int groupNum, float toDB, float overSec );
|
|
|
|
// Draws a line for debug visualization. lifetime of 0 == 1 frame.
|
|
scriptEvent void debugLine( vector color, vector start, vector end, float lifetime );
|
|
|
|
// Draws an arrow for debug visualization. lifetime of 0 == 1 frame.
|
|
scriptEvent void debugArrow( vector color, vector start, vector end, int size, float lifetime );
|
|
|
|
// Draws a circle for debug visualization. lifetime of 0 == 1 frame.
|
|
scriptEvent void debugCircle( vector color, vector origin, vector dir, float radius, int numSteps, float lifetime );
|
|
|
|
// Draws a bounding box for debug visualization. lifetime of 0 == 1 frame.
|
|
scriptEvent void debugBounds( vector color, vector mins, vector maxs, float lifetime );
|
|
|
|
// Draws text for debug visualization. align can be 0-left, 1-center, 2-right. lifetime of 0 == 1 frame.
|
|
scriptEvent void drawText( string text, vector origin, float scale, vector color, int align, float lifetime );
|
|
|
|
// returns the current map path in the format: maps/<subdir>/<mapname>/ useful for specifying paths for dynamically created func/statics with map models
|
|
scriptEvent string getMapPath();
|
|
|
|
// Creates a array entity and returns it
|
|
scriptEvent entity createArray();
|
|
|
|
// Destroys a array entity
|
|
scriptEvent void destroyArray( entity entity );
|
|
|
|
// Checks if entity is valid
|
|
scriptEvent boolean isEntityValid( entity entity );
|
|
|
|
// Checks if a layer is turned on
|
|
scriptEvent boolean isLayerActive( string layerName );
|
|
|
|
// Checks if a layer is available to be turned on
|
|
scriptEvent boolean isLayerDeactive( string layerName );
|
|
|
|
// halts game for debug... coder use only
|
|
scriptEvent void halt();
|
|
|
|
// Returns the name of a decl as a string
|
|
scriptEvent string getDeclName( decl decl );
|
|
|
|
// Returns true of the decl is non-NULL
|
|
scriptEvent boolean isValidDecl( decl decl );
|
|
|
|
// executes a console command
|
|
scriptEvent void executeCommandText( string command );
|
|
|
|
// Returns true if any player is incapacitated
|
|
scriptEvent boolean playerIsIncapacitated();
|
|
|
|
// Returns number of active AIs
|
|
scriptEvent int numActiveAIs();
|
|
|
|
/*
|
|
================================================
|
|
idAnimatedEntity
|
|
================================================
|
|
*/
|
|
|
|
// Looks up the number of the specified joint. Returns INVALID_JOINT_HANDLE if the joint is not found.
|
|
scriptEvent int getJointHandle( string jointname );
|
|
|
|
// Modifies the position of the joint based on the transform type.
|
|
scriptEvent void setJointPos( int jointnum, int transform_type, vector pos );
|
|
|
|
// Modifies the orientation of the joint based on the transform type.
|
|
scriptEvent void setJointAngle( int jointnum, int transform_type, vector angles );
|
|
|
|
// Returns the position of the joint in world space.
|
|
scriptEvent vector getJointPos( int jointnum );
|
|
|
|
// Returns the angular orientation of the joint in world space.
|
|
scriptEvent vector getJointAngle( int jointnum );
|
|
|
|
// Start the fx with the specified condition
|
|
scriptEvent void startFX( int condition );
|
|
|
|
// Stop the fx with the specified condition
|
|
scriptEvent void stopFX( int condition );
|
|
|
|
/*
|
|
================================================
|
|
idPlayer
|
|
================================================
|
|
*/
|
|
|
|
// sets the timescale low and starts the tick time scale progression
|
|
scriptEvent void startTimeScaleExperiment();
|
|
|
|
// increases the timescale and sets the next event if it is below 1
|
|
scriptEvent void tickTimeScale();
|
|
|
|
// Ends the death car camera view;
|
|
scriptEvent void endDeathCameraView( int ms );
|
|
|
|
// Puts player in a vehicle
|
|
scriptEvent void enterVehicle( entity entity );
|
|
|
|
// Rotates player camera towards entity. 'percent' is amount to rotate (0.0 - 1.0)
|
|
scriptEvent void trackEntity( entity entity, float percent );
|
|
|
|
// Returns the button state from the current user command.
|
|
scriptEvent float getUserButtons();
|
|
|
|
// Returns the movement relative to the player's view angles from the current user command. vector_x = forward, vector_y = right, vector_z = up
|
|
scriptEvent vector getUserMove();
|
|
|
|
// Returns the angles from the current user command.
|
|
scriptEvent vector getUserAngles();
|
|
|
|
// Returns the player view angles.
|
|
scriptEvent vector getViewAngles();
|
|
|
|
// Sets the player view angles.
|
|
scriptEvent void setViewAngles( vector vAngles );
|
|
|
|
// Returns the player view position
|
|
scriptEvent vector getViewPos();
|
|
|
|
// Enables the player weapon.
|
|
scriptEvent void enableWeapon();
|
|
|
|
// Lowers and disables the player weapon.
|
|
scriptEvent void disableWeapon();
|
|
|
|
// Equips the inventory item specified by the decl name. Returns true if it was able to equip the item.
|
|
scriptEvent boolean equipItem( string declName );
|
|
|
|
// mark a job as completed
|
|
scriptEvent boolean completeJob( decl jobDecl );
|
|
|
|
// accept a job
|
|
scriptEvent boolean acceptJob( decl jobDecl );
|
|
|
|
// mark a job as failed.
|
|
scriptEvent boolean failJob( decl jobDecl );
|
|
|
|
// uncomplete a job ( for repeatable jobs )
|
|
scriptEvent boolean unCompleteJob( decl jobDecl );
|
|
|
|
// is a job complete
|
|
scriptEvent boolean isJobComplete( decl jobDecl );
|
|
|
|
// just accepted
|
|
scriptEvent boolean isJobAccepted( decl jobDecl );
|
|
|
|
//
|
|
scriptEvent boolean isJobReadyToTurnIn( decl jobDecl );
|
|
|
|
//
|
|
scriptEvent boolean isJobInProgress( decl jobDecl );
|
|
|
|
//
|
|
scriptEvent boolean isJobReadyToComplete( decl jobDecl, entity npc );
|
|
|
|
// game state variables
|
|
scriptEvent void setGameStateInt( string gameStateName, int inValue );
|
|
|
|
//
|
|
scriptEvent float getGameStateInt( string gameStateName );
|
|
|
|
// trigger fired when player dies.
|
|
scriptEvent void setDeathTrigger( string name );
|
|
|
|
// transition to another map
|
|
scriptEvent void nextMap( string mapName, string spawnSpot, string layersActive, string layersDeactive );
|
|
|
|
//
|
|
scriptEvent void devMap( string mapName, string spawnSpot, string layersActive, string layersDeactive );
|
|
|
|
//
|
|
scriptEvent void endRevive();
|
|
|
|
// resume living
|
|
scriptEvent void resumeLiving();
|
|
|
|
// respawns the player after death
|
|
scriptEvent void respawn();
|
|
|
|
// used for in-map teleports from RespawnWithFade()
|
|
scriptEvent void teleport( vector origin, vector angles );
|
|
|
|
// respawns the player with a fade for in-map teleports
|
|
scriptEvent void respawnWithFade( string spawnSpot, int fadeTimeMS );
|
|
|
|
// fades the screen to a color over a time duration in MS
|
|
scriptEvent void fadeView( vector color, float alpha, int fadeTimeMS );
|
|
|
|
//
|
|
scriptEvent void inhibitControl( boolean shouldInhibit );
|
|
|
|
//
|
|
scriptEvent void inhibitMove( boolean shouldInhibit );
|
|
|
|
//
|
|
scriptEvent void inhibitLook( boolean shouldInhibit, boolean discardDelta );
|
|
|
|
//
|
|
scriptEvent void inhibitFreeGamePlay( boolean shouldInhibit, boolean canRun );
|
|
|
|
//
|
|
scriptEvent void inhibitRaiseWeapon( boolean shouldInhibit );
|
|
|
|
//
|
|
scriptEvent void inhibitChangeWeapon( boolean shouldInhibit );
|
|
|
|
// respawns the player after a death in the wasteland. currently loads a specific map, but that could change
|
|
scriptEvent void respawnFromWastelandDeath();
|
|
|
|
//
|
|
scriptEvent void carry_ShowHands();
|
|
|
|
//
|
|
scriptEvent void kill();
|
|
|
|
//
|
|
scriptEvent void vehicleKill();
|
|
|
|
//
|
|
scriptEvent int getLastOfferChoice();
|
|
|
|
//
|
|
scriptEvent void doHudInitialFlash();
|
|
|
|
//
|
|
scriptEvent void endSpecificTutorial( decl decl );
|
|
|
|
// return's the player's current focus entity
|
|
scriptEvent entity getFocusEntity();
|
|
|
|
// init the camera springs to the specified spring constant
|
|
scriptEvent void camera_InitSprings( float k );
|
|
|
|
// set the camera springs to the default values
|
|
scriptEvent void camera_InitDefaultSprings();
|
|
|
|
// set the camera to follow the specified entity
|
|
scriptEvent void camera_FollowEntity( entity entity );
|
|
|
|
// set the camera to follow the specified joint on the specified entity
|
|
scriptEvent void camera_FollowEntityJoint( entity entity, string jointName, int duration );
|
|
|
|
// set the camera to stop following the previously-specified entity
|
|
scriptEvent void camera_EndFollowEntity();
|
|
|
|
// set the camera to track the specified entity
|
|
scriptEvent void camera_TrackEntity( entity entity );
|
|
|
|
// set the camera to track the specified joint on the specified entity
|
|
scriptEvent void camera_TrackEntityJoint( entity entity, string jointName, int duration, int lookMode );
|
|
|
|
// set the camera to stop tracking the previously-specified entity
|
|
scriptEvent void camera_EndTrackEntity();
|
|
|
|
/*
|
|
================================================
|
|
idAI2
|
|
================================================
|
|
*/
|
|
|
|
// called to put an entity on a follow path or to switch follow paths
|
|
scriptEvent void path( entity newPath );
|
|
|
|
//
|
|
scriptEvent void moveToScenepoint( entity scenePoint, int mtspFlags );
|
|
|
|
//
|
|
scriptEvent void moveToPathPoint( entity pathPoint );
|
|
|
|
//
|
|
scriptEvent void setAlertCycle( int alertCycle );
|
|
|
|
//
|
|
scriptEvent void relinquishControl();
|
|
|
|
//
|
|
scriptEvent void dropWeapons();
|
|
|
|
//
|
|
scriptEvent void flyBack();
|
|
|
|
// called to give the target 'aggression' for 'duration' seconds towards 'ent'
|
|
scriptEvent void addAggression( entity ent, float aggression, float duration );
|
|
|
|
//
|
|
scriptEvent void killAI();
|
|
|
|
//
|
|
scriptEvent void spawnLootBox();
|
|
|
|
//
|
|
scriptEvent void turnOffLaserSight();
|
|
|
|
//
|
|
scriptEvent void turnOnLaserSight();
|
|
|
|
//
|
|
scriptEvent float getHealth();
|
|
|
|
// called when the anim-web finishes waiting on a particular node to start or finish.
|
|
scriptEvent void animWeb_Wait( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// called when the anim-web finishes when animation delta correction should begin
|
|
scriptEvent void animWeb_StartDeltaCorrection( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// called back from the anim-web when a specific animation begins
|
|
scriptEvent void animWeb_BeginAnim( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// called when the anim-web finishes playing a reload node.
|
|
scriptEvent void animWeb_ReloadRightFinished( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// called when the anim-web finishes starting to use the turret
|
|
scriptEvent void animWeb_StartUseTurret( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// called back from the anim-web when an AI finishes transitioning into a cover action animation
|
|
scriptEvent void animWeb_EnableFireFromCover( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
// sets the current focus of the AI
|
|
scriptEvent void setFocus( entity ent, boolean aiming, boolean keepFocusInView, int aimPoint );
|
|
|
|
//
|
|
scriptEvent void modifyTargeting( entity specificTarget, int modifier );
|
|
|
|
//
|
|
scriptEvent void clearLookFocus();
|
|
|
|
//
|
|
scriptEvent void clearAimFocus();
|
|
|
|
//
|
|
scriptEvent void enableAutoFocus();
|
|
|
|
//
|
|
scriptEvent void disableAutoFocus();
|
|
|
|
// pass false to make AI invulnerable but still play pain when hit.
|
|
scriptEvent void setRemoveHealthWhenDamaged( boolean removeHealth );
|
|
|
|
// allow overriding ai events, if necessary (ex: make ai ignore vehicle events.)
|
|
scriptEvent void setEventOverloadEnableFlag( int flags );
|
|
|
|
//
|
|
scriptEvent void clearEventOverloadEnableFlag( int flags );
|
|
|
|
//
|
|
scriptEvent void setEventOverloadDisableFlag( int flags );
|
|
|
|
//
|
|
scriptEvent void clearEventOverloadDisableFlag( int flags );
|
|
|
|
//
|
|
scriptEvent void setBehaviorDecl( decl declBehavior );
|
|
|
|
// called by script to check the type of the current pending AI event
|
|
scriptEvent int getCurrentAIEventClass();
|
|
|
|
// called by script to tell the game code that the current event is being handled
|
|
scriptEvent boolean handleAIEvent( int eventClass );
|
|
|
|
// called by script to get info about the last handled event
|
|
scriptEvent int getLastAIEventClass();
|
|
|
|
//
|
|
scriptEvent vector getLastAIEventOrigin();
|
|
|
|
//
|
|
scriptEvent entity getLastAIEventOriginator();
|
|
|
|
//
|
|
scriptEvent entity getLastAIEventInstigator();
|
|
|
|
//
|
|
scriptEvent boolean startVoiceOver( entity talkingTo, decl vo, boolean playInCombat );
|
|
|
|
//
|
|
scriptEvent boolean startInteractionVoiceOver( entity talkingTo, decl vo, boolean playInCombat );
|
|
|
|
//
|
|
scriptEvent boolean isVoiceOverPlaying( decl vo );
|
|
|
|
//
|
|
scriptEvent decl getPlayingVoiceOver();
|
|
|
|
//
|
|
scriptEvent void setInteractionEntity( entity ent );
|
|
|
|
//
|
|
scriptEvent entity getInteractionEntity();
|
|
|
|
//
|
|
scriptEvent int getCurrentPlayerInteractionState( entity player );
|
|
|
|
//
|
|
scriptEvent void setInteracting( boolean interacting );
|
|
|
|
// these events play a VO and set interaction states for each stage of an interaction
|
|
scriptEvent decl jobApproach( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl nonJobVO( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobOffer( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobMessageVO( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobEnd( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobComplete( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobFailed( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl jobInProgress( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl acceptedJob( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl declinedJob( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent decl playerLeft( entity playerEnt, boolean playVO );
|
|
|
|
//
|
|
scriptEvent boolean completeSavedJob( entity playerEnt );
|
|
|
|
//
|
|
scriptEvent boolean acceptSavedJob( entity playerEnt );
|
|
|
|
//
|
|
scriptEvent boolean setJobOfferPlayed( decl decl, entity playerEnt, int interactionIndex );
|
|
|
|
// clears the AI's triggered interaction entity and sets the AI as interactable before polling with Event_PlayerTriggeredInteraction
|
|
scriptEvent void beginWaitForPlayerInteraction();
|
|
|
|
// returns true if the specified player triggered an interaction
|
|
scriptEvent boolean playerTriggeredInteraction( entity playerEnt );
|
|
|
|
// turns off the AI's interaction usable flag after the player has interacted
|
|
scriptEvent void endWaitForPlayerInteraction();
|
|
|
|
// returns the idDeclAIPlayerInteraction for this AI
|
|
scriptEvent decl getDeclAIPlayerInteraction();
|
|
|
|
// returns the index of the current player interaction (index of aiPlayerInteraction_t inside of idDeclAIPlayerInteraction)
|
|
scriptEvent int getCurrentPlayerInteractionIndex( entity player );
|
|
|
|
// returns the name of the aiPlayerInteraction_t for the specified decl / index combination
|
|
scriptEvent string getPlayerInteractionName( decl decl, int index );
|
|
|
|
// returns the job associated with the specified interaction
|
|
scriptEvent decl getPlayerInteractionJobDecl( decl decl, int interactionIndex );
|
|
|
|
// starts a player interaction
|
|
scriptEvent void beginPlayerInteractionIndex( int index );
|
|
|
|
//
|
|
scriptEvent float getPlayerInteractionApproachRadius();
|
|
|
|
//
|
|
scriptEvent float getPlayerInteractionDepartureRadius();
|
|
|
|
//
|
|
scriptEvent int shouldTurnTo( entity entity, float leftDotThreshold, float rightDotThreshold, float offsetDegrees );
|
|
|
|
//
|
|
scriptEvent boolean isEntityVisible( entity entity );
|
|
|
|
//
|
|
scriptEvent void action_MoveToPoint( vector dest, int stopUponArrival, float tolerance, int align, vector alignDir );
|
|
|
|
//
|
|
scriptEvent void action_MoveToPointNoFail( vector dest, int stopUponArrival, float tolerance, int align, vector alignDir, decl declVoiceOver );
|
|
|
|
//
|
|
scriptEvent void action_MoveToEntity( entity ent, int stopUponArraival, float reachedDistance, int align, vector alignDir );
|
|
|
|
//
|
|
scriptEvent void action_MoveToEntityNoFail( entity ent, int stopUponArraival, float reachedDistance, int align, vector alignDir, decl declVoiceOver );
|
|
|
|
//
|
|
scriptEvent void action_MoveToPathPoint( entity pathPoint );
|
|
|
|
//
|
|
scriptEvent void action_MoveToPathPointNoFail( entity pathPoint, decl declVoiceOver );
|
|
|
|
//
|
|
scriptEvent void action_MoveToCover( vector dest, int coverAction, int posture, vector alignDir );
|
|
|
|
//
|
|
scriptEvent void action_UseZipline( entity ent );
|
|
|
|
//
|
|
scriptEvent void action_SetMovePushStatus( int pushMoveStatus );
|
|
|
|
//
|
|
scriptEvent void action_Idle( int time, int idleTurnType );
|
|
|
|
//
|
|
scriptEvent void action_Pain( int painType, int dir, float intensity, string jointGroupName );
|
|
|
|
//
|
|
scriptEvent void action_StandToCrouch();
|
|
|
|
//
|
|
scriptEvent void action_CrouchToStand();
|
|
|
|
//
|
|
scriptEvent void action_PullTriggerRight();
|
|
|
|
//
|
|
scriptEvent void action_ReleaseTriggerRight();
|
|
|
|
//
|
|
scriptEvent void action_PullTriggerLeft();
|
|
|
|
//
|
|
scriptEvent void action_ReleaseTriggerLeft();
|
|
|
|
//
|
|
scriptEvent void action_ReloadWeapon( int slot, string ammoDeclName );
|
|
|
|
//
|
|
scriptEvent void action_ReloadWeaponTorso( int slot, string ammoDeclName );
|
|
|
|
//
|
|
scriptEvent void action_WaitForAnim( string animWebNode );
|
|
|
|
//
|
|
scriptEvent void action_WaitForAnimVia( string destAnimWebNode, string viaAnimWebNode );
|
|
|
|
//
|
|
scriptEvent void action_LoopAnim( string animWebNode, int milliseconds );
|
|
|
|
//
|
|
scriptEvent void action_LoopAnimExitAtEnd( string animWebNode, int milliseconds, int framesFromEnd );
|
|
|
|
//
|
|
scriptEvent void action_StartAnim( string animWebNode, int finishBlend, int wait );
|
|
|
|
//
|
|
scriptEvent void action_WaitForTraversalAnim( string animWebNode, int runWhenDone );
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimState( int animweb, string destNode, int waitType );
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimStateVia( int animweb, string destNode, string viaNode, int wait );
|
|
|
|
//
|
|
scriptEvent void action_ForceAnimState( int animweb, string destNode, int blendDurationMS, int wait );
|
|
|
|
//
|
|
scriptEvent void action_Dodge( vector dodgeFrom );
|
|
|
|
//
|
|
scriptEvent void action_Wait( int milliseconds );
|
|
|
|
//
|
|
scriptEvent void action_Dive( float dodgeYaw, float faceYaw );
|
|
|
|
//
|
|
scriptEvent void action_Melee( int overrideAnim );
|
|
|
|
//
|
|
scriptEvent void action_TurnToPoint( vector point );
|
|
|
|
//
|
|
scriptEvent void action_TurnToEntity( entity ent );
|
|
|
|
//
|
|
scriptEvent void action_TurnToEntityWithOffset( entity ent, float yawOffset );
|
|
|
|
//
|
|
scriptEvent void action_LeapAttack( vector leapTarget );
|
|
|
|
//
|
|
scriptEvent void action_WaitForEntity( entity ent, float range );
|
|
|
|
//
|
|
scriptEvent void action_EnterVehicle( entity vehicle, entity vai );
|
|
|
|
//
|
|
scriptEvent void action_PlayVoiceOver( decl declVoiceOver, int waitUntilFinished );
|
|
|
|
//
|
|
scriptEvent void action_PlayInteractionVoiceOver( decl declVoiceOver, entity trackEntity, float abortDistance, boolean abortScript );
|
|
|
|
//
|
|
scriptEvent void action_StopVoiceOver();
|
|
|
|
//
|
|
scriptEvent void action_PlayOverrideAnim( int overrideAnim, int cycle );
|
|
|
|
//
|
|
scriptEvent void action_PlayOverrideAnimInterrupt( int overrideAnim, int cycle );
|
|
|
|
//
|
|
scriptEvent void action_HolsterWeapon();
|
|
|
|
//
|
|
scriptEvent void action_DrawWeapon();
|
|
|
|
//
|
|
scriptEvent void action_PerformCoverAction( int coverAction, int duration );
|
|
|
|
//
|
|
scriptEvent void action_WaitForPlayerInteraction();
|
|
|
|
//
|
|
scriptEvent void action_WaitForPlayerInteractionDist( float maxDistance );
|
|
|
|
//
|
|
scriptEvent void action_WaitForAIVar( string varName, int op, string value );
|
|
|
|
//
|
|
scriptEvent void action_SetAlertCycle( int alertCycle );
|
|
|
|
//
|
|
scriptEvent void action_SetSubWeb( int subWeb );
|
|
|
|
//
|
|
scriptEvent void action_SetFocus( entity ent, int aiming, int keepFocusInView, int trackOnlyVisible, int aimPoint );
|
|
|
|
//
|
|
scriptEvent void action_ClearLookFocus();
|
|
|
|
//
|
|
scriptEvent void action_ClearAimFocus();
|
|
|
|
//
|
|
scriptEvent void action_SetLookFocusOffset( vector offset );
|
|
|
|
//
|
|
scriptEvent void action_SetAimFocusOffset( vector offset );
|
|
|
|
//
|
|
scriptEvent void action_SetAimPoint( int aimPoint );
|
|
|
|
//
|
|
scriptEvent void action_SetFireMode( int fireMode );
|
|
|
|
//
|
|
scriptEvent void action_SetScriptAbort( int AbortOnCombat, int AbortOnSearch );
|
|
|
|
//
|
|
scriptEvent void action_SetWalkState( int state );
|
|
|
|
//
|
|
scriptEvent void action_SetPosture( int posture );
|
|
|
|
//
|
|
scriptEvent void action_SetSitState( int state );
|
|
|
|
//
|
|
scriptEvent void action_SetStandState( int state );
|
|
|
|
//
|
|
scriptEvent void action_SetIdleState( int _indexType );
|
|
|
|
//
|
|
scriptEvent void action_SetPlayerEnemy( int player );
|
|
|
|
//
|
|
scriptEvent void action_SetEnemy( entity enemy );
|
|
|
|
//
|
|
scriptEvent void action_SearchToTarget( entity target );
|
|
|
|
//
|
|
scriptEvent void action_SetPlayerFocus( int player, int aiming, int keepFocusInView );
|
|
|
|
//
|
|
scriptEvent void action_SetActionNodeGroup( string group );
|
|
|
|
//
|
|
scriptEvent void action_Trigger( entity ent );
|
|
|
|
//
|
|
scriptEvent void action_EnableDamage( int enabled, int permanent );
|
|
|
|
//
|
|
scriptEvent void action_EnablePain( int enabled );
|
|
|
|
//
|
|
scriptEvent void action_EnableAutoFocus( int enabled, int permanent );
|
|
|
|
//
|
|
scriptEvent void action_EnableBodyRotation( int enabled );
|
|
|
|
//
|
|
scriptEvent void action_EnableWalkIK( int enabled );
|
|
|
|
//
|
|
scriptEvent void action_EnableHeadTracking( int enabled );
|
|
|
|
//
|
|
scriptEvent void action_ForceOpenCombat( int player );
|
|
|
|
//
|
|
scriptEvent void action_ForceAwarenessByDistance( float radius, boolean playerFlag, boolean aiFlag );
|
|
|
|
//
|
|
scriptEvent void action_ForcePlayerInteraction( int player );
|
|
|
|
//
|
|
scriptEvent void action_IgnorePlayerApproach( int permanent );
|
|
|
|
//
|
|
scriptEvent void action_NoticePlayerApproach( int permanent );
|
|
|
|
//
|
|
scriptEvent void action_SetAIVar( string name, int type, string value );
|
|
|
|
//
|
|
scriptEvent void action_SetScriptFlag( int flag );
|
|
|
|
//
|
|
scriptEvent void action_ClearScriptFlag( int flag );
|
|
|
|
//
|
|
scriptEvent void action_SetPerceptionFlag( int flag );
|
|
|
|
//
|
|
scriptEvent void action_ClearPerceptionFlag( int flag );
|
|
|
|
//
|
|
scriptEvent void action_GiveItem( entity giveTo, decl itemDecl );
|
|
|
|
//
|
|
scriptEvent void action_TakeItem( entity takeFrom, decl itemDecl );
|
|
|
|
//
|
|
scriptEvent void action_ClearWorldState();
|
|
|
|
//
|
|
scriptEvent void action_ShowAttachment( string slotName );
|
|
|
|
//
|
|
scriptEvent void action_HideAttachment( string slotName );
|
|
|
|
//
|
|
scriptEvent void action_DropAttachment( string slotName );
|
|
|
|
//
|
|
scriptEvent void action_SetMoveMode( int moveMode );
|
|
|
|
//
|
|
scriptEvent void action_SetAccuracy( int accuracy );
|
|
|
|
//
|
|
scriptEvent void action_ScriptedAnimWeb( entity scriptedAnimWeb, int loopInterval );
|
|
|
|
//
|
|
scriptEvent void action_MoveToScenePoint( entity scenepoint, int mtspFlags );
|
|
|
|
/*
|
|
================================================
|
|
idSound
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent float startSoundShader( decl shader, int channel );
|
|
|
|
//
|
|
scriptEvent void setSoundShader( decl newShader );
|
|
|
|
//
|
|
scriptEvent float playVoiceOver( decl voToPlay, int channel, string talkerID );
|
|
|
|
//
|
|
scriptEvent void setLooping();
|
|
|
|
//
|
|
scriptEvent void setNonLooping();
|
|
|
|
//
|
|
scriptEvent void on();
|
|
|
|
//
|
|
scriptEvent void off();
|
|
|
|
//
|
|
scriptEvent boolean isPlayingSound();
|
|
|
|
/*
|
|
================================================
|
|
idActor
|
|
================================================
|
|
*/
|
|
|
|
// Changes to left foot and plays footstep sound.
|
|
scriptEvent void leftFoot();
|
|
|
|
// Changes to right foot and plays footstep sound.
|
|
scriptEvent void rightFoot();
|
|
|
|
// Enables walk IK.
|
|
scriptEvent void enableWalkIK();
|
|
|
|
// Disables walk IK.
|
|
scriptEvent void disableWalkIK();
|
|
|
|
// Enables IK on the leg with the given number.
|
|
scriptEvent void enableLegIK( int num );
|
|
|
|
// Disables IK on the leg with the given number.
|
|
scriptEvent void disableLegIK( int num );
|
|
|
|
// DEPRECATED: returns true if count number of items are in the inventory
|
|
scriptEvent boolean itemInInventory( string internalName, float count );
|
|
|
|
// returns the number of matching items in the actor's inventory
|
|
scriptEvent int numOfItemTypeInInventory( string declName );
|
|
|
|
// gives count number of inventory items
|
|
scriptEvent void giveInventoryItem( string declName, float count );
|
|
|
|
// removes count number of inventory items
|
|
scriptEvent void removeInventoryItem( string declName, float count );
|
|
|
|
// removes all inventory items
|
|
scriptEvent void removeAllInventoryItems();
|
|
|
|
// hide an attachment by slot name
|
|
scriptEvent void hideAttachment( string slotName );
|
|
|
|
// show an attachment by slot name
|
|
scriptEvent void showAttachment( string slotName );
|
|
|
|
// remove attachment by entity
|
|
scriptEvent void removeAttachment( entity entity );
|
|
|
|
// returns true if the actor is dead
|
|
scriptEvent boolean isDead();
|
|
|
|
// returns the name of the current npc the player is interacting with
|
|
scriptEvent string currentNPC();
|
|
|
|
// returns the current burst mode for the weapon in the specified slot
|
|
scriptEvent float weaponBurstMode( int slot );
|
|
|
|
// returns if the actor is sneaking, walking or running
|
|
scriptEvent float getWalkState();
|
|
|
|
// returns if the weapon is holstered, lowered or raised state
|
|
scriptEvent float getWeaponReadyState();
|
|
|
|
//
|
|
scriptEvent void increaseHealth( float amt );
|
|
|
|
//
|
|
scriptEvent void decreaseHealth( float amt );
|
|
|
|
//
|
|
scriptEvent boolean needsHealth();
|
|
|
|
//
|
|
scriptEvent void setHealth( float health );
|
|
|
|
//
|
|
scriptEvent void setPosture( int posture );
|
|
|
|
/*
|
|
================================================
|
|
idProjectile
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void fadeOut( float time );
|
|
|
|
//
|
|
scriptEvent void stopFX( int condition );
|
|
|
|
/*
|
|
================================================
|
|
idVehicle
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void allowAccelerate( float allow );
|
|
|
|
// Set the usable state of the vehicle
|
|
scriptEvent void setUsable( boolean usable );
|
|
|
|
// Get current velocity of the vehicle
|
|
scriptEvent float getCurrentVelocity();
|
|
|
|
// Get number of people in vehicle
|
|
scriptEvent float getNumOccupants();
|
|
|
|
// Is entity inside of a vehicle?
|
|
scriptEvent float vehicleHasOccupant( entity vehicle_entity, entity entity );
|
|
|
|
// Get vehicle that entity is inside of
|
|
scriptEvent entity getVehicleWithOccupant( entity entity );
|
|
|
|
// Set health
|
|
scriptEvent void setHealth( float health );
|
|
|
|
// Inflictor of last damage
|
|
scriptEvent entity getLastDamage_Inflictor();
|
|
|
|
// Attacker of last damage
|
|
scriptEvent entity getLastDamage_Attacker();
|
|
|
|
// DamageDef->name of last damage
|
|
scriptEvent string getLastDamage_DamageName();
|
|
|
|
// Damage amount of last damage
|
|
scriptEvent float getLastDamage_Damage();
|
|
|
|
// Game time of last damage
|
|
scriptEvent float getLastDamage_Time();
|
|
|
|
// Game current throttle 0 -1
|
|
scriptEvent float getCurrentThrottle();
|
|
|
|
// Damage vehicle
|
|
scriptEvent void damage( entity inflictor, entity attacker, string damageDef, float damageScale, vector dir );
|
|
|
|
// Vehicle's health
|
|
scriptEvent float getHealth();
|
|
|
|
// Name of vehicle driver
|
|
scriptEvent string getDriverName();
|
|
|
|
// Game time of last collision
|
|
scriptEvent float getLastCollision_Time();
|
|
|
|
// Entity of last collision
|
|
scriptEvent entity getLastCollision_Entity();
|
|
|
|
// Position of last collision
|
|
scriptEvent vector getLastCollision_Point();
|
|
|
|
// Normal of last collision
|
|
scriptEvent vector getLastCollision_Normal();
|
|
|
|
// Distance of last collision
|
|
scriptEvent float getLastCollision_Dist();
|
|
|
|
// Was last collider a car?
|
|
scriptEvent boolean getLastCollision_WasOtherCar();
|
|
|
|
// enables / disables the controls and the vehicle gui from script
|
|
scriptEvent void enableVehicleControls( float enable );
|
|
|
|
// Exit Vehicle
|
|
scriptEvent void exitVehicle( int occupantNum );
|
|
|
|
// Respawn in garage after death.
|
|
scriptEvent void respawnInGarage();
|
|
|
|
/*
|
|
================================================
|
|
idActorModifierManager
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idProp_Moveable
|
|
================================================
|
|
*/
|
|
|
|
// Returns true if object is not moving.
|
|
scriptEvent int isAtRest();
|
|
|
|
// Returns how many hands to use to pickup an item. 0 means can't pick up.
|
|
scriptEvent float numPickupHands();
|
|
|
|
// fades the prop
|
|
scriptEvent void fade( float from, float to, float secs );
|
|
|
|
//
|
|
scriptEvent void pulse();
|
|
|
|
/*
|
|
================================================
|
|
idHands
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idJob
|
|
================================================
|
|
*/
|
|
|
|
// hack until we think of something better
|
|
scriptEvent void doRepeat();
|
|
|
|
/*
|
|
================================================
|
|
idDamageableEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void kill();
|
|
|
|
/*
|
|
================================================
|
|
idVehicle_Car
|
|
================================================
|
|
*/
|
|
|
|
// Turn on/off engine (mostly affects sounds)
|
|
scriptEvent void startEngine( float start );
|
|
|
|
// disables the car for scripted sequence
|
|
scriptEvent void setDisableEngine( float disabled );
|
|
|
|
// sets enter target that is triggered for scripted sequences
|
|
scriptEvent void setEnterTarget( entity target );
|
|
|
|
// removes enter target.
|
|
scriptEvent void removeEnterTarget();
|
|
|
|
/*
|
|
================================================
|
|
idVehicleOccupant
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idProp_WeaponStatic
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent entity getUser();
|
|
|
|
// Whether we should allow players to manually exit the static weapon or not.
|
|
scriptEvent void enableManualExit( boolean enable );
|
|
|
|
//
|
|
scriptEvent void setCooldownBlocked( boolean blockIt );
|
|
|
|
/*
|
|
================================================
|
|
idTurret
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void kill();
|
|
|
|
//
|
|
scriptEvent void deactivate();
|
|
|
|
/*
|
|
================================================
|
|
idRagePlayerMetrics
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idGameChallenge
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idVehicleAI
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void respawn();
|
|
|
|
//
|
|
scriptEvent void killVehicleAndAi();
|
|
|
|
//
|
|
scriptEvent void aiStopControllingVehicle();
|
|
|
|
//
|
|
scriptEvent void aiExitVehicle();
|
|
|
|
//
|
|
scriptEvent void setNewChaseWaypoint( entity newWayPoint );
|
|
|
|
//
|
|
scriptEvent void boost( int ms );
|
|
|
|
/*
|
|
================================================
|
|
idMover
|
|
================================================
|
|
*/
|
|
|
|
// Stops any translational movement.
|
|
scriptEvent void stopMoving();
|
|
|
|
// Stops any rotational movement.
|
|
scriptEvent void stopRotating();
|
|
|
|
// Sets the movement speed. Set this speed before initiating a new move.
|
|
scriptEvent void speed( float speed );
|
|
|
|
// Sets the movement time. Set this time before initiating a new move.
|
|
scriptEvent void time( float time );
|
|
|
|
// Sets the acceleration time. Set this acceleration time before initiating a new move.
|
|
scriptEvent void accelTime( float time );
|
|
|
|
// Sets the deceleration time. Set this deceleration time before initiating a new move.
|
|
scriptEvent void decelTime( float time );
|
|
|
|
// Sets movement time, acceleration time, and deceleration time.
|
|
scriptEvent void setParmsForTime( float time, float acceltime, float deceltime );
|
|
|
|
// Sets movement speed, acceleration time, and deceleration time.
|
|
scriptEvent void setParmsForSpeed( float speed, float acceltime, float deceltime );
|
|
|
|
// Initiates a translation to the position of an entity. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void moveTo( entity ent );
|
|
|
|
// Initiates a translation to an absolute position. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void moveToPos( vector pos );
|
|
|
|
// Initiates a translation with the given distance in the given yaw direction. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void move( float angle, float distance );
|
|
|
|
// Initiates an absolute translation with the given distance in the given yaw direction. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void moveAbsolute( float angle, float distance );
|
|
|
|
// Initiates an acceleration to the given speed over the given time in seconds.
|
|
scriptEvent void accelTo( float speed, float time );
|
|
|
|
// Initiates a deceleration to the given speed over the given time in seconds.
|
|
scriptEvent void decelTo( float speed, float time );
|
|
|
|
// Initiates a rotation about the given axis by decreasing the current angle towards the given angle. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateDownTo( int axis, float angle );
|
|
|
|
// Initiates a rotation about the given axis by increasing the current angle towards the given angle. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateUpTo( int axis, float angle );
|
|
|
|
// Initiates a rotation towards the given Euler angles. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateTo( vector angles );
|
|
|
|
// Initiates a rotation with the given angular speed. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateXYZ( float x, float y, float z );
|
|
|
|
//
|
|
scriptEvent void rotate( vector angles );
|
|
|
|
// Initiates a rotation towards the current angles plus the given Euler angles. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateOnceXYZ( float x, float y, float z );
|
|
|
|
//
|
|
scriptEvent void rotateOnce( vector angles );
|
|
|
|
// Initiates a translation back & forth along the given vector with the given speed & phase.
|
|
scriptEvent void bob( float speed, float phase, vector depth );
|
|
|
|
// Initiates a rotation back and forth along the given angles with the given speed & phase.
|
|
scriptEvent void sway( float speed, float phase, vector depth );
|
|
|
|
// Sets the sound to be played when the mover accelerates.
|
|
scriptEvent void accelSound( decl sound );
|
|
|
|
// Sets the sound to be played when the mover decelerates.
|
|
scriptEvent void decelSound( decl sound );
|
|
|
|
// Sets the sound to be played when the moving.
|
|
scriptEvent void moveSound( decl sound );
|
|
|
|
// Enables aligning the mover with the spline direction.
|
|
scriptEvent void enableSplineAngles();
|
|
|
|
// Disables aligning the mover with the spline direction.
|
|
scriptEvent void disableSplineAngles();
|
|
|
|
// Subtracts the initial spline angles to maintain the initial orientation of the mover.
|
|
scriptEvent void removeInitialSplineAngles();
|
|
|
|
// Starts moving along a spline stored on the given entity.
|
|
scriptEvent void startSpline( entity splineEntity );
|
|
|
|
// Starts moving along a spline stored on the given entity, optionally ignore entity rotation and follow spline's initial rotation
|
|
scriptEvent void followSpline( entity splineEntity, int ignoreEntityRotation, int followSplineInitialRotation );
|
|
|
|
// Stops moving along a spline.
|
|
scriptEvent void stopSpline();
|
|
|
|
// Returns true if a mover is moving
|
|
scriptEvent int isMoving();
|
|
|
|
// Returns true if a mover is rotating
|
|
scriptEvent int isRotating();
|
|
|
|
// emit smoke / particles
|
|
scriptEvent void emitSmoke( string particle, int timeOffsetSecs, float diversity, vector offset );
|
|
|
|
// enable influence trail
|
|
scriptEvent void enableInfluence();
|
|
|
|
// disable influence trail
|
|
scriptEvent void disableInfluence();
|
|
|
|
// call this to break the constraint that holds the impaled target to the mover
|
|
scriptEvent void breakConstraint();
|
|
|
|
// call this after breaking the constraint to reset this mover to impale again!
|
|
scriptEvent void restConstraint();
|
|
|
|
// called after this tried to impale an entity to make sure it will not impale an entity while resetting
|
|
scriptEvent void impaleFinished();
|
|
|
|
/*
|
|
================================================
|
|
idSplinePathMM
|
|
================================================
|
|
*/
|
|
|
|
// get the number of spline children associated with this spline
|
|
scriptEvent int getNumSplineChildren();
|
|
|
|
// get the spline child at a particular index
|
|
scriptEvent entity getSplineChild( int index );
|
|
|
|
// get the next spline child
|
|
scriptEvent entity getNextSplineChild( float splineLength );
|
|
|
|
// get the nearest spline child to a spline length position
|
|
scriptEvent entity getClosestSplineChild( float splineLength );
|
|
|
|
// return the total length of the spline
|
|
scriptEvent float getSplineLength();
|
|
|
|
// find the distance along the spline from a world position, projected onto nearest spline position
|
|
scriptEvent float getDistanceAlongPath( vector worldPos, float lastDistance, float searchWidth, float interval );
|
|
|
|
// get the vector position along a path at a specified distanced(clamped 0.0 to spline length)
|
|
scriptEvent vector getPositionAlongPath( float distance );
|
|
|
|
// get the vector direction/tangent of the spline at a specified distance(clamped 0.0 to spline length)
|
|
scriptEvent vector getDirectionAlongPath( float distance );
|
|
|
|
/*
|
|
================================================
|
|
idMoverMM
|
|
================================================
|
|
*/
|
|
|
|
// Stops any translational movement.
|
|
scriptEvent void stopMoving();
|
|
|
|
// Stops any rotational movement.
|
|
scriptEvent void stopRotating();
|
|
|
|
// Sets the movement speed. Set this speed before initiating a new move.
|
|
scriptEvent void speed( float speed );
|
|
|
|
// Sets the movement time. Set this time before initiating a new move.
|
|
scriptEvent void time( float time );
|
|
|
|
// Sets the acceleration time. Set this acceleration time before initiating a new move.
|
|
scriptEvent void accelTime( float time );
|
|
|
|
// Sets the deceleration time. Set this deceleration time before initiating a new move.
|
|
scriptEvent void decelTime( float time );
|
|
|
|
// Initiates a translation to the position of an entity. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void moveTo( entity ent );
|
|
|
|
// Initiates a translation to an absolute position. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void moveToPos( vector pos );
|
|
|
|
// Initiates a translation with the given distance in the given yaw direction. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void move( float angle, float distance );
|
|
|
|
// Initiates an acceleration to the given speed over the given time in seconds.
|
|
scriptEvent void accelTo( float speed, float time );
|
|
|
|
// Initiates a deceleration to the given speed over the given time in seconds.
|
|
scriptEvent void decelTo( float speed, float time );
|
|
|
|
// Initiates a rotation about the given axis by decreasing the current angle towards the given angle. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateDownTo( int axis, float angle );
|
|
|
|
// Initiates a rotation about the given axis by increasing the current angle towards the given angle. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateUpTo( int axis, float angle );
|
|
|
|
// Initiates a rotation towards the given Euler angles. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateTo( vector angles );
|
|
|
|
// Initiates a rotation towards the given Euler angles. Uses the current speed/time and acceleration and deceleration settings. This version garuntees to take the shortest rotational path
|
|
scriptEvent void rotateToShortest( vector angles );
|
|
|
|
// Initiates a rotation with the given angular speed. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateXYZ( float x, float y, float z );
|
|
|
|
//
|
|
scriptEvent void rotate( vector angles );
|
|
|
|
// Initiates a rotation towards the current angles plus the given Euler angles. Uses the current speed/time and acceleration and deceleration settings.
|
|
scriptEvent void rotateOnceXYZ( float x, float y, float z );
|
|
|
|
//
|
|
scriptEvent void rotateOnce( vector angles );
|
|
|
|
// Initiates a translation back & forth along the given vector with the given speed & phase.
|
|
scriptEvent void bob( float speed, float phase, vector depth );
|
|
|
|
// Initiates a rotation back and forth along the given angles with the given speed & phase.
|
|
scriptEvent void sway( float speed, float phase, vector depth );
|
|
|
|
// Sets the sound to be played when the mover accelerates.
|
|
scriptEvent void accelSound( decl sound );
|
|
|
|
// Sets the sound to be played when the mover decelerates.
|
|
scriptEvent void decelSound( decl sound );
|
|
|
|
// Sets the sound to be played when the moving.
|
|
scriptEvent void moveSound( decl sound );
|
|
|
|
// Enables aligning the mover with the spline direction.
|
|
scriptEvent void enableSplineAngles();
|
|
|
|
// Disables aligning the mover with the spline direction.
|
|
scriptEvent void disableSplineAngles();
|
|
|
|
// Subtracts the initial spline angles to maintain the initial orientation of the mover.
|
|
scriptEvent void removeInitialSplineAngles();
|
|
|
|
// doom: made protected to support Tick implementation Starts moving along a spline stored on the given entity.
|
|
scriptEvent void startSpline( entity splineEntity );
|
|
|
|
//
|
|
scriptEvent void travelSpline( entity splineEntity, boolean forward, boolean setSplineAngle );
|
|
|
|
//
|
|
scriptEvent void pauseSpline( boolean pause );
|
|
|
|
// Stops moving along a spline.
|
|
scriptEvent void stopSpline();
|
|
|
|
// Returns true if a mover is moving
|
|
scriptEvent int isMoving();
|
|
|
|
//
|
|
scriptEvent boolean isDone();
|
|
|
|
// Returns true if a mover is rotating
|
|
scriptEvent int isRotating();
|
|
|
|
// emit smoke / particles
|
|
scriptEvent void emitSmokeDecl( decl decl, int timeOffsetSecs, float diversity, vector offset );
|
|
|
|
/*
|
|
================================================
|
|
idFuncRotate
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetRotateSpeed( int pitch, int yaw, int roll );
|
|
|
|
/*
|
|
================================================
|
|
idPathCorner
|
|
================================================
|
|
*/
|
|
|
|
// Chooses a random path from the entity's targets, ignoring non-path entities.
|
|
scriptEvent entity randomPath();
|
|
|
|
/*
|
|
================================================
|
|
idBinaryModel
|
|
================================================
|
|
*/
|
|
|
|
// Returns true if the entity's model is invisible.
|
|
scriptEvent int isHidden();
|
|
|
|
// Makes this entity invisible.
|
|
scriptEvent void hide();
|
|
|
|
// Makes this entity visible if it has a model.
|
|
scriptEvent void show();
|
|
|
|
/*
|
|
================================================
|
|
idDynamicEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void fade( float from, float to, float secs );
|
|
|
|
//
|
|
scriptEvent void fadeNoStipple( float from, float to, float secs );
|
|
|
|
//
|
|
scriptEvent void activateColorModulate();
|
|
|
|
//
|
|
scriptEvent void deactivateColorModulate();
|
|
|
|
/*
|
|
================================================
|
|
idRegimeTile
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void pulse();
|
|
|
|
//
|
|
scriptEvent void powerDown();
|
|
|
|
//
|
|
scriptEvent void powerUp();
|
|
|
|
/*
|
|
================================================
|
|
idEntityImposter
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void mimicEntity();
|
|
|
|
/*
|
|
================================================
|
|
idParticleEmitter
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void triggerShow();
|
|
|
|
/*
|
|
================================================
|
|
idElectricBoltEmitter
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void deactivate();
|
|
|
|
//
|
|
scriptEvent void resetTarget();
|
|
|
|
/*
|
|
================================================
|
|
idGuiEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void setFloat( string name, float value );
|
|
|
|
//
|
|
scriptEvent void setString( string name, string str );
|
|
|
|
//
|
|
scriptEvent void resetGuiEntity();
|
|
|
|
//
|
|
scriptEvent void moveToState( int state );
|
|
|
|
//
|
|
scriptEvent void enableInteract( boolean enable );
|
|
|
|
/*
|
|
================================================
|
|
idWorldDestructibleEntity
|
|
================================================
|
|
*/
|
|
|
|
// events
|
|
scriptEvent void breakPiece( int pieceIndex, vector impulse );
|
|
|
|
/*
|
|
================================================
|
|
idAnimated
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void reset();
|
|
|
|
/*
|
|
================================================
|
|
idAnimatedSimple
|
|
================================================
|
|
*/
|
|
|
|
// Starts playing the given animation directly
|
|
scriptEvent void playAnim( string animName, boolean loop, int blendTime );
|
|
|
|
// Sets animstate
|
|
scriptEvent void setAnimState( int state, int blendTime, boolean queueChangeState );
|
|
|
|
//
|
|
scriptEvent int getAnimState();
|
|
|
|
//
|
|
scriptEvent void pauseAnim( boolean pause, int pauseFrame, boolean queuePause );
|
|
|
|
//
|
|
scriptEvent void showAttachments( boolean show );
|
|
|
|
//
|
|
scriptEvent boolean startVoiceOver( entity talkingTo, decl vo, boolean playInCombat );
|
|
|
|
//
|
|
scriptEvent boolean isVoiceOverPlaying( decl vo );
|
|
|
|
/*
|
|
================================================
|
|
idModifiedPlayerMovement
|
|
================================================
|
|
*/
|
|
|
|
// Reset on player
|
|
scriptEvent void remove();
|
|
|
|
/*
|
|
================================================
|
|
idAnimated_AnimWeb
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void changeAnimState( string destSubWebName, string destStateName );
|
|
|
|
//
|
|
scriptEvent void changeAnimStateVia( string destSubWebName, string destStateName, string viaSubWebName, string viaStateName );
|
|
|
|
//
|
|
scriptEvent void forceAnimState( string destSubWebName, string destStateName, int blendDurationMS );
|
|
|
|
//
|
|
scriptEvent boolean startVoiceOver( entity talkingTo, decl vo, boolean playInCombat );
|
|
|
|
/*
|
|
================================================
|
|
idLight
|
|
================================================
|
|
*/
|
|
|
|
// Sets the shader to be used for the light.
|
|
scriptEvent void setShader( string shadername );
|
|
|
|
// Sets the red/green/blue/alpha shader parms on the light and the model.
|
|
scriptEvent void setLightParms( float parm0, float parm1, float parm2, float parm3 );
|
|
|
|
// Sets the width/length/height of the light bounding box.
|
|
scriptEvent void setRadiusXYZ( float x, float y, float z );
|
|
|
|
// Sets the size of the bounding box.
|
|
scriptEvent void setRadius( float radius );
|
|
|
|
// Turns the light off.
|
|
scriptEvent void hide();
|
|
|
|
// Turns the light on.
|
|
scriptEvent void show();
|
|
|
|
// Turns the light on.
|
|
scriptEvent void on();
|
|
|
|
// Turns the light off.
|
|
scriptEvent void off();
|
|
|
|
// Turns the light off over the given time in seconds.
|
|
scriptEvent void fadeOutLight( float time );
|
|
|
|
// Turns the light on over the given time in seconds.
|
|
scriptEvent void fadeInLight( float time );
|
|
|
|
/*
|
|
================================================
|
|
idCamera
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void deactivate();
|
|
|
|
/*
|
|
================================================
|
|
idInteractionCamera
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void reallyDeactivate();
|
|
|
|
//
|
|
scriptEvent void interactActivate( entity activator_, entity aitarget );
|
|
|
|
/*
|
|
================================================
|
|
idAlignedEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void setViewAnglesFromCamera();
|
|
|
|
//
|
|
scriptEvent void attachLimitViewCamera( string jointName, int lookMode, int blendMode, float viewConeDeg, float autoCenterK );
|
|
|
|
/*
|
|
================================================
|
|
idWorldspawn
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void remove();
|
|
|
|
/*
|
|
================================================
|
|
idDummyGarbageDontUse
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idVolume
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int numEntitiesInVolume();
|
|
|
|
//
|
|
scriptEvent int numEntitiesInVolumeByName( string subStr );
|
|
|
|
//
|
|
scriptEvent int numAIsInVolume();
|
|
|
|
//
|
|
scriptEvent int numPlayersInVolume();
|
|
|
|
//
|
|
scriptEvent int numVehiclesInVolume();
|
|
|
|
//
|
|
scriptEvent int numDronesInVolume();
|
|
|
|
//
|
|
scriptEvent int numDropShipsInVolume();
|
|
|
|
//
|
|
scriptEvent boolean isEntityInVolume( entity entity );
|
|
|
|
// { return eventVoid(); }
|
|
scriptEvent void volumeMemberAdded( entity member );
|
|
|
|
/*
|
|
================================================
|
|
idVolume_ItemGroup
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void gatherItems();
|
|
|
|
/*
|
|
================================================
|
|
idVolume_RegimeRegenerate
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void reset();
|
|
|
|
/*
|
|
================================================
|
|
idVolume_PlayerViewEffect
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void deactivate();
|
|
|
|
/*
|
|
================================================
|
|
idCombatVolume
|
|
================================================
|
|
*/
|
|
|
|
// note: if group == "" then players
|
|
scriptEvent int countInGroup( string groupName );
|
|
|
|
//
|
|
scriptEvent int averageHealthInGroup( string groupName );
|
|
|
|
//
|
|
scriptEvent int highestHealthInGroup( string groupName );
|
|
|
|
//
|
|
scriptEvent int lowestHealthInGroup( string groupName );
|
|
|
|
/*
|
|
================================================
|
|
idInfoSplineChild
|
|
================================================
|
|
*/
|
|
|
|
// get the length along the spline this entity is
|
|
scriptEvent float getLengthOnSpline();
|
|
|
|
// get the parent spline entity
|
|
scriptEvent entity getParentSpline();
|
|
|
|
/*
|
|
================================================
|
|
idInfoLinkSegment
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void enableLink( boolean enable );
|
|
|
|
/*
|
|
================================================
|
|
idScenePoint_Arc
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent boolean isInArc( vector pos );
|
|
|
|
/*
|
|
================================================
|
|
idTrigger
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void enable();
|
|
|
|
//
|
|
scriptEvent void disable();
|
|
|
|
//
|
|
scriptEvent string getUserData();
|
|
|
|
/*
|
|
================================================
|
|
idSoundDoor
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void open( entity user );
|
|
|
|
//
|
|
scriptEvent void close( entity user );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_MultiSound
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent boolean isPlayingSound();
|
|
|
|
/*
|
|
================================================
|
|
idTarget_SoundDuck
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void duckSounds();
|
|
|
|
/*
|
|
================================================
|
|
idEditorModelEntity
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idAnimCamera
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idScriptMapEntity
|
|
================================================
|
|
*/
|
|
|
|
// Deactivate the script
|
|
scriptEvent void deactivate();
|
|
|
|
/*
|
|
================================================
|
|
idUse
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void delayedActivation( entity activator, int usable );
|
|
|
|
/*
|
|
================================================
|
|
idProp_Usable
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void delayedActivation( entity activator, int usable );
|
|
|
|
// checks if the prop is standing upright
|
|
scriptEvent float isUpright();
|
|
|
|
//
|
|
scriptEvent void setUsable( boolean usable );
|
|
|
|
/*
|
|
================================================
|
|
idProp_ContinuallyUsed
|
|
================================================
|
|
*/
|
|
|
|
// events
|
|
scriptEvent void setUsePercent( float amount );
|
|
|
|
//
|
|
scriptEvent float getUsePercent();
|
|
|
|
//
|
|
scriptEvent void setRateOfIncrease( float rate );
|
|
|
|
//
|
|
scriptEvent void setRateOfDecrease( float rate );
|
|
|
|
/*
|
|
================================================
|
|
idProp_Breakable
|
|
================================================
|
|
*/
|
|
|
|
// Break the moveable
|
|
scriptEvent void breakIt();
|
|
|
|
/*
|
|
================================================
|
|
idProp_Explosive
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void detonate( entity activator );
|
|
|
|
//
|
|
scriptEvent void preDetonate( entity activator );
|
|
|
|
//
|
|
scriptEvent void resetContainer( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idProp_Spawnable
|
|
================================================
|
|
*/
|
|
|
|
// These are pooled objects so we don't want anything to remove this class except the SpawnablePropManager
|
|
scriptEvent void remove();
|
|
|
|
/*
|
|
================================================
|
|
idMinigame
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void minigameSuccess();
|
|
|
|
/*
|
|
================================================
|
|
idDoor_Base
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void linkSoundDoor();
|
|
|
|
//
|
|
scriptEvent void open( entity user );
|
|
|
|
//
|
|
scriptEvent void kickOpen( entity user, float forceScale );
|
|
|
|
//
|
|
scriptEvent void close( entity user );
|
|
|
|
//
|
|
scriptEvent boolean getLocked();
|
|
|
|
//
|
|
scriptEvent void setLocked( int lock );
|
|
|
|
//
|
|
scriptEvent void setForcedUnusable( int lock );
|
|
|
|
//
|
|
scriptEvent void setPlayerUsable( int usable );
|
|
|
|
/*
|
|
================================================
|
|
idDoor_Laser
|
|
================================================
|
|
*/
|
|
|
|
// toggle open/close make door open
|
|
scriptEvent void open( entity dummy );
|
|
|
|
// make door close
|
|
scriptEvent void close( entity dummy );
|
|
|
|
// make door close
|
|
scriptEvent void enable();
|
|
|
|
// make door open
|
|
scriptEvent void disable();
|
|
|
|
// make door close
|
|
scriptEvent void show();
|
|
|
|
// make door open
|
|
scriptEvent void hide();
|
|
|
|
// toggle the door
|
|
scriptEvent void activate( entity dummy );
|
|
|
|
/*
|
|
================================================
|
|
idDoor_Parametric
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void setAngleAtTime( entity source, float duration, float yaw );
|
|
|
|
//
|
|
scriptEvent void lockGrinderSetAngleAtTime( entity source, vector dir, float duration, float yaw );
|
|
|
|
//
|
|
scriptEvent boolean isOpen();
|
|
|
|
//
|
|
scriptEvent boolean isClosed();
|
|
|
|
//
|
|
scriptEvent boolean isLockedForEntity( entity entity );
|
|
|
|
//
|
|
scriptEvent vector getAIUsePosition( entity entity );
|
|
|
|
//
|
|
scriptEvent vector getCenterOfDoor();
|
|
|
|
//
|
|
scriptEvent void disableObstacleFlag();
|
|
|
|
/*
|
|
================================================
|
|
idLaserGate
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void powerUpLasers();
|
|
|
|
//
|
|
scriptEvent void shutDownLasers();
|
|
|
|
/*
|
|
================================================
|
|
idEntityFx
|
|
================================================
|
|
*/
|
|
|
|
// Start the fx with the specified condition
|
|
scriptEvent void startFX( int condition );
|
|
|
|
// Stop the fx with the specified condition
|
|
scriptEvent void stopFX( int condition );
|
|
|
|
/*
|
|
================================================
|
|
idPlayerControlled
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idPanzerHund
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimState( int animweb, string destNode, int waitType );
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimStateVia( int animweb, string destNode, string viaNode, int wait );
|
|
|
|
/*
|
|
================================================
|
|
idTrigger_SaveGame
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void triggerSaveGame( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
mgFunc_CaptureFrames
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void deactivate();
|
|
|
|
/*
|
|
================================================
|
|
idExplodable
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void disablePhysics();
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Default
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_ExecuteDoomscript
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_ActionScript
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Relaxed
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Combat
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_CombatScenePoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_SearchScenePoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_RoamScenePoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Search
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_stuck();
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Pain
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Melee
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Passified
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Avoid
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_WatchPossessedGuy
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_DropFromShip
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_PerformDropLanding
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_OnElevator
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAlertCycle_Stuck
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent int fsm_killed();
|
|
|
|
//
|
|
scriptEvent int fsm_pain( entity owner );
|
|
|
|
/*
|
|
================================================
|
|
idAnimStateMoveGround
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void fsm_startArrival();
|
|
|
|
//
|
|
scriptEvent void fsm_startDeparture();
|
|
|
|
//
|
|
scriptEvent void fsm_startStepTransition();
|
|
|
|
//
|
|
scriptEvent void fsm_animEventLunge();
|
|
|
|
//
|
|
scriptEvent void fsm_departureReturnToMove();
|
|
|
|
/*
|
|
================================================
|
|
idAnimFSM
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void fsm_notifyDead();
|
|
|
|
/*
|
|
================================================
|
|
idAIStateError
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ErrorEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAIStateDone
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_DoneEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToPoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToPointEnter( entity entity, int moveReason, vector dest, int arrivalAction, float tolerance, boolean align, vector dir );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToPointNoFail
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToPointNoFailEnter( entity entity, int moveReason, vector dest, int arrivalAction, float tolerance, boolean align, vector dir, decl ptr );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToEntityEnter( entity entity, int moveReason, entity destEnt, int arrivalAction, float tolerance, boolean align, vector dir, boolean smoothTransitions );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToEntityNoFail
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToEntityNoFailEnter( entity entity, int moveReason, entity destEnt, int arrivalAction, float tolerance, boolean align, vector dir, decl ptr );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToPathPoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToPathPointEnter( entity entity, int moveReason, entity pathPoint );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToPathPointNoFail
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToPathPointNoFailEnter( entity entity, int moveReason, entity pathPoint, decl ptr );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToCover
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToCoverEnter( entity entity, int moveReason, vector dest, int arrivalAction, int arrivalPosture, boolean align, vector dir );
|
|
|
|
/*
|
|
================================================
|
|
idAction_UseZipline
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_UseZiplineEnter( entity entity, entity destEnt );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetMovePushStatus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetMovePushStatusEnter( entity entity, int newStatus );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Idle
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_IdleEnter( entity entity, int time, int turnType );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Pain
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PainEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_StandToCrouch
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_StandToCrouchEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_CrouchToStand
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_CrouchToStandEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PullTriggerRight
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PullTriggerRightEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ReleaseTriggerRight
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ReleaseTriggerRightEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PullTriggerLeft
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PullTriggerLeftEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ReleaseTriggerLeft
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ReleaseTriggerLeftEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ReloadWeapon
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ReloadWeaponEnter( entity entity, int slot, decl ammoDecl );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ReloadWeaponTorso
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ReloadWeaponTorsoEnter( entity entity, int slot, decl ammoDecl );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForAnim
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForAnimEnter( entity entity, string animRef );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForAnimVia
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForAnimViaEnter( entity entity, string destAnim, string viaAnim );
|
|
|
|
/*
|
|
================================================
|
|
idAction_LoopAnim
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_LoopAnimEnter( entity entity, string animRef, int waitTimeMS );
|
|
|
|
/*
|
|
================================================
|
|
idAction_LoopAnimExitAtEnd
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_LoopAnimExitAtEndEnter( entity entity, string animRef, int waitTimeMS, int endFramesFromEnd );
|
|
|
|
/*
|
|
================================================
|
|
idAction_StartAnim
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_StartAnimEnter( entity entity, string animRef, boolean finishBlend, boolean wait );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForTraversalAnim
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForTraversalAnimEnter( entity entity, string traversalAnimName, boolean runWhenDone );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ChangeAnimState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimStateEnter( entity entity, int aw, string destNode, int wait );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ChangeAnimStateVia
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ChangeAnimStateViaEnter( entity entity, int aw, string destNode, string viaNode, int wait );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ForceAnimState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ForceAnimStateEnter( entity entity, int aw, string destNode, int blendDurationMS, int wait );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Dodge
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_DodgeEnter( entity entity, int dodgeDir );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Wait
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitEnter( entity entity, int time );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Dive
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_DiveEnter( entity entity, int moveReason, float diveYaw, float faceYaw );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Melee
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MeleeEnter( entity entity, int overrideAnim, boolean align, vector dir );
|
|
|
|
/*
|
|
================================================
|
|
idAction_TurnToPoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_TurnToPointEnter( entity entity, vector dest );
|
|
|
|
/*
|
|
================================================
|
|
idAction_TurnToEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_TurnToEntityEnter( entity entity, entity ent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_TurnToEntityWithOffset
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_TurnToEntityWithOffsetEnter( entity entity, entity ent, float yawOffset );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForEntity
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForEntityEnter( entity entity, entity ent, float distance );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnterVehicle
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnterVehicleEnter( entity entity, entity vehicle, entity vehicleAI );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PlayVoiceOver
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PlayVoiceOverEnter( entity entity, decl vo, boolean wait );
|
|
|
|
/*
|
|
================================================
|
|
idAction_StopVoiceOver
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_StopVoiceOverEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PlayInteractionVoiceOver
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PlayInteractionVoiceOverEnter( entity entity, decl vo, entity ent, float distance, boolean abort );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PlayOverrideAnim
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PlayOverrideAnimEnter( entity entity, int overrideAnim );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PlayOverrideAnimInterrupt
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PlayOverrideAnimInterruptEnter( entity entity, int overrideAnim );
|
|
|
|
/*
|
|
================================================
|
|
idAction_DrawWeapon
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_DrawWeaponEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_HolsterWeapon
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_HolsterWeaponEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_LeapAttack
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_LeapAttackEnter( entity entity, vector leapTarget );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PerformCoverAction
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PerformCoverActionEnter( entity entity, int coverAction, int duration );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForPlayerInteraction
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForPlayerInteractionEnter( entity entity, float distance );
|
|
|
|
/*
|
|
================================================
|
|
idAction_WaitForAIVar
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_WaitForAIVarEnter( entity entity, string varName, int op, string varValue );
|
|
|
|
/*
|
|
================================================
|
|
idAction_PerfectMovement
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_PerfectMovementEnter( entity entity, vector perfectMovementStartPoint, quat startAxis, string subweb, string state, boolean forceTransition, boolean isPerfectDestination );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetAlertCycle
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetAlertCycleEnter( entity entity, int ac );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetSubWeb
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetSubWebEnter( entity entity, int sw );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetFocusEnter( entity entity, entity ent, boolean aiming, boolean keepFocusInView, boolean trackOnlyVisible, int aimPoint );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ClearLookFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ClearLookFocusEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ClearAimFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ClearAimFocusEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetAimPoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetAimPointEnter( entity entity, int aimPoint );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetFireMode
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetFireModeEnter( entity entity, int fireMode );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetScriptAbort
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetScriptAbortEnter( entity entity, boolean abortForCombat, boolean abortForSearch );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetPosture
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetPostureEnter( entity entity, int posture );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetWalkState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetWalkStateEnter( entity entity, int ws );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetSitState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetSitStateEnter( entity entity, int ss );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetStandState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetStandStateEnter( entity entity, int ss );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetIdleState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetIdleStateEnter( entity entity, int state );
|
|
|
|
/*
|
|
================================================
|
|
idAction_IgnorePlayerApproach
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_IgnorePlayerApproachEnter( entity entity, boolean permanent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_NoticePlayerApproach
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_NoticePlayerApproachEnter( entity entity, boolean permanent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetPlayerEnemy
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetPlayerEnemyEnter( entity entity, int player );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetEnemy
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetEnemyEnter( entity entity, entity enemy );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SearchToTarget
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SearchToTargetEnter( entity entity, entity target );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetPlayerFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetPlayerFocusEnter( entity entity, int player, boolean aiming, boolean keepFocusInView, boolean trackOnlyVisible, int aimPoint );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetActionNodeGroup
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetActionNodeGroupEnter( entity entity, string groupName );
|
|
|
|
/*
|
|
================================================
|
|
idAction_Trigger
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_TriggerEnter( entity entity, entity ent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnableDamage
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnableDamageEnter( entity entity, boolean enabled, boolean permanent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnablePain
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnablePainEnter( entity entity, boolean enabled );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnableAutoFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnableAutoFocusEnter( entity entity, boolean enabled, boolean permanent );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnableBodyRotation
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnableBodyRotationEnter( entity entity, boolean enabled );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnableWalkIK
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnableWalkIKEnter( entity entity, boolean enabled );
|
|
|
|
/*
|
|
================================================
|
|
idAction_EnableHeadTracking
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_EnableHeadTrackingEnter( entity entity, boolean enabled );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ForceOpenCombat
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ForceOpenCombatEnter( entity entity, int player );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ForceAwarenessByDistance
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ForceAwarenessByDistanceEnter( entity entity, float radius, boolean playerFlag, boolean aiFlag );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ForcePlayerInteraction
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ForcePlayerInteractionEnter( entity entity, int player );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetAIVar
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetAIVarEnter( entity entity, string varName, int type, string varValue );
|
|
|
|
/*
|
|
================================================
|
|
idAction_GiveItem
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_GiveItemEnter( entity entity, entity giveTo, decl itemDecl );
|
|
|
|
/*
|
|
================================================
|
|
idAction_TakeItem
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_TakeItemEnter( entity entity, entity takeFrom, decl itemDecl );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ClearWorldState
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ClearWorldStateEnter( entity entity );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ShowAttachment
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ShowAttachmentEnter( entity entity, string slotName );
|
|
|
|
/*
|
|
================================================
|
|
idAction_HideAttachment
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_HideAttachmentEnter( entity entity, string slotName );
|
|
|
|
/*
|
|
================================================
|
|
idAction_DropAttachment
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_DropAttachmentEnter( entity entity, string slotName );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetScriptFlag
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetScriptFlagEnter( entity entity, int flags );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ClearScriptFlag
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ClearScriptFlagEnter( entity entity, int flags );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetPerceptionFlag
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetPerceptionFlagEnter( entity entity, int flags );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ClearPerceptionFlag
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ClearPerceptionFlagEnter( entity entity, int flags );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetMoveMode
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetMoveModeEnter( entity entity, int moveMode );
|
|
|
|
/*
|
|
================================================
|
|
idAction_SetAccuracy
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_SetAccuracyEnter( entity entity, int accuracy );
|
|
|
|
/*
|
|
================================================
|
|
idAction_ScriptedAnimWeb
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_ScriptedAnimWebEnter( entity entity, entity entityPtr, int loopInterval_ );
|
|
|
|
/*
|
|
================================================
|
|
idAction_MoveToScenePoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void action_MoveToScenePointEnter( entity entity, entity entityPtr, int flags );
|
|
|
|
/*
|
|
================================================
|
|
idAIDeathVolume
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void stopKilling();
|
|
|
|
/*
|
|
================================================
|
|
idTurretGunner
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void animWeb_Raised( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
//
|
|
scriptEvent void animWeb_Lowered( int webHandle, int subWebIndex, int stateIndex, int eventParm );
|
|
|
|
/*
|
|
================================================
|
|
idVehicleMountedTurret
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idTarget_PlayerCheckpoint
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void activate( entity activator );
|
|
|
|
//
|
|
scriptEvent void doCheckpoint( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_LevelTransition
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void doTransition( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_SetSpawnSpot
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void activate( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_Spawn
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent entity getLastSpawned();
|
|
|
|
/*
|
|
================================================
|
|
idTarget_Disconnect
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void doTransition( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_DummyFire
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent boolean setFireTarget( entity target );
|
|
|
|
//
|
|
scriptEvent void setFireTime( float time );
|
|
|
|
//
|
|
scriptEvent void setFireDone();
|
|
|
|
/*
|
|
================================================
|
|
idTarget_PlayerOverrideFocus
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void overrideFocus( entity activator, boolean setFocus );
|
|
|
|
/*
|
|
================================================
|
|
idTarget_Conditional
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void modifyCount( int value );
|
|
|
|
//
|
|
scriptEvent int getCurrentCount();
|
|
|
|
//
|
|
scriptEvent int getLimitCount();
|
|
|
|
/*
|
|
================================================
|
|
idTarget_NextMap
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void doTransition( entity activator );
|
|
|
|
/*
|
|
================================================
|
|
idFirstPersonEvent
|
|
================================================
|
|
*/
|
|
|
|
//
|
|
scriptEvent void attachEntity( entity entity, string tag );
|
|
|
|
//
|
|
scriptEvent void forceEndFirstPersonEvent();
|
|
|
|
//
|
|
scriptEvent void setFirstPersonEventAnimState( int state );
|
|
|
|
/*
|
|
================================================
|
|
idDrone
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idGameChallenge_Coop
|
|
================================================
|
|
*/
|
|
|
|
/*
|
|
================================================
|
|
idGameChallenge_PVP
|
|
================================================
|
|
*/
|
|
|
|
#endif // !__SCRIPT_EVENTS_SCRIPT__
|