798 lines
32 KiB
Plaintext
798 lines
32 KiB
Plaintext
|
|
-- Classes
|
||
|
|
|
||
|
|
Vector = require "pluto:vector3"
|
||
|
|
|
||
|
|
class Rotation
|
||
|
|
function __construct(public heading = 0, public pitch = 0, public bank = 0)
|
||
|
|
function __tostring()
|
||
|
|
|
||
|
|
class Symbol
|
||
|
|
function __construct(public name = "")
|
||
|
|
function __eq(b)
|
||
|
|
function __tostring()
|
||
|
|
function c_str()
|
||
|
|
|
||
|
|
class Color
|
||
|
|
function __construct(public red, public green, public blue, public alpha = 255)
|
||
|
|
function __tostring()
|
||
|
|
function GetUInt()
|
||
|
|
|
||
|
|
class ObjectType
|
||
|
|
function __eq(other)
|
||
|
|
function GetName()
|
||
|
|
function GetFullName()
|
||
|
|
function GetParent()
|
||
|
|
function getHierarchy()
|
||
|
|
|
||
|
|
class Object
|
||
|
|
function __eq(other)
|
||
|
|
function GetType()
|
||
|
|
function GetName()
|
||
|
|
function GetFullName()
|
||
|
|
function IsA(type)
|
||
|
|
|
||
|
|
class Player extends Object
|
||
|
|
function GetAvatar()
|
||
|
|
function GetPlayerName()
|
||
|
|
function GetClanName()
|
||
|
|
function GetPlayerAccountIDString()
|
||
|
|
function GetPlayerMatchMakingString()
|
||
|
|
function GetHudStatus()
|
||
|
|
function CameraControl()
|
||
|
|
|
||
|
|
class HumanPlayer extends Player
|
||
|
|
function ToggleFreeCamera()
|
||
|
|
function isControllingCamera()
|
||
|
|
function setControllingCamera(b)
|
||
|
|
function AssignAvatar(avatar, b1 = true, b2 = true)
|
||
|
|
function SendGiveItem(resource, amount)
|
||
|
|
|
||
|
|
class LotusHumanPlayer extends HumanPlayer
|
||
|
|
function GetLoadOut()
|
||
|
|
|
||
|
|
class LoadOut
|
||
|
|
function GetStoredItemStruct(i1, i2)
|
||
|
|
|
||
|
|
class MongoId
|
||
|
|
|
||
|
|
class LotusProfileTypes.StoredItem
|
||
|
|
mItem
|
||
|
|
mModSlot
|
||
|
|
mCustSlot
|
||
|
|
mAttachedUpgrades
|
||
|
|
|
||
|
|
class LotusProfileTypes.WeaponInfo
|
||
|
|
mItemId
|
||
|
|
mItemType
|
||
|
|
mModularParts
|
||
|
|
function GetCustomization()
|
||
|
|
|
||
|
|
class LotusProfileTypes.UpgradeInfo
|
||
|
|
mItemType
|
||
|
|
mUpgradeFingerprint
|
||
|
|
|
||
|
|
class BaseEntity extends Object
|
||
|
|
|
||
|
|
class Entity extends BaseEntity
|
||
|
|
function GetPosition()
|
||
|
|
function SetPosition(pos)
|
||
|
|
function DistanceToEntity(b)
|
||
|
|
function GetRotation()
|
||
|
|
function GetSimRotation()
|
||
|
|
function SetRotation(rot)
|
||
|
|
function GetHealth()
|
||
|
|
function SetHealth(health)
|
||
|
|
function GetDrawOnTop()
|
||
|
|
function SetDrawOnTop(b)
|
||
|
|
function GetMeshScale()
|
||
|
|
function SetMeshScale(f)
|
||
|
|
function GetMesh()
|
||
|
|
function SetMesh(object, b1, b2)
|
||
|
|
function Attach(type, optionalBoneSymbol, optionalPosOffset)
|
||
|
|
function GetAttachment(type)
|
||
|
|
function GetAllAttachments(type)
|
||
|
|
function GetTag()
|
||
|
|
function SetTag(symbol)
|
||
|
|
function FirePort(port)
|
||
|
|
function SetVisibility(visible, delegateToAttachments = false)
|
||
|
|
function GetSpeed()
|
||
|
|
function Destroy()
|
||
|
|
function SetMaterialParam(symbol, f1, f2 = 3.4028235e38, f3 = 3.4028235e38, f4 = 3.4028235e38, b = false)
|
||
|
|
function RunScript(resource, funcSymbol, b)
|
||
|
|
|
||
|
|
class BaseAvatar extends Entity
|
||
|
|
function GetMaxHealth(b = true)
|
||
|
|
function SetMaxHealth(health, b = false)
|
||
|
|
function Suicide()
|
||
|
|
function DamageControl()
|
||
|
|
function InventoryControl()
|
||
|
|
function InputControl()
|
||
|
|
function GiveItem(type, b)
|
||
|
|
function MotionControl()
|
||
|
|
function GetView()
|
||
|
|
function SetView(rot)
|
||
|
|
function GetCameraView()
|
||
|
|
function SetCameraView(rot)
|
||
|
|
function SetEyePosition(pos)
|
||
|
|
function GetFaction()
|
||
|
|
function GetOriginalFaction()
|
||
|
|
function SetFaction(symbol)
|
||
|
|
function GetLocTag()
|
||
|
|
function ClearAgent()
|
||
|
|
function PushInputFilter(resource)
|
||
|
|
function SetCustomAnimController(type)
|
||
|
|
function GetAnimControllerType()
|
||
|
|
function SetCustomMotionController(type)
|
||
|
|
function SetCustomCameraController(type)
|
||
|
|
function EnableRagdollRecovery(b1, b2)
|
||
|
|
function DamageDD(damageData)
|
||
|
|
function GetRagdoll()
|
||
|
|
|
||
|
|
class Avatar extends BaseAvatar
|
||
|
|
function ControlCamera(b)
|
||
|
|
function isFollowedByCamera()
|
||
|
|
|
||
|
|
class LotusAvatar extends Avatar
|
||
|
|
function IsAvatarFriendly(other)
|
||
|
|
function PlayEmote(resource)
|
||
|
|
function GetUIName()
|
||
|
|
function SetUIName(str)
|
||
|
|
function HasDynamicUIName()
|
||
|
|
function SetDynamicUIName(b)
|
||
|
|
function SetCollisionEnabled(b)
|
||
|
|
function SetCinematicID(symbol)
|
||
|
|
|
||
|
|
class DamageControllerBase extends Object
|
||
|
|
function GiveTemporaryImmunity(a, b)
|
||
|
|
function HasTemporaryImmunity()
|
||
|
|
function RemoveTemporaryImmunity()
|
||
|
|
function GetShield()
|
||
|
|
function SetShield(i)
|
||
|
|
function GetMaxShield()
|
||
|
|
function SetMaxShield(i)
|
||
|
|
function GetOverguardAmount()
|
||
|
|
function SetOverguardAmount(i)
|
||
|
|
function GetOverguardMax()
|
||
|
|
function SetOverguardMax(i)
|
||
|
|
|
||
|
|
class DamageController extends DamageControllerBase
|
||
|
|
|
||
|
|
class LotusDamageController extends DamageController
|
||
|
|
function GetArmourRating()
|
||
|
|
function SetArmourRating(i)
|
||
|
|
|
||
|
|
class InventoryControllerBase extends Object
|
||
|
|
function RemoveItem(slot, b)
|
||
|
|
function GetWeaponInHand(hand)
|
||
|
|
function AddUpgrade(upgradeType, operationType, value, _reserved = nil, _reserved = nil, damageType = DamageType.DT_ANY)
|
||
|
|
|
||
|
|
class LotusInventoryController extends InventoryControllerBase
|
||
|
|
function GetActivePowerSuit()
|
||
|
|
function DoItemDrop()
|
||
|
|
function GetConsumableItem(idx)
|
||
|
|
function UseConsumableItem(idx)
|
||
|
|
|
||
|
|
class ResourceBase extends Object
|
||
|
|
|
||
|
|
class Mesh extends ResourceBase
|
||
|
|
|
||
|
|
class Item extends Object
|
||
|
|
function GetAttachmentEntity(category, hand = 4)
|
||
|
|
function GetEnergyColor(outColor, secondary = false)
|
||
|
|
|
||
|
|
class WeaponBase extends Item
|
||
|
|
|
||
|
|
class WeaponEx extends WeaponBase
|
||
|
|
function GetActiveImpactBehavior()
|
||
|
|
function AddUpgrade(obj)
|
||
|
|
|
||
|
|
class LotusWeapon extends WeaponEx
|
||
|
|
function GetXP()
|
||
|
|
function SetXP(xp)
|
||
|
|
function GetCustomization()
|
||
|
|
function SetCustomization(cust)
|
||
|
|
function SetModularParts(parts, gilded)
|
||
|
|
|
||
|
|
class WeaponUpgrade extends Item
|
||
|
|
|
||
|
|
class LotusWeaponUpgradeBase extends WeaponUpgrade
|
||
|
|
function InitializeFromFingerprint(str)
|
||
|
|
|
||
|
|
class LotusArtifactUpgrade extends LotusWeaponUpgradeBase
|
||
|
|
|
||
|
|
class WeaponImpactBehavior extends Object
|
||
|
|
criticalHitChance
|
||
|
|
criticalHitDamageMultiplier
|
||
|
|
instantImpulse
|
||
|
|
|
||
|
|
class PowerSuit extends LotusWeapon
|
||
|
|
function SetEnergy(value)
|
||
|
|
function SetMaxEnergy(value)
|
||
|
|
function GetUnmodifiedMaxEnergy()
|
||
|
|
function GetCurEnergy()
|
||
|
|
function GetMaxEnergy()
|
||
|
|
function GetAbilityByIndex(i)
|
||
|
|
function AddAbilityByType(type, idx)
|
||
|
|
|
||
|
|
class PowerSuitAbility extends Item
|
||
|
|
function GetCooldownDuration()
|
||
|
|
function SetCooldownDuration(val)
|
||
|
|
function GetCooldownTime()
|
||
|
|
function SetCooldownTime(val)
|
||
|
|
function AllowReactivate(b)
|
||
|
|
|
||
|
|
class InputControllerBase extends Object
|
||
|
|
|
||
|
|
class InputController extends InputControllerBase
|
||
|
|
function SetStopMovement(b)
|
||
|
|
|
||
|
|
class GameRules extends Object
|
||
|
|
function IsPauseMenuShowing()
|
||
|
|
function RequestPause()
|
||
|
|
function RequestUnpause()
|
||
|
|
function RequestResource(name, callback)
|
||
|
|
function RequestSlomo(f)
|
||
|
|
function CancelSlomo()
|
||
|
|
function IsSlomo()
|
||
|
|
function getSlomoltiplier()
|
||
|
|
function setSlomoltiplier(f)
|
||
|
|
|
||
|
|
class GameRulesImpl extends GameRules
|
||
|
|
function SetPauseDisabled(b)
|
||
|
|
function CanUnstick()
|
||
|
|
function UnstickLocalPlayer()
|
||
|
|
|
||
|
|
class LotusBaseGameRules extends GameRulesImpl
|
||
|
|
function GetCurrentStarChart()
|
||
|
|
function GetStoreManifest()
|
||
|
|
function AddActiveLevelAuraUpgrade(type)
|
||
|
|
function RemoveActiveLevelAuraUpgrade(type)
|
||
|
|
function GetMission()
|
||
|
|
|
||
|
|
class LotusGameRules extends LotusBaseGameRules
|
||
|
|
function OpenMissionContinueDialog()
|
||
|
|
|
||
|
|
class LotusAttractModeGameRules extends GameRulesImpl
|
||
|
|
function GetStarChart()
|
||
|
|
function GetStoreManifest()
|
||
|
|
|
||
|
|
class RadialSolarMap extends Object
|
||
|
|
function GetRegions()
|
||
|
|
function BuildMissionForLocation(symbol)
|
||
|
|
function SetLevelStreamingArgs(locationSymbol, openLevelArgs)
|
||
|
|
|
||
|
|
class RadialRegion
|
||
|
|
name
|
||
|
|
sectors
|
||
|
|
droneDamage
|
||
|
|
damageChance
|
||
|
|
resources
|
||
|
|
|
||
|
|
class RadialSector
|
||
|
|
name
|
||
|
|
unlocked
|
||
|
|
nodeType
|
||
|
|
missionTag
|
||
|
|
mission
|
||
|
|
challenges
|
||
|
|
|
||
|
|
class LotusMissionInfo
|
||
|
|
missionType
|
||
|
|
minEnemyLevel
|
||
|
|
maxEnemyLevel
|
||
|
|
goalTag
|
||
|
|
activeMissionTag
|
||
|
|
location
|
||
|
|
levelOverride
|
||
|
|
gameRules
|
||
|
|
missionReward
|
||
|
|
missionRewardExtra
|
||
|
|
buddyAgents
|
||
|
|
miscItemFee
|
||
|
|
function EncodeAsString()
|
||
|
|
function GetEnemies()
|
||
|
|
function GetExtraEnemies()
|
||
|
|
function GetMissionEventResources()
|
||
|
|
function GetExtraMissionEventResources()
|
||
|
|
function GetAdvancedAiDirectorSpawns()
|
||
|
|
function GetCustomAdvancedAiDirectorSpawns()
|
||
|
|
|
||
|
|
class MissionReward
|
||
|
|
credits
|
||
|
|
xp
|
||
|
|
items
|
||
|
|
countedItems
|
||
|
|
countedStoreItems
|
||
|
|
randomizedItems
|
||
|
|
|
||
|
|
class MissionRewardItemManifest extends ResourceBase
|
||
|
|
function GetMaxAvailableTier()
|
||
|
|
function PickRandomItemIndex(tier, f)
|
||
|
|
function GetTieredItem(tier, i)
|
||
|
|
|
||
|
|
class MissionRewardItem
|
||
|
|
function GetStoreItem()
|
||
|
|
|
||
|
|
class MissionAI
|
||
|
|
agent
|
||
|
|
|
||
|
|
class ChallengeBase extends Object
|
||
|
|
|
||
|
|
class GenericChallenge extends ChallengeBase
|
||
|
|
|
||
|
|
class ChallengeBase extends Object
|
||
|
|
|
||
|
|
class StoreManifest extends Object
|
||
|
|
function GetStoreItemsOfType(objectType)
|
||
|
|
function GetGiftBonusItems()
|
||
|
|
|
||
|
|
class StoreItem extends Object
|
||
|
|
function GetProductCategory()
|
||
|
|
function ExcludeFromCodex()
|
||
|
|
function ShowInMarket()
|
||
|
|
|
||
|
|
class GiftBonusItem
|
||
|
|
gift
|
||
|
|
reward
|
||
|
|
|
||
|
|
class CountedItem
|
||
|
|
mItemType
|
||
|
|
mItemCount
|
||
|
|
|
||
|
|
class CountedStoreItem
|
||
|
|
mStoreItem
|
||
|
|
mItemCount
|
||
|
|
|
||
|
|
class PickUpTypeRarity
|
||
|
|
mStoreItem
|
||
|
|
mItemType
|
||
|
|
mRarity
|
||
|
|
|
||
|
|
class CodexManifest
|
||
|
|
function GetEnvironmentEntries()
|
||
|
|
|
||
|
|
class CodexTypes.Entry
|
||
|
|
locName
|
||
|
|
icon
|
||
|
|
reqScans
|
||
|
|
secret
|
||
|
|
type
|
||
|
|
|
||
|
|
class Texture extends ResourceBase
|
||
|
|
|
||
|
|
class MotionControllerBase
|
||
|
|
function GetSpeedMultiplier()
|
||
|
|
function SetSpeedMultiplier(f)
|
||
|
|
|
||
|
|
class LotusMotionController extends MotionControllerBase
|
||
|
|
|
||
|
|
class LotusSpaceFlightMotionController extends LotusMotionController
|
||
|
|
function EnableFlight(b)
|
||
|
|
|
||
|
|
class CameraControllerBase extends Object
|
||
|
|
function setFovMultiplier(fMul)
|
||
|
|
function getFovMultiplier()
|
||
|
|
function SetBaseFovOverride(fov)
|
||
|
|
function GetBaseFovOverride()
|
||
|
|
function GetViewOffset()
|
||
|
|
function SetViewOffset(vec)
|
||
|
|
function GetAimViewOffset()
|
||
|
|
function SetAimViewOffset(vec)
|
||
|
|
function GetRunViewOffset()
|
||
|
|
function SetRunViewOffset(vec)
|
||
|
|
function GetDodgeOffset()
|
||
|
|
function SetDodgeOffset(vec)
|
||
|
|
function GetInAirViewOffset()
|
||
|
|
function SetInAirViewOffset(vec)
|
||
|
|
function SetInAirAimViewOffset(vec)
|
||
|
|
function SetMeleeOffset(vec)
|
||
|
|
function SetCoverLeftViewOffset(vec)
|
||
|
|
function SetCoverRightViewOffset(vec)
|
||
|
|
function SetCrouchCoverAimLeftViewOffset(vec)
|
||
|
|
function SetCrouchCoverAimRightViewOffset(vec)
|
||
|
|
function SetWallRunLeftViewOffset(vec)
|
||
|
|
function SetWallRunRightViewOffset(vec)
|
||
|
|
function SetWallRunLeftAimViewOffset(vec)
|
||
|
|
function SetWallRunRightAimViewOffset(vec)
|
||
|
|
|
||
|
|
class EngineNpcMgr extends Object
|
||
|
|
function GetAiDirector()
|
||
|
|
|
||
|
|
class EngineAiDirector extends Object
|
||
|
|
function SetMaxPopulationSpawnCount(i)
|
||
|
|
function SetMaxAI(i)
|
||
|
|
function SetDifficulty(i)
|
||
|
|
function ClearEncounters()
|
||
|
|
function AddEncounter(type)
|
||
|
|
function SelectEncounterHintsWithType(type, minDist, maxDist)
|
||
|
|
function ActivateSpecificEncounterAtSpecificHint(hint, type)
|
||
|
|
function AddGlobalEncounterTag(symbol)
|
||
|
|
function RemoveGlobalEncounterTag(symbol)
|
||
|
|
|
||
|
|
class NpcManager extends EngineNpcMgr
|
||
|
|
function PauseAllAgents()
|
||
|
|
function CreateAgentAtPosition(type, pos, rot, optionalSymbol, optionalLevel)
|
||
|
|
|
||
|
|
class EngineNpcAgent extends Object
|
||
|
|
function GetAvatar()
|
||
|
|
|
||
|
|
class LotusNpcAvatar extends LotusAvatar
|
||
|
|
function GetEnhancementCount()
|
||
|
|
function GetEnhancementLocTag()
|
||
|
|
|
||
|
|
class LotusVehicleAvatar extends LotusNpcAvatar
|
||
|
|
function GetRider()
|
||
|
|
function GetTrickController()
|
||
|
|
|
||
|
|
class TrickController extends Object
|
||
|
|
function SetMaxPointsPerCombo(pts)
|
||
|
|
|
||
|
|
class HudStatus extends Object
|
||
|
|
|
||
|
|
class LotusHudStatus extends HudStatus
|
||
|
|
function GetFlashMarkers()
|
||
|
|
|
||
|
|
class FlashMarker
|
||
|
|
garbage
|
||
|
|
markerType
|
||
|
|
distanceToEye
|
||
|
|
pos
|
||
|
|
baseMarkerInfo
|
||
|
|
function ScreenX()
|
||
|
|
function ScreenY()
|
||
|
|
function ScreenZ()
|
||
|
|
|
||
|
|
class BaseMarkerInfo extends Entity
|
||
|
|
function SetMarkerType(i)
|
||
|
|
function SetDisplayRange(range)
|
||
|
|
|
||
|
|
class Effect extends Entity
|
||
|
|
function SetTint(color)
|
||
|
|
|
||
|
|
class LensFlare extends Entity
|
||
|
|
function SetTint(color)
|
||
|
|
|
||
|
|
class Decoration extends Entity
|
||
|
|
function TriggerAnimation()
|
||
|
|
function IsTriggeredAnimationDone()
|
||
|
|
|
||
|
|
class Ragdoll extends Entity
|
||
|
|
function ApplyGlobalForce(vec, forceType)
|
||
|
|
|
||
|
|
class WeaponCustomization
|
||
|
|
function GetSkin(iSlot)
|
||
|
|
function SetSkin(objectType, iSlot)
|
||
|
|
function GetColors(i)
|
||
|
|
function SetColors(i, v)
|
||
|
|
|
||
|
|
class CustomizationColorPalette
|
||
|
|
mTintColor0
|
||
|
|
mTintColor1
|
||
|
|
mTintColor2
|
||
|
|
mTintColor3
|
||
|
|
mEmissiveColor0
|
||
|
|
mEmissiveColor1
|
||
|
|
mEnergyColor
|
||
|
|
mEnergyColor1
|
||
|
|
function GetColor(i)
|
||
|
|
function SetColor(i, c)
|
||
|
|
function Initialized(i)
|
||
|
|
function SetInitialized(i, b)
|
||
|
|
|
||
|
|
class OverlayBase extends Object
|
||
|
|
|
||
|
|
class FlashInstance extends OverlayBase
|
||
|
|
function AttachToEntity(ent, off, rot, vecScale)
|
||
|
|
function Execute(func, str)
|
||
|
|
function Close()
|
||
|
|
|
||
|
|
class OverlayMgr
|
||
|
|
function SetSelectedStyle(resource)
|
||
|
|
|
||
|
|
class PlayerProfile
|
||
|
|
function GetAccountIDString()
|
||
|
|
|
||
|
|
class LevelInfo
|
||
|
|
postProcess
|
||
|
|
|
||
|
|
class PostProcess
|
||
|
|
blur
|
||
|
|
motionBlurStrength
|
||
|
|
bloom
|
||
|
|
targetExposure
|
||
|
|
adaptationRateUp
|
||
|
|
adaptationRateDown
|
||
|
|
exposureConvergeSpeed
|
||
|
|
useBnwBuffer
|
||
|
|
bnwBufferInvert
|
||
|
|
bnwBufferBias
|
||
|
|
useExposureEVCurve
|
||
|
|
skyBloom
|
||
|
|
saturation
|
||
|
|
focalBlur
|
||
|
|
horizonDOF
|
||
|
|
horizonRadius
|
||
|
|
horizonFog
|
||
|
|
horizonFogRadius
|
||
|
|
horizonFogElevation
|
||
|
|
distanceFogDensity
|
||
|
|
heightFogFalloff
|
||
|
|
heightFogDensity
|
||
|
|
heightFogY
|
||
|
|
lightMapBoost
|
||
|
|
attenuateAudio
|
||
|
|
lightning
|
||
|
|
colorCorrectionConverge
|
||
|
|
saturationBias
|
||
|
|
brightnessBias
|
||
|
|
contrastBias
|
||
|
|
grainBias
|
||
|
|
focalNearPlane
|
||
|
|
focalNearDepth
|
||
|
|
focalFarPlane
|
||
|
|
focalFarDepth
|
||
|
|
radialBlurStrength
|
||
|
|
irradianceVolumeGain
|
||
|
|
sunShaftsDensity
|
||
|
|
sunShaftsDecay
|
||
|
|
sunShaftsMultiplier
|
||
|
|
sunShaftsFogAttenuation
|
||
|
|
sunShafts
|
||
|
|
|
||
|
|
class Engine.OpenLevelArgs
|
||
|
|
function SetLevel(level)
|
||
|
|
function SetGameRules(gamerules)
|
||
|
|
function AddContextTag(tag)
|
||
|
|
function AddContextObject(objectType)
|
||
|
|
|
||
|
|
class Engine.DamageData
|
||
|
|
baseAmount
|
||
|
|
criticalChance
|
||
|
|
criticalMultiplier
|
||
|
|
injuryType
|
||
|
|
|
||
|
|
class UISys.ScriptResLoader
|
||
|
|
function IsDone()
|
||
|
|
function SpotLoad()
|
||
|
|
function Abort()
|
||
|
|
|
||
|
|
-- Global functions
|
||
|
|
|
||
|
|
function IsNull(val)
|
||
|
|
function Sleep(ms)
|
||
|
|
|
||
|
|
function Type(name)
|
||
|
|
function Resource(name) -- constructs an Object instance
|
||
|
|
function WeakResource(name) -- constructs an ObjectType instance
|
||
|
|
function Range(minValue, maxValue)
|
||
|
|
|
||
|
|
function Localize(loctag, subs = {})
|
||
|
|
function AngleToDirection(rot)
|
||
|
|
|
||
|
|
function Engine.OpenLevel(args)
|
||
|
|
|
||
|
|
function UISys.ScriptResLoader_Create(names)
|
||
|
|
|
||
|
|
-- OpenWF global functions
|
||
|
|
|
||
|
|
function yield()
|
||
|
|
function owf_create_thread(f)
|
||
|
|
function get_lang_code()
|
||
|
|
function get_lang_dict(lang = get_lang_code())
|
||
|
|
function owf_get_build_label()
|
||
|
|
function owf_get_build_version()
|
||
|
|
function owf_get_build_hash()
|
||
|
|
function owf_get_server_host()
|
||
|
|
function owf_get_http_port()
|
||
|
|
function owf_get_https_port()
|
||
|
|
function owf_get_auth_query()
|
||
|
|
function mem_scan_exe(sig)
|
||
|
|
function mem_read_i8(addr)
|
||
|
|
function mem_read_i16(addr)
|
||
|
|
function mem_read_i32(addr)
|
||
|
|
function mem_read_i64(addr)
|
||
|
|
function mem_read_f32(addr)
|
||
|
|
function mem_write_f32(addr, val)
|
||
|
|
function chat_subscribe_prefix(prefix, block)
|
||
|
|
function chat_unsubscribe_prefix(prefix)
|
||
|
|
function chat_subscribe_outgoing_prefix(prefix)
|
||
|
|
function chat_unsubscribe_outgoing_prefix(prefix)
|
||
|
|
function chat_system_reply(text)
|
||
|
|
function chat_add_to_sent_history(text)
|
||
|
|
function chat_get_sent_history()
|
||
|
|
function chat_get_sent_history_index()
|
||
|
|
function chat_set_sent_history_index(idx)
|
||
|
|
function owf_register_custom_route(path, mime, content)
|
||
|
|
function owf_unregister_custom_route(path)
|
||
|
|
function owf_subscribe_to_script_trigger(script, func, block)
|
||
|
|
function owf_unsubscribe_from_script_trigger(script, func)
|
||
|
|
function owf_script_add_toggle(name, value = false)
|
||
|
|
function owf_script_register_channel(name)
|
||
|
|
function owf_script_send_message(channel, text)
|
||
|
|
function owf_get_available_scripts()
|
||
|
|
function owf_get_running_scripts()
|
||
|
|
function owf_start_script(name)
|
||
|
|
function owf_stop_script(name)
|
||
|
|
function owf_toggle_script(name)
|
||
|
|
function owf_logout()
|
||
|
|
|
||
|
|
function owf_reload_label_replacements()
|
||
|
|
function owf_replace_label(tag, str)
|
||
|
|
function owf_restore_label(tag)
|
||
|
|
|
||
|
|
function owf_save_config()
|
||
|
|
function get_high_damage_numbers_patch()
|
||
|
|
function set_high_damage_numbers_patch(b)
|
||
|
|
function get_skip_mission_start_timer()
|
||
|
|
function set_skip_mission_start_timer(b)
|
||
|
|
function get_simulacrum_blacklisted()
|
||
|
|
function set_simulacrum_blacklisted(b)
|
||
|
|
function get_simulacrum_whitelisted()
|
||
|
|
function set_simulacrum_whitelisted(b)
|
||
|
|
function get_alternative_loading()
|
||
|
|
function set_alternative_loading(b)
|
||
|
|
function get_ee_log_in_console()
|
||
|
|
function set_ee_log_in_console(b)
|
||
|
|
function get_dont_resolve_labels()
|
||
|
|
function set_dont_resolve_labels(b)
|
||
|
|
function get_fov_override()
|
||
|
|
function set_fov_override(f)
|
||
|
|
|
||
|
|
function owf_is_key_down(vk)
|
||
|
|
function get_active_input_filter()
|
||
|
|
function get_active_input_filter_allows_hotkeys()
|
||
|
|
function owf_reload_hotkeys()
|
||
|
|
|
||
|
|
function register_websocket_message_prefix(prefix)
|
||
|
|
function unregister_websocket_message_prefix(prefix)
|
||
|
|
function owf_broadcast_message(message, optionalRecipient)
|
||
|
|
|
||
|
|
-- OpenWF events
|
||
|
|
|
||
|
|
OWF_EVT_SUBMIT_CHAT_MESSAGE = 1
|
||
|
|
OWF_EVT_OUTGOING_CHAT_MESSAGE = 2
|
||
|
|
OWF_EVT_CUSTOM_ROUTE_SERVED = 3
|
||
|
|
OWF_EVT_CALLBACK = 4
|
||
|
|
OWF_EVT_SCRIPT_TRIGGERED = 5
|
||
|
|
OWF_EVT_WEBSOCKET_MESSAGE = 6
|
||
|
|
OWF_EVT_SCRIPT_MESSAGE = 7
|
||
|
|
|
||
|
|
function owf_next_event()
|
||
|
|
|
||
|
|
-- OpenWF Overlay. Any pixel with RGB=255,0,255 will show the game window underneath.
|
||
|
|
|
||
|
|
OWF_FONT_SIMPLE8
|
||
|
|
OWF_FONT_SIMPLE5
|
||
|
|
|
||
|
|
function owf_overlay_get_size()
|
||
|
|
function owf_overlay_add_rect(x, y, w, h, r, g, b)
|
||
|
|
function owf_overlay_add_text(x, y, text, font, r, g, b, scale = 1)
|
||
|
|
function owf_overlay_set_visibility(id, visible)
|
||
|
|
function owf_overlay_set_colour(id, r, g, b)
|
||
|
|
function owf_overlay_set_text(id, text)
|
||
|
|
function owf_overlay_remove(id)
|
||
|
|
function owf_overlay_update()
|
||
|
|
function owf_measure_text(font, text)
|
||
|
|
|
||
|
|
-- Global variables
|
||
|
|
|
||
|
|
gRegion
|
||
|
|
function GetLocalPlayer()
|
||
|
|
function GetLocalPlayerAvatar()
|
||
|
|
function GetGameCamera()
|
||
|
|
function GetGameRules()
|
||
|
|
function GetAvatars()
|
||
|
|
function FindTagged(symbol)
|
||
|
|
function FindAll(type)
|
||
|
|
function CreateObject(type)
|
||
|
|
function CreateEntity(type, pos, rot)
|
||
|
|
function GetNpcMgr()
|
||
|
|
function Raycast(fromPos, toPos, avatar, _reserved_please_set_to_nil, outPos)
|
||
|
|
function GetLevelInfo()
|
||
|
|
|
||
|
|
gGameRules
|
||
|
|
gStarChart
|
||
|
|
|
||
|
|
gFlashMgr
|
||
|
|
function ExecuteToolMenuCommand(resource)
|
||
|
|
function GotoMovie(resource)
|
||
|
|
|
||
|
|
gGameData
|
||
|
|
function SyncInventoryFromDB(callback)
|
||
|
|
|
||
|
|
gPlayerProfileMgr
|
||
|
|
function IsLoggedIn()
|
||
|
|
function GetPlayerProfile(i)
|
||
|
|
|
||
|
|
gClient
|
||
|
|
function GetOverlayMgr()
|
||
|
|
|
||
|
|
gEntityType = Type("/EE/Types/Engine/Entity")
|
||
|
|
gBaseAvatarType = Type("/EE/Types/Engine/BaseAvatar")
|
||
|
|
gLotusNpcAvatarType = Type("/Lotus/Types/Game/LotusNpcAvatar")
|
||
|
|
gLotusVehicleAvatarType = Type("/Lotus/Types/Game/LotusVehicleAvatar")
|
||
|
|
gLotusGameRulesType = Type("/Lotus/Types/Game/LotusGameRules")
|
||
|
|
gLotusBasePvpGameRulesType = Type("/Lotus/Types/Game/LotusBasePvpGameRules")
|
||
|
|
gLotusHubGameRulesType = Type("/Lotus/Types/Game/LotusHubGameRules")
|
||
|
|
gLotusDuelGameRulesType = Type("/Lotus/Types/Game/LotusDuelGameRules")
|
||
|
|
|
||
|
|
ZERO_VECTOR = Vector()
|
||
|
|
ZERO_ROTATION = Rotation()
|
||
|
|
EMPTY_SYMBOL = Symbol()
|
||
|
|
|
||
|
|
Engine.SLOT_1 = 0 -- Secondary
|
||
|
|
Engine.SLOT_2 = 1 -- Primary
|
||
|
|
Engine.SLOT_3 = 2
|
||
|
|
Engine.SLOT_4 = 3 -- Warframe
|
||
|
|
Engine.SLOT_5 = 4
|
||
|
|
Engine.SLOT_6 = 5 -- Melee
|
||
|
|
Engine.SLOT_7 = 6
|
||
|
|
Engine.SLOT_8 = 7
|
||
|
|
Engine.SLOT_9 = 8
|
||
|
|
Engine.SLOT_10 = 9
|
||
|
|
Engine.SLOT_11 = 10
|
||
|
|
Engine.SLOT_12 = 11
|
||
|
|
Engine.SLOT_13 = 12
|
||
|
|
Engine.SLOT_14 = 13
|
||
|
|
Engine.INVALID = 14
|
||
|
|
|
||
|
|
Lotus_Game.EMISSIVE_MAP_ATTEN = Symbol("EmissiveMapAtten")
|
||
|
|
Lotus_Game.TINT_COLOR = Symbol("TintColor")
|
||
|
|
Lotus_Game.UNLIT_ATTEN = Symbol("UnlitAtten")
|
||
|
|
Lotus_Game.ALPHA_ATTEN = Symbol("AlphaAtten")
|
||
|
|
Lotus_Game.CLOAK = Symbol("Cloak")
|
||
|
|
Lotus_Game.V_SCALES = Symbol("vScales")
|
||
|
|
Lotus_Game.V_SCALES_FADE = Symbol("vScalesFade")
|
||
|
|
Lotus_Game.EMISSIVE_TINT_COLOR = Symbol("EmissiveTintColor")
|
||
|
|
Lotus_Game.EMISSIVE_TINT_COLOR_HI = Symbol("EmissiveTintColorHi")
|
||
|
|
Lotus_Game.EMISSIVE_TINT_COLOR_LO = Symbol("EmissiveTintColorLo")
|
||
|
|
Lotus_Game.LOW_COLOR = Symbol("LowColor")
|
||
|
|
Lotus_Game.HIGH_COLOR = Symbol("HighColor")
|
||
|
|
Lotus_Game.TINT_COLOR0 = Symbol("TintColor0")
|
||
|
|
Lotus_Game.TINT_COLOR1 = Symbol("TintColor1")
|
||
|
|
Lotus_Game.TINT_COLOR2 = Symbol("TintColor2")
|
||
|
|
Lotus_Game.TINT_COLOR3 = Symbol("TintColor3")
|
||
|
|
|
||
|
|
UpgradeType = { NONE, AVATAR_ABILITY, AVATAR_ABILITY_AUGMENT, AVATAR_ABILITY_DURATION, AVATAR_ABILITY_EFFICIENCY, AVATAR_ABILITY_EFFICIENCY_MIN, AVATAR_ABILITY_EFFICIENCY_MAX, AVATAR_ABILITY_ENERGY_TO_SHIELD, AVATAR_ABILITY_ENERGY_TO_OVERSHIELD, AVATAR_ABILITY_RANGE, AVATAR_ABILITY_STRENGTH, AVATAR_ACROBATIC_SPEED, AVATAR_AFTERBURNER_MULTIPLIER, AVATAR_AIM_TIME, AVATAR_AIR_JUMP_HEIGHT, AVATAR_ALLOW_HEALTH_PICKUP, AVATAR_ALLOW_ENERGY_PICKUP, AVATAR_ARMOUR, AVATAR_AURA_EFFECTIVENESS_ON_ME, AVATAR_AURA_STRENGTH, AVATAR_AUTO_PARRY_CHANCE, AVATAR_BLEEDOUT_MODIFIER, AVATAR_BULLET_DODGE_ANGLE, AVATAR_BULLET_DODGE_CHANCE, AVATAR_CARRY_CAPACITY, AVATAR_CASTING_SPEED, AVATAR_CLEAR_TRANSFERENCE_STATIC_ON_KILL, AVATAR_CRIT_CHANCE, AVATAR_CRIT_CHANCE_LIMIT, AVATAR_CRIT_CHANCE_PER_PROC_ACTIVE, AVATAR_CRIT_CHANCE_STEALTH, AVATAR_CRIT_CHANCE_VULNERABILITY, AVATAR_CRIT_CHANCE_WEAKPOINT_VULNERABILITY, AVATAR_CRIT_DAMAGE, AVATAR_CRIT_DAMAGE_VULNERABILITY, AVATAR_CROWD_CONTROL_DAMAGE, AVATAR_CROWD_CONTROL_TIME_MULTIPLIER, AVATAR_DAMAGE_POWER_MULTIPLIER, AVATAR_DAMAGE_REDUCTION_DURING_REVIVE, AVATAR_DAMAGE_TAKEN, AVATAR_DAMAGE_VULNERABILITY, AVATAR_DAMAGE_WEAKPOINT_VULNERABILITY, AVATAR_DASH_DAMAGE, AVATAR_DASH_DISTANCE, AVATAR_DASH_RADIUS, AVATAR_DASH_CONTACT_ENERGY, AVATAR_DODGE_COOLDOWN, AVATAR_DODGE_COST_MULTIPLIER, AVATAR_DODGE_SPEED, AVATAR_DOUBLE_DROP_CHANCE, AVATAR_DROP_CHANCE_MODIFIER, AVATAR_GLOBAL_DROP_CHANCE_MODIFIER, AVATAR_GLORY_KILL_CHANCE, AVATAR_GLORY_KILL_HEALTH_RANGE, AVATAR_ENEMY_RADAR, AVATAR_ENERGY_GAIN_MULTIPLIER, AVATAR_ENERGY_ON_FULL_SHIELD_REGEN, AVATAR_ENERGY_SPAWN_PERCENT, AVATAR_ENERGY_TO_OVERSHIELDS_ON_SPAWN, AVATAR_EVADE_NPC_BULLET, AVATAR_EXPLOSION_DAMAGE, AVATAR_EXPLOSION_RADIUS, AVATAR_FALL_DAMAGE, AVATAR_FALL_IMPACT_AMOUNT, AVATAR_FALL_IMPACT_RADIUS, AVATAR_FREEZE_ON_MELEE_HIT_CHANCE, AVATAR_FREEZE_ON_MELEE_HIT_DURATION, AVATAR_FORCED_PROC_CHANCE, AVATAR_FULL_ENERGY_EFFECT_RANGE, AVATAR_HACK_CHANCE, AVATAR_HEAL_PERCENT_MAX_HEALTH, AVATAR_HEAL_RATE, AVATAR_HEAL_RATE_FORCED, AVATAR_HEALTH_MAX, AVATAR_HEALTH_MAX_INC_ON_PICKUP, AVATAR_HEAVY_LAND_RESIST_CHANCE, AVATAR_HEAVY_LAND_SPEED, AVATAR_INJURY_BLOCK_CHANCE, AVATAR_INJURY_BLOCK_CHANCE_CC, AVATAR_INJURY_ANIM_RATE, AVATAR_JOG_SPEED, AVATAR_JUMP_HEIGHT, AVATAR_KNOCKDOWN_RECOVERY_SPEED, AVATAR_LOOT_CHANCE, AVATAR_LOOT_RADAR, AVATAR_LOOT_RADAR_B, AVATAR_MARKED_DAMAGE_AMOUNT, AVATAR_MELEE_DAMAGE_REDUCTION, AVATAR_MELEE_DAMAGE_TO_JUMP_KICK, AVATAR_MOVEMENT_ACCELERATION, AVATAR_MOVEMENT_SPEED, AVATAR_NO_DEATH_PENALTY, AVATAR_NPC_HIT_CHANCE, AVATAR_NPC_VIS_RANGE, AVATAR_NPC_ENABLES_AUGMENT, AVATAR_NUM_JUMPS, AVATAR_OVERSHIELD_MAX, AVATAR_OVERGUARD_MAX, AVATAR_PICKUP_BONUS_AMOUNT, AVATAR_POWER_MAX, AVATAR_POWER_RATE, AVATAR_POWER_RATE_INC_ON_PICKUP, AVATAR_POWER_RATE_PERCENT_MAX, AVATAR_PROC_DAMAGE, AVATAR_PROC_IMMUNITY_DURATION, AVATAR_PROC_REFLECT_AMPLIFICATION, AVATAR_PROC_REFLECT_CHANCE, AVATAR_PROC_TIME, AVATAR_PROC_ABILITY_STACK, AVATAR_PROC_STACK, AVATAR_PROC_STACKED_UPGRADE_BASE_MODIFIER, AVATAR_PROC_CHANCE_VULNERABILITY, AVATAR_RAGE_BURN_RATE, AVATAR_REHACK_CHANCE, AVATAR_RESPAWN_TIME, AVATAR_REVENGE_DAMAGE_AMOUNT, AVATAR_REVENGE_DAMAGE_CHANCE, AVATAR_REVIVE_ASSIST, AVATAR_REVIVE_DISTANCE, AVATAR_REVIVE_SPEED, AVATAR_SENTINEL_ARMOUR_LINK, AVATAR_SENTINEL_CRIT_LINK, AVATAR_SENTINEL_FINISHER_DAMAGE, AVATAR_SENTINEL_HEALTH_LINK, AVATAR_SENTINEL_MASTER_BLEEDOUT_MODIFIER, AVATAR_SENTINEL_PACK_LEADER, AVATAR_SENTINEL_PACK_LEADER_OVERGUARD_CAP, AVATAR_SENTINEL_PACK_LEADER_REVERSE, AVATAR_SENTINEL_PICKUP_TO_ARMOR, AVATAR_SENTINEL_SHIELD_LINK, AVATAR_SENTINEL_STATUS_LINK, AVATAR_SHARE_ENERGY_PICKUP_RADIUS, AVATAR_SHARE_XP_RADIUS, AVATAR_SHIELD_GATE_DURATION, AVATAR_SHIELD_MAX, AVATAR_SHIELD_RECHARGE_DELAY, AVATAR_SHIELD_RECHARGE_RATE, AVATAR_SHIELD_RECHARGE_PERCENT, AVATAR_SHIELD_REDIRECTION, AVATAR_SHIELD_STAMINA_COST_MULTIPLIER, AVATAR_SHIELD_TO_STAMINA_RATIO, AVATAR_SLIDE_BOOST, AVATAR_SLIDE_FRICTION, AVATAR_SLOW_REDUCTION, AVATAR_SOFT_TARGETING_RADIUS_MODIFIER, AVATAR_SPAWN_ENERGY, AVATAR_SPRINT_SPEED, AVATAR_STAMINA_COST_MULTIPLIER, AVATAR_STAMINA_MAX, AVATAR_S
|
||
|
|
OperationType = { ADD, ADD_BASE, MULTIPLY, STACKING_MULTIPLY, SET, SET_BASE, SET_MIN, SET_MAX }
|
||
|
|
DamageType = { DT_IMPACT, DT_PUNCTURE, DT_SLASH, DT_FIRE, DT_FREEZE, DT_ELECTRICITY, DT_POISON, DT_EXPLOSION, DT_RADIATION, DT_GAS, DT_MAGNETIC, DT_VIRAL, DT_CORROSIVE, DT_RADIANT, DT_SENTIENT, DT_CINEMATIC, DT_SHIELD_DRAIN, DT_HEALTH_DRAIN, DT_ENERGY_DRAIN, DT_FINISHER, DT_SUICIDE, DT_PHYSICAL, DT_INVALID, DT_BASE_ELEMENTAL, DT_COMPOUND_ELEMENTAL, DT_ANY }
|
||
|
|
PostureModifier = { PM_AIM, PM_AIM_MAIN_HAND, PM_AIM_OFF_HAND, PM_FREE_FIRED, PM_DODGE, PM_BLOCKING_ANIM, PM_STUN, PM_CLOAK, PM_ANIMATION_CONTROLLED, PM_HIBERNATE, PM_EXPLODE, PM_FINISHER_OPEN, PM_KNOCKDOWN, PM_STAGGER, PM_PRE_DEATH, PM_IN_AIR, PM_MENACE, PM_CARRYING, PM_ALT_AIM_RIGHT, PM_ALT_AIM_LEFT, PM_HELD, PM_GROUNDFIRE, PM_ALTERNATE_COVER, PM_CRIPPLED, PM_WALLJUMP, PM_BULLETJUMP, PM_PARRY, PM_GRAV_DISABLED, PM_EMPLACEMENT, PM_AIRBORNE, PM_HEAVY_MELEE, PM_MELEE_RAGE }
|
||
|
|
Injury = { PAIN, INJURY_RESISTED, INJURY_BLOCKED, STAGGER, BIG_STAGGER, STUN, KNOCKDOWN, GROUNDFIRE, THROW, RAGDOLL, PRE_DEATH, DEATH, DEATH_RAGDOLL, DEATH_SLICE, DEATH_SEVER, ANY, MAX_Injury }
|
||
|
|
ForceType = { FT_FORCE, FT_IMPULSE, FT_VELOCITY_CHANGE, FT_ACCELERATION }
|
||
|
|
ColorCustomizationSlot = { PrimaryColors, Attachments, Sigil, Eyes, Facial, Clothing, Syandana }
|
||
|
|
PowerSuitCustomizationSlot = { Helmet, ArmLeft, LegLeft, CustomEmblem, EventEmblem, AnimationSet, Neckwear, BodySkin, Chest, ArmRight, LegRight, Face, SigilChest, SigilBack, SpecialEvent, FxSet, SpecialFxSet }
|
||
|
|
|
||
|
|
_T.AddHudTracker -- function(name, type) or nil
|
||
|
|
_T.RemoveHudTracker -- function(name) or nil
|
||
|
|
_T.OpenScreen -- function(name)
|
||
|
|
|
||
|
|
-- Preloaded modules
|
||
|
|
|
||
|
|
"EE.Interface.Utilities"
|
||
|
|
ShowMessage = function(str)
|
||
|
|
|
||
|
|
"Lotus.Interface.LotusNetworkUtilities"
|
||
|
|
Host_LoadMission = function(node, missionInfo)
|
||
|
|
|
||
|
|
"Lotus.Interface.LotusUtilities"
|
||
|
|
SLIDER
|
||
|
|
CHECKBOX
|
||
|
|
TOGGLE
|
||
|
|
BUTTON
|
||
|
|
TITLE
|
||
|
|
INPUTBOX
|
||
|
|
SPACER
|
||
|
|
INPUTCOUNT
|
||
|
|
ICONBUTTON
|
||
|
|
CHOICE
|
||
|
|
COLOR
|
||
|
|
IMAGE
|
||
|
|
|
||
|
|
"Lotus.Scripts.Libs.ObjectiveText"
|
||
|
|
SetPrimaryObjText = function(text)
|
||
|
|
ClearPrimaryObjText = function()
|
||
|
|
|
||
|
|
"Lotus.Scripts.Libs.DuviriActivityLib"
|
||
|
|
ModifyEncounterLimit = function(type, delta)
|
||
|
|
IsEncounterLimitReached = function(type)
|