diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..c78334d --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,14 @@ +name: Validate API reference +on: [push, pull_request] +permissions: + contents: read +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - run: python -m unittest discover -s tests -v + - run: python tools/build_api.py --check diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98dbeb4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__/ +*.py[cod] +.venv/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..d38a063 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,16 @@ +# Обновление справочника + +1. Сохраняйте происхождение исследуемых файлов: сборку игры, инструмент и способ извлечения, если они известны. Не публикуйте бинарники и игровые ресурсы без необходимых прав. +2. Не редактируйте `api/despair-api.json`, `docs/API.md` и `docs/reference/*.md` вручную: они генерируются `tools/build_api.py`. +3. Меняйте извлечение или исходные материалы только с объяснением и проверяемым свидетельством. Не заменяйте неизвестные типы и имена предположениями. +4. Выполните: + + ```sh + python tools/build_api.py + python tools/build_api.py --check + python -m unittest discover -s tests -v + ``` + +5. Если меняется состав данных, обновите статистику и ограничения в README и анализе. При изменении JSON-схемы увеличьте `schema_version` и объясните миграцию. + +Примеры из игры помечайте как проверенные только с указанием среды и результата проверки. Отдельно обозначайте гипотезы и псевдокод. Не добавляйте исполняемые примеры, подменяющие глобальные функции движка заглушками. diff --git a/README.md b/README.md index 3a9fb80..af7f7dc 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,57 @@ -# FEAR3-DespairEngineLuaAPI -I managed to extract and decompile luasense.lua, which turns out to be the complete Lua 5.1 API skeleton and documentation for Day 1 Studios' Despair Engine. -Even though the function bodies are empty stubs (since the actual C++ runtime executes them), the bytecode still contains all the original developer comments, parameter names, and internal tool names. -Here are some of the coolest things inside: -• Internal Dev Tool Names: The bytecode reveals the names of the proprietary editors used to build the game, including Forge (the main object/template editor), Bling (particle/VFX editor), Burmester (curve editor), ChopShop (cutscene/audio/subtitle tool), Facade (material/flow editor), and FontMaker. -• Cut/Unused Mechanics & Systems: There are full API namespaces for Possession (timers, delays, vision modes), Tethering (co-op leash mechanics, breadcrumbs, safe radius overrides), Generative Scares (an ambient tension system that tracks player stress and even has a probability slider for "fake" scares), and Contractions (the game mode's dynamic fog and wave settings). -• Debug & Telemetry: It includes hooks for an internal DataMiner telemetry system, Perforce source control integration directly inside the editors, and debug commands like GameDebugDump. -• Fun Dev Notes: Some of the original developer comments are still intact, like a note on SetCrouch saying "Unused. Somebody please delete me." or SaveAs noting "yes this is exactly the same as SaveAs... (but shouldn't be)". -If anyone is into reverse-engineering, modding, or just preserving game dev history from the 360/PS3 era, this is a goldmine of how the Despair Engine was structured under the hood. +# Despair Engine Lua API — F.E.A.R. 3 + +Неофициальный справочник Lua API Despair Engine (Day 1 Studios), построенный по сохранённым результатам реконструкции `luasense.lua` из F.E.A.R. 3. Охватывает игровые функции и интерфейсы внутренних редакторов, встречающиеся в этих артефактах. + +**Это документация, а не исходный код движка, SDK или работающий Lua-модуль.** Реальные реализации функций в этом репозитории отсутствуют. Полнота API и работоспособность в конкретной версии игры не подтверждены. + +## Навигация + +- **[Справочник API по пространствам имён](docs/API.md)** — 330 пространств, описания и параметры из call-tip, доступные сигнатуры. +- **[Машиночитаемый каталог](api/despair-api.json)** — 3 879 путей, включая алиасы; это не число уникальных реализаций. +- [Анализ всех исходных файлов и ограничения](docs/ANALYSIS.md). +- [Правила обновления](CONTRIBUTING.md). +- **[Восстановленные скрипты boot.dspack](recovered/boot/README.md)** — 43 файла из пользовательского архива; у всех после компиляции точно совпало исполняемое дерево Lua 5.1. Получены unluac и проверены отдельно от справочника API. +- **[Восстановленные скрипты resources.dspack](recovered/resources/README.md)** — ещё 228 файлов, проверенных cLuaDecompiler, LuaDec и unluac. У всех выбранных исходников точно совпало исполняемое дерево после компиляции; полный отчёт сравнивает результаты инструментов. + +Примеры разделов: [GameScript.Game.Player](docs/reference/GameScript.Game.Player.md), [GameScript.Callbacks](docs/reference/GameScript.Callbacks.md), [Despair.Forge.File](docs/reference/Despair.Forge.File.md), [глобальные функции](docs/reference/_global.md). + +## Что удалось извлечь + +| Данные | Количество | +| --- | ---: | +| Инструкции корневого прототипа | 52 603 | +| Дочерние прототипы | 3 025 | +| Функции в Lua-реконструкции | 1 503 | +| Записи справочных подсказок (call-tip) | 3 002 | +| Пути в объединённом каталоге | 3 879 | +| Неизвестные имена констант, используемых через `K[n]` | 242 | + +Справочные строки описывают, в частности, Forge, Bling, Burmester, ChopShop, Facade и FontMaker. Наличие API не доказывает наличие вырезанной механики, доступность редактора или способ разблокировки функции. + +## Использование + +Документация читается прямо на GitHub, без установки зависимостей. Для поиска скачайте JSON либо используйте поиск по файлам справочника. + +Генерация и проверка требуют **Python 3.10+**, только стандартную библиотеку: + +```sh +python tools/build_api.py +python tools/build_api.py --check +python -m unittest discover -s tests -v +``` + +Генератор не исполняет Lua и не требует игры. `--check` завершается с ненулевым кодом, если результаты устарели. Исходные четыре файла сохранены на прежних путях, кроме обновлённого README. + +## Как читать данные + +- `arg1`, `arg2`, … — условные имена из реконструкции, а не оригинальные имена параметров. +- Если сигнатуры нет в Lua-файле, число аргументов не угадывается по тексту подсказки. +- `@K[n]` обозначает константу, чьё значение отсутствует в текстовом дизассемблировании. Оригинальные имена этих полей не восстановлены. +- Описания разработчиков оставлены на английском, без изменения смысла. Пустая подсказка не означает, что функция ничего не делает. +- Lua-заглушки **не следует загружать в игру**: они могут перезаписать настоящие функции пустыми телами. `GetCallTipInfo` тоже представлен пустой заглушкой, хотя дамп отмечает нетривиальный helper. + +## Происхождение и права + +В репозитории сохранены реконструированные материалы, не оригинальный исходный код. Исходный бинарный `luasense.lua`, версия декомпилятора и точная сборка игры не предоставлены; повторить извлечение из игры только по этим файлам нельзя. Хеши имеющихся артефактов включены в JSON-каталог. + +Проект не связан с правообладателями F.E.A.R. 3. Лицензия исходных материалов в первоначальном репозитории не указана; этот справочник не предоставляет прав на код или ресурсы игры. diff --git a/api/despair-api.json b/api/despair-api.json new file mode 100644 index 0000000..6bf4b5d --- /dev/null +++ b/api/despair-api.json @@ -0,0 +1,52077 @@ +{ + "schema_version": 1, + "sources": { + "DespairEngine_API_FEAR3": "3b94dd6938fc7fde0701e8526be113f3032d2d6eb45344031fc9bd7b5c77d5af", + "luasense_decompiled.lua": "3b94dd6938fc7fde0701e8526be113f3032d2d6eb45344031fc9bd7b5c77d5af", + "luasense_bytecode_disassembly.txt": "e2d33d72e59eedf887a1900cae5872914c0b70c72512ad6672151db0e6615b99" + }, + "statistics": { + "root_instructions": 52603, + "child_prototypes": 3025, + "stub_functions": 1503, + "calltip_records": 3002, + "catalog_entries": 3879, + "unresolved_constant_keys": 242 + }, + "entries": [ + { + "name": "@K[201]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[204]" + } + }, + { + "name": "@K[205]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[206]" + } + }, + { + "name": "@K[207]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" + } + }, + { + "name": "@K[214]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" + } + }, + { + "name": "@K[217]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "@K[225]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "@K[227]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "@K[231]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "@K[232]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "@K[234]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "@K[238]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "@K[242]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "@K[245]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "@K[248]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "@K[252]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "@K[255]", + "namespace": "_global", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "AI.AssignExternalAIOrder", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 65 + }, + "calltip": null + }, + { + "name": "AI.EnableAIObject", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 67 + }, + "calltip": null + }, + { + "name": "AI.EnableNodeMapInRegion", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 69 + }, + "calltip": null + }, + { + "name": "AI.EnableNodesInRegion", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 71 + }, + "calltip": null + }, + { + "name": "AI.EnableSmartMapsInRegion", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 73 + }, + "calltip": null + }, + { + "name": "AI.GetAIIdentityType", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 75 + }, + "calltip": null + }, + { + "name": "AI.GetAITargetInfo", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 77 + }, + "calltip": null + }, + { + "name": "AI.GetDistanceToClosestEnemy", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 79 + }, + "calltip": null + }, + { + "name": "AI.InhibitPossession", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 81 + }, + "calltip": null + }, + { + "name": "AI.IsAIControlled", + "namespace": "AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 83 + }, + "calltip": null + }, + { + "name": "Audio.ApplyEPA", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 85 + }, + "calltip": null + }, + { + "name": "Audio.ApplyLowHP", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 87 + }, + "calltip": null + }, + { + "name": "Audio.ApplyTinnitus", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 89 + }, + "calltip": null + }, + { + "name": "Audio.GetBusVolume", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 91 + }, + "calltip": null + }, + { + "name": "Audio.GetEffectParam", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 93 + }, + "calltip": null + }, + { + "name": "Audio.MuteMusic", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 95 + }, + "calltip": null + }, + { + "name": "Audio.MuteMusicWithFade", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 97 + }, + "calltip": null + }, + { + "name": "Audio.RegisterMusic", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 99 + }, + "calltip": null + }, + { + "name": "Audio.SetBusVolume", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 101 + }, + "calltip": null + }, + { + "name": "Audio.SetEffectParam", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 103 + }, + "calltip": null + }, + { + "name": "Audio.StartMusic", + "namespace": "Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 105 + }, + "calltip": null + }, + { + "name": "Audio.StopMusic", + "namespace": "Audio", + "signature": { + "parameters": [], + "line": 107 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterAIEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 109 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForDeathSequenceNetFixupCallback", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 111 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForDeathSequenceSelectCallback", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 113 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForDisable", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 115 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForGlobalTimer", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 117 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForMsg", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 119 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForPostCheckpointActivation", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 121 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForScriptValueUpdated", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 123 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForStopCondition", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 125 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForTimer", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 127 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForUpdateEveryFrame", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 129 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterForWatchVariableChange", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 131 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterObjectInSetEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 133 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterObjectTagEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 135 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterPlayerEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 137 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterPlayerHeadEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 139 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterSetTracker", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 141 + }, + "calltip": null + }, + { + "name": "Callbacks.RegisterSpecificObjectEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 143 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterAIEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 145 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterAllMsgCallbacks", + "namespace": "Callbacks", + "signature": { + "parameters": [], + "line": 147 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForDeathSequenceNetFixupCallback", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 149 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForDeathSequenceSelectCallback", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 151 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForDisable", + "namespace": "Callbacks", + "signature": { + "parameters": [], + "line": 153 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForMsg", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 155 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForScriptValueUpdated", + "namespace": "Callbacks", + "signature": { + "parameters": [], + "line": 157 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForStopCondition", + "namespace": "Callbacks", + "signature": { + "parameters": [], + "line": 159 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForTimer", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 161 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterForUpdateEveryFrame", + "namespace": "Callbacks", + "signature": { + "parameters": [], + "line": 163 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterObjectEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 165 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterObjectInSetEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 167 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterPlayerEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 169 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterSetTracker", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 171 + }, + "calltip": null + }, + { + "name": "Callbacks.UnregisterSpecificObjectEnterExitRegion", + "namespace": "Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 173 + }, + "calltip": null + }, + { + "name": "Camera.AddCameraFilterGroupByNameToPlayer", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 175 + }, + "calltip": null + }, + { + "name": "Camera.DoesFilterSetHaveCameraComponent", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 177 + }, + "calltip": null + }, + { + "name": "Camera.GetCameraFOV", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 179 + }, + "calltip": null + }, + { + "name": "Camera.GetCameraFarDist", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 181 + }, + "calltip": null + }, + { + "name": "Camera.GetCameraNearDist", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 183 + }, + "calltip": null + }, + { + "name": "Camera.GetCameraObjectForPlayer", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 185 + }, + "calltip": null + }, + { + "name": "Camera.GetCameraViewportAspectRatio", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 187 + }, + "calltip": null + }, + { + "name": "Camera.GetFilterGroupForPlayer", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 189 + }, + "calltip": null + }, + { + "name": "Camera.GetNumPlayerCameraFilterSet", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 191 + }, + "calltip": null + }, + { + "name": "Camera.GetPlayerCameraFilterSetAlpha", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 193 + }, + "calltip": null + }, + { + "name": "Camera.GetPlayerIndexFromCameraId", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 195 + }, + "calltip": null + }, + { + "name": "Camera.GetUnadjustedCameraFOV", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 197 + }, + "calltip": null + }, + { + "name": "Camera.IsInPlayerCameraView", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 199 + }, + "calltip": null + }, + { + "name": "Camera.IsInPlayerCameraViewRange", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 201 + }, + "calltip": null + }, + { + "name": "Camera.IsPointInPlayerCameraView", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 203 + }, + "calltip": null + }, + { + "name": "Camera.RemoveCameraFilterGroupByNameFromPlayer", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 205 + }, + "calltip": null + }, + { + "name": "Camera.SetAdjustedCameraFOV", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 207 + }, + "calltip": null + }, + { + "name": "Camera.SetCameraFilterColor", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 209 + }, + "calltip": null + }, + { + "name": "Camera.SetCameraFilterNamedTexture", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 211 + }, + "calltip": null + }, + { + "name": "Camera.SetCameraFilterScalar", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 213 + }, + "calltip": null + }, + { + "name": "Camera.SetCameraMotionBlurEnabled", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 215 + }, + "calltip": null + }, + { + "name": "Camera.SetPlayerCameraFilterSet", + "namespace": "Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 217 + }, + "calltip": null + }, + { + "name": "Death.GetDeathChoreographerSequence", + "namespace": "Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 219 + }, + "calltip": null + }, + { + "name": "Death.GetLastDamageInfo", + "namespace": "Death", + "signature": { + "parameters": [], + "line": 221 + }, + "calltip": null + }, + { + "name": "Death.GetLastDamageInfoFromObject", + "namespace": "Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 223 + }, + "calltip": null + }, + { + "name": "Death.GetLastDamagePlayerIndexFromObject", + "namespace": "Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 225 + }, + "calltip": null + }, + { + "name": "Death.IsBloodEnabled", + "namespace": "Death", + "signature": { + "parameters": [], + "line": 227 + }, + "calltip": null + }, + { + "name": "Death.IsDamagePinning", + "namespace": "Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 229 + }, + "calltip": null + }, + { + "name": "Death.IsGoreEnabled", + "namespace": "Death", + "signature": { + "parameters": [], + "line": 231 + }, + "calltip": null + }, + { + "name": "Death.SetDeathChoreographerSequence", + "namespace": "Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 233 + }, + "calltip": null + }, + { + "name": "Debug.CallRegistryCommand", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 235 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerAddFieldFloat", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 237 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerAddFieldInt", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 239 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerAddFieldString", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 241 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerCreateRow", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 243 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerSessionBegin", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 245 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerSessionEnd", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 247 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerSetNoSessionRequired", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 249 + }, + "calltip": null + }, + { + "name": "Debug.DataMinerSubmitRow", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 251 + }, + "calltip": null + }, + { + "name": "Debug.DrawArrow", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 253 + }, + "calltip": null + }, + { + "name": "Debug.DrawLine", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 255 + }, + "calltip": null + }, + { + "name": "Debug.DrawSphere", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 257 + }, + "calltip": null + }, + { + "name": "Debug.ExitGame", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 259 + }, + "calltip": null + }, + { + "name": "Debug.GetProfileCounter", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 261 + }, + "calltip": null + }, + { + "name": "Debug.GetProfileTimer", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 263 + }, + "calltip": null + }, + { + "name": "Debug.GetSystemMemoryAvailable", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 265 + }, + "calltip": null + }, + { + "name": "Debug.MemoryLogMark", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 267 + }, + "calltip": null + }, + { + "name": "Debug.MessageLog", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 269 + }, + "calltip": null + }, + { + "name": "Debug.PrintCallstack", + "namespace": "Debug", + "signature": { + "parameters": [], + "line": 271 + }, + "calltip": null + }, + { + "name": "Debug.PrintError", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 273 + }, + "calltip": null + }, + { + "name": "Debug.PrintInfo", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 275 + }, + "calltip": null + }, + { + "name": "Debug.PrintToBottomOfScreen", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 277 + }, + "calltip": null + }, + { + "name": "Debug.PrintToScreen", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 279 + }, + "calltip": null + }, + { + "name": "Debug.PrintToScreenWithTimer", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 281 + }, + "calltip": null + }, + { + "name": "Debug.PrintWarning", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 283 + }, + "calltip": null + }, + { + "name": "Debug.SetOnScreenTextColor", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 285 + }, + "calltip": null + }, + { + "name": "Debug.SetOnScreenTimerTextMode", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 287 + }, + "calltip": null + }, + { + "name": "Debug.VerifyOnce", + "namespace": "Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 289 + }, + "calltip": null + }, + { + "name": "Despair.Bling.AutomationUtility.AutomationError", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Bling.AutomationUtility.AutomationInfo", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Bling.AutomationUtility.AutomationWarning", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Bling.AutomationUtility.CreateDirectory", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Bling.AutomationUtility.FindFiles", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Bling.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Bling.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Bling.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Bling.AutomationUtility.IsFlexML", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Bling.AutomationUtility.PathExists", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Bling.AutomationUtility.StringCompare", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Bling.AutomationUtility.StringContains", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Bling.AutomationUtility.StripFileExtension", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Bling.AutomationUtility.ToLower", + "namespace": "Despair.Bling.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Bling.DanglingResource.AddToSourceControl", + "namespace": "Despair.Bling.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." + } + }, + { + "name": "Despair.Bling.DanglingResource.CopyToClipboard", + "namespace": "Despair.Bling.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." + } + }, + { + "name": "Despair.Bling.DanglingResource.List.GetSelectedLabel", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Bling.DanglingResource.List.SelectFirst", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Bling.DanglingResource.List.SelectItem", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Bling.DanglingResource.List.SelectNext", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Bling.DanglingResource.List.SelectPrev", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Bling.DanglingResource.List.SetFocus", + "namespace": "Despair.Bling.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.DanglingResource.Refresh", + "namespace": "Despair.Bling.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." + } + }, + { + "name": "Despair.Bling.DanglingResource.SetFocus", + "namespace": "Despair.Bling.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.EffectProperties.EditItem", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Bling.EffectProperties.EditSelectedItem", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Bling.EffectProperties.Expand", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Bling.EffectProperties.GetItem", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Bling.EffectProperties.GetSelectedItem", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.EffectProperties.GetSelectedLabel", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Bling.EffectProperties.GetSelectedPath", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectFirst", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectItem", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectLast", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectLeft", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectNext", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectPrev", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Bling.EffectProperties.SelectRight", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Bling.EffectProperties.SetFocus", + "namespace": "Despair.Bling.EffectProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.EffectTree.ChainElement", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new effect to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.DeleteItem", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Path to the item to be deleted." + } + }, + "@K[203]": "Deletes specified item from the effect tree." + } + }, + { + "name": "Despair.Bling.EffectTree.ElectricElement", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new electric element to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.EventHandler", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new event handler to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.Expand", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Bling.EffectTree.FoundLastItem", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Bling.EffectTree.GetSelectedLabel", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Bling.EffectTree.LoadModel", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Resource path to the model to use for previews." + } + }, + "@K[203]": "Loads specified model for previewing." + } + }, + { + "name": "Despair.Bling.EffectTree.ParticleController", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new controller." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new controller." + } + }, + "@K[203]": "Adds a new controller to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.ParticleEmitter", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new emitter." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new emitter." + } + }, + "@K[203]": "Adds a new emitter to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.ParticleSystem", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new system." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new system." + } + }, + "@K[203]": "Adds a new system to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.ParticleType", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new type." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new type." + } + }, + "@K[203]": "Adds a new type to the specified parent." + } + }, + { + "name": "Despair.Bling.EffectTree.SelectFirst", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Bling.EffectTree.SelectItem", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Bling.EffectTree.SelectNext", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.EffectTree.SelectParent", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.EffectTree.SelectPrev", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.EffectTree.SetFocus", + "namespace": "Despair.Bling.EffectTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.File.Close", + "namespace": "Despair.Bling.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.Bling.File.New", + "namespace": "Despair.Bling.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new effect." + } + }, + { + "name": "Despair.Bling.File.Open", + "namespace": "Despair.Bling.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." + } + }, + { + "name": "Despair.Bling.File.Save", + "namespace": "Despair.Bling.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.Bling.File.SaveAs", + "namespace": "Despair.Bling.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.Bling.Keyboard.SendKeyDown", + "namespace": "Despair.Bling.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Bling.Keyboard.SendKeyUp", + "namespace": "Despair.Bling.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Bling.Mouse.LeftDown", + "namespace": "Despair.Bling.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Bling.Mouse.LeftUp", + "namespace": "Despair.Bling.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Bling.Mouse.Move", + "namespace": "Despair.Bling.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Bling.OS.CmdExec", + "namespace": "Despair.Bling.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Bling.OS.GetInstallLocation", + "namespace": "Despair.Bling.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Bling.OS.GetProjectName", + "namespace": "Despair.Bling.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Bling.OS.GetResourceDepotLocation", + "namespace": "Despair.Bling.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Bling.OS.ShellExec", + "namespace": "Despair.Bling.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.EditItem", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.EditSelectedItem", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.Expand", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.GetItem", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.GetSelectedItem", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.GetSelectedLabel", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.GetSelectedPath", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectFirst", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectItem", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectLast", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectLeft", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectNext", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectPrev", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SelectRight", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Property.SetFocus", + "namespace": "Despair.Bling.ObjectRegistry.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.SetFocus", + "namespace": "Despair.Bling.ObjectRegistry", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.Expand", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.FoundLastItem", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.GetSelectedLabel", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SelectFirst", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SelectItem", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SelectNext", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SelectParent", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SelectPrev", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Bling.ObjectRegistry.Tree.SetFocus", + "namespace": "Despair.Bling.ObjectRegistry.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.OutputView.ShowCounters", + "namespace": "Despair.Bling.OutputView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Show counters tab in the output view." + } + }, + { + "name": "Despair.Bling.OutputView.ShowOutput", + "namespace": "Despair.Bling.OutputView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Show output tab in the output view." + } + }, + { + "name": "Despair.Bling.OutputView.ShowTimers", + "namespace": "Despair.Bling.OutputView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Show timers tab in the output view." + } + }, + { + "name": "Despair.Bling.Perforce.Checkin", + "namespace": "Despair.Bling.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Bling.Perforce.Checkout", + "namespace": "Despair.Bling.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Bling.Perforce.IsCheckedOut", + "namespace": "Despair.Bling.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Bling.Perforce.Revert", + "namespace": "Despair.Bling.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Bling.Perforce.Sync", + "namespace": "Despair.Bling.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Bling.Properties.EditItem", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Bling.Properties.EditSelectedItem", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Bling.Properties.Expand", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Bling.Properties.GetItem", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Bling.Properties.GetSelectedItem", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.Properties.GetSelectedLabel", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Bling.Properties.GetSelectedPath", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Bling.Properties.SelectFirst", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Bling.Properties.SelectItem", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Bling.Properties.SelectLast", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Bling.Properties.SelectLeft", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Bling.Properties.SelectNext", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Bling.Properties.SelectPrev", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Bling.Properties.SelectRight", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Bling.Properties.SetFocus", + "namespace": "Despair.Bling.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.ResetLight", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetAmbientEnabled", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetDirectionalEnabled", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetIndicatorsEnabled", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetIntensity", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetParticleColor", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetSkyColor", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetSpecularity", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetSunColor", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.AmbientLight.SetSunDirection", + "namespace": "Despair.Bling.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetAltSpeed", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetClearColor", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetDepthOfFieldEnabled", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetDriveSpeed", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFOV", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFarBlurLimit", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFarBlurRange", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFarDistance", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFocalDepth", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetFocalWidth", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetInvertYAxis", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetMoveWithFocus", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetNearBlurLimit", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetNearBlurRange", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetNearDistance", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetPosition", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetRotation", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetUseControllerInput", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.SetZoom", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Camera.ZoomExtents", + "namespace": "Despair.Bling.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetBottom", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetColor", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetEnabled", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetEnd", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetMax", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetStart", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetTop", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Fog.SetType", + "namespace": "Despair.Bling.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Grid.SetAxisEnabled", + "namespace": "Despair.Bling.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Grid.SetCellSize", + "namespace": "Despair.Bling.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Grid.SetColor", + "namespace": "Despair.Bling.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Grid.SetEnabled", + "namespace": "Despair.Bling.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetAdaptLuminanceEnabled", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetAdaptionExposure", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetAdaptionMax", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetAdaptionMin", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetAdaptionTime", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetBloomScale", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetBrightMax", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetBrightMin", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetHdrEnabled", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetShadowEnabled", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetToneScale", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.Options.SetWireframeEnabled", + "namespace": "Despair.Bling.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.PointLight.ResetLight", + "namespace": "Despair.Bling.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.PointLight.SetColor", + "namespace": "Despair.Bling.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.PointLight.SetEnabled", + "namespace": "Despair.Bling.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.PointLight.SetIndicatorsEnabled", + "namespace": "Despair.Bling.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.PointLight.SetRotation", + "namespace": "Despair.Bling.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.SetAsDropTargetCentered", + "namespace": "Despair.Bling.RenderView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Ends a drag and drop operation at a centered location of control." + } + }, + { + "name": "Despair.Bling.RenderView.SetAsDropTargetXY", + "namespace": "Despair.Bling.RenderView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "Local X coordinate to end dragging." + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Local Y coordinate to end dragging." + } + }, + "@K[203]": "Ends a drag and drop operation at the specified location." + } + }, + { + "name": "Despair.Bling.RenderView.SkyDome.SetEnabled", + "namespace": "Despair.Bling.RenderView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.RenderView.SkyDome.SetModel", + "namespace": "Despair.Bling.RenderView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Bling.ResourceView.AddToSourceControl", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Bling.ResourceView.BeginDrag", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Bling.ResourceView.CheckIn", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Bling.ResourceView.CheckOut", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Bling.ResourceView.CheckOutForMove", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Bling.ResourceView.CheckOutForRename", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Bling.ResourceView.CreatePath", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Bling.ResourceView.Explore", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Bling.ResourceView.GetLatestVersion", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Bling.ResourceView.Launch", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Bling.ResourceView.MakeWritable", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Bling.ResourceView.Properties", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Bling.ResourceView.SearchItem", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Bling.ResourceView.SelectItem", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Bling.ResourceView.SetFilter", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Bling.ResourceView.SetFocus", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Bling.ResourceView.TestLaunch", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Bling.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Bling.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Bling.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Bling.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Bling.ResourceView.UndoCheckOut", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Bling.ResourceView.UndoGet", + "namespace": "Despair.Bling.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Bling.StandardToolbar.Execute", + "namespace": "Despair.Bling.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Bling.StandardToolbar.SetCheck", + "namespace": "Despair.Bling.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Bling.StandardToolbar.SetString", + "namespace": "Despair.Bling.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Bling.Views.DockView", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Bling.Views.FloatView", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Bling.Views.IsVisible", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Bling.Views.SetFocus", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Bling.Views.ShowView", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Bling.Views.ToggleView", + "namespace": "Despair.Bling.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.AutomationError", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.AutomationInfo", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.AutomationWarning", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.CreateDirectory", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.FindFiles", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Burmester.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Burmester.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.IsFlexML", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.PathExists", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.StringCompare", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.StringContains", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.StripFileExtension", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Burmester.AutomationUtility.ToLower", + "namespace": "Despair.Burmester.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Burmester.CurveView.AddMode", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Executes the add mode toolbar button." + } + }, + { + "name": "Despair.Burmester.CurveView.AddVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Adds a vertex at the specified X and Y value." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertHandle1X", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the handle." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertHandle1Y", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the handle." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertHandle2X", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the handle." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertHandle2Y", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the handle." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertX", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the vertex." + } + }, + { + "name": "Despair.Burmester.CurveView.GetVertY", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the vertex.." + } + }, + { + "name": "Despair.Burmester.CurveView.MoveMode", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Executes the move mode toolbar button." + } + }, + { + "name": "Despair.Burmester.CurveView.MoveVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex at specified Index to the specified X and Y value." + } + }, + { + "name": "Despair.Burmester.CurveView.MoveVertHandle1", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex handle at specified Index to the specified X and Y value." + } + }, + { + "name": "Despair.Burmester.CurveView.MoveVertHandle2", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex handle at specified Index to the specified X and Y value." + } + }, + { + "name": "Despair.Burmester.CurveView.RemoveAllVerts", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Removes all vertices." + } + }, + { + "name": "Despair.Burmester.CurveView.RemoveSelectedVerts", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes all selected vertices from the curve." + } + }, + { + "name": "Despair.Burmester.CurveView.RemoveVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to remove." + } + }, + "@K[203]": "Removes vertex at specified Index." + } + }, + { + "name": "Despair.Burmester.CurveView.SelectMode", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Executes the select mode toolbar button." + } + }, + { + "name": "Despair.Burmester.CurveView.SelectVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.CurveView.SelectVertHandle1", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.CurveView.SelectVertHandle2", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.CurveView.SetFocus", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Burmester.CurveView.UnSelectAllVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unselects all vertices from the curve." + } + }, + { + "name": "Despair.Burmester.CurveView.UnSelectVert", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.CurveView.UnSelectVertHandle1", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.CurveView.UnSelectVertHandle2", + "namespace": "Despair.Burmester.CurveView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" + } + }, + { + "name": "Despair.Burmester.Dialog.AddBooleanField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddColorField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddComboField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddComboFieldItem", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddFloatField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddResourceField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddSliderField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddStringField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddVector3Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.AddVector4Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.ClearComboFieldItems", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.CreateDialogBox", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.EditSelection", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetBooleanField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetColorField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetComboField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetFloatField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetResourceField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetStringField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetVector3Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.GetVector4Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.InputBox", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.MessageBox", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.OffsetSelection", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetBooleanField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetColorField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetComboField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetFloatField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetResourceField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetStringField", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetVector3Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.SetVector4Field", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Dialog.ShowDialogBox", + "namespace": "Despair.Burmester.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Burmester.Exit", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Burmester.File.Close", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the curve that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" + } + }, + { + "name": "Despair.Burmester.File.CloseAll", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." + } + }, + { + "name": "Despair.Burmester.File.New", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurveType", + "@K[211]": "Curve type of the new curve. Valid choices are: \"Linear Curve\", \"Bezier Spline Curve\", \"Catmull-Rom Spline Curve\"" + } + }, + "@K[203]": "Creates a new curve of the specified type." + } + }, + { + "name": "Despair.Burmester.File.Open", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the curve that should be opened." + } + }, + "@K[203]": "Opens the curve specified by Path." + } + }, + { + "name": "Despair.Burmester.File.Save", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the curve." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" + } + }, + { + "name": "Despair.Burmester.File.SaveAs", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[75]", + "@K[211]": "File is supposed to refer to the window the suer wants to save, however it currently does nothing." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the curve." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." + } + }, + { + "name": "Despair.Burmester.File.Validate", + "namespace": "Despair.Burmester.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." + } + }, + { + "name": "Despair.Burmester.GenerateDocs", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Burmester.GenerateLuasense", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Burmester.GetToolVersion", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Burmester.Keyboard.SendKeyDown", + "namespace": "Despair.Burmester.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Burmester.Keyboard.SendKeyUp", + "namespace": "Despair.Burmester.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Burmester.LoadLayout", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Burmester.LoadMDILayout", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Burmester.Mouse.LeftDown", + "namespace": "Despair.Burmester.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Burmester.Mouse.LeftUp", + "namespace": "Despair.Burmester.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Burmester.Mouse.Move", + "namespace": "Despair.Burmester.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Burmester.OS.CmdExec", + "namespace": "Despair.Burmester.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Burmester.OS.GetInstallLocation", + "namespace": "Despair.Burmester.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Burmester.OS.GetProjectName", + "namespace": "Despair.Burmester.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Burmester.OS.GetResourceDepotLocation", + "namespace": "Despair.Burmester.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Burmester.OS.ShellExec", + "namespace": "Despair.Burmester.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Burmester.Perforce.Checkin", + "namespace": "Despair.Burmester.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Burmester.Perforce.Checkout", + "namespace": "Despair.Burmester.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Burmester.Perforce.IsCheckedOut", + "namespace": "Despair.Burmester.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Burmester.Perforce.Revert", + "namespace": "Despair.Burmester.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Burmester.Perforce.Sync", + "namespace": "Despair.Burmester.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Burmester.PostMessage", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Burmester.ResourceView.AddToSourceControl", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Burmester.ResourceView.BeginDrag", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Burmester.ResourceView.CheckIn", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Burmester.ResourceView.CheckOut", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Burmester.ResourceView.CheckOutForMove", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Burmester.ResourceView.CheckOutForRename", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Burmester.ResourceView.CreatePath", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Burmester.ResourceView.Explore", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Burmester.ResourceView.GetLatestVersion", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Burmester.ResourceView.Launch", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Burmester.ResourceView.MakeWritable", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Burmester.ResourceView.Properties", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Burmester.ResourceView.SearchItem", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Burmester.ResourceView.SelectItem", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Burmester.ResourceView.SetFilter", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Burmester.ResourceView.SetFocus", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Burmester.ResourceView.TestLaunch", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Burmester.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Burmester.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Burmester.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Burmester.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Burmester.ResourceView.UndoCheckOut", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Burmester.ResourceView.UndoGet", + "namespace": "Despair.Burmester.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Burmester.SetAppMode", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Burmester.StandardToolbar.Execute", + "namespace": "Despair.Burmester.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Burmester.StandardToolbar.SetCheck", + "namespace": "Despair.Burmester.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Burmester.StandardToolbar.SetString", + "namespace": "Despair.Burmester.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Burmester.StartLog", + "namespace": "Despair.Burmester", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Burmester.Views.DockView", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Burmester.Views.FloatView", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Burmester.Views.IsVisible", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Burmester.Views.SetFocus", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Burmester.Views.ShowView", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Burmester.Views.ToggleView", + "namespace": "Despair.Burmester.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.AutomationError", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.AutomationInfo", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.AutomationWarning", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.CreateDirectory", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.FindFiles", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.FindFilesWithName", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.GetFileFromPath", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.GetFileOpenError", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.IsFlexML", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.PathExists", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.StringCompare", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.StringContains", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.StripFileExtension", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.BusEditor.AutomationUtility.ToLower", + "namespace": "Despair.BusEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.BusEditor.Bus.AddBus", + "namespace": "Despair.BusEditor.Bus", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to create." + } + }, + "@K[203]": "Creates the specified bus." + } + }, + { + "name": "Despair.BusEditor.Bus.DeleteBus", + "namespace": "Despair.BusEditor.Bus", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to delete." + } + }, + "@K[203]": "Deletes the specified bus." + } + }, + { + "name": "Despair.BusEditor.Bus.LinkBus", + "namespace": "Despair.BusEditor.Bus", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Source", + "@K[211]": "Source Name of the bus to link." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Destination Name of the bus to link." + } + }, + "@K[203]": "Link the 2 specified buses." + } + }, + { + "name": "Despair.BusEditor.Bus.SelectBus", + "namespace": "Despair.BusEditor.Bus", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to select." + } + }, + "@K[203]": "Selects the specified bus." + } + }, + { + "name": "Despair.BusEditor.Exit", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.BusEditor.File.Close", + "namespace": "Despair.BusEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.BusEditor.File.New", + "namespace": "Despair.BusEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new effect." + } + }, + { + "name": "Despair.BusEditor.File.Open", + "namespace": "Despair.BusEditor.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." + } + }, + { + "name": "Despair.BusEditor.File.Save", + "namespace": "Despair.BusEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.BusEditor.File.SaveAs", + "namespace": "Despair.BusEditor.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.BusEditor.GenerateDocs", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.BusEditor.GenerateLuasense", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.BusEditor.GetToolVersion", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.BusEditor.Keyboard.SendKeyDown", + "namespace": "Despair.BusEditor.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.BusEditor.Keyboard.SendKeyUp", + "namespace": "Despair.BusEditor.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.BusEditor.LoadLayout", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.BusEditor.LoadMDILayout", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.BusEditor.Mouse.LeftDown", + "namespace": "Despair.BusEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.BusEditor.Mouse.LeftUp", + "namespace": "Despair.BusEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.BusEditor.Mouse.Move", + "namespace": "Despair.BusEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.BusEditor.OS.CmdExec", + "namespace": "Despair.BusEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.BusEditor.OS.GetInstallLocation", + "namespace": "Despair.BusEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.BusEditor.OS.GetProjectName", + "namespace": "Despair.BusEditor.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.BusEditor.OS.GetResourceDepotLocation", + "namespace": "Despair.BusEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.BusEditor.OS.ShellExec", + "namespace": "Despair.BusEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.BusEditor.Perforce.Checkin", + "namespace": "Despair.BusEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.BusEditor.Perforce.Checkout", + "namespace": "Despair.BusEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.BusEditor.Perforce.IsCheckedOut", + "namespace": "Despair.BusEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.BusEditor.Perforce.Revert", + "namespace": "Despair.BusEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.BusEditor.Perforce.Sync", + "namespace": "Despair.BusEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.BusEditor.PostMessage", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.BusEditor.Properties.EditItem", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.BusEditor.Properties.EditSelectedItem", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.BusEditor.Properties.Expand", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.BusEditor.Properties.GetItem", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.BusEditor.Properties.GetSelectedItem", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.BusEditor.Properties.GetSelectedLabel", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.BusEditor.Properties.GetSelectedPath", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectFirst", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectItem", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.BusEditor.Properties.SelectLast", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectLeft", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectNext", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectPrev", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.BusEditor.Properties.SelectRight", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.BusEditor.Properties.SetFocus", + "namespace": "Despair.BusEditor.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.BusEditor.ResourceView.AddToSourceControl", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.BeginDrag", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.BusEditor.ResourceView.CheckIn", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.CheckOut", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.CheckOutForMove", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.BusEditor.ResourceView.CheckOutForRename", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.BusEditor.ResourceView.CreatePath", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.Explore", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.GetLatestVersion", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.Launch", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.MakeWritable", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.Properties", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.SearchItem", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.BusEditor.ResourceView.SelectItem", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.SetFilter", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.BusEditor.ResourceView.SetFocus", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.BusEditor.ResourceView.TestLaunch", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.BusEditor.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.BusEditor.ResourceView.Toolbar_Refresh", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.BusEditor.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.BusEditor.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.BusEditor.ResourceView.UndoCheckOut", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.BusEditor.ResourceView.UndoGet", + "namespace": "Despair.BusEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.BusEditor.SetAppMode", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.BusEditor.StandardToolbar.Execute", + "namespace": "Despair.BusEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.BusEditor.StandardToolbar.SetCheck", + "namespace": "Despair.BusEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.BusEditor.StandardToolbar.SetString", + "namespace": "Despair.BusEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.BusEditor.StartLog", + "namespace": "Despair.BusEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.BusEditor.Views.DockView", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.BusEditor.Views.FloatView", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.BusEditor.Views.IsVisible", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.BusEditor.Views.SetFocus", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.BusEditor.Views.ShowView", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.BusEditor.Views.ToggleView", + "namespace": "Despair.BusEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.ChopShop.AudioView.AddTrack", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Simulates adding a track via the Add Track button." + } + }, + { + "name": "Despair.ChopShop.AudioView.DeleteTrack", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Simulates deleting a track via the Delete Track button." + } + }, + { + "name": "Despair.ChopShop.AudioView.GetSelectedLabel", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.ChopShop.AudioView.SelectFirst", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.ChopShop.AudioView.SelectItem", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.ChopShop.AudioView.SelectNext", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ChopShop.AudioView.SelectPrev", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ChopShop.AudioView.SetFocus", + "namespace": "Despair.ChopShop.AudioView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.AutomationError", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.AutomationInfo", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.AutomationWarning", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.CreateDirectory", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.FindFiles", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.FindFilesWithName", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.GetFileFromPath", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.GetFileOpenError", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.IsFlexML", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.PathExists", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.StringCompare", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.StringContains", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.StripFileExtension", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.ChopShop.AutomationUtility.ToLower", + "namespace": "Despair.ChopShop.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.AddToSourceControl", + "namespace": "Despair.ChopShop.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.CopyToClipboard", + "namespace": "Despair.ChopShop.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.GetSelectedLabel", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.SelectFirst", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.SelectItem", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.SelectNext", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.SelectPrev", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.List.SetFocus", + "namespace": "Despair.ChopShop.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.Refresh", + "namespace": "Despair.ChopShop.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." + } + }, + { + "name": "Despair.ChopShop.DanglingResource.SetFocus", + "namespace": "Despair.ChopShop.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ChopShop.Exit", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.ChopShop.File.Close", + "namespace": "Despair.ChopShop.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.ChopShop.File.New", + "namespace": "Despair.ChopShop.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new movie." + } + }, + { + "name": "Despair.ChopShop.File.Open", + "namespace": "Despair.ChopShop.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the movie that should be opened." + } + }, + "@K[203]": "Opens the movie specified by Path." + } + }, + { + "name": "Despair.ChopShop.File.Save", + "namespace": "Despair.ChopShop.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.ChopShop.File.SaveAs", + "namespace": "Despair.ChopShop.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the movie." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.ChopShop.GenerateDocs", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.ChopShop.GenerateLuasense", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.ChopShop.GetToolVersion", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.ChopShop.GrabberToolbar.Execute", + "namespace": "Despair.ChopShop.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.GrabberToolbar.SetCheck", + "namespace": "Despair.ChopShop.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.GrabberToolbar.SetString", + "namespace": "Despair.ChopShop.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.Keyboard.SendKeyDown", + "namespace": "Despair.ChopShop.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.ChopShop.Keyboard.SendKeyUp", + "namespace": "Despair.ChopShop.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.ChopShop.LoadLayout", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.ChopShop.LoadMDILayout", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.ChopShop.Mouse.LeftDown", + "namespace": "Despair.ChopShop.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.ChopShop.Mouse.LeftUp", + "namespace": "Despair.ChopShop.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.ChopShop.Mouse.Move", + "namespace": "Despair.ChopShop.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.ChopShop.OS.CmdExec", + "namespace": "Despair.ChopShop.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.ChopShop.OS.GetInstallLocation", + "namespace": "Despair.ChopShop.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.ChopShop.OS.GetProjectName", + "namespace": "Despair.ChopShop.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.ChopShop.OS.GetResourceDepotLocation", + "namespace": "Despair.ChopShop.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.ChopShop.OS.ShellExec", + "namespace": "Despair.ChopShop.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.ChopShop.Perforce.Checkin", + "namespace": "Despair.ChopShop.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.ChopShop.Perforce.Checkout", + "namespace": "Despair.ChopShop.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.ChopShop.Perforce.IsCheckedOut", + "namespace": "Despair.ChopShop.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.ChopShop.Perforce.Revert", + "namespace": "Despair.ChopShop.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.ChopShop.Perforce.Sync", + "namespace": "Despair.ChopShop.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.ChopShop.PlaybackToolbar.Execute", + "namespace": "Despair.ChopShop.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.PlaybackToolbar.SetCheck", + "namespace": "Despair.ChopShop.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.PlaybackToolbar.SetString", + "namespace": "Despair.ChopShop.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.PostMessage", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.ChopShop.Properties.EditItem", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.ChopShop.Properties.EditSelectedItem", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.ChopShop.Properties.Expand", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.ChopShop.Properties.GetItem", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.ChopShop.Properties.GetSelectedItem", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.ChopShop.Properties.GetSelectedLabel", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.ChopShop.Properties.GetSelectedPath", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectFirst", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectItem", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.ChopShop.Properties.SelectLast", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectLeft", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectNext", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectPrev", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.ChopShop.Properties.SelectRight", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.ChopShop.Properties.SetFocus", + "namespace": "Despair.ChopShop.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ChopShop.ResourceView.AddToSourceControl", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.BeginDrag", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.ChopShop.ResourceView.CheckIn", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.CheckOut", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.CheckOutForMove", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.ChopShop.ResourceView.CheckOutForRename", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.ChopShop.ResourceView.CreatePath", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.Explore", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.GetLatestVersion", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.Launch", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.MakeWritable", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.Properties", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.SearchItem", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.ChopShop.ResourceView.SelectItem", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.SetFilter", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.ChopShop.ResourceView.SetFocus", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.ChopShop.ResourceView.TestLaunch", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.ChopShop.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.ChopShop.ResourceView.Toolbar_Refresh", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.ChopShop.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.ChopShop.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.ChopShop.ResourceView.UndoCheckOut", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.ChopShop.ResourceView.UndoGet", + "namespace": "Despair.ChopShop.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.ChopShop.SetAppMode", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.Center", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the center speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.LFE", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the LFE speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.LeftFront", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left front speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.LeftRear", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left rear speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.LeftSide", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left side speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.RightFront", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right front speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.RightRear", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right rear speaker." + } + }, + { + "name": "Despair.ChopShop.SpeakerLayout.RightSide", + "namespace": "Despair.ChopShop.SpeakerLayout", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right side speaker." + } + }, + { + "name": "Despair.ChopShop.StandardToolbar.Execute", + "namespace": "Despair.ChopShop.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.StandardToolbar.SetCheck", + "namespace": "Despair.ChopShop.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.StandardToolbar.SetString", + "namespace": "Despair.ChopShop.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.StartLog", + "namespace": "Despair.ChopShop", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.ChopShop.SubtitleView.AddSkipPoint", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Adds a skip point to the specified track at the specified time." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.AddSubtitle", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Adds a subtitle to the specified track at the specified time." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.DeleteKeyFrame", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Deletes the keyframe at the track, and time specified." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.DeleteTrack", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + } + }, + "@K[203]": "Deletes the specified track." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.MoveTrackTimeBegin", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Moves the track time to the beginning." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.MoveTrackTimeEnd", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Moves the track time to the end." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.MoveTrackTimeNext", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Increments the track time." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.MoveTrackTimePrev", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Decrements the track time." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.SelectTrack", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + } + }, + "@K[203]": "Selects the specified track." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.SelectTrackKeyFrame", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Selects the specified keyframe on the specified track." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.SetTrackTime", + "namespace": "Despair.ChopShop.SubtitleView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Time", + "@K[211]": "The desired time to set the track view" + } + }, + "@K[203]": "Sets the track time." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.Toolbar.Execute", + "namespace": "Despair.ChopShop.SubtitleView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.Toolbar.SetCheck", + "namespace": "Despair.ChopShop.SubtitleView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.SubtitleView.Toolbar.SetString", + "namespace": "Despair.ChopShop.SubtitleView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ChopShop.Views.DockView", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.ChopShop.Views.FloatView", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.ChopShop.Views.IsVisible", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.ChopShop.Views.SetFocus", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.ChopShop.Views.ShowView", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.ChopShop.Views.ToggleView", + "namespace": "Despair.ChopShop.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Facade.AutomationUtility.AutomationError", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Facade.AutomationUtility.AutomationInfo", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Facade.AutomationUtility.AutomationWarning", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Facade.AutomationUtility.CreateDirectory", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Facade.AutomationUtility.FindFiles", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Facade.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Facade.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Facade.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Facade.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Facade.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Facade.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Facade.AutomationUtility.IsFlexML", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Facade.AutomationUtility.PathExists", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Facade.AutomationUtility.StringCompare", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Facade.AutomationUtility.StringContains", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Facade.AutomationUtility.StripFileExtension", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Facade.AutomationUtility.ToLower", + "namespace": "Despair.Facade.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Facade.Components.BeginDrag", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of item to begin dragging." + } + }, + "@K[203]": "Begins a drag and drop operation on the specified item." + } + }, + { + "name": "Despair.Facade.Components.GetSelectedLabel", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Facade.Components.SelectFirst", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Facade.Components.SelectItem", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Facade.Components.SelectNext", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Facade.Components.SelectPrev", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Facade.Components.SetFocus", + "namespace": "Despair.Facade.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.Components.Toolbar.Execute", + "namespace": "Despair.Facade.Components.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.Components.Toolbar.SetCheck", + "namespace": "Despair.Facade.Components.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.Components.Toolbar.SetString", + "namespace": "Despair.Facade.Components.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.DanglingResource.AddToSourceControl", + "namespace": "Despair.Facade.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." + } + }, + { + "name": "Despair.Facade.DanglingResource.CopyToClipboard", + "namespace": "Despair.Facade.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." + } + }, + { + "name": "Despair.Facade.DanglingResource.List.GetSelectedLabel", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Facade.DanglingResource.List.SelectFirst", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Facade.DanglingResource.List.SelectItem", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Facade.DanglingResource.List.SelectNext", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Facade.DanglingResource.List.SelectPrev", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Facade.DanglingResource.List.SetFocus", + "namespace": "Despair.Facade.DanglingResource.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.DanglingResource.Refresh", + "namespace": "Despair.Facade.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." + } + }, + { + "name": "Despair.Facade.DanglingResource.SetFocus", + "namespace": "Despair.Facade.DanglingResource", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.Exit", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Facade.File.Close", + "namespace": "Despair.Facade.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.Facade.File.New", + "namespace": "Despair.Facade.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new material." + } + }, + { + "name": "Despair.Facade.File.Open", + "namespace": "Despair.Facade.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the material that should be opened." + } + }, + "@K[203]": "Opens the material specified by Path." + } + }, + { + "name": "Despair.Facade.File.Save", + "namespace": "Despair.Facade.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.Facade.File.SaveAs", + "namespace": "Despair.Facade.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the material." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.Facade.FlowView.AddComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentType", + "@K[211]": "Type of component to add." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of new component." + } + }, + "@K[203]": "Adds a component of the specified type and names it the specified name." + } + }, + { + "name": "Despair.Facade.FlowView.AddToExistingGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to add the selected component to" + } + }, + "@K[203]": "Adds selected component to the group" + } + }, + { + "name": "Despair.Facade.FlowView.AddToNewGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to create and add selected component to" + } + }, + "@K[203]": "Adds selected component to the new group" + } + }, + { + "name": "Despair.Facade.FlowView.CollapseGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to collapse." + } + }, + "@K[203]": "Collapses specified group." + } + }, + { + "name": "Despair.Facade.FlowView.Color", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of red in color" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of green in color" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of blue in color" + } + }, + "@K[203]": "Changes the color of the component" + } + }, + { + "name": "Despair.Facade.FlowView.Comment", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Comment", + "@K[211]": "Comment for the component" + } + }, + "@K[203]": "Write Comments to The Component" + } + }, + { + "name": "Despair.Facade.FlowView.ConnectComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OutputComponent", + "@K[211]": "Name of the destination component." + }, + "2.0": { + "@K[209]": "OutputLink", + "@K[211]": "Name of the destination link." + }, + "3.0": { + "@K[209]": "InputComponent", + "@K[211]": "Name of the source component." + }, + "4.0": { + "@K[209]": "InputLink", + "@K[211]": "Name of the source link." + } + }, + "@K[203]": "Connects specified components at the specified link points." + } + }, + { + "name": "Despair.Facade.FlowView.CurvedLines", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays link connections as curved lines" + } + }, + { + "name": "Despair.Facade.FlowView.Delete", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Removes selected component from graph" + } + }, + { + "name": "Despair.Facade.FlowView.DisconnectComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to unhook." + }, + "2.0": { + "@K[209]": "Link", + "@K[211]": "Name of the link to unhook." + }, + "3.0": { + "@K[209]": "IsOutput", + "@K[211]": "Is this link an output link?" + } + }, + "@K[203]": "Disconnects the specified component from the specified link point." + } + }, + { + "name": "Despair.Facade.FlowView.DropShadow", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Toggles a component shadow in the view" + } + }, + { + "name": "Despair.Facade.FlowView.ExpandGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to expand." + } + }, + "@K[203]": "Expands specified group." + } + }, + { + "name": "Despair.Facade.FlowView.ExportGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to export to" + } + }, + "@K[203]": "Exports the selected components group to the given filename" + } + }, + { + "name": "Despair.Facade.FlowView.GetComponentItemValue", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to get." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to get." + } + }, + "@K[203]": "Gets the specified component property item as a string." + } + }, + { + "name": "Despair.Facade.FlowView.GroupComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to group." + }, + "2.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group the component should be added to." + } + }, + "@K[203]": "Adds specified group to the specified group. Creates group if needed." + } + }, + { + "name": "Despair.Facade.FlowView.Label", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Name of property to rename" + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name for the property" + } + }, + "@K[203]": "Changes the name of a components property" + } + }, + { + "name": "Despair.Facade.FlowView.ModifyComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to modify." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to modify." + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "New value for the specified property." + } + }, + "@K[203]": "Changes the specified component and property to the value given." + } + }, + { + "name": "Despair.Facade.FlowView.Name", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component" + } + }, + "@K[203]": "Changes the name of the selected component" + } + }, + { + "name": "Despair.Facade.FlowView.RemoveFromGroup", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Removes component from its containing group" + } + }, + { + "name": "Despair.Facade.FlowView.RenameSelected", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "New name for selected component" + } + }, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.FlowView.SelectComponent", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of component to select." + } + }, + "@K[203]": "Selects component with the sepcified name." + } + }, + { + "name": "Despair.Facade.FlowView.SetAsDropTargetCentered", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Ends a drag and drop operation at a centered location of control." + } + }, + { + "name": "Despair.Facade.FlowView.SetAsDropTargetXY", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "Local X coordinate to end dragging." + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Local Y coordinate to end dragging." + } + }, + "@K[203]": "Ends a drag and drop operation at the specified location." + } + }, + { + "name": "Despair.Facade.FlowView.SetComponentPos", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to position." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X axis position." + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y axis positoin." + } + }, + "@K[203]": "Positions the component." + } + }, + { + "name": "Despair.Facade.FlowView.SetFocus", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.FlowView.StraightLines", + "namespace": "Despair.Facade.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays link connections as straight lines" + } + }, + { + "name": "Despair.Facade.GenerateDocs", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Facade.GenerateLuasense", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Facade.GetToolVersion", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Facade.Keyboard.SendKeyDown", + "namespace": "Despair.Facade.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Facade.Keyboard.SendKeyUp", + "namespace": "Despair.Facade.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Facade.LoadEnvironmentPreset", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" + } + }, + { + "name": "Despair.Facade.LoadLayout", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Facade.LoadMDILayout", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Facade.MaterialProperties.EditItem", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Facade.MaterialProperties.EditSelectedItem", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Facade.MaterialProperties.Expand", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Facade.MaterialProperties.GetItem", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Facade.MaterialProperties.GetSelectedItem", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Facade.MaterialProperties.GetSelectedLabel", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Facade.MaterialProperties.GetSelectedPath", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectFirst", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectItem", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectLast", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectLeft", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectNext", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectPrev", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SelectRight", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Facade.MaterialProperties.SetFocus", + "namespace": "Despair.Facade.MaterialProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.ModelProperties.EditItem", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Facade.ModelProperties.EditSelectedItem", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Facade.ModelProperties.Expand", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Facade.ModelProperties.GetItem", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Facade.ModelProperties.GetSelectedItem", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Facade.ModelProperties.GetSelectedLabel", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Facade.ModelProperties.GetSelectedPath", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectFirst", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectItem", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectLast", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectLeft", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectNext", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectPrev", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Facade.ModelProperties.SelectRight", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Facade.ModelProperties.SetFocus", + "namespace": "Despair.Facade.ModelProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.ResetLight", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetAmbientEnabled", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetDirectionalEnabled", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetIndicatorsEnabled", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetIntensity", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetParticleColor", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetSkyColor", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetSpecularity", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetSunColor", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.AmbientLight.SetSunDirection", + "namespace": "Despair.Facade.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetAltSpeed", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetClearColor", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetDepthOfFieldEnabled", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetDriveSpeed", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFOV", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFarBlurLimit", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFarBlurRange", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFarDistance", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFocalDepth", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetFocalWidth", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetInvertYAxis", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetMoveWithFocus", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetNearBlurLimit", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetNearBlurRange", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetNearDistance", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetPosition", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetRotation", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetUseControllerInput", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.SetZoom", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Camera.ZoomExtents", + "namespace": "Despair.Facade.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetBottom", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetColor", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetEnabled", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetEnd", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetMax", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetStart", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetTop", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Fog.SetType", + "namespace": "Despair.Facade.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Grid.SetAxisEnabled", + "namespace": "Despair.Facade.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Grid.SetCellSize", + "namespace": "Despair.Facade.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Grid.SetColor", + "namespace": "Despair.Facade.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Grid.SetEnabled", + "namespace": "Despair.Facade.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.LoadModel", + "namespace": "Despair.Facade.ModelView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the model" + } + }, + "@K[203]": "Loads and Displays a model." + } + }, + { + "name": "Despair.Facade.ModelView.Options.SetAdaptLuminanceEnabled", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetAdaptionExposure", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetAdaptionMax", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetAdaptionMin", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetAdaptionTime", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetBloomScale", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetBrightMax", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetBrightMin", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetHdrEnabled", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetShadowEnabled", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetToneScale", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Options.SetWireframeEnabled", + "namespace": "Despair.Facade.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.PointLight.ResetLight", + "namespace": "Despair.Facade.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.PointLight.SetColor", + "namespace": "Despair.Facade.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.PointLight.SetEnabled", + "namespace": "Despair.Facade.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.PointLight.SetIndicatorsEnabled", + "namespace": "Despair.Facade.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.PointLight.SetRotation", + "namespace": "Despair.Facade.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.ShowModel", + "namespace": "Despair.Facade.ModelView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the model" + } + }, + "@K[203]": "Loads if necessary and Displays the currently loaded custom model." + } + }, + { + "name": "Despair.Facade.ModelView.SkyDome.SetEnabled", + "namespace": "Despair.Facade.ModelView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.SkyDome.SetModel", + "namespace": "Despair.Facade.ModelView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Facade.ModelView.Toolbar.Execute", + "namespace": "Despair.Facade.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.ModelView.Toolbar.SetCheck", + "namespace": "Despair.Facade.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.ModelView.Toolbar.SetString", + "namespace": "Despair.Facade.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.Mouse.LeftDown", + "namespace": "Despair.Facade.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Facade.Mouse.LeftUp", + "namespace": "Despair.Facade.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Facade.Mouse.Move", + "namespace": "Despair.Facade.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Facade.OS.CmdExec", + "namespace": "Despair.Facade.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Facade.OS.GetInstallLocation", + "namespace": "Despair.Facade.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Facade.OS.GetProjectName", + "namespace": "Despair.Facade.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Facade.OS.GetResourceDepotLocation", + "namespace": "Despair.Facade.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Facade.OS.ShellExec", + "namespace": "Despair.Facade.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Facade.Perforce.Checkin", + "namespace": "Despair.Facade.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Facade.Perforce.Checkout", + "namespace": "Despair.Facade.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Facade.Perforce.IsCheckedOut", + "namespace": "Despair.Facade.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Facade.Perforce.Revert", + "namespace": "Despair.Facade.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Facade.Perforce.Sync", + "namespace": "Despair.Facade.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Facade.PostMessage", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Facade.ResourceView.AddToSourceControl", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Facade.ResourceView.BeginDrag", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Facade.ResourceView.CheckIn", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Facade.ResourceView.CheckOut", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Facade.ResourceView.CheckOutForMove", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Facade.ResourceView.CheckOutForRename", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Facade.ResourceView.CreatePath", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Facade.ResourceView.Explore", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Facade.ResourceView.GetLatestVersion", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Facade.ResourceView.Launch", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Facade.ResourceView.MakeWritable", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Facade.ResourceView.Properties", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Facade.ResourceView.SearchItem", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Facade.ResourceView.SelectItem", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Facade.ResourceView.SetFilter", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Facade.ResourceView.SetFocus", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Facade.ResourceView.TestLaunch", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Facade.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Facade.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Facade.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Facade.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Facade.ResourceView.UndoCheckOut", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Facade.ResourceView.UndoGet", + "namespace": "Despair.Facade.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Facade.SaveEnvironmentPreset", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" + } + }, + { + "name": "Despair.Facade.SetAppMode", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Facade.StandardToolbar.Execute", + "namespace": "Despair.Facade.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.StandardToolbar.SetCheck", + "namespace": "Despair.Facade.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.StandardToolbar.SetString", + "namespace": "Despair.Facade.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Facade.StartLog", + "namespace": "Despair.Facade", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Facade.Views.DockView", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Facade.Views.FloatView", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Facade.Views.IsVisible", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Facade.Views.SetFocus", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Facade.Views.ShowView", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Facade.Views.ToggleView", + "namespace": "Despair.Facade.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.AutomationError", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.AutomationInfo", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.AutomationWarning", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.CreateDirectory", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.FindFiles", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.FindFilesWithName", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.GetFileFromPath", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.GetFileOpenError", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.IsFlexML", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.PathExists", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.StringCompare", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.StringContains", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.StripFileExtension", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.FontMaker.AutomationUtility.ToLower", + "namespace": "Despair.FontMaker.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.FontMaker.CreateFont", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.FontMaker.Exit", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.FontMaker.File.Close", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the font that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" + } + }, + { + "name": "Despair.FontMaker.File.CloseAll", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." + } + }, + { + "name": "Despair.FontMaker.File.New", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + } + }, + "@K[203]": "Creates a new font file." + } + }, + { + "name": "Despair.FontMaker.File.Open", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the font that should be opened." + } + }, + "@K[203]": "Opens the font specified by Path." + } + }, + { + "name": "Despair.FontMaker.File.Save", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + } + }, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.FontMaker.File.SaveAs", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the font." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." + } + }, + { + "name": "Despair.FontMaker.File.SaveBinary", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the font." + } + }, + "@K[203]": "Saves the currently selected file as a binary font using the name specified." + } + }, + { + "name": "Despair.FontMaker.File.Validate", + "namespace": "Despair.FontMaker.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." + } + }, + { + "name": "Despair.FontMaker.GenerateDocs", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.FontMaker.GenerateLuasense", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.FontMaker.GetToolVersion", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.FontMaker.GrabberToolbar.Execute", + "namespace": "Despair.FontMaker.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.GrabberToolbar.SetCheck", + "namespace": "Despair.FontMaker.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.GrabberToolbar.SetString", + "namespace": "Despair.FontMaker.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.LoadLayout", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.FontMaker.LoadMDILayout", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.FontMaker.OS.CmdExec", + "namespace": "Despair.FontMaker.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.FontMaker.OS.GetInstallLocation", + "namespace": "Despair.FontMaker.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.FontMaker.OS.GetProjectName", + "namespace": "Despair.FontMaker.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.FontMaker.OS.GetResourceDepotLocation", + "namespace": "Despair.FontMaker.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.FontMaker.OS.ShellExec", + "namespace": "Despair.FontMaker.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.FontMaker.Perforce.Checkin", + "namespace": "Despair.FontMaker.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.FontMaker.Perforce.Checkout", + "namespace": "Despair.FontMaker.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.FontMaker.Perforce.IsCheckedOut", + "namespace": "Despair.FontMaker.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.FontMaker.Perforce.Revert", + "namespace": "Despair.FontMaker.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.FontMaker.Perforce.Sync", + "namespace": "Despair.FontMaker.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.FontMaker.PostMessage", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.FontMaker.Property.EditItem", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.FontMaker.Property.EditSelectedItem", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.FontMaker.Property.Expand", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.FontMaker.Property.GetItem", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.FontMaker.Property.GetSelectedItem", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.FontMaker.Property.GetSelectedLabel", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.FontMaker.Property.GetSelectedPath", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.FontMaker.Property.SelectFirst", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.FontMaker.Property.SelectItem", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.FontMaker.Property.SelectLast", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.FontMaker.Property.SelectLeft", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.FontMaker.Property.SelectNext", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.FontMaker.Property.SelectPrev", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.FontMaker.Property.SelectRight", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.FontMaker.Property.SetFocus", + "namespace": "Despair.FontMaker.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.FontMaker.ResourceView.AddToSourceControl", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.BeginDrag", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.FontMaker.ResourceView.CheckIn", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.CheckOut", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.CheckOutForMove", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.FontMaker.ResourceView.CheckOutForRename", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.FontMaker.ResourceView.CreatePath", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.Explore", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.GetLatestVersion", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.Launch", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.MakeWritable", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.Properties", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.SearchItem", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.FontMaker.ResourceView.SelectItem", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.SetFilter", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.FontMaker.ResourceView.SetFocus", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.FontMaker.ResourceView.TestLaunch", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.FontMaker.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.FontMaker.ResourceView.Toolbar_Refresh", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.FontMaker.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.FontMaker.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.FontMaker.ResourceView.UndoCheckOut", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.FontMaker.ResourceView.UndoGet", + "namespace": "Despair.FontMaker.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.FontMaker.SetAppMode", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.FontMaker.SetCharSet", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetClipPrecision", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetDirectoryName", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetEscape", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetHeight", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetItalic", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetName", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetOrientation", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetOutPrecision", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetPitchAndFamily", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetPointSize", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetQuality", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetResolution", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetSpacing", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetStrikeOut", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetStyle", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetUnderline", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetUsage", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetWeight", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.SetWidth", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.FontMaker.StandardToolbar.Execute", + "namespace": "Despair.FontMaker.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.StandardToolbar.SetCheck", + "namespace": "Despair.FontMaker.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.StandardToolbar.SetString", + "namespace": "Despair.FontMaker.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.FontMaker.StartLog", + "namespace": "Despair.FontMaker", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.FontMaker.Views.DockView", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.FontMaker.Views.FloatView", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.FontMaker.Views.IsVisible", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.FontMaker.Views.SetFocus", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.FontMaker.Views.ShowView", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.FontMaker.Views.ToggleView", + "namespace": "Despair.FontMaker.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Forge.AutomationUtility.AutomationError", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Forge.AutomationUtility.AutomationInfo", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Forge.AutomationUtility.AutomationWarning", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Forge.AutomationUtility.CreateDirectory", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Forge.AutomationUtility.FindFiles", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Forge.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Forge.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Forge.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Forge.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Forge.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Forge.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Forge.AutomationUtility.IsFlexML", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Forge.AutomationUtility.PathExists", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Forge.AutomationUtility.StringCompare", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Forge.AutomationUtility.StringContains", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Forge.AutomationUtility.StripFileExtension", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Forge.AutomationUtility.ToLower", + "namespace": "Despair.Forge.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Forge.ComponentView.List.GetSelectedLabel", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Forge.ComponentView.List.SelectFirst", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Forge.ComponentView.List.SelectItem", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Forge.ComponentView.List.SelectNext", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Forge.ComponentView.List.SelectPrev", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Forge.ComponentView.List.SetFocus", + "namespace": "Despair.Forge.ComponentView.List", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.ComponentView.Toolbar.Execute", + "namespace": "Despair.Forge.ComponentView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.ComponentView.Toolbar.SetCheck", + "namespace": "Despair.Forge.ComponentView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.ComponentView.Toolbar.SetString", + "namespace": "Despair.Forge.ComponentView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.Expand", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.FoundLastItem", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.GetSelectedLabel", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SelectFirst", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SelectItem", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SelectNext", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SelectParent", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SelectPrev", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.ComponentView.Tree.SetFocus", + "namespace": "Despair.Forge.ComponentView.Tree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.Exit", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Forge.File.Close", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the object that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" + } + }, + { + "name": "Despair.Forge.File.CloseAll", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." + } + }, + { + "name": "Despair.Forge.File.New", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "Currently not used" + } + }, + "@K[203]": "Creates a new file. " + } + }, + { + "name": "Despair.Forge.File.Open", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the object that should be opened." + } + }, + "@K[203]": "Opens the object specified by Path." + } + }, + { + "name": "Despair.Forge.File.Save", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the object." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" + } + }, + { + "name": "Despair.Forge.File.SaveAs", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the object." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." + } + }, + { + "name": "Despair.Forge.File.Validate", + "namespace": "Despair.Forge.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." + } + }, + { + "name": "Despair.Forge.GenerateDocs", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Forge.GenerateLuasense", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Forge.GetToolVersion", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Forge.Keyboard.SendKeyDown", + "namespace": "Despair.Forge.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Forge.Keyboard.SendKeyUp", + "namespace": "Despair.Forge.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Forge.ListComponents", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the file that we be generated." + } + }, + "@K[203]": "Prints a list of all registered empire components." + } + }, + { + "name": "Despair.Forge.LoadLayout", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Forge.LoadMDILayout", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.ResetLight", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetAmbientEnabled", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetDirectionalEnabled", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetIndicatorsEnabled", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetIntensity", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetParticleColor", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetSkyColor", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetSpecularity", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetSunColor", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.AmbientLight.SetSunDirection", + "namespace": "Despair.Forge.ModelView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetAltSpeed", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetClearColor", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetDepthOfFieldEnabled", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetDriveSpeed", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFOV", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFarBlurLimit", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFarBlurRange", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFarDistance", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFocalDepth", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetFocalWidth", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetInvertYAxis", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetMoveWithFocus", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetNearBlurLimit", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetNearBlurRange", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetNearDistance", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetPosition", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetRotation", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetUseControllerInput", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.SetZoom", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Camera.ZoomExtents", + "namespace": "Despair.Forge.ModelView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetBottom", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetColor", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetEnabled", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetEnd", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetMax", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetStart", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetTop", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Fog.SetType", + "namespace": "Despair.Forge.ModelView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.GetPhysicsBounds", + "namespace": "Despair.Forge.ModelView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get Physics Bounds Of Current dsObject" + } + }, + { + "name": "Despair.Forge.ModelView.Grid.SetAxisEnabled", + "namespace": "Despair.Forge.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Grid.SetCellSize", + "namespace": "Despair.Forge.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Grid.SetColor", + "namespace": "Despair.Forge.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Grid.SetEnabled", + "namespace": "Despair.Forge.ModelView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetAdaptLuminanceEnabled", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetAdaptionExposure", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetAdaptionMax", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetAdaptionMin", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetAdaptionTime", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetBloomScale", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetBrightMax", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetBrightMin", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetHdrEnabled", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetShadowEnabled", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetToneScale", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Options.SetWireframeEnabled", + "namespace": "Despair.Forge.ModelView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.PointLight.ResetLight", + "namespace": "Despair.Forge.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.PointLight.SetColor", + "namespace": "Despair.Forge.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.PointLight.SetEnabled", + "namespace": "Despair.Forge.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.PointLight.SetIndicatorsEnabled", + "namespace": "Despair.Forge.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.PointLight.SetRotation", + "namespace": "Despair.Forge.ModelView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.ScreenShot.Capture", + "namespace": "Despair.Forge.ModelView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.ScreenShot.SetImageDirectory", + "namespace": "Despair.Forge.ModelView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.ScreenShot.SetImageHeight", + "namespace": "Despair.Forge.ModelView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.ScreenShot.SetImageName", + "namespace": "Despair.Forge.ModelView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.ScreenShot.SetImageWidth", + "namespace": "Despair.Forge.ModelView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.SkyDome.SetEnabled", + "namespace": "Despair.Forge.ModelView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.SkyDome.SetModel", + "namespace": "Despair.Forge.ModelView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Forge.ModelView.Toolbar.Execute", + "namespace": "Despair.Forge.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.ModelView.Toolbar.SetCheck", + "namespace": "Despair.Forge.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.ModelView.Toolbar.SetString", + "namespace": "Despair.Forge.ModelView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.Mouse.LeftDown", + "namespace": "Despair.Forge.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Forge.Mouse.LeftUp", + "namespace": "Despair.Forge.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Forge.Mouse.Move", + "namespace": "Despair.Forge.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Forge.OS.CmdExec", + "namespace": "Despair.Forge.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Forge.OS.GetInstallLocation", + "namespace": "Despair.Forge.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Forge.OS.GetProjectName", + "namespace": "Despair.Forge.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Forge.OS.GetResourceDepotLocation", + "namespace": "Despair.Forge.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Forge.OS.ShellExec", + "namespace": "Despair.Forge.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Forge.Perforce.Checkin", + "namespace": "Despair.Forge.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Forge.Perforce.Checkout", + "namespace": "Despair.Forge.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Forge.Perforce.IsCheckedOut", + "namespace": "Despair.Forge.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Forge.Perforce.Revert", + "namespace": "Despair.Forge.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Forge.Perforce.Sync", + "namespace": "Despair.Forge.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Forge.PostMessage", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Forge.ResourceView.AddToSourceControl", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Forge.ResourceView.BeginDrag", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Forge.ResourceView.CheckIn", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Forge.ResourceView.CheckOut", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Forge.ResourceView.CheckOutForMove", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Forge.ResourceView.CheckOutForRename", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Forge.ResourceView.CreatePath", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Forge.ResourceView.Explore", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Forge.ResourceView.GetLatestVersion", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Forge.ResourceView.Launch", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Forge.ResourceView.MakeWritable", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Forge.ResourceView.Properties", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Forge.ResourceView.SearchItem", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Forge.ResourceView.SelectItem", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Forge.ResourceView.SetFilter", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Forge.ResourceView.SetFocus", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Forge.ResourceView.TestLaunch", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Forge.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Forge.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Forge.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Forge.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Forge.ResourceView.UndoCheckOut", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Forge.ResourceView.UndoGet", + "namespace": "Despair.Forge.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Forge.SetAppMode", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Forge.StandardToolbar.Execute", + "namespace": "Despair.Forge.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.StandardToolbar.SetCheck", + "namespace": "Despair.Forge.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.StandardToolbar.SetString", + "namespace": "Despair.Forge.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.StartLog", + "namespace": "Despair.Forge", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Forge.TemplateView.AddComponent", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to add." + } + }, + "@K[203]": "Add specified component to the current object file." + } + }, + { + "name": "Despair.Forge.TemplateView.AddTemplate", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the template." + } + }, + "@K[203]": "Adds the specified template." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.Expand", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.FoundLastItem", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.GetSelectedLabel", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SelectFirst", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SelectItem", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SelectNext", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SelectParent", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SelectPrev", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.ComponentTree.SetFocus", + "namespace": "Despair.Forge.TemplateView.ComponentTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.TemplateView.GetObjectPath", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets selected components dsObject Path." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.EditItem", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Forge.TemplateView.Property.EditSelectedItem", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.Expand", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Forge.TemplateView.Property.GetItem", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Forge.TemplateView.Property.GetSelectedItem", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.GetSelectedLabel", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.GetSelectedPath", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectFirst", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectItem", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectLast", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectLeft", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectNext", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectPrev", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SelectRight", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Forge.TemplateView.Property.SetFocus", + "namespace": "Despair.Forge.TemplateView.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.TemplateView.RemoveComponent", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to remove." + } + }, + "@K[203]": "Removes specified component from the current object file." + } + }, + { + "name": "Despair.Forge.TemplateView.RenameComponent", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Old name of the component." + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name of the component." + } + }, + "@K[203]": "Rename specified component in the current object file." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.Expand", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.FoundLastItem", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.GetSelectedLabel", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SelectFirst", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SelectItem", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SelectNext", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SelectParent", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SelectPrev", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.RigidBodyTree.SetFocus", + "namespace": "Despair.Forge.TemplateView.RigidBodyTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.Expand", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.FoundLastItem", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.GetSelectedLabel", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SelectFirst", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SelectItem", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SelectNext", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SelectParent", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SelectPrev", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Forge.TemplateView.SceneTree.SetFocus", + "namespace": "Despair.Forge.TemplateView.SceneTree", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Forge.TemplateView.Toolbar.Execute", + "namespace": "Despair.Forge.TemplateView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.TemplateView.Toolbar.SetCheck", + "namespace": "Despair.Forge.TemplateView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.TemplateView.Toolbar.SetString", + "namespace": "Despair.Forge.TemplateView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Forge.TemplateView.Unlock", + "namespace": "Despair.Forge.TemplateView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to Unlock." + } + }, + "@K[203]": "Unlocks specified component from the current object file." + } + }, + { + "name": "Despair.Forge.Views.DockView", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Forge.Views.FloatView", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Forge.Views.IsVisible", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Forge.Views.SetFocus", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Forge.Views.ShowView", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Forge.Views.ToggleView", + "namespace": "Despair.Forge.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Landscape.ActionsToolbar.Execute", + "namespace": "Despair.Landscape.ActionsToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.ActionsToolbar.SetCheck", + "namespace": "Despair.Landscape.ActionsToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.ActionsToolbar.SetString", + "namespace": "Despair.Landscape.ActionsToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.AutomationError", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.AutomationInfo", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.AutomationWarning", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.CreateDirectory", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.FindFiles", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Landscape.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Landscape.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.IsFlexML", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.PathExists", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.StringCompare", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.StringContains", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.StripFileExtension", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Landscape.AutomationUtility.ToLower", + "namespace": "Despair.Landscape.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Landscape.Dialog.AddBooleanField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddColorField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddComboField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddComboFieldItem", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddFloatField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddResourceField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddSliderField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddStringField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddVector3Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.AddVector4Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.ClearComboFieldItems", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.CreateDialogBox", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.EditSelection", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetBooleanField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetColorField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetComboField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetFloatField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetResourceField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetStringField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetVector3Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.GetVector4Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.InputBox", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.MessageBox", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.OffsetSelection", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetBooleanField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetColorField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetComboField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetFloatField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetResourceField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetStringField", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetVector3Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.SetVector4Field", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Dialog.ShowDialogBox", + "namespace": "Despair.Landscape.Dialog", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Document.EditSelectedCallback", + "namespace": "Despair.Landscape.Document", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Document.EditSelectedPassThru", + "namespace": "Despair.Landscape.Document", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetObject", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The world in which the object lives" + }, + "2.0": { + "@K[209]": "objectName", + "@K[211]": "The object to get" + } + }, + "@K[203]": "Get an Object in a world." + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetObjectName", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting its name" + } + }, + "@K[203]": "Get name of object" + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetObjectPosition", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting position" + } + }, + "@K[203]": "Get position of object" + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetObjectResourcePath", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object to get it's resource path" + } + }, + "@K[203]": "Attempts to find a given object in the current selected world and return its resource path. Returns empty string on failure" + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetObjectsInWorld", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The world in which the objects live" + } + }, + "@K[203]": "Gets all objects in a world." + } + }, + { + "name": "Despair.Landscape.Document.Objects.GetSelectedObjects", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get all selected objects in the 3d view" + } + }, + { + "name": "Despair.Landscape.Document.Objects.ObjectHasDoor", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object" + } + }, + "@K[203]": "returns 1 if object has a door component, 0 else, -1 if unknown" + } + }, + { + "name": "Despair.Landscape.Document.Objects.ObjectHasPosRot", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the object has a PosRotComponent" + } + }, + { + "name": "Despair.Landscape.Document.Objects.ResetObjectDoorBlocker", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object" + } + }, + "@K[203]": "returns 1 if object door component blocker was reset, 0 else" + } + }, + { + "name": "Despair.Landscape.Document.Objects.SelectObject", + "namespace": "Despair.Landscape.Document.Objects", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object to select" + } + }, + "@K[203]": "Selects if present the object in the selected world" + } + }, + { + "name": "Despair.Landscape.Document.Worlds.AddObject", + "namespace": "Despair.Landscape.Document.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The desired world to add the object" + }, + "2.0": { + "@K[209]": "groupPath", + "@K[211]": "The desired group to add the object" + }, + "3.0": { + "@K[209]": "objectPath", + "@K[211]": "The object to add into the world" + } + }, + "@K[203]": "Add Object to a world, returns object name - AddObject(MyWorld, MyGroup/MyGroup, /Objects/GameObjects/MyObject.dsObject)" + } + }, + { + "name": "Despair.Landscape.Document.Worlds.AddObjectSelectedGroup", + "namespace": "Despair.Landscape.Document.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "objectPath", + "@K[211]": "The object to add into the world" + } + }, + "@K[203]": "Add Object to a world, returns object name - AddObject(/Objects/GameObjects/MyObject.dsObject)" + } + }, + { + "name": "Despair.Landscape.Document.Worlds.GetWorlds", + "namespace": "Despair.Landscape.Document.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get all loaded world names" + } + }, + { + "name": "Despair.Landscape.EditModeToolbar.Execute", + "namespace": "Despair.Landscape.EditModeToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.EditModeToolbar.SetCheck", + "namespace": "Despair.Landscape.EditModeToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.EditModeToolbar.SetString", + "namespace": "Despair.Landscape.EditModeToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Exit", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Landscape.File.ClearModified", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Clear Modified flag of current world." + } + }, + { + "name": "Despair.Landscape.File.Close", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the world that should be closed." + } + }, + "@K[203]": "Closes the world specified by Path" + } + }, + { + "name": "Despair.Landscape.File.CloseAll", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." + } + }, + { + "name": "Despair.Landscape.File.New", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Elements", + "@K[211]": "Comma separated list of elements that should included in this new world. Valid values are:\n\tNavmap\n\tLighting" + } + }, + "@K[203]": "Creates a new world." + } + }, + { + "name": "Despair.Landscape.File.Open", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the world that should be opened." + } + }, + "@K[203]": "Opens the world specified by Path." + } + }, + { + "name": "Despair.Landscape.File.Save", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the world." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" + } + }, + { + "name": "Despair.Landscape.File.SaveAs", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the world." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." + } + }, + { + "name": "Despair.Landscape.File.Validate", + "namespace": "Despair.Landscape.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." + } + }, + { + "name": "Despair.Landscape.ForceFullScreenPerspectiveFly", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Makes the renderview use a single perspective fly viewport." + } + }, + { + "name": "Despair.Landscape.Function.EditItem", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Function.EditSelectedItem", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Landscape.Function.Expand", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Landscape.Function.GetItem", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Function.GetSelectedItem", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.Function.GetSelectedLabel", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Landscape.Function.GetSelectedPath", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.Function.SelectFirst", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Landscape.Function.SelectFunction", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Function.SelectItem", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Function.SelectLast", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Landscape.Function.SelectLeft", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Landscape.Function.SelectNext", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Landscape.Function.SelectPrev", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Landscape.Function.SelectRight", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Landscape.Function.SetFocus", + "namespace": "Despair.Landscape.Function", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.Function.Toolbar.Execute", + "namespace": "Despair.Landscape.Function.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Function.Toolbar.SetCheck", + "namespace": "Despair.Landscape.Function.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Function.Toolbar.SetString", + "namespace": "Despair.Landscape.Function.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.GenerateDocs", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Landscape.GenerateLuasense", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Landscape.GetToolVersion", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Landscape.Keyboard.SendKeyDown", + "namespace": "Despair.Landscape.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Landscape.Keyboard.SendKeyUp", + "namespace": "Despair.Landscape.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Landscape.LightList.EditItem", + "namespace": "Despair.Landscape.LightList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.LoadLayout", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Landscape.LoadMDILayout", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Landscape.LoadPreset", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "Loads a dsViewportSet file" + } + }, + { + "name": "Despair.Landscape.Mouse.LeftDown", + "namespace": "Despair.Landscape.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Landscape.Mouse.LeftUp", + "namespace": "Despair.Landscape.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Landscape.Mouse.Move", + "namespace": "Despair.Landscape.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Landscape.NavMap.GetSelectedLabel", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.EditItem", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.NavMap.Property.EditSelectedItem", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.Expand", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Landscape.NavMap.Property.GetItem", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.NavMap.Property.GetSelectedItem", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.GetSelectedLabel", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.GetSelectedPath", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectFirst", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectItem", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectLast", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectLeft", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectNext", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectPrev", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SelectRight", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Landscape.NavMap.Property.SetFocus", + "namespace": "Despair.Landscape.NavMap.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.NavMap.SelectFirst", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Landscape.NavMap.SelectItem", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Landscape.NavMap.SelectNext", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Landscape.NavMap.SelectPrev", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Landscape.NavMap.SetFocus", + "namespace": "Despair.Landscape.NavMap", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.OS.CmdExec", + "namespace": "Despair.Landscape.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Landscape.OS.GetInstallLocation", + "namespace": "Despair.Landscape.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Landscape.OS.GetProjectName", + "namespace": "Despair.Landscape.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Landscape.OS.GetResourceDepotLocation", + "namespace": "Despair.Landscape.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Landscape.OS.ShellExec", + "namespace": "Despair.Landscape.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Landscape.ObjectList.AddToFilter", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Copy", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Cut", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Delete", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.ObjectList.Freeze", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.GetSelectedLabel", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Landscape.ObjectList.IsSelectedObject", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the currently selected item in the object list view is an dsObject" + } + }, + { + "name": "Despair.Landscape.ObjectList.ListView", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.MoveToWorld", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Open", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Paste", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Rename", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Replace", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.ReportView", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.SelectFirst", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Landscape.ObjectList.SelectItem", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Landscape.ObjectList.SelectNext", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Landscape.ObjectList.SelectPrev", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Landscape.ObjectList.SetAsSelection", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.SetFocus", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.ObjectList.ShowReferrals", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.TargetCamera", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.ObjectList.Toolbar.Execute", + "namespace": "Despair.Landscape.ObjectList.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.ObjectList.Toolbar.SetCheck", + "namespace": "Despair.Landscape.ObjectList.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.ObjectList.Toolbar.SetString", + "namespace": "Despair.Landscape.ObjectList.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.ObjectList.Visible", + "namespace": "Despair.Landscape.ObjectList", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Landscape.Perforce.Checkin", + "namespace": "Despair.Landscape.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Landscape.Perforce.Checkout", + "namespace": "Despair.Landscape.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Landscape.Perforce.IsCheckedOut", + "namespace": "Despair.Landscape.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Landscape.Perforce.Revert", + "namespace": "Despair.Landscape.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Landscape.Perforce.Sync", + "namespace": "Despair.Landscape.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Landscape.PostMessage", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Landscape.Properties.EditItem", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Properties.EditSelectedItem", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Landscape.Properties.Expand", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Landscape.Properties.GetItem", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Properties.GetSelectedItem", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.Properties.GetSelectedLabel", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Landscape.Properties.GetSelectedPath", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.Properties.IsLocked", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "returns 1 if component is currently locked, 0 if currently unlocked, -1 if unknown" + } + }, + { + "name": "Despair.Landscape.Properties.Lock", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "Unlocks a component of the selected object" + } + }, + { + "name": "Despair.Landscape.Properties.SelectFirst", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Landscape.Properties.SelectItem", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Landscape.Properties.SelectLast", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Landscape.Properties.SelectLeft", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Landscape.Properties.SelectNext", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Landscape.Properties.SelectPrev", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Landscape.Properties.SelectRight", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Landscape.Properties.SetFocus", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.Properties.Unlock", + "namespace": "Despair.Landscape.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "Unlocks a component of the selected object" + } + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.ResetLight", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetAmbientEnabled", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetDirectionalEnabled", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetIndicatorsEnabled", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetIntensity", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetParticleColor", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetSkyColor", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetSpecularity", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetSunColor", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.AmbientLight.SetSunDirection", + "namespace": "Despair.Landscape.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetAltSpeed", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetClearColor", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetDepthOfFieldEnabled", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetDriveSpeed", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFOV", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFarBlurLimit", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFarBlurRange", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFarDistance", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFocalDepth", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetFocalWidth", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetInvertYAxis", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetMoveWithFocus", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetNearBlurLimit", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetNearBlurRange", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetNearDistance", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetPosition", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetRotation", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetUseControllerInput", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.SetZoom", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.FocusCamera.ZoomExtents", + "namespace": "Despair.Landscape.RenderView.FocusCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetBottom", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetColor", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetEnabled", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetEnd", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetMax", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetStart", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetTop", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Fog.SetType", + "namespace": "Despair.Landscape.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Grid.SetAxisEnabled", + "namespace": "Despair.Landscape.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Grid.SetCellSize", + "namespace": "Despair.Landscape.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Grid.SetColor", + "namespace": "Despair.Landscape.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Grid.SetEnabled", + "namespace": "Despair.Landscape.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetAdaptLuminanceEnabled", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetAdaptionExposure", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetAdaptionMax", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetAdaptionMin", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetAdaptionTime", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetBloomScale", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetBrightMax", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetBrightMin", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetHdrEnabled", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetShadowEnabled", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetToneScale", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.Options.SetWireframeEnabled", + "namespace": "Despair.Landscape.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.PointLight.ResetLight", + "namespace": "Despair.Landscape.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.PointLight.SetColor", + "namespace": "Despair.Landscape.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.PointLight.SetEnabled", + "namespace": "Despair.Landscape.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.PointLight.SetIndicatorsEnabled", + "namespace": "Despair.Landscape.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.PointLight.SetRotation", + "namespace": "Despair.Landscape.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ScreenShot.Capture", + "namespace": "Despair.Landscape.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ScreenShot.SetImageDirectory", + "namespace": "Despair.Landscape.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ScreenShot.SetImageHeight", + "namespace": "Despair.Landscape.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ScreenShot.SetImageName", + "namespace": "Despair.Landscape.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ScreenShot.SetImageWidth", + "namespace": "Despair.Landscape.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.SetRenderingEnabled", + "namespace": "Despair.Landscape.RenderView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "True is rendering should be enabled. False if render should be disabled." + } + }, + "@K[203]": "Enables or disables rendering in the render view." + } + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.Reset", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetAltSpeed", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetClearColor", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetDriveSpeed", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetFOV", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetFarDistance", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetInvertYAxis", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetNearDistance", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetPosition", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetRadius", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetRotation", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetShowHelper", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetStyleFly", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetStyleFocus", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetStyleOrtho", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetStyleWalker", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetTerrainCollisionHeight", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetTerrainCollosion", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.SetZoom", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.UpdateCamera", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.RenderView.ToolCamera.ZoomExtents", + "namespace": "Despair.Landscape.RenderView.ToolCamera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Landscape.ResourceView.AddToSourceControl", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Landscape.ResourceView.BeginDrag", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Landscape.ResourceView.CheckIn", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Landscape.ResourceView.CheckOut", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Landscape.ResourceView.CheckOutForMove", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Landscape.ResourceView.CheckOutForRename", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Landscape.ResourceView.CreatePath", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Landscape.ResourceView.Explore", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Landscape.ResourceView.GetLatestVersion", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Landscape.ResourceView.Launch", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Landscape.ResourceView.MakeWritable", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Landscape.ResourceView.Properties", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Landscape.ResourceView.SearchItem", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Landscape.ResourceView.SelectItem", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Landscape.ResourceView.SetFilter", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Landscape.ResourceView.SetFocus", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Landscape.ResourceView.TestLaunch", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Landscape.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Landscape.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Landscape.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Landscape.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Landscape.ResourceView.UndoCheckOut", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Landscape.ResourceView.UndoGet", + "namespace": "Despair.Landscape.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Landscape.SavePreset", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DirName", + "@K[211]": "Directory to save preset in." + } + }, + "@K[203]": "Saves a dsViewportSet file" + } + }, + { + "name": "Despair.Landscape.SetAppMode", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Landscape.StandardToolbar.Execute", + "namespace": "Despair.Landscape.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.StandardToolbar.SetCheck", + "namespace": "Despair.Landscape.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.StandardToolbar.SetString", + "namespace": "Despair.Landscape.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.StartLog", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Landscape.Views.DockView", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Landscape.Views.FloatView", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Landscape.Views.IsVisible", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Landscape.Views.SetFocus", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Landscape.Views.ShowView", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Landscape.Views.ToggleView", + "namespace": "Despair.Landscape.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Landscape.Worlds.AddGroup", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ParentName", + "@K[211]": "Name of the new group's parent item, often another group" + } + }, + "@K[203]": "In the Worlds View, Adds a new group to the world." + } + }, + { + "name": "Despair.Landscape.Worlds.Copy", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to copy" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and copies it." + } + }, + { + "name": "Despair.Landscape.Worlds.Cut", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to cut" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and cuts it." + } + }, + { + "name": "Despair.Landscape.Worlds.Delete", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to delete" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and deletes it." + } + }, + { + "name": "Despair.Landscape.Worlds.Expand", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Landscape.Worlds.FoundLastItem", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Landscape.Worlds.Freeze", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + }, + "2.0": { + "@K[209]": "Freeze", + "@K[211]": "True is Freeze, False is Unfreeze" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets whether it is frozen." + } + }, + { + "name": "Despair.Landscape.Worlds.GetSelectedLabel", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Landscape.Worlds.Rename", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurrentName", + "@K[211]": "Current name of the item" + }, + "2.0": { + "@K[209]": "CurrentName", + "@K[211]": "New name of the item" + } + }, + "@K[203]": "In the Worlds View, Renames the specified item." + } + }, + { + "name": "Despair.Landscape.Worlds.Select", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unclear what this does. Just calls WorldExploreBar::OnPopupSelectGroup()." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectFirst", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectGroupInWorld", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group within the world." + }, + "2.0": { + "@K[209]": "WorldName", + "@K[211]": "Name of the world." + } + }, + "@K[203]": "In the Worlds View, Finds the specified world if it exists, then selects the first group with the specified name." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectItem", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectNext", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectParent", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectPrev", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Landscape.Worlds.SelectTab", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Not Implemented" + } + }, + { + "name": "Despair.Landscape.Worlds.SelectWorld", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Not Implemented" + } + }, + { + "name": "Despair.Landscape.Worlds.SetAsDropPoint", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets it as the drop point." + } + }, + { + "name": "Despair.Landscape.Worlds.SetFocus", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Landscape.Worlds.Toolbar.Execute", + "namespace": "Despair.Landscape.Worlds.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Worlds.Toolbar.SetCheck", + "namespace": "Despair.Landscape.Worlds.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Worlds.Toolbar.SetString", + "namespace": "Despair.Landscape.Worlds.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Landscape.Worlds.Visible", + "namespace": "Despair.Landscape.Worlds", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + }, + "2.0": { + "@K[209]": "Visible", + "@K[211]": "True is Visible, False is Hidden" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets whether it is visible." + } + }, + { + "name": "Despair.Landscape.ZoomSelected", + "namespace": "Despair.Landscape", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Frames the currently selected objects." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.AutomationError", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.AutomationInfo", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.AutomationWarning", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.CreateDirectory", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.FindFiles", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Librarian.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Librarian.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.IsFlexML", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.PathExists", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.StringCompare", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.StringContains", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.StripFileExtension", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Librarian.AutomationUtility.ToLower", + "namespace": "Despair.Librarian.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Librarian.Exit", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Librarian.GenerateDocs", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Librarian.GenerateLuasense", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Librarian.GetToolVersion", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Librarian.LoadLayout", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Librarian.LoadMDILayout", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Librarian.OS.CmdExec", + "namespace": "Despair.Librarian.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Librarian.OS.GetInstallLocation", + "namespace": "Despair.Librarian.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Librarian.OS.GetProjectName", + "namespace": "Despair.Librarian.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Librarian.OS.GetResourceDepotLocation", + "namespace": "Despair.Librarian.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Librarian.OS.ShellExec", + "namespace": "Despair.Librarian.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Librarian.Perforce.Checkin", + "namespace": "Despair.Librarian.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Librarian.Perforce.Checkout", + "namespace": "Despair.Librarian.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Librarian.Perforce.IsCheckedOut", + "namespace": "Despair.Librarian.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Librarian.Perforce.Revert", + "namespace": "Despair.Librarian.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Librarian.Perforce.Sync", + "namespace": "Despair.Librarian.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Librarian.PostMessage", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Librarian.ResourceView.AddToSourceControl", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Librarian.ResourceView.BeginDrag", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Librarian.ResourceView.CheckIn", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Librarian.ResourceView.CheckOut", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Librarian.ResourceView.CheckOutForMove", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Librarian.ResourceView.CheckOutForRename", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Librarian.ResourceView.CreatePath", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Librarian.ResourceView.Explore", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Librarian.ResourceView.GetLatestVersion", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Librarian.ResourceView.Launch", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Librarian.ResourceView.MakeWritable", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Librarian.ResourceView.Properties", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Librarian.ResourceView.SearchItem", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Librarian.ResourceView.SelectItem", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Librarian.ResourceView.SetFilter", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Librarian.ResourceView.SetFocus", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Librarian.ResourceView.TestLaunch", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Librarian.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Librarian.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Librarian.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Librarian.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Librarian.ResourceView.UndoCheckOut", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Librarian.ResourceView.UndoGet", + "namespace": "Despair.Librarian.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Librarian.SetAppMode", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Librarian.StandardToolbar.Execute", + "namespace": "Despair.Librarian.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Librarian.StandardToolbar.SetCheck", + "namespace": "Despair.Librarian.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Librarian.StandardToolbar.SetString", + "namespace": "Despair.Librarian.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Librarian.StartLog", + "namespace": "Despair.Librarian", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.AutomationError", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.AutomationInfo", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.AutomationWarning", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.CreateDirectory", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.FindFiles", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.IsFlexML", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.PathExists", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.StringCompare", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.StringContains", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.StripFileExtension", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Moznosti.AutomationUtility.ToLower", + "namespace": "Despair.Moznosti.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Moznosti.Exit", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Moznosti.File.Close", + "namespace": "Despair.Moznosti.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.Moznosti.File.New", + "namespace": "Despair.Moznosti.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new menu tree." + } + }, + { + "name": "Despair.Moznosti.File.Open", + "namespace": "Despair.Moznosti.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the menu tree that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." + } + }, + { + "name": "Despair.Moznosti.File.Save", + "namespace": "Despair.Moznosti.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.Moznosti.File.SaveAs", + "namespace": "Despair.Moznosti.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurrentName", + "@K[211]": "Path and filename that is currently being used. used to identify the tab to save." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the menu tree." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.Moznosti.GenerateDocs", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Moznosti.GenerateLuasense", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Moznosti.GetToolVersion", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Moznosti.LoadLayout", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Moznosti.LoadMDILayout", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Moznosti.OS.CmdExec", + "namespace": "Despair.Moznosti.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Moznosti.OS.GetInstallLocation", + "namespace": "Despair.Moznosti.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Moznosti.OS.GetProjectName", + "namespace": "Despair.Moznosti.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Moznosti.OS.GetResourceDepotLocation", + "namespace": "Despair.Moznosti.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Moznosti.OS.ShellExec", + "namespace": "Despair.Moznosti.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Moznosti.Perforce.Checkin", + "namespace": "Despair.Moznosti.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Moznosti.Perforce.Checkout", + "namespace": "Despair.Moznosti.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Moznosti.Perforce.IsCheckedOut", + "namespace": "Despair.Moznosti.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Moznosti.Perforce.Revert", + "namespace": "Despair.Moznosti.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Moznosti.Perforce.Sync", + "namespace": "Despair.Moznosti.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Moznosti.PostMessage", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Moznosti.ResourceView.AddToSourceControl", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.BeginDrag", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Moznosti.ResourceView.CheckIn", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.CheckOut", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.CheckOutForMove", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Moznosti.ResourceView.CheckOutForRename", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Moznosti.ResourceView.CreatePath", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.Explore", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.GetLatestVersion", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.Launch", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.MakeWritable", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.Properties", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.SearchItem", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Moznosti.ResourceView.SelectItem", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.SetFilter", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Moznosti.ResourceView.SetFocus", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Moznosti.ResourceView.TestLaunch", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Moznosti.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Moznosti.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Moznosti.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Moznosti.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Moznosti.ResourceView.UndoCheckOut", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Moznosti.ResourceView.UndoGet", + "namespace": "Despair.Moznosti.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Moznosti.SetAppMode", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Moznosti.StandardToolbar.Execute", + "namespace": "Despair.Moznosti.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Moznosti.StandardToolbar.SetCheck", + "namespace": "Despair.Moznosti.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Moznosti.StandardToolbar.SetString", + "namespace": "Despair.Moznosti.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Moznosti.StartLog", + "namespace": "Despair.Moznosti", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Outtake.AddLight", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.AutomationUtility.AutomationError", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.AutomationInfo", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.AutomationWarning", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.CreateDirectory", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.FindFiles", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Outtake.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Outtake.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.IsFlexML", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.PathExists", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.StringCompare", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.StringContains", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.StripFileExtension", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Outtake.AutomationUtility.ToLower", + "namespace": "Despair.Outtake.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Outtake.CameraToolbar.Execute", + "namespace": "Despair.Outtake.CameraToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.CameraToolbar.SetCheck", + "namespace": "Despair.Outtake.CameraToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.CameraToolbar.SetString", + "namespace": "Despair.Outtake.CameraToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.Exit", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Outtake.File.Close", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the cinema that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" + } + }, + { + "name": "Despair.Outtake.File.CloseAll", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." + } + }, + { + "name": "Despair.Outtake.File.New", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new cinema file." + } + }, + { + "name": "Despair.Outtake.File.Open", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the cinema that should be opened." + } + }, + "@K[203]": "Opens the cinema specified by Path." + } + }, + { + "name": "Despair.Outtake.File.Save", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the cinema." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" + } + }, + { + "name": "Despair.Outtake.File.SaveAs", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[75]", + "@K[211]": "File is supposed to refer to the window the suer wants to save, however it currently does nothing." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the cinema." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." + } + }, + { + "name": "Despair.Outtake.File.Validate", + "namespace": "Despair.Outtake.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." + } + }, + { + "name": "Despair.Outtake.GenerateDocs", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Outtake.GenerateLuasense", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Outtake.GetToolVersion", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Outtake.GrabberToolbar.Execute", + "namespace": "Despair.Outtake.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.GrabberToolbar.SetCheck", + "namespace": "Despair.Outtake.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.GrabberToolbar.SetString", + "namespace": "Despair.Outtake.GrabberToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.Keyboard.SendKeyDown", + "namespace": "Despair.Outtake.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Outtake.Keyboard.SendKeyUp", + "namespace": "Despair.Outtake.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Outtake.LoadLayout", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Outtake.LoadMDILayout", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Outtake.LoadWorld", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.ManipulateToolbar.Execute", + "namespace": "Despair.Outtake.ManipulateToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.ManipulateToolbar.SetCheck", + "namespace": "Despair.Outtake.ManipulateToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.ManipulateToolbar.SetString", + "namespace": "Despair.Outtake.ManipulateToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.MergeWorld", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.Mouse.LeftDown", + "namespace": "Despair.Outtake.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Outtake.Mouse.LeftUp", + "namespace": "Despair.Outtake.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Outtake.Mouse.Move", + "namespace": "Despair.Outtake.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Outtake.OS.CmdExec", + "namespace": "Despair.Outtake.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Outtake.OS.GetInstallLocation", + "namespace": "Despair.Outtake.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Outtake.OS.GetProjectName", + "namespace": "Despair.Outtake.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Outtake.OS.GetResourceDepotLocation", + "namespace": "Despair.Outtake.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Outtake.OS.ShellExec", + "namespace": "Despair.Outtake.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Outtake.Perforce.Checkin", + "namespace": "Despair.Outtake.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Outtake.Perforce.Checkout", + "namespace": "Despair.Outtake.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Outtake.Perforce.IsCheckedOut", + "namespace": "Despair.Outtake.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Outtake.Perforce.Revert", + "namespace": "Despair.Outtake.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Outtake.Perforce.Sync", + "namespace": "Despair.Outtake.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Outtake.PlaybackToolbar.Execute", + "namespace": "Despair.Outtake.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.PlaybackToolbar.SetCheck", + "namespace": "Despair.Outtake.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.PlaybackToolbar.SetString", + "namespace": "Despair.Outtake.PlaybackToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.PostMessage", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Outtake.Properties.EditItem", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Outtake.Properties.EditSelectedItem", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Outtake.Properties.Expand", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Outtake.Properties.GetItem", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Outtake.Properties.GetSelectedItem", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Outtake.Properties.GetSelectedLabel", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Outtake.Properties.GetSelectedPath", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Outtake.Properties.SelectFirst", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Outtake.Properties.SelectItem", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Outtake.Properties.SelectLast", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Outtake.Properties.SelectLeft", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Outtake.Properties.SelectNext", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Outtake.Properties.SelectPrev", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Outtake.Properties.SelectRight", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Outtake.Properties.SetFocus", + "namespace": "Despair.Outtake.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Outtake.PropertyDepot.BeginDrag", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.PropertyDepot.GetSelectedLabel", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Outtake.PropertyDepot.SelectFirst", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Outtake.PropertyDepot.SelectItem", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Outtake.PropertyDepot.SelectNext", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Outtake.PropertyDepot.SelectPrev", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Outtake.PropertyDepot.SetFocus", + "namespace": "Despair.Outtake.PropertyDepot", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Outtake.ResourceView.AddToSourceControl", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Outtake.ResourceView.BeginDrag", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Outtake.ResourceView.CheckIn", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Outtake.ResourceView.CheckOut", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Outtake.ResourceView.CheckOutForMove", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Outtake.ResourceView.CheckOutForRename", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Outtake.ResourceView.CreatePath", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Outtake.ResourceView.Explore", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Outtake.ResourceView.GetLatestVersion", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Outtake.ResourceView.Launch", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Outtake.ResourceView.MakeWritable", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Outtake.ResourceView.Properties", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Outtake.ResourceView.SearchItem", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Outtake.ResourceView.SelectItem", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Outtake.ResourceView.SetFilter", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Outtake.ResourceView.SetFocus", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Outtake.ResourceView.TestLaunch", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Outtake.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Outtake.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Outtake.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Outtake.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Outtake.ResourceView.UndoCheckOut", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Outtake.ResourceView.UndoGet", + "namespace": "Despair.Outtake.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Outtake.SetAppMode", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Outtake.StandardToolbar.Execute", + "namespace": "Despair.Outtake.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.StandardToolbar.SetCheck", + "namespace": "Despair.Outtake.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.StandardToolbar.SetString", + "namespace": "Despair.Outtake.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Outtake.StartLog", + "namespace": "Despair.Outtake", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Outtake.TimeFrame.SetSelTime", + "namespace": "Despair.Outtake.TimeFrame", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TimeFrame.SetShuttleTime", + "namespace": "Despair.Outtake.TimeFrame", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TimeFrame.SetViewTime", + "namespace": "Despair.Outtake.TimeFrame", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.AddKey", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.CreateView", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Delete", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.EndDrag", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.MoveKey", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.NoEndTime", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Rename", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.SelectItem", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Outtake.TrackView.SelectKey", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Sequence.AddCut", + "namespace": "Despair.Outtake.TrackView.Sequence", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Sequence.CreateView", + "namespace": "Despair.Outtake.TrackView.Sequence", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Sequence.Delete", + "namespace": "Despair.Outtake.TrackView.Sequence", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.Sequence.EditCamera", + "namespace": "Despair.Outtake.TrackView.Sequence", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.TrackView.SetFocus", + "namespace": "Despair.Outtake.TrackView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Outtake.Views.DockView", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Outtake.Views.FloatView", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Outtake.Views.IsVisible", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Outtake.Views.SetFocus", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Outtake.Views.ShowView", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Outtake.Views.ToggleView", + "namespace": "Despair.Outtake.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Outtake.WorldExplorer.CenterInView", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.WorldExplorer.DeleteWorld", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "N/A" + } + }, + { + "name": "Despair.Outtake.WorldExplorer.List", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Outtake.WorldExplorer.Preview", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Outtake.WorldExplorer.Refresh", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Outtake.WorldExplorer.Report", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Outtake.WorldExplorer.SelectItem", + "namespace": "Despair.Outtake.WorldExplorer", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Poise.AutomationUtility.AutomationError", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Poise.AutomationUtility.AutomationInfo", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Poise.AutomationUtility.AutomationWarning", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Poise.AutomationUtility.CreateDirectory", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Poise.AutomationUtility.FindFiles", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Poise.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Poise.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Poise.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Poise.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Poise.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Poise.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Poise.AutomationUtility.IsFlexML", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Poise.AutomationUtility.PathExists", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Poise.AutomationUtility.StringCompare", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Poise.AutomationUtility.StringContains", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Poise.AutomationUtility.StripFileExtension", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Poise.AutomationUtility.ToLower", + "namespace": "Despair.Poise.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Poise.ComponentProperties.EditItem", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Poise.ComponentProperties.EditSelectedItem", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Poise.ComponentProperties.Expand", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Poise.ComponentProperties.GetItem", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Poise.ComponentProperties.GetSelectedItem", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.ComponentProperties.GetSelectedLabel", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Poise.ComponentProperties.GetSelectedPath", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectFirst", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectItem", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectLast", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectLeft", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectNext", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectPrev", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SelectRight", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Poise.ComponentProperties.SetFocus", + "namespace": "Despair.Poise.ComponentProperties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.Components.BeginDrag", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Type of the component being dragged into the view." + } + }, + "@K[203]": "Simulates adding a component via drag and drop." + } + }, + { + "name": "Despair.Poise.Components.GetSelectedLabel", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.Poise.Components.SelectFirst", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.Poise.Components.SelectItem", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.Poise.Components.SelectNext", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Poise.Components.SelectPrev", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.Poise.Components.SetFocus", + "namespace": "Despair.Poise.Components", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.Exit", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Poise.File.Close", + "namespace": "Despair.Poise.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.Poise.File.New", + "namespace": "Despair.Poise.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new animation." + } + }, + { + "name": "Despair.Poise.File.Open", + "namespace": "Despair.Poise.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the animation that should be opened." + } + }, + "@K[203]": "Opens the animation specified by Path." + } + }, + { + "name": "Despair.Poise.File.Save", + "namespace": "Despair.Poise.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.Poise.File.SaveAs", + "namespace": "Despair.Poise.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the animation." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.Poise.FlowView.AddComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentType", + "@K[211]": "Type of component to add." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of new component." + } + }, + "@K[203]": "Adds a component of the specified type and names it the specified name." + } + }, + { + "name": "Despair.Poise.FlowView.AddToExistingGroup", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to add the selected component to" + } + }, + "@K[203]": "Adds selected component to the group" + } + }, + { + "name": "Despair.Poise.FlowView.AddToNewGroup", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to create and add selected component to" + } + }, + "@K[203]": "Adds selected component to the new group" + } + }, + { + "name": "Despair.Poise.FlowView.CollapseGroup", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to collapse." + } + }, + "@K[203]": "Collapses specified group." + } + }, + { + "name": "Despair.Poise.FlowView.Color", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of red in color" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of green in color" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of blue in color" + } + }, + "@K[203]": "Changes the color of the component" + } + }, + { + "name": "Despair.Poise.FlowView.Comment", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Comment", + "@K[211]": "Comment for the component" + } + }, + "@K[203]": "Write Comments to The Component" + } + }, + { + "name": "Despair.Poise.FlowView.ConnectComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OutputComponent", + "@K[211]": "Name of the destination component." + }, + "2.0": { + "@K[209]": "OutputLink", + "@K[211]": "Name of the destination link." + }, + "3.0": { + "@K[209]": "InputComponent", + "@K[211]": "Name of the source component." + }, + "4.0": { + "@K[209]": "InputLink", + "@K[211]": "Name of the source link." + } + }, + "@K[203]": "Connects specified components at the specified link points." + } + }, + { + "name": "Despair.Poise.FlowView.CurvedLines", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays link connections as curved lines" + } + }, + { + "name": "Despair.Poise.FlowView.Delete", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Removes selected component from graph" + } + }, + { + "name": "Despair.Poise.FlowView.DisconnectComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to unhook." + }, + "2.0": { + "@K[209]": "Link", + "@K[211]": "Name of the link to unhook." + }, + "3.0": { + "@K[209]": "IsOutput", + "@K[211]": "Is this link an output link?" + } + }, + "@K[203]": "Disconnects the specified component from the specified link point." + } + }, + { + "name": "Despair.Poise.FlowView.DropShadow", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Toggles a component shadow in the view" + } + }, + { + "name": "Despair.Poise.FlowView.EndDrag", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new component being dragged into the view." + } + }, + "@K[203]": "Simulates adding a component via drag and drop." + } + }, + { + "name": "Despair.Poise.FlowView.ExpandGroup", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to expand." + } + }, + "@K[203]": "Expands specified group." + } + }, + { + "name": "Despair.Poise.FlowView.GetComponentItemValue", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to get." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to get." + } + }, + "@K[203]": "Gets the specified component property item as a string." + } + }, + { + "name": "Despair.Poise.FlowView.GroupComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to group." + }, + "2.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group the component should be added to." + } + }, + "@K[203]": "Adds specified group to the specified group. Creates group if needed." + } + }, + { + "name": "Despair.Poise.FlowView.Label", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Name of property to rename" + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name for the property" + } + }, + "@K[203]": "Changes the name of a components property" + } + }, + { + "name": "Despair.Poise.FlowView.ModifyComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to modify." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to modify." + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "New value for the specified property." + } + }, + "@K[203]": "Changes the specified component and property to the value given." + } + }, + { + "name": "Despair.Poise.FlowView.Name", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component" + } + }, + "@K[203]": "Changes the name of the selected component" + } + }, + { + "name": "Despair.Poise.FlowView.Redo", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Reverses your previous Undo" + } + }, + { + "name": "Despair.Poise.FlowView.RemoveFromGroup", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Removes component from its containing group" + } + }, + { + "name": "Despair.Poise.FlowView.RenameSelected", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "New name for selected component" + } + }, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.FlowView.SelectComponent", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of component to select." + } + }, + "@K[203]": "Selects component with the sepcified name." + } + }, + { + "name": "Despair.Poise.FlowView.SetComponentPos", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to position." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X axis position." + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y axis positoin." + } + }, + "@K[203]": "Positions the component." + } + }, + { + "name": "Despair.Poise.FlowView.SetFocus", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.FlowView.StraightLines", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays link connections as stright lines" + } + }, + { + "name": "Despair.Poise.FlowView.Undo", + "namespace": "Despair.Poise.FlowView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Reverses your last action" + } + }, + { + "name": "Despair.Poise.GenerateDocs", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Poise.GenerateLuasense", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Poise.GetToolVersion", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Poise.LoadLayout", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Poise.LoadMDILayout", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Poise.OS.CmdExec", + "namespace": "Despair.Poise.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Poise.OS.GetInstallLocation", + "namespace": "Despair.Poise.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Poise.OS.GetProjectName", + "namespace": "Despair.Poise.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Poise.OS.GetResourceDepotLocation", + "namespace": "Despair.Poise.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Poise.OS.ShellExec", + "namespace": "Despair.Poise.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Poise.Perforce.Checkin", + "namespace": "Despair.Poise.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Poise.Perforce.Checkout", + "namespace": "Despair.Poise.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Poise.Perforce.IsCheckedOut", + "namespace": "Despair.Poise.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Poise.Perforce.Revert", + "namespace": "Despair.Poise.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Poise.Perforce.Sync", + "namespace": "Despair.Poise.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Poise.PostMessage", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Poise.Preview.GetPlaybackScale", + "namespace": "Despair.Poise.Preview", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the current rate the model is animating." + } + }, + { + "name": "Despair.Poise.Preview.SetPlaybackScale", + "namespace": "Despair.Poise.Preview", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "How fast/slow the model will animate. Percentage based. 1 = normal speed" + } + }, + { + "name": "Despair.Poise.Preview.Toolbar.Execute", + "namespace": "Despair.Poise.Preview.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.Preview.Toolbar.SetCheck", + "namespace": "Despair.Poise.Preview.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.Preview.Toolbar.SetString", + "namespace": "Despair.Poise.Preview.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.ProjectEdit.Open", + "namespace": "Despair.Poise.ProjectEdit", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + } + }, + "@K[203]": "Opens a Animation Project" + } + }, + { + "name": "Despair.Poise.ProjectEdit.Save", + "namespace": "Despair.Poise.ProjectEdit", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently opened Animation Project" + } + }, + { + "name": "Despair.Poise.Properties.EditItem", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Poise.Properties.EditSelectedItem", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Poise.Properties.Expand", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Poise.Properties.GetItem", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Poise.Properties.GetSelectedItem", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.Properties.GetSelectedLabel", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Poise.Properties.GetSelectedPath", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.Properties.SelectFirst", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Poise.Properties.SelectItem", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Poise.Properties.SelectLast", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Poise.Properties.SelectLeft", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Poise.Properties.SelectNext", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Poise.Properties.SelectPrev", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Poise.Properties.SelectRight", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Poise.Properties.SetFocus", + "namespace": "Despair.Poise.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.ResourceView.AddToSourceControl", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Poise.ResourceView.BeginDrag", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Poise.ResourceView.CheckIn", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Poise.ResourceView.CheckOut", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Poise.ResourceView.CheckOutForMove", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Poise.ResourceView.CheckOutForRename", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Poise.ResourceView.CreatePath", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Poise.ResourceView.Explore", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Poise.ResourceView.GetLatestVersion", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Poise.ResourceView.Launch", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Poise.ResourceView.MakeWritable", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Poise.ResourceView.Properties", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Poise.ResourceView.SearchItem", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Poise.ResourceView.SelectItem", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Poise.ResourceView.SetFilter", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Poise.ResourceView.SetFocus", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Poise.ResourceView.TestLaunch", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Poise.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Poise.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Poise.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Poise.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Poise.ResourceView.UndoCheckOut", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Poise.ResourceView.UndoGet", + "namespace": "Despair.Poise.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Poise.SetAppMode", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Poise.StandardToolbar.Execute", + "namespace": "Despair.Poise.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.StandardToolbar.SetCheck", + "namespace": "Despair.Poise.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.StandardToolbar.SetString", + "namespace": "Despair.Poise.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Poise.StartLog", + "namespace": "Despair.Poise", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Poise.StateEditor.Activate", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Opens the state machine editor for the selected component" + } + }, + { + "name": "Despair.Poise.StateEditor.AddIncomingCondition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the condition to add" + } + }, + "@K[203]": "Add a condition to a specified state link" + } + }, + { + "name": "Despair.Poise.StateEditor.AddOutgoingCondition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the condition to add" + } + }, + "@K[203]": "Add a condition to a specified state link" + } + }, + { + "name": "Despair.Poise.StateEditor.AddTag", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the tag from the popup menu to add" + } + }, + "@K[203]": "Adds the specified tag to the node list" + } + }, + { + "name": "Despair.Poise.StateEditor.Cancel", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Cancels all changes from the state machine and closes it" + } + }, + { + "name": "Despair.Poise.StateEditor.DeleteIncomingCondition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes the specified tag from the specified link" + } + }, + { + "name": "Despair.Poise.StateEditor.DeleteIncomingState", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes the specified outgoing state" + } + }, + { + "name": "Despair.Poise.StateEditor.DeleteOutgoingCondition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes the specified tag from the specified link" + } + }, + { + "name": "Despair.Poise.StateEditor.DeleteOutgoingState", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes the specified outgoing state" + } + }, + { + "name": "Despair.Poise.StateEditor.DeleteTag", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the specified tag to the node list" + } + }, + { + "name": "Despair.Poise.StateEditor.Property.EditItem", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Poise.StateEditor.Property.EditSelectedItem", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.Expand", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Poise.StateEditor.Property.GetItem", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Poise.StateEditor.Property.GetSelectedItem", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.GetSelectedLabel", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.GetSelectedPath", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectFirst", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectItem", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectLast", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectLeft", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectNext", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectPrev", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SelectRight", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Poise.StateEditor.Property.SetFocus", + "namespace": "Despair.Poise.StateEditor.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.StateEditor.Save", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves all changes from the state machine and closes it" + } + }, + { + "name": "Despair.Poise.StateEditor.SelectIncomingState", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the specified incoming state" + } + }, + { + "name": "Despair.Poise.StateEditor.SelectIncomingTransition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the specified incoming transition" + } + }, + { + "name": "Despair.Poise.StateEditor.SelectOutgoingState", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the specified outgoing state" + } + }, + { + "name": "Despair.Poise.StateEditor.SelectOutgoingTransition", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the specified outgoing transition" + } + }, + { + "name": "Despair.Poise.StateEditor.SelectTag", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the tag to select" + } + }, + "@K[203]": "Selects the specified tag from the tag list" + } + }, + { + "name": "Despair.Poise.StateEditor.SeverIncomingLink", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Severs the link from the specified link" + } + }, + { + "name": "Despair.Poise.StateEditor.SeverOutgoingLink", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Severs the link from the specified link" + } + }, + { + "name": "Despair.Poise.StateEditor.States.Delete", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Deletes the specified state / conduit" + } + }, + { + "name": "Despair.Poise.StateEditor.States.DragStateIncoming", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state / condition to drag" + } + }, + "@K[203]": "Drags the specified state / conduit onto the graph" + } + }, + { + "name": "Despair.Poise.StateEditor.States.DragStateOutgoing", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state / condition to drag" + } + }, + "@K[203]": "Drags the specified state / conduit onto the graph" + } + }, + { + "name": "Despair.Poise.StateEditor.States.Expand", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Poise.StateEditor.States.FoundLastItem", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Poise.StateEditor.States.GetSelectedLabel", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Poise.StateEditor.States.NewConduit", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the conduit to create" + } + }, + "@K[203]": "Creates a new conduit" + } + }, + { + "name": "Despair.Poise.StateEditor.States.NewState", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state to create" + } + }, + "@K[203]": "Creates a new state" + } + }, + { + "name": "Despair.Poise.StateEditor.States.SelectFirst", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.States.SelectItem", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Poise.StateEditor.States.SelectNext", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Poise.StateEditor.States.SelectParent", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Poise.StateEditor.States.SelectPrev", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Poise.StateEditor.States.SetFocus", + "namespace": "Despair.Poise.StateEditor.States", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Poise.StateEditor.SymmetricIncoming", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs the symetric function on the specified link" + } + }, + { + "name": "Despair.Poise.StateEditor.SymmetricOutgoing", + "namespace": "Despair.Poise.StateEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs the symetric function on the specified link" + } + }, + { + "name": "Despair.Poise.VarEdit.Edit", + "namespace": "Despair.Poise.VarEdit", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Value of the variable to modify" + } + }, + "@K[203]": "Change the value of a animation variable directly in the graph" + } + }, + { + "name": "Despair.Poise.VarEdit.EditUI", + "namespace": "Despair.Poise.VarEdit", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Value of the variable to modify" + } + }, + "@K[203]": "Change the value of a animation variable thru the preview UI" + } + }, + { + "name": "Despair.Poise.VarEdit.RightClick", + "namespace": "Despair.Poise.VarEdit", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to right click" + } + }, + "@K[203]": "Performs a mouse right click on the specified variable" + } + }, + { + "name": "Despair.Poise.Views.DockView", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Poise.Views.FloatView", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Poise.Views.IsVisible", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Poise.Views.SetFocus", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Poise.Views.ShowView", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Poise.Views.ToggleView", + "namespace": "Despair.Poise.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.ProfileEditor.Action.AddBinding", + "namespace": "Despair.ProfileEditor.Action", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "InputName", + "@K[211]": "Name of the Input to bind." + }, + "2.0": { + "@K[209]": "BindingName", + "@K[211]": "Name of bind." + } + }, + "@K[203]": "Adds a input binding to the specified controller button." + } + }, + { + "name": "Despair.ProfileEditor.Action.RemoveBinding", + "namespace": "Despair.ProfileEditor.Action", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ActionName", + "@K[211]": "Name of action to add input binding to." + } + }, + "@K[203]": "Removes a input binding from the specified controller button." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.AutomationError", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.AutomationInfo", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.AutomationWarning", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.CreateDirectory", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.FindFiles", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.FindFilesWithName", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.GetFileFromPath", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.GetFileOpenError", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.IsFlexML", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.PathExists", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.StringCompare", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.StringContains", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.StripFileExtension", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.ProfileEditor.AutomationUtility.ToLower", + "namespace": "Despair.ProfileEditor.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.AddConfiguration", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to add." + } + }, + "@K[203]": "Adds a new configuration with the desired name.)" + } + }, + { + "name": "Despair.ProfileEditor.Configuration.CopyConfiguration", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to copy." + } + }, + "@K[203]": "Copies the desired configuration." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.GetSelectedLabel", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.PasteConfiguration", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new pasted config." + } + }, + "@K[203]": "Pastes the previously copied configuratin with the desired name." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.RemoveConfiguration", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to remove." + } + }, + "@K[203]": "Removes the desired configuration." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.SelectFirst", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.SelectItem", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " + } + }, + { + "name": "Despair.ProfileEditor.Configuration.SelectNext", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.SelectPrev", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." + } + }, + { + "name": "Despair.ProfileEditor.Configuration.SetFocus", + "namespace": "Despair.ProfileEditor.Configuration", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ProfileEditor.Exit", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.ProfileEditor.File.Close", + "namespace": "Despair.ProfileEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.ProfileEditor.File.New", + "namespace": "Despair.ProfileEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new profile." + } + }, + { + "name": "Despair.ProfileEditor.File.Open", + "namespace": "Despair.ProfileEditor.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the profile that should be opened." + } + }, + "@K[203]": "Opens the profile specified by Path." + } + }, + { + "name": "Despair.ProfileEditor.File.Save", + "namespace": "Despair.ProfileEditor.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.ProfileEditor.File.SaveAs", + "namespace": "Despair.ProfileEditor.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the profile." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.ProfileEditor.GenerateDocs", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.ProfileEditor.GenerateLuasense", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.ProfileEditor.GetToolVersion", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.ProfileEditor.Keyboard.SendKeyDown", + "namespace": "Despair.ProfileEditor.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.ProfileEditor.Keyboard.SendKeyUp", + "namespace": "Despair.ProfileEditor.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.ProfileEditor.LoadLayout", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.ProfileEditor.LoadMDILayout", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.ProfileEditor.Mouse.LeftDown", + "namespace": "Despair.ProfileEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.ProfileEditor.Mouse.LeftUp", + "namespace": "Despair.ProfileEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.ProfileEditor.Mouse.Move", + "namespace": "Despair.ProfileEditor.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.ProfileEditor.OS.CmdExec", + "namespace": "Despair.ProfileEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.ProfileEditor.OS.GetInstallLocation", + "namespace": "Despair.ProfileEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.ProfileEditor.OS.GetProjectName", + "namespace": "Despair.ProfileEditor.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.ProfileEditor.OS.GetResourceDepotLocation", + "namespace": "Despair.ProfileEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.ProfileEditor.OS.ShellExec", + "namespace": "Despair.ProfileEditor.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.ProfileEditor.Object.AddType", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Parameters : 1 : (string)" + } + }, + { + "name": "Despair.ProfileEditor.Object.Expand", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.ProfileEditor.Object.FoundLastItem", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.ProfileEditor.Object.GetSelectedLabel", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.ProfileEditor.Object.RemoveType", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Parameters : 1 : (string)" + } + }, + { + "name": "Despair.ProfileEditor.Object.SelectFirst", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.ProfileEditor.Object.SelectItem", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.ProfileEditor.Object.SelectNext", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.ProfileEditor.Object.SelectParent", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.ProfileEditor.Object.SelectPrev", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.ProfileEditor.Object.SetFocus", + "namespace": "Despair.ProfileEditor.Object", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ProfileEditor.Perforce.Checkin", + "namespace": "Despair.ProfileEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.ProfileEditor.Perforce.Checkout", + "namespace": "Despair.ProfileEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.ProfileEditor.Perforce.IsCheckedOut", + "namespace": "Despair.ProfileEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.ProfileEditor.Perforce.Revert", + "namespace": "Despair.ProfileEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.ProfileEditor.Perforce.Sync", + "namespace": "Despair.ProfileEditor.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.ProfileEditor.PostMessage", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.EditItem", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.EditSelectedItem", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.Expand", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.GetItem", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.GetSelectedItem", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.GetSelectedLabel", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.GetSelectedPath", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectFirst", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectItem", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectLast", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectLeft", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectNext", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectPrev", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SelectRight", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.ProfileEditor.PropertyView.SetFocus", + "namespace": "Despair.ProfileEditor.PropertyView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.AddToSourceControl", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.BeginDrag", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.CheckIn", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.CheckOut", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.CheckOutForMove", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.CheckOutForRename", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.CreatePath", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Explore", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.GetLatestVersion", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Launch", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.MakeWritable", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Properties", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.SearchItem", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.SelectItem", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.SetFilter", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.SetFocus", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.TestLaunch", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Toolbar_Refresh", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.UndoCheckOut", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.ProfileEditor.ResourceView.UndoGet", + "namespace": "Despair.ProfileEditor.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.ProfileEditor.SetAppMode", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.ProfileEditor.StandardToolbar.Execute", + "namespace": "Despair.ProfileEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.ProfileEditor.StandardToolbar.SetCheck", + "namespace": "Despair.ProfileEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ProfileEditor.StandardToolbar.SetString", + "namespace": "Despair.ProfileEditor.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.ProfileEditor.StartLog", + "namespace": "Despair.ProfileEditor", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.ProfileEditor.Views.DockView", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.ProfileEditor.Views.FloatView", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.ProfileEditor.Views.IsVisible", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.ProfileEditor.Views.SetFocus", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.ProfileEditor.Views.ShowView", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.ProfileEditor.Views.ToggleView", + "namespace": "Despair.ProfileEditor.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Smash.AutomationUtility.AutomationError", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Smash.AutomationUtility.AutomationInfo", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Smash.AutomationUtility.AutomationWarning", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Smash.AutomationUtility.CreateDirectory", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Smash.AutomationUtility.FindFiles", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Smash.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Smash.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Smash.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Smash.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Smash.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Smash.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Smash.AutomationUtility.IsFlexML", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Smash.AutomationUtility.PathExists", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Smash.AutomationUtility.StringCompare", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Smash.AutomationUtility.StringContains", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Smash.AutomationUtility.StripFileExtension", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Smash.AutomationUtility.ToLower", + "namespace": "Despair.Smash.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Smash.Exit", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Smash.File.NewSubstance", + "namespace": "Despair.Smash.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new susbtance." + } + }, + "@K[203]": "Creates a new substance." + } + }, + { + "name": "Despair.Smash.File.RefreshList", + "namespace": "Despair.Smash.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Refreshes the list of substances" + } + }, + { + "name": "Despair.Smash.File.SaveAll", + "namespace": "Despair.Smash.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves all substance files." + } + }, + { + "name": "Despair.Smash.GenerateDocs", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Smash.GenerateLuasense", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Smash.GetToolVersion", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Smash.Keyboard.SendKeyDown", + "namespace": "Despair.Smash.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Smash.Keyboard.SendKeyUp", + "namespace": "Despair.Smash.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Smash.LoadLayout", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Smash.LoadMDILayout", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Smash.Mouse.LeftDown", + "namespace": "Despair.Smash.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Smash.Mouse.LeftUp", + "namespace": "Despair.Smash.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Smash.Mouse.Move", + "namespace": "Despair.Smash.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Smash.OS.CmdExec", + "namespace": "Despair.Smash.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Smash.OS.GetInstallLocation", + "namespace": "Despair.Smash.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Smash.OS.GetProjectName", + "namespace": "Despair.Smash.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Smash.OS.GetResourceDepotLocation", + "namespace": "Despair.Smash.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Smash.OS.ShellExec", + "namespace": "Despair.Smash.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Smash.Perforce.Checkin", + "namespace": "Despair.Smash.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Smash.Perforce.Checkout", + "namespace": "Despair.Smash.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Smash.Perforce.IsCheckedOut", + "namespace": "Despair.Smash.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Smash.Perforce.Revert", + "namespace": "Despair.Smash.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Smash.Perforce.Sync", + "namespace": "Despair.Smash.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Smash.PostMessage", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Smash.Property.EditItem", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Smash.Property.EditSelectedItem", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Smash.Property.Expand", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Smash.Property.GetItem", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Smash.Property.GetSelectedItem", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Smash.Property.GetSelectedLabel", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Smash.Property.GetSelectedPath", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Smash.Property.SelectFirst", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Smash.Property.SelectItem", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Smash.Property.SelectLast", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Smash.Property.SelectLeft", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Smash.Property.SelectNext", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Smash.Property.SelectPrev", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Smash.Property.SelectRight", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Smash.Property.SetFocus", + "namespace": "Despair.Smash.Property", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Smash.Property.Toolbar.Execute", + "namespace": "Despair.Smash.Property.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.Property.Toolbar.SetCheck", + "namespace": "Despair.Smash.Property.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.Property.Toolbar.SetString", + "namespace": "Despair.Smash.Property.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.ResourceView.AddToSourceControl", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Smash.ResourceView.BeginDrag", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Smash.ResourceView.CheckIn", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Smash.ResourceView.CheckOut", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Smash.ResourceView.CheckOutForMove", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Smash.ResourceView.CheckOutForRename", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Smash.ResourceView.CreatePath", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Smash.ResourceView.Explore", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Smash.ResourceView.GetLatestVersion", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Smash.ResourceView.Launch", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Smash.ResourceView.MakeWritable", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Smash.ResourceView.Properties", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Smash.ResourceView.SearchItem", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Smash.ResourceView.SelectItem", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Smash.ResourceView.SetFilter", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Smash.ResourceView.SetFocus", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Smash.ResourceView.TestLaunch", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Smash.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Smash.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Smash.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Smash.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Smash.ResourceView.UndoCheckOut", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Smash.ResourceView.UndoGet", + "namespace": "Despair.Smash.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Smash.SetAppMode", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Smash.StandardToolbar.Execute", + "namespace": "Despair.Smash.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.StandardToolbar.SetCheck", + "namespace": "Despair.Smash.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.StandardToolbar.SetString", + "namespace": "Despair.Smash.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Smash.StartLog", + "namespace": "Despair.Smash", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Smash.Substances.Destination.Expand", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Smash.Substances.Destination.FoundLastItem", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Smash.Substances.Destination.GetSelectedLabel", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SelectFirst", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SelectItem", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SelectNext", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SelectParent", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SelectPrev", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Destination.SetFocus", + "namespace": "Despair.Smash.Substances.Destination", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Smash.Substances.Source.Expand", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Smash.Substances.Source.FoundLastItem", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Smash.Substances.Source.GetSelectedLabel", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Smash.Substances.Source.SelectFirst", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Smash.Substances.Source.SelectItem", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Smash.Substances.Source.SelectNext", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Source.SelectParent", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Source.SelectPrev", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Smash.Substances.Source.SetFocus", + "namespace": "Despair.Smash.Substances.Source", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Smash.Views.DockView", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Smash.Views.FloatView", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Smash.Views.IsVisible", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Smash.Views.SetFocus", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Smash.Views.ShowView", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Smash.Views.ToggleView", + "namespace": "Despair.Smash.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.AutomationError", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.AutomationInfo", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.AutomationWarning", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.CreateDirectory", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.FindFiles", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.FindFilesWithName", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.GetFileFromPath", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.GetFileOpenError", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.GetFolderFromPath", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" + } + }, + { + "name": "Despair.Spectator.AutomationUtility.GetResourceFromPath", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" + } + }, + { + "name": "Despair.Spectator.AutomationUtility.IsFileMiniPack", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.IsFlexML", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.PathExists", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.StringCompare", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.StringContains", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.StripFileExtension", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." + } + }, + { + "name": "Despair.Spectator.AutomationUtility.ToLower", + "namespace": "Despair.Spectator.AutomationUtility", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." + } + }, + { + "name": "Despair.Spectator.Exit", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "Despair.Spectator.File.Close", + "namespace": "Despair.Spectator.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Closes the file." + } + }, + { + "name": "Despair.Spectator.File.New", + "namespace": "Despair.Spectator.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a new effect." + } + }, + { + "name": "Despair.Spectator.File.Open", + "namespace": "Despair.Spectator.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." + } + }, + { + "name": "Despair.Spectator.File.Save", + "namespace": "Despair.Spectator.File", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." + } + }, + { + "name": "Despair.Spectator.File.SaveAs", + "namespace": "Despair.Spectator.File", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." + } + }, + { + "name": "Despair.Spectator.GenerateDocs", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "Despair.Spectator.GenerateLuasense", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "Despair.Spectator.GetToolVersion", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[226]" + } + }, + { + "name": "Despair.Spectator.Hierarchy.Expand", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." + } + }, + { + "name": "Despair.Spectator.Hierarchy.FoundLastItem", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." + } + }, + { + "name": "Despair.Spectator.Hierarchy.GetSelectedLabel", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SelectFirst", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SelectItem", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SelectNext", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SelectParent", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SelectPrev", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." + } + }, + { + "name": "Despair.Spectator.Hierarchy.SetFocus", + "namespace": "Despair.Spectator.Hierarchy", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Spectator.Keyboard.SendKeyDown", + "namespace": "Despair.Spectator.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." + } + }, + { + "name": "Despair.Spectator.Keyboard.SendKeyUp", + "namespace": "Despair.Spectator.Keyboard", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." + } + }, + { + "name": "Despair.Spectator.LoadEnvironmentPreset", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" + } + }, + { + "name": "Despair.Spectator.LoadLayout", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Spectator.LoadMDILayout", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" + } + }, + { + "name": "Despair.Spectator.Mouse.LeftDown", + "namespace": "Despair.Spectator.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Spectator.Mouse.LeftUp", + "namespace": "Despair.Spectator.Mouse", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." + } + }, + { + "name": "Despair.Spectator.Mouse.Move", + "namespace": "Despair.Spectator.Mouse", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." + } + }, + { + "name": "Despair.Spectator.OS.CmdExec", + "namespace": "Despair.Spectator.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" + } + }, + { + "name": "Despair.Spectator.OS.GetInstallLocation", + "namespace": "Despair.Spectator.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" + } + }, + { + "name": "Despair.Spectator.OS.GetProjectName", + "namespace": "Despair.Spectator.OS", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" + } + }, + { + "name": "Despair.Spectator.OS.GetResourceDepotLocation", + "namespace": "Despair.Spectator.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" + } + }, + { + "name": "Despair.Spectator.OS.ShellExec", + "namespace": "Despair.Spectator.OS", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " + } + }, + { + "name": "Despair.Spectator.ObjectInfo.EditItem", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.ObjectInfo.EditSelectedItem", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.Expand", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Spectator.ObjectInfo.GetItem", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.ObjectInfo.GetSelectedItem", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.GetSelectedLabel", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.GetSelectedPath", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectFirst", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectItem", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectLast", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectLeft", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectNext", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectPrev", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SelectRight", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Spectator.ObjectInfo.SetFocus", + "namespace": "Despair.Spectator.ObjectInfo", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Spectator.Perforce.Checkin", + "namespace": "Despair.Spectator.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." + } + }, + { + "name": "Despair.Spectator.Perforce.Checkout", + "namespace": "Despair.Spectator.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Spectator.Perforce.IsCheckedOut", + "namespace": "Despair.Spectator.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." + } + }, + { + "name": "Despair.Spectator.Perforce.Revert", + "namespace": "Despair.Spectator.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." + } + }, + { + "name": "Despair.Spectator.Perforce.Sync", + "namespace": "Despair.Spectator.Perforce", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." + } + }, + { + "name": "Despair.Spectator.PostMessage", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" + } + }, + { + "name": "Despair.Spectator.Properties.EditItem", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.Properties.EditSelectedItem", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." + } + }, + { + "name": "Despair.Spectator.Properties.Expand", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" + } + }, + { + "name": "Despair.Spectator.Properties.GetItem", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.Properties.GetSelectedItem", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." + } + }, + { + "name": "Despair.Spectator.Properties.GetSelectedLabel", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." + } + }, + { + "name": "Despair.Spectator.Properties.GetSelectedPath", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." + } + }, + { + "name": "Despair.Spectator.Properties.SelectFirst", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." + } + }, + { + "name": "Despair.Spectator.Properties.SelectItem", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " + } + }, + { + "name": "Despair.Spectator.Properties.SelectLast", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." + } + }, + { + "name": "Despair.Spectator.Properties.SelectLeft", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." + } + }, + { + "name": "Despair.Spectator.Properties.SelectNext", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." + } + }, + { + "name": "Despair.Spectator.Properties.SelectPrev", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." + } + }, + { + "name": "Despair.Spectator.Properties.SelectRight", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." + } + }, + { + "name": "Despair.Spectator.Properties.SetFocus", + "namespace": "Despair.Spectator.Properties", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." + } + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.ResetLight", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetAmbientEnabled", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetDirectionalEnabled", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetIndicatorsEnabled", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetIntensity", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetParticleColor", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetSkyColor", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetSpecularity", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetSunColor", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.AmbientLight.SetSunDirection", + "namespace": "Despair.Spectator.RenderView.AmbientLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetAltSpeed", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetClearColor", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetDepthOfFieldEnabled", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetDriveSpeed", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFOV", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFarBlurLimit", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFarBlurRange", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFarDistance", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFocalDepth", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetFocalWidth", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetInvertYAxis", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetMoveWithFocus", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetNearBlurLimit", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetNearBlurRange", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetNearDistance", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetPosition", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetRotation", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetUseControllerInput", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.SetZoom", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Camera.ZoomExtents", + "namespace": "Despair.Spectator.RenderView.Camera", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetBottom", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetColor", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetEnabled", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetEnd", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetMax", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetStart", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetTop", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Fog.SetType", + "namespace": "Despair.Spectator.RenderView.Fog", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Grid.SetAxisEnabled", + "namespace": "Despair.Spectator.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Grid.SetCellSize", + "namespace": "Despair.Spectator.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Grid.SetColor", + "namespace": "Despair.Spectator.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Grid.SetEnabled", + "namespace": "Despair.Spectator.RenderView.Grid", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetAdaptLuminanceEnabled", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetAdaptionExposure", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetAdaptionMax", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetAdaptionMin", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetAdaptionTime", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetBloomScale", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetBrightMax", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetBrightMin", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetHdrEnabled", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetShadowEnabled", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetToneScale", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.Options.SetWireframeEnabled", + "namespace": "Despair.Spectator.RenderView.Options", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.PointLight.ResetLight", + "namespace": "Despair.Spectator.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.PointLight.SetColor", + "namespace": "Despair.Spectator.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.PointLight.SetEnabled", + "namespace": "Despair.Spectator.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.PointLight.SetIndicatorsEnabled", + "namespace": "Despair.Spectator.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.PointLight.SetRotation", + "namespace": "Despair.Spectator.RenderView.PointLight", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.ScreenShot.Capture", + "namespace": "Despair.Spectator.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.ScreenShot.SetImageDirectory", + "namespace": "Despair.Spectator.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.ScreenShot.SetImageHeight", + "namespace": "Despair.Spectator.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.ScreenShot.SetImageName", + "namespace": "Despair.Spectator.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.ScreenShot.SetImageWidth", + "namespace": "Despair.Spectator.RenderView.ScreenShot", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.SkyDome.SetEnabled", + "namespace": "Despair.Spectator.RenderView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.RenderView.SkyDome.SetModel", + "namespace": "Despair.Spectator.RenderView.SkyDome", + "signature": null, + "calltip": {} + }, + { + "name": "Despair.Spectator.ResourceView.AddToSourceControl", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " + } + }, + { + "name": "Despair.Spectator.ResourceView.BeginDrag", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." + } + }, + { + "name": "Despair.Spectator.ResourceView.CheckIn", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " + } + }, + { + "name": "Despair.Spectator.ResourceView.CheckOut", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " + } + }, + { + "name": "Despair.Spectator.ResourceView.CheckOutForMove", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." + } + }, + { + "name": "Despair.Spectator.ResourceView.CheckOutForRename", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" + } + }, + { + "name": "Despair.Spectator.ResourceView.CreatePath", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " + } + }, + { + "name": "Despair.Spectator.ResourceView.Explore", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " + } + }, + { + "name": "Despair.Spectator.ResourceView.GetLatestVersion", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " + } + }, + { + "name": "Despair.Spectator.ResourceView.Launch", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " + } + }, + { + "name": "Despair.Spectator.ResourceView.MakeWritable", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " + } + }, + { + "name": "Despair.Spectator.ResourceView.Properties", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " + } + }, + { + "name": "Despair.Spectator.ResourceView.SearchItem", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." + } + }, + { + "name": "Despair.Spectator.ResourceView.SelectItem", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " + } + }, + { + "name": "Despair.Spectator.ResourceView.SetFilter", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." + } + }, + { + "name": "Despair.Spectator.ResourceView.SetFocus", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Spectator.ResourceView.TestLaunch", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar.Execute", + "namespace": "Despair.Spectator.ResourceView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar.SetCheck", + "namespace": "Despair.Spectator.ResourceView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar.SetString", + "namespace": "Despair.Spectator.ResourceView.Toolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar_AutoRefresh", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar_Refresh", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar_RefreshCurrent", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." + } + }, + { + "name": "Despair.Spectator.ResourceView.Toolbar_ShowPreview", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." + } + }, + { + "name": "Despair.Spectator.ResourceView.UndoCheckOut", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " + } + }, + { + "name": "Despair.Spectator.ResourceView.UndoGet", + "namespace": "Despair.Spectator.ResourceView", + "signature": null, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " + } + }, + { + "name": "Despair.Spectator.SaveEnvironmentPreset", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" + } + }, + { + "name": "Despair.Spectator.SetAppMode", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "Despair.Spectator.StandardToolbar.Execute", + "namespace": "Despair.Spectator.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.StandardToolbar.SetCheck", + "namespace": "Despair.Spectator.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.StandardToolbar.SetString", + "namespace": "Despair.Spectator.StandardToolbar", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." + } + }, + { + "name": "Despair.Spectator.StartLog", + "namespace": "Despair.Spectator", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "Despair.Spectator.Views.DockView", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." + } + }, + { + "name": "Despair.Spectator.Views.FloatView", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." + } + }, + { + "name": "Despair.Spectator.Views.IsVisible", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." + } + }, + { + "name": "Despair.Spectator.Views.SetFocus", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." + } + }, + { + "name": "Despair.Spectator.Views.ShowView", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." + } + }, + { + "name": "Despair.Spectator.Views.ToggleView", + "namespace": "Despair.Spectator.Views", + "signature": null, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." + } + }, + { + "name": "Door.Enable", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 291 + }, + "calltip": null + }, + { + "name": "Door.GetPosition", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 293 + }, + "calltip": null + }, + { + "name": "Door.GetStatus", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 295 + }, + "calltip": null + }, + { + "name": "Door.Lock", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 297 + }, + "calltip": null + }, + { + "name": "Door.LockSilent", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 299 + }, + "calltip": null + }, + { + "name": "Door.MoveToNextPosition", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 301 + }, + "calltip": null + }, + { + "name": "Door.MoveToPercentPosition", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 303 + }, + "calltip": null + }, + { + "name": "Door.MoveToPercentPositionSilent", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 305 + }, + "calltip": null + }, + { + "name": "Door.MoveToPercentPositionWithSpeedAndAcceleration", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 307 + }, + "calltip": null + }, + { + "name": "Door.MoveToPresetPosition", + "namespace": "Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 309 + }, + "calltip": null + }, + { + "name": "Energy.AdjustEnergyLevel", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 311 + }, + "calltip": null + }, + { + "name": "Energy.EnableAutoFill", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 313 + }, + "calltip": null + }, + { + "name": "Energy.GetEnergyFillRate", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 315 + }, + "calltip": null + }, + { + "name": "Energy.GetEnergyLevel", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 317 + }, + "calltip": null + }, + { + "name": "Energy.ResetEnergyDrainRate", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 319 + }, + "calltip": null + }, + { + "name": "Energy.ResetEnergyFillRate", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 321 + }, + "calltip": null + }, + { + "name": "Energy.SetEnergyDrainRate", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 323 + }, + "calltip": null + }, + { + "name": "Energy.SetEnergyFillRate", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 325 + }, + "calltip": null + }, + { + "name": "Energy.SetEnergyLevel", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 327 + }, + "calltip": null + }, + { + "name": "Energy.SetEnergyLevelOnObject", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 329 + }, + "calltip": null + }, + { + "name": "Energy.StartDrainingEnergy", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 331 + }, + "calltip": null + }, + { + "name": "Energy.StartFillingEnergy", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 333 + }, + "calltip": null + }, + { + "name": "Energy.StopEnergyRateChange", + "namespace": "Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 335 + }, + "calltip": null + }, + { + "name": "FEAR.AddNumberValueToAnnouncementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 337 + }, + "calltip": null + }, + { + "name": "FEAR.AddStaticTextValueToAnnouncementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 339 + }, + "calltip": null + }, + { + "name": "FEAR.AddStringValueToAnnouncementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 341 + }, + "calltip": null + }, + { + "name": "FEAR.BroadcastAnnoucementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 343 + }, + "calltip": null + }, + { + "name": "FEAR.CreateAnnoucementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 345 + }, + "calltip": null + }, + { + "name": "FEAR.CreepBossAction", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 347 + }, + "calltip": null + }, + { + "name": "FEAR.DismemberObject", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 349 + }, + "calltip": null + }, + { + "name": "FEAR.DoScavengerEPALeap", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 351 + }, + "calltip": null + }, + { + "name": "FEAR.EnableSlowMo", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 353 + }, + "calltip": null + }, + { + "name": "FEAR.FlickerPlayerFlashlight", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 355 + }, + "calltip": null + }, + { + "name": "FEAR.FlickerPlayerHUD", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 357 + }, + "calltip": null + }, + { + "name": "FEAR.GameDebugDump", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 359 + }, + "calltip": null + }, + { + "name": "FEAR.GetGenericCounter", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 361 + }, + "calltip": null + }, + { + "name": "FEAR.GetGenericTimer", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 363 + }, + "calltip": null + }, + { + "name": "FEAR.GetMaxTimeBetweenAmbientEvents", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 365 + }, + "calltip": null + }, + { + "name": "FEAR.GetMaxTimeBetweenTensionEvents", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 367 + }, + "calltip": null + }, + { + "name": "FEAR.GetMinTimeBetweenAmbientEvents", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 369 + }, + "calltip": null + }, + { + "name": "FEAR.GetMinTimeBetweenTensionEvents", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 371 + }, + "calltip": null + }, + { + "name": "FEAR.GetPlayerColor", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 373 + }, + "calltip": null + }, + { + "name": "FEAR.GetProbabilityOfFakeEventForCategory", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 375 + }, + "calltip": null + }, + { + "name": "FEAR.GetSlowMoPercentRemaining", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 377 + }, + "calltip": null + }, + { + "name": "FEAR.GetTimeSinceLastAmbientEvent", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 379 + }, + "calltip": null + }, + { + "name": "FEAR.GetTimeSinceLastAmbientEventStartedForCategory", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 381 + }, + "calltip": null + }, + { + "name": "FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 383 + }, + "calltip": null + }, + { + "name": "FEAR.GetTimeSinceLastTensionEvent", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 385 + }, + "calltip": null + }, + { + "name": "FEAR.IncrementCurrentPlayerTensionLevel", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 387 + }, + "calltip": null + }, + { + "name": "FEAR.IsPhasing", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 389 + }, + "calltip": null + }, + { + "name": "FEAR.IsPlayerFlashlightOn", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 391 + }, + "calltip": null + }, + { + "name": "FEAR.NotifyOfExternalEvent", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 393 + }, + "calltip": null + }, + { + "name": "FEAR.RefillSlowMo", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 395 + }, + "calltip": null + }, + { + "name": "FEAR.RegisterAmbientEvent", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 397 + }, + "calltip": null + }, + { + "name": "FEAR.SendAnnoucementPacket", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 399 + }, + "calltip": null + }, + { + "name": "FEAR.SetAnnoucementPacketDestination", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 401 + }, + "calltip": null + }, + { + "name": "FEAR.SetAnnoucementPacketPriority", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 403 + }, + "calltip": null + }, + { + "name": "FEAR.SetAnnoucementPacketTime", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 405 + }, + "calltip": null + }, + { + "name": "FEAR.SetCurrentPlayerTensionLevel", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 407 + }, + "calltip": null + }, + { + "name": "FEAR.SetDLCInventoryGroupOption", + "namespace": "FEAR", + "signature": { + "parameters": [], + "line": 409 + }, + "calltip": null + }, + { + "name": "FEAR.SetGenericCounter", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 411 + }, + "calltip": null + }, + { + "name": "FEAR.SetGenericTimer", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 413 + }, + "calltip": null + }, + { + "name": "FEAR.SetGlobalPerformanceValue", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 415 + }, + "calltip": null + }, + { + "name": "FEAR.SetMaxTimeBetweenAmbientEvents", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 417 + }, + "calltip": null + }, + { + "name": "FEAR.SetMaxTimeBetweenTensionEvents", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 419 + }, + "calltip": null + }, + { + "name": "FEAR.SetMinMaxPlayerTensionLevel", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 421 + }, + "calltip": null + }, + { + "name": "FEAR.SetMinTimeBetweenAmbientEvents", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 423 + }, + "calltip": null + }, + { + "name": "FEAR.SetMinTimeBetweenTensionEvents", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 425 + }, + "calltip": null + }, + { + "name": "FEAR.SetProbabilityOfFakeEventForCategory", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 427 + }, + "calltip": null + }, + { + "name": "FEAR.TurnOnAmbientEvent", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 429 + }, + "calltip": null + }, + { + "name": "FEAR.TurnOnAmbientEventCategory", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 431 + }, + "calltip": null + }, + { + "name": "FEAR.TurnOnAmbientEventCategoryGroup", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 433 + }, + "calltip": null + }, + { + "name": "FEAR.UpdateAISettingsForAggressiveAttack", + "namespace": "FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 435 + }, + "calltip": null + }, + { + "name": "FEARScore.AwardBoostRequirement", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 437 + }, + "calltip": null + }, + { + "name": "FEARScore.AwardChallengeRequirement", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 439 + }, + "calltip": null + }, + { + "name": "FEARScore.AwardMissionPointOccurences", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 441 + }, + "calltip": null + }, + { + "name": "FEARScore.AwardMissionPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 443 + }, + "calltip": null + }, + { + "name": "FEARScore.CalculateMissionScore", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 445 + }, + "calltip": null + }, + { + "name": "FEARScore.GetCumulativeMissionScore", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 447 + }, + "calltip": null + }, + { + "name": "FEARScore.GetCurrentMissionPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 449 + }, + "calltip": null + }, + { + "name": "FEARScore.GetCurrentRoundPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 451 + }, + "calltip": null + }, + { + "name": "FEARScore.GetGameLoadedSinceMissionStarted", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 453 + }, + "calltip": null + }, + { + "name": "FEARScore.GetLowestDifficultyUsed", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 455 + }, + "calltip": null + }, + { + "name": "FEARScore.GetMissionPointOccurences", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 457 + }, + "calltip": null + }, + { + "name": "FEARScore.GetMissionTime", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 459 + }, + "calltip": null + }, + { + "name": "FEARScore.GetParTime", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 461 + }, + "calltip": null + }, + { + "name": "FEARScore.GetPlayerRank", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 463 + }, + "calltip": null + }, + { + "name": "FEARScore.GetScoreMultiplier", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 465 + }, + "calltip": null + }, + { + "name": "FEARScore.GetTotalChallengeCategoryPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 467 + }, + "calltip": null + }, + { + "name": "FEARScore.HasPlayerAchievedChallenge", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 469 + }, + "calltip": null + }, + { + "name": "FEARScore.RegisterForDeath", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 471 + }, + "calltip": null + }, + { + "name": "FEARScore.ResetBoostProgress", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 473 + }, + "calltip": null + }, + { + "name": "FEARScore.ResetChallengeProgress", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 475 + }, + "calltip": null + }, + { + "name": "FEARScore.ResetMissionPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 477 + }, + "calltip": null + }, + { + "name": "FEARScore.ResetMissionTimer", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 479 + }, + "calltip": null + }, + { + "name": "FEARScore.ResetRoundPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 481 + }, + "calltip": null + }, + { + "name": "FEARScore.SetParTime", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 483 + }, + "calltip": null + }, + { + "name": "FEARScore.StartMissionTimer", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 485 + }, + "calltip": null + }, + { + "name": "FEARScore.StopMissionTimer", + "namespace": "FEARScore", + "signature": { + "parameters": [], + "line": 487 + }, + "calltip": null + }, + { + "name": "FEARScore.SubtractMissionPoints", + "namespace": "FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 489 + }, + "calltip": null + }, + { + "name": "FindFiles", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 491 + }, + "calltip": null + }, + { + "name": "Game.AI.AssignExternalAIOrder", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 493 + }, + "calltip": null + }, + { + "name": "Game.AI.EnableAIObject", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 495 + }, + "calltip": null + }, + { + "name": "Game.AI.EnableNodeMapInRegion", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 497 + }, + "calltip": null + }, + { + "name": "Game.AI.EnableNodesInRegion", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 499 + }, + "calltip": null + }, + { + "name": "Game.AI.EnableSmartMapsInRegion", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 501 + }, + "calltip": null + }, + { + "name": "Game.AI.GetAIIdentityType", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 503 + }, + "calltip": null + }, + { + "name": "Game.AI.GetAITargetInfo", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 505 + }, + "calltip": null + }, + { + "name": "Game.AI.GetDistanceToClosestEnemy", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 507 + }, + "calltip": null + }, + { + "name": "Game.AI.InhibitPossession", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 509 + }, + "calltip": null + }, + { + "name": "Game.AI.IsAIControlled", + "namespace": "Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 511 + }, + "calltip": null + }, + { + "name": "Game.AdjustPossessionVisionModeForCinema", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 513 + }, + "calltip": null + }, + { + "name": "Game.ApplyStatusEffect", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 515 + }, + "calltip": null + }, + { + "name": "Game.AreAllRequiredWorldsSynchronized", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 517 + }, + "calltip": null + }, + { + "name": "Game.AreAllies", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 519 + }, + "calltip": null + }, + { + "name": "Game.AreEnemies", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 521 + }, + "calltip": null + }, + { + "name": "Game.AreWorldsSynchronized", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 523 + }, + "calltip": null + }, + { + "name": "Game.AttachToObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 525 + }, + "calltip": null + }, + { + "name": "Game.AttachToRigidBody", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 527 + }, + "calltip": null + }, + { + "name": "Game.AttachToSceneNode", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 529 + }, + "calltip": null + }, + { + "name": "Game.AwardAchievementOccurrence", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 531 + }, + "calltip": null + }, + { + "name": "Game.BroadcastMissionEventMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 533 + }, + "calltip": null + }, + { + "name": "Game.Camera.AddCameraFilterGroupByNameToPlayer", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 535 + }, + "calltip": null + }, + { + "name": "Game.Camera.DoesFilterSetHaveCameraComponent", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 537 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetCameraFOV", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 539 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetCameraFarDist", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 541 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetCameraNearDist", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 543 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetCameraObjectForPlayer", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 545 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetCameraViewportAspectRatio", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 547 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetFilterGroupForPlayer", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 549 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetNumPlayerCameraFilterSet", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 551 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetPlayerCameraFilterSetAlpha", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 553 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetPlayerIndexFromCameraId", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 555 + }, + "calltip": null + }, + { + "name": "Game.Camera.GetUnadjustedCameraFOV", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 557 + }, + "calltip": null + }, + { + "name": "Game.Camera.IsInPlayerCameraView", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 559 + }, + "calltip": null + }, + { + "name": "Game.Camera.IsInPlayerCameraViewRange", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 561 + }, + "calltip": null + }, + { + "name": "Game.Camera.IsPointInPlayerCameraView", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 563 + }, + "calltip": null + }, + { + "name": "Game.Camera.RemoveCameraFilterGroupByNameFromPlayer", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 565 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetAdjustedCameraFOV", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 567 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetCameraFilterColor", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 569 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetCameraFilterNamedTexture", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 571 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetCameraFilterScalar", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 573 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetCameraMotionBlurEnabled", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 575 + }, + "calltip": null + }, + { + "name": "Game.Camera.SetPlayerCameraFilterSet", + "namespace": "Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 577 + }, + "calltip": null + }, + { + "name": "Game.CompleteCurrentLevel", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 579 + }, + "calltip": null + }, + { + "name": "Game.CopyNation", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 581 + }, + "calltip": null + }, + { + "name": "Game.Damage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 583 + }, + "calltip": null + }, + { + "name": "Game.DamageWithInfo", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 585 + }, + "calltip": null + }, + { + "name": "Game.DataMinerCheckpoint", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 587 + }, + "calltip": null + }, + { + "name": "Game.Death.GetDeathChoreographerSequence", + "namespace": "Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 589 + }, + "calltip": null + }, + { + "name": "Game.Death.GetLastDamageInfo", + "namespace": "Game.Death", + "signature": { + "parameters": [], + "line": 591 + }, + "calltip": null + }, + { + "name": "Game.Death.GetLastDamageInfoFromObject", + "namespace": "Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 593 + }, + "calltip": null + }, + { + "name": "Game.Death.GetLastDamagePlayerIndexFromObject", + "namespace": "Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 595 + }, + "calltip": null + }, + { + "name": "Game.Death.IsBloodEnabled", + "namespace": "Game.Death", + "signature": { + "parameters": [], + "line": 597 + }, + "calltip": null + }, + { + "name": "Game.Death.IsDamagePinning", + "namespace": "Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 599 + }, + "calltip": null + }, + { + "name": "Game.Death.IsGoreEnabled", + "namespace": "Game.Death", + "signature": { + "parameters": [], + "line": 601 + }, + "calltip": null + }, + { + "name": "Game.Death.SetDeathChoreographerSequence", + "namespace": "Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 603 + }, + "calltip": null + }, + { + "name": "Game.Detach", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 605 + }, + "calltip": null + }, + { + "name": "Game.DisplayText", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 607 + }, + "calltip": null + }, + { + "name": "Game.DoesPosRotExist", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 609 + }, + "calltip": null + }, + { + "name": "Game.DoesSceneNodeExist", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 611 + }, + "calltip": null + }, + { + "name": "Game.Door.Enable", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 613 + }, + "calltip": null + }, + { + "name": "Game.Door.GetPosition", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 615 + }, + "calltip": null + }, + { + "name": "Game.Door.GetStatus", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 617 + }, + "calltip": null + }, + { + "name": "Game.Door.Lock", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 619 + }, + "calltip": null + }, + { + "name": "Game.Door.LockSilent", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 621 + }, + "calltip": null + }, + { + "name": "Game.Door.MoveToNextPosition", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 623 + }, + "calltip": null + }, + { + "name": "Game.Door.MoveToPercentPosition", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 625 + }, + "calltip": null + }, + { + "name": "Game.Door.MoveToPercentPositionSilent", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 627 + }, + "calltip": null + }, + { + "name": "Game.Door.MoveToPercentPositionWithSpeedAndAcceleration", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 629 + }, + "calltip": null + }, + { + "name": "Game.Door.MoveToPresetPosition", + "namespace": "Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 631 + }, + "calltip": null + }, + { + "name": "Game.Drop", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 633 + }, + "calltip": null + }, + { + "name": "Game.EnableAllEnableables", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 635 + }, + "calltip": null + }, + { + "name": "Game.EnableAllUsables", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 637 + }, + "calltip": null + }, + { + "name": "Game.EnableComponent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 639 + }, + "calltip": null + }, + { + "name": "Game.EnableGlowRendering", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 641 + }, + "calltip": null + }, + { + "name": "Game.EnableHitPointPriority", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 643 + }, + "calltip": null + }, + { + "name": "Game.EnableInput", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 645 + }, + "calltip": null + }, + { + "name": "Game.EnableObjectInput", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 647 + }, + "calltip": null + }, + { + "name": "Game.EnableVFXAnchor", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 649 + }, + "calltip": null + }, + { + "name": "Game.Energy.AdjustEnergyLevel", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 651 + }, + "calltip": null + }, + { + "name": "Game.Energy.EnableAutoFill", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 653 + }, + "calltip": null + }, + { + "name": "Game.Energy.GetEnergyFillRate", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 655 + }, + "calltip": null + }, + { + "name": "Game.Energy.GetEnergyLevel", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 657 + }, + "calltip": null + }, + { + "name": "Game.Energy.ResetEnergyDrainRate", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 659 + }, + "calltip": null + }, + { + "name": "Game.Energy.ResetEnergyFillRate", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 661 + }, + "calltip": null + }, + { + "name": "Game.Energy.SetEnergyDrainRate", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 663 + }, + "calltip": null + }, + { + "name": "Game.Energy.SetEnergyFillRate", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 665 + }, + "calltip": null + }, + { + "name": "Game.Energy.SetEnergyLevel", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 667 + }, + "calltip": null + }, + { + "name": "Game.Energy.SetEnergyLevelOnObject", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 669 + }, + "calltip": null + }, + { + "name": "Game.Energy.StartDrainingEnergy", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 671 + }, + "calltip": null + }, + { + "name": "Game.Energy.StartFillingEnergy", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 673 + }, + "calltip": null + }, + { + "name": "Game.Energy.StopEnergyRateChange", + "namespace": "Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 675 + }, + "calltip": null + }, + { + "name": "Game.ForceRiderIntoVehicle", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 677 + }, + "calltip": null + }, + { + "name": "Game.ForceRiderOutOfVehicle", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 679 + }, + "calltip": null + }, + { + "name": "Game.ForceRiderVehicleState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 681 + }, + "calltip": null + }, + { + "name": "Game.ForceStopRiding", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 683 + }, + "calltip": null + }, + { + "name": "Game.GetActiveDestructibleObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 685 + }, + "calltip": null + }, + { + "name": "Game.GetAllDestructibleObjects", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 687 + }, + "calltip": null + }, + { + "name": "Game.GetAnimationVariable", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 689 + }, + "calltip": null + }, + { + "name": "Game.GetDamageHistory", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 691 + }, + "calltip": null + }, + { + "name": "Game.GetDestructibleCurrentState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 693 + }, + "calltip": null + }, + { + "name": "Game.GetDestructibleFinalState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 695 + }, + "calltip": null + }, + { + "name": "Game.GetDestructibleInitialState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 697 + }, + "calltip": null + }, + { + "name": "Game.GetDestructibleObjectHealthPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 699 + }, + "calltip": null + }, + { + "name": "Game.GetDifficulty", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 701 + }, + "calltip": null + }, + { + "name": "Game.GetEnergyLevelPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 703 + }, + "calltip": null + }, + { + "name": "Game.GetEnvironmentalEffectObjects", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 705 + }, + "calltip": null + }, + { + "name": "Game.GetForward", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 707 + }, + "calltip": null + }, + { + "name": "Game.GetHitPointPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 709 + }, + "calltip": null + }, + { + "name": "Game.GetInteractionObjects", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 711 + }, + "calltip": null + }, + { + "name": "Game.GetInteractionUser", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 713 + }, + "calltip": null + }, + { + "name": "Game.GetInventoryItems", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 715 + }, + "calltip": null + }, + { + "name": "Game.GetInventoryItemsByTypeAndName", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 717 + }, + "calltip": null + }, + { + "name": "Game.GetInventoryOwner", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 719 + }, + "calltip": null + }, + { + "name": "Game.GetLastMeleeAttack", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 721 + }, + "calltip": null + }, + { + "name": "Game.GetMyObject", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 723 + }, + "calltip": null + }, + { + "name": "Game.GetName", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 725 + }, + "calltip": null + }, + { + "name": "Game.GetNumDesiredWorldsPending", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 727 + }, + "calltip": null + }, + { + "name": "Game.GetObjectAttachedTo", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 729 + }, + "calltip": null + }, + { + "name": "Game.GetOwnerObjectChangeHandlingObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 731 + }, + "calltip": null + }, + { + "name": "Game.GetPosition", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 733 + }, + "calltip": null + }, + { + "name": "Game.GetProjectileTarget", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 735 + }, + "calltip": null + }, + { + "name": "Game.GetRandomVectorInCone", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 737 + }, + "calltip": null + }, + { + "name": "Game.GetRotateSceneObjectSpeed", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 739 + }, + "calltip": null + }, + { + "name": "Game.GetRotation", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 741 + }, + "calltip": null + }, + { + "name": "Game.GetSceneNodePosition", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 743 + }, + "calltip": null + }, + { + "name": "Game.GetSceneNodeRotation", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 745 + }, + "calltip": null + }, + { + "name": "Game.GetSide", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 747 + }, + "calltip": null + }, + { + "name": "Game.GetSpawnLocationsFromSpawner", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 749 + }, + "calltip": null + }, + { + "name": "Game.GetSpecificHitPointPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 751 + }, + "calltip": null + }, + { + "name": "Game.GetSuspendingObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 753 + }, + "calltip": null + }, + { + "name": "Game.GetUp", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 755 + }, + "calltip": null + }, + { + "name": "Game.GetWorldName", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 757 + }, + "calltip": null + }, + { + "name": "Game.Graphics.GetColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 759 + }, + "calltip": null + }, + { + "name": "Game.Graphics.GetEnvironmentLight", + "namespace": "Game.Graphics", + "signature": { + "parameters": [], + "line": 761 + }, + "calltip": null + }, + { + "name": "Game.Graphics.GetPortalOpen", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 763 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetAlphaBlend", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 765 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetAmbientLightIntensity", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 767 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetAmbientLightSpecularity", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 769 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetCastsShadows", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 771 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 773 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetContractionsFogColors", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 775 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetContractionsFogValues", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 777 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetDiffuseAmbientCubeMap", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 779 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetDistantObjectsShadowed", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 781 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetEnvironmentLight", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 783 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetFogColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 785 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetFogCubeMap", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 787 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetFogValues", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 789 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetGlobalSunDirection", + "namespace": "Game.Graphics", + "signature": { + "parameters": [], + "line": 791 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetLightControl", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 793 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetLightControlAndCurve", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 795 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetLightIntensity", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 797 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetLightProbeRegionAmbientColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 799 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetLightRadius", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 801 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetMaterialSortMode", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 803 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetNamedMaterialColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 805 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetNamedMaterialScalar", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 807 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetParticleAmbientColor", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 809 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetPortalOpen", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 811 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetShadowDistances", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 813 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetShadowQuality", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 815 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetSpecularAmbientCubeMap", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 817 + }, + "calltip": null + }, + { + "name": "Game.Graphics.SetSpotLight", + "namespace": "Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 819 + }, + "calltip": null + }, + { + "name": "Game.HasAchievementBeenAchieved", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 821 + }, + "calltip": null + }, + { + "name": "Game.HasHitPoints", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 823 + }, + "calltip": null + }, + { + "name": "Game.HasPlayerStartedLevel", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 825 + }, + "calltip": null + }, + { + "name": "Game.Heal", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 827 + }, + "calltip": null + }, + { + "name": "Game.HideAllHUD", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 829 + }, + "calltip": null + }, + { + "name": "Game.HideObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 831 + }, + "calltip": null + }, + { + "name": "Game.HidePlayerView", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 833 + }, + "calltip": null + }, + { + "name": "Game.IsActiveCoverOn", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 835 + }, + "calltip": null + }, + { + "name": "Game.IsAirborne", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 837 + }, + "calltip": null + }, + { + "name": "Game.IsCrouched", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 839 + }, + "calltip": null + }, + { + "name": "Game.IsDestructibleInFinalState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 841 + }, + "calltip": null + }, + { + "name": "Game.IsDestructibleInInitialState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 843 + }, + "calltip": null + }, + { + "name": "Game.IsEnabled", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 845 + }, + "calltip": null + }, + { + "name": "Game.IsJumping", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 847 + }, + "calltip": null + }, + { + "name": "Game.IsLoaded", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 849 + }, + "calltip": null + }, + { + "name": "Game.IsNeutral", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 851 + }, + "calltip": null + }, + { + "name": "Game.IsObjectInState", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 853 + }, + "calltip": null + }, + { + "name": "Game.IsPauseMenuShowing", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 855 + }, + "calltip": null + }, + { + "name": "Game.IsPlayerLookRotFacingObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 857 + }, + "calltip": null + }, + { + "name": "Game.IsPossessed", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 859 + }, + "calltip": null + }, + { + "name": "Game.IsRiding", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 861 + }, + "calltip": null + }, + { + "name": "Game.IsSuspended", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 863 + }, + "calltip": null + }, + { + "name": "Game.Kill", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 865 + }, + "calltip": null + }, + { + "name": "Game.KillAllObjectsInWeaponInventory", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 867 + }, + "calltip": null + }, + { + "name": "Game.MP.AddSpecialSpawnPlayer", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 869 + }, + "calltip": null + }, + { + "name": "Game.MP.AwardPlayerPoints", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 871 + }, + "calltip": null + }, + { + "name": "Game.MP.AwardTeamPoints", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 873 + }, + "calltip": null + }, + { + "name": "Game.MP.ClearNetworkSaveData", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 875 + }, + "calltip": null + }, + { + "name": "Game.MP.DisableMPManagerMatchTimeLimit", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 877 + }, + "calltip": null + }, + { + "name": "Game.MP.GetCurrentPlayerStatistic", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 879 + }, + "calltip": null + }, + { + "name": "Game.MP.GetDifficultyLevel", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 881 + }, + "calltip": null + }, + { + "name": "Game.MP.GetGameMode", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 883 + }, + "calltip": null + }, + { + "name": "Game.MP.GetGameTypeFlag", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 885 + }, + "calltip": null + }, + { + "name": "Game.MP.GetMultiplayerTime", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 887 + }, + "calltip": null + }, + { + "name": "Game.MP.GetNetworkLookRotForward", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 889 + }, + "calltip": null + }, + { + "name": "Game.MP.GetNumberOfActivePlayers", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 891 + }, + "calltip": null + }, + { + "name": "Game.MP.GetNumberOfRounds", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 893 + }, + "calltip": null + }, + { + "name": "Game.MP.GetNumberOfRoundsInAContinuousSession", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 895 + }, + "calltip": null + }, + { + "name": "Game.MP.GetPlayerName", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 897 + }, + "calltip": null + }, + { + "name": "Game.MP.GetPointAward", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 899 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTeamForPlayer", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 901 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTeamStatistic", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 903 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTimeElapsed", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 905 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTimeLimit", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 907 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTimeRemaining", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 909 + }, + "calltip": null + }, + { + "name": "Game.MP.GetTotalPlayerStatistic", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 911 + }, + "calltip": null + }, + { + "name": "Game.MP.IsClient", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 913 + }, + "calltip": null + }, + { + "name": "Game.MP.IsNetworkGame", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 915 + }, + "calltip": null + }, + { + "name": "Game.MP.IsRemoteScript", + "namespace": "Game.MP", + "signature": { + "parameters": [], + "line": 917 + }, + "calltip": null + }, + { + "name": "Game.MP.ModifyTimeRemaining", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 919 + }, + "calltip": null + }, + { + "name": "Game.MP.SetTeamForPlayer", + "namespace": "Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 921 + }, + "calltip": null + }, + { + "name": "Game.ObjectTags.DoesObjectHaveTag", + "namespace": "Game.ObjectTags", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 923 + }, + "calltip": null + }, + { + "name": "Game.ObjectTags.GetObjectTagName", + "namespace": "Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 925 + }, + "calltip": null + }, + { + "name": "Game.ObjectTags.GetObjectTagUID", + "namespace": "Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 927 + }, + "calltip": null + }, + { + "name": "Game.ObjectTags.GetObjectsWithTag", + "namespace": "Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 929 + }, + "calltip": null + }, + { + "name": "Game.Objectives.Add", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 931 + }, + "calltip": null + }, + { + "name": "Game.Objectives.AddObject", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 933 + }, + "calltip": null + }, + { + "name": "Game.Objectives.GetStatus", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 935 + }, + "calltip": null + }, + { + "name": "Game.Objectives.Remove", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 937 + }, + "calltip": null + }, + { + "name": "Game.Objectives.RemoveObject", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 939 + }, + "calltip": null + }, + { + "name": "Game.Objectives.SetStatus", + "namespace": "Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 941 + }, + "calltip": null + }, + { + "name": "Game.OverRideRotateSceneObjectComponent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 943 + }, + "calltip": null + }, + { + "name": "Game.Physics.ApplyAngularImpulse", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 945 + }, + "calltip": null + }, + { + "name": "Game.Physics.ApplyAngularImpulseToRigidBody", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 947 + }, + "calltip": null + }, + { + "name": "Game.Physics.ApplyImpulse", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 949 + }, + "calltip": null + }, + { + "name": "Game.Physics.ApplyImpulseToCloth", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 951 + }, + "calltip": null + }, + { + "name": "Game.Physics.ApplyImpulseToRigidBody", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 953 + }, + "calltip": null + }, + { + "name": "Game.Physics.DoesHavePhysics", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 955 + }, + "calltip": null + }, + { + "name": "Game.Physics.DoesRigidBodyExist", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 957 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetAABB", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 959 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetAngularVelocity", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 961 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetCollisionGroup", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 963 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetLinearVelocity", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 965 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetMass", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 967 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetRigidBodyFriction", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 969 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetRigidBodyMass", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 971 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetRigidBodyPosition", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 973 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetRigidBodyRestitution", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 975 + }, + "calltip": null + }, + { + "name": "Game.Physics.GetRigidBodyRotation", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 977 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsClothWindEnabled", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 979 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsDynamic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 981 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsKeyframed", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 983 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsRigidBodyDynamic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 985 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsRigidBodyKeyframed", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 987 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsRigidBodyStatic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 989 + }, + "calltip": null + }, + { + "name": "Game.Physics.IsStatic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 991 + }, + "calltip": null + }, + { + "name": "Game.Physics.OverRideConstraintMaxSpeed", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 993 + }, + "calltip": null + }, + { + "name": "Game.Physics.RestoreConstraintMaxSpeed", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 995 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetAngularVelocity", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 997 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetClothWindDirection", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 999 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetClothWindEnabled", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1001 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetClothWindInterval", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1003 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetClothWindStrength", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1005 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetCollisionGroup", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1007 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetConstraintPosition", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1009 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetLinearVelocityOfRigidBody", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1011 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetRigidBodyFriction", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1013 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetRigidBodyMass", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1015 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetRigidBodyRestitution", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1017 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetRigidBodyToDynamic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1019 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetRigidBodyToStatic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1021 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetSurfaceVelocityAccelerationScale", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1023 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetSurfaceVelocityDesiredScale", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1025 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetSurfaceVelocityScale", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1027 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetToDynamic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1029 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetToStatic", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1031 + }, + "calltip": null + }, + { + "name": "Game.Physics.SetVelocity", + "namespace": "Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1033 + }, + "calltip": null + }, + { + "name": "Game.Player.AreAllPlayersInState", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1035 + }, + "calltip": null + }, + { + "name": "Game.Player.CanPlayerPossess", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1037 + }, + "calltip": null + }, + { + "name": "Game.Player.ClearTetherBreadcrumbs", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1039 + }, + "calltip": null + }, + { + "name": "Game.Player.ClearTetherSafeRadiusOverride", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1041 + }, + "calltip": null + }, + { + "name": "Game.Player.DisableTetherSpawnTagSet", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1043 + }, + "calltip": null + }, + { + "name": "Game.Player.DoesPlayerHaveLineOfSightToPosition", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1045 + }, + "calltip": null + }, + { + "name": "Game.Player.EnableTetherSpawnTagSet", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1047 + }, + "calltip": null + }, + { + "name": "Game.Player.GetAllPlayerControlledObjectsByIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1049 + }, + "calltip": null + }, + { + "name": "Game.Player.GetGlobalIndexFromLocalIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1051 + }, + "calltip": null + }, + { + "name": "Game.Player.GetLastTimePlayerSpawnTagUsed", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1053 + }, + "calltip": null + }, + { + "name": "Game.Player.GetMaxPossessionTime", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1055 + }, + "calltip": null + }, + { + "name": "Game.Player.GetNumLocalPlayers", + "namespace": "Game.Player", + "signature": { + "parameters": [], + "line": 1057 + }, + "calltip": null + }, + { + "name": "Game.Player.GetNumPlayers", + "namespace": "Game.Player", + "signature": { + "parameters": [], + "line": 1059 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerAvatarObjectByIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1061 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerAvatarPositionByIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1063 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerControlledObjectByIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1065 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerDistanceToPosition", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1067 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerGameComplete", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1069 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerIndexByObject", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1071 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerObjectByIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1073 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerPlaneDistance", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1075 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1077 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1079 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagMinimumPlayersRequired", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1081 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagNationCheckPassed", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1083 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagSpawnLocation", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1085 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTagSpawnRotation", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1087 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPlayerSpawnTemplateIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1089 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPossessingPlayerIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1091 + }, + "calltip": null + }, + { + "name": "Game.Player.GetPossessionDelay", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1093 + }, + "calltip": null + }, + { + "name": "Game.Player.GetValidSpawnTagObjects", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1095 + }, + "calltip": null + }, + { + "name": "Game.Player.HasPlayerCollectedObject", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1097 + }, + "calltip": null + }, + { + "name": "Game.Player.InhibitCurrentPossessionEnding", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1099 + }, + "calltip": null + }, + { + "name": "Game.Player.IsActivePlayer", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1101 + }, + "calltip": null + }, + { + "name": "Game.Player.IsLocalPlayer", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1103 + }, + "calltip": null + }, + { + "name": "Game.Player.IsPlayerControlled", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1105 + }, + "calltip": null + }, + { + "name": "Game.Player.IsPlayerFlashlightOn", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1107 + }, + "calltip": null + }, + { + "name": "Game.Player.IsPlayerInState", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1109 + }, + "calltip": null + }, + { + "name": "Game.Player.PauseCurrentPossession", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1111 + }, + "calltip": null + }, + { + "name": "Game.Player.ResetPossessionTimer", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1113 + }, + "calltip": null + }, + { + "name": "Game.Player.RevivePlayer", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1115 + }, + "calltip": null + }, + { + "name": "Game.Player.RevivePlayerInstant", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1117 + }, + "calltip": null + }, + { + "name": "Game.Player.SetCheckpointLoad", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1119 + }, + "calltip": null + }, + { + "name": "Game.Player.SetCrouch", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1121 + }, + "calltip": null + }, + { + "name": "Game.Player.SetFailedOnRespawn", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1123 + }, + "calltip": null + }, + { + "name": "Game.Player.SetLocalTetherTimeoutPeriod", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1125 + }, + "calltip": null + }, + { + "name": "Game.Player.SetLocalTetherWarningPct", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1127 + }, + "calltip": null + }, + { + "name": "Game.Player.SetLocalTetherZone", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1129 + }, + "calltip": null + }, + { + "name": "Game.Player.SetMaxPossessionTime", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1131 + }, + "calltip": null + }, + { + "name": "Game.Player.SetPlayerGameComplete", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1133 + }, + "calltip": null + }, + { + "name": "Game.Player.SetPlayerIndestructible", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1135 + }, + "calltip": null + }, + { + "name": "Game.Player.SetPlayerRespawnTagIndexResponse", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1137 + }, + "calltip": null + }, + { + "name": "Game.Player.SetPlayerSpawnTemplateIndex", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1139 + }, + "calltip": null + }, + { + "name": "Game.Player.SetPossessionDelay", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1141 + }, + "calltip": null + }, + { + "name": "Game.Player.SetTetherSafeRadiusOverride", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1143 + }, + "calltip": null + }, + { + "name": "Game.Player.SetVelocityScale", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1145 + }, + "calltip": null + }, + { + "name": "Game.Player.TetherPlayer", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1147 + }, + "calltip": null + }, + { + "name": "Game.Player.TransferPlayerControl", + "namespace": "Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1149 + }, + "calltip": null + }, + { + "name": "Game.Regions.DistanceToEnd", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1151 + }, + "calltip": null + }, + { + "name": "Game.Regions.GetNumberOfObjectsInRegionMonitor", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1153 + }, + "calltip": null + }, + { + "name": "Game.Regions.GetObjectsInRegion", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1155 + }, + "calltip": null + }, + { + "name": "Game.Regions.GetObjectsInRegionWithTag", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1157 + }, + "calltip": null + }, + { + "name": "Game.Regions.GetRegionInfo", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1159 + }, + "calltip": null + }, + { + "name": "Game.Regions.IsBoneInRegion", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1161 + }, + "calltip": null + }, + { + "name": "Game.Regions.IsCenterOfMassInRegion", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1163 + }, + "calltip": null + }, + { + "name": "Game.Regions.IsInRegion", + "namespace": "Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1165 + }, + "calltip": null + }, + { + "name": "Game.RemoveAnimationGraphResource", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1167 + }, + "calltip": null + }, + { + "name": "Game.RemoveAnimationGraphResourceOverTime", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1169 + }, + "calltip": null + }, + { + "name": "Game.RemoveStatusEffect", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1171 + }, + "calltip": null + }, + { + "name": "Game.RestoreCheckpointAnimGraph", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1173 + }, + "calltip": null + }, + { + "name": "Game.RippleWater", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1175 + }, + "calltip": null + }, + { + "name": "Game.RippleWaterAtNode", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1177 + }, + "calltip": null + }, + { + "name": "Game.RunCutscene", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1179 + }, + "calltip": null + }, + { + "name": "Game.SaveGame", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1181 + }, + "calltip": null + }, + { + "name": "Game.SelectInventory", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1183 + }, + "calltip": null + }, + { + "name": "Game.SendCutsceneStopLoopMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1185 + }, + "calltip": null + }, + { + "name": "Game.SendGameEventMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1187 + }, + "calltip": null + }, + { + "name": "Game.SendKillMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1189 + }, + "calltip": null + }, + { + "name": "Game.SendMissionEventMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1191 + }, + "calltip": null + }, + { + "name": "Game.SendTextMessage", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1193 + }, + "calltip": null + }, + { + "name": "Game.SetAnimGraphResource", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1195 + }, + "calltip": null + }, + { + "name": "Game.SetAnimVarWeaponTypeFromInventory", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1197 + }, + "calltip": null + }, + { + "name": "Game.SetAnimationGraphResource", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1199 + }, + "calltip": null + }, + { + "name": "Game.SetAnimationGraphResourceOverTime", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1201 + }, + "calltip": null + }, + { + "name": "Game.SetAnimationVariable", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1203 + }, + "calltip": null + }, + { + "name": "Game.SetCurrentLevel", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1205 + }, + "calltip": null + }, + { + "name": "Game.SetCurrentLevelId", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1207 + }, + "calltip": null + }, + { + "name": "Game.SetCurrentTotalAmmoPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1209 + }, + "calltip": null + }, + { + "name": "Game.SetGameFailed", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1211 + }, + "calltip": null + }, + { + "name": "Game.SetGameWon", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1213 + }, + "calltip": null + }, + { + "name": "Game.SetHitPointPercent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1215 + }, + "calltip": null + }, + { + "name": "Game.SetHitPointPriorityInvulnerable", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1217 + }, + "calltip": null + }, + { + "name": "Game.SetLookDirection", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1219 + }, + "calltip": null + }, + { + "name": "Game.SetNeutral", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1221 + }, + "calltip": null + }, + { + "name": "Game.SetOwnerObject", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1223 + }, + "calltip": null + }, + { + "name": "Game.SetPersonMaxSpeed", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1225 + }, + "calltip": null + }, + { + "name": "Game.SetPlayerSpawnIndex", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1227 + }, + "calltip": null + }, + { + "name": "Game.SetPlayersStartedLevel", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1229 + }, + "calltip": null + }, + { + "name": "Game.SetRegeneratingHPDelay", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1231 + }, + "calltip": null + }, + { + "name": "Game.SetSprint", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1233 + }, + "calltip": null + }, + { + "name": "Game.SetWorldsAsSavable", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1235 + }, + "calltip": null + }, + { + "name": "Game.Sets.AddObjectToSet", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1237 + }, + "calltip": null + }, + { + "name": "Game.Sets.DoesSetContainsObject", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1239 + }, + "calltip": null + }, + { + "name": "Game.Sets.GetNumObjectsInSet", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1241 + }, + "calltip": null + }, + { + "name": "Game.Sets.GetObjectsInSet", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1243 + }, + "calltip": null + }, + { + "name": "Game.Sets.HasSetComponent", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1245 + }, + "calltip": null + }, + { + "name": "Game.Sets.RemoveObjectFromSet", + "namespace": "Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1247 + }, + "calltip": null + }, + { + "name": "Game.ShowChallengeSummaryScreen", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1249 + }, + "calltip": null + }, + { + "name": "Game.ShowFullscreenMovie", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1251 + }, + "calltip": null + }, + { + "name": "Game.ShowFullscreenMovieWithMenu", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1253 + }, + "calltip": null + }, + { + "name": "Game.ShowFullscreenMovieWithMenuAndNode", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 1255 + }, + "calltip": null + }, + { + "name": "Game.ShowGenericMenuScreen", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1257 + }, + "calltip": null + }, + { + "name": "Game.ShowIntroLoadingMovieAndStream", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1259 + }, + "calltip": null + }, + { + "name": "Game.ShowIntroLoadingMovieAndStreamWithMenu", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1261 + }, + "calltip": null + }, + { + "name": "Game.ShowLoadingScreenMovie", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1263 + }, + "calltip": null + }, + { + "name": "Game.ShowLoadingScreenMovieStreamHint", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1265 + }, + "calltip": null + }, + { + "name": "Game.ShowLoadingScreenMovieStreamHintWithMenu", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1267 + }, + "calltip": null + }, + { + "name": "Game.ShowLoadingScreenMovieWithMenu", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1269 + }, + "calltip": null + }, + { + "name": "Game.ShowMissionSummaryScreen", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1271 + }, + "calltip": null + }, + { + "name": "Game.ShowMissionSummaryScreenEx", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1273 + }, + "calltip": null + }, + { + "name": "Game.ShowMissionSummaryScreenNoPause", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1275 + }, + "calltip": null + }, + { + "name": "Game.ShowMovie", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1277 + }, + "calltip": null + }, + { + "name": "Game.ShowPlayerView", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1279 + }, + "calltip": null + }, + { + "name": "Game.Spawn", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1281 + }, + "calltip": null + }, + { + "name": "Game.SpawnIntoInventory", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 1283 + }, + "calltip": null + }, + { + "name": "Game.SpawnWithRotation", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1285 + }, + "calltip": null + }, + { + "name": "Game.SpawnerFinishedSpawning", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1287 + }, + "calltip": null + }, + { + "name": "Game.StartInteraction", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1289 + }, + "calltip": null + }, + { + "name": "Game.StartMultiUserInteraction", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 1291 + }, + "calltip": null + }, + { + "name": "Game.StartScriptEvent", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1293 + }, + "calltip": null + }, + { + "name": "Game.StartScriptEventTarget", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1295 + }, + "calltip": null + }, + { + "name": "Game.StopInteraction", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1297 + }, + "calltip": null + }, + { + "name": "Game.StopMultiUserInteraction", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1299 + }, + "calltip": null + }, + { + "name": "Game.StreamWorlds", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1301 + }, + "calltip": null + }, + { + "name": "Game.StreamWorldsWithSaveOverride", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1303 + }, + "calltip": null + }, + { + "name": "Game.TeleportObjectToPosition", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1305 + }, + "calltip": null + }, + { + "name": "Game.TeleportObjectWithRotation", + "namespace": "Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1307 + }, + "calltip": null + }, + { + "name": "Game.UnhideAllHUD", + "namespace": "Game", + "signature": { + "parameters": [], + "line": 1309 + }, + "calltip": null + }, + { + "name": "GameScript.Audio.ApplyEPA", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1312 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "Whether to enable or disable EPA effects." + }, + "2.0": { + "@K[209]": "FadeDuration", + "@K[211]": "Time over which to fade the EPA effects in or out." + } + }, + "@K[203]": "Enable or disable EPA effects for the local player over specified duration." + } + }, + { + "name": "GameScript.Audio.ApplyLowHP", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1315 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "Whether to enable or disable low HP effects." + } + }, + "@K[203]": "Enable or disable low HP effects for the local player. If related effects are already active, e.g. tinnitus, the result will be a logic mix." + } + }, + { + "name": "GameScript.Audio.ApplyTinnitus", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1318 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Amount", + "@K[211]": "Amount of tinnitus to apply. This value affects duration and volume of tinnitus sound and filtering of other sounds" + } + }, + "@K[203]": "Apply an amount of tinnitus to the local player. If tinnitus is already active, the new amount will be mixed with the existing amount in a logical way." + } + }, + { + "name": "GameScript.Audio.GetBusVolume", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1321 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to get the volume of" + } + }, + "@K[203]": "Get the volume of a bus by name." + } + }, + { + "name": "GameScript.Audio.GetEffectParam", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1324 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to get the effect of" + }, + "2.0": { + "@K[209]": "EffectName", + "@K[211]": "Name of the effect to get the param of" + }, + "3.0": { + "@K[209]": "ParamIndex", + "@K[211]": "Index of the param to get the value of" + } + }, + "@K[203]": "Get the value of an effect param by name." + } + }, + { + "name": "GameScript.Audio.MuteMusic", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1326 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Audio.MuteMusicWithFade", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1328 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "FadeTime", + "@K[211]": "Time, in seconds, over which to fade music volume" + } + }, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Audio.RegisterMusic", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1330 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Audio.SetBusVolume", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1333 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to set the volume of" + }, + "2.0": { + "@K[209]": "Volume", + "@K[211]": "Volume to set on the bus" + } + }, + "@K[203]": "Set the volume of a bus by name." + } + }, + { + "name": "GameScript.Audio.SetEffectParam", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1336 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to set the effect of" + }, + "2.0": { + "@K[209]": "EffectName", + "@K[211]": "Name of the effect to set the param of" + }, + "3.0": { + "@K[209]": "ParamIndex", + "@K[211]": "Index of the param to set the value of" + }, + "4.0": { + "@K[209]": "Value", + "@K[211]": "Value to set on the param" + } + }, + "@K[203]": "Set the value of an effect param by name." + } + }, + { + "name": "GameScript.Audio.StartMusic", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1338 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "StopOtherMusic", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Audio.StopMusic", + "namespace": "GameScript.Audio", + "signature": { + "parameters": [], + "line": 1340 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Callbacks.RegisterAIEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1343 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an AI enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterForDeathSequenceNetFixupCallback", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1346 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Registers a function to be called when this object's Death Choreographer needs to possibly fix up a death sequence to be triggered over the network do to gore setting on the client." + } + }, + { + "name": "GameScript.Callbacks.RegisterForDeathSequenceSelectCallback", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1349 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Registers a function to be called when this object's Death Choreographer Component needs to determine which death sequence to use." + } + }, + { + "name": "GameScript.Callbacks.RegisterForDisable", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1352 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script when the 'Disable' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component." + } + }, + { + "name": "GameScript.Callbacks.RegisterForGlobalTimer", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1355 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + }, + "2.0": { + "@K[209]": "TimeInSeconds", + "@K[211]": "The time in seconds between callbacks" + }, + "3.0": { + "@K[209]": "IsPeriodic", + "@K[211]": "If we repeat the call every \"TimeInSeconds\" seconds." + } + }, + "@K[203]": "Register the function to be called on \"ScriptObject\" every \"TimeInSeconds\" seconds in global time (i.e. not subject to time-altering game effects). In most cases, you do NOT want to use this function." + } + }, + { + "name": "GameScript.Callbacks.RegisterForMsg", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1358 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MessageType", + "@K[211]": "The type of message for which we are waiting." + }, + "2.0": { + "@K[209]": "MessageObject", + "@K[211]": "The object that we are watching for a message" + }, + "3.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Register for a callback on \"pScriptObject\" when \"pMessageObject\" receives a message of \"type\", and call function \"callbackFunctionName\"." + } + }, + { + "name": "GameScript.Callbacks.RegisterForPostCheckpointActivation", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1361 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "This callback does nothing during the initial run of a script, However on checkpoint reload, it waits until the object has been activated(which includes the network connection for this object). Then after all of the callbacks from the checkpoint have been restored, this callback is used so that any other checkpoint issues can be fixed up." + } + }, + { + "name": "GameScript.Callbacks.RegisterForScriptValueUpdated", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1364 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script whenever a value is pushed from the game into the script.For instance, if a variable is synced across the network from the host and then pushed into the client script his will execute 'FunctionName' so that the value can be handled locally on the client." + } + }, + { + "name": "GameScript.Callbacks.RegisterForStopCondition", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1367 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script when the 'StopCondition' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component." + } + }, + { + "name": "GameScript.Callbacks.RegisterForTimer", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1370 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + }, + "2.0": { + "@K[209]": "TimeInSeconds", + "@K[211]": "The time in seconds between callbacks" + }, + "3.0": { + "@K[209]": "IsPeriodic", + "@K[211]": "If we repeat the call every \"TimeInSeconds\" seconds." + } + }, + "@K[203]": "Register the function to be called on \"ScriptObject\" every \"TimeInSeconds\" seconds in game time." + } + }, + { + "name": "GameScript.Callbacks.RegisterForUpdateEveryFrame", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1373 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script every game frame.Only one function can be registered per object. If you try to register a new function it will unregister the original callback." + } + }, + { + "name": "GameScript.Callbacks.RegisterForWatchVariableChange", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1376 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we are watching for change." + }, + "2.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "When the watch variable change send a callback with argument msg that has a field \"oldValue\" and \"newValue\"." + } + }, + { + "name": "GameScript.Callbacks.RegisterObjectInSetEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1379 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SetObject", + "@K[211]": "The Set whose objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterObjectTagEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1382 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "Integer representation of the Object Tag." + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object with the specified tag enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterPlayerEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1385 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever a player enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterPlayerHeadEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1388 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever a player's head enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterSetTracker", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1391 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Set", + "@K[211]": "The Set to monitor." + }, + "2.0": { + "@K[209]": "OnAddFunctionName", + "@K[211]": "The name of the callback function when an object is added to the set." + }, + "3.0": { + "@K[209]": "OnRemoveFunctionName", + "@K[211]": "The name of the callback function when an object is removed to the set." + } + }, + "@K[203]": "Register to get a callback whenever an object is added or removed from a set. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.RegisterSpecificObjectEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1394 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SpecificObject", + "@K[211]": "The specific object we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." + } + }, + { + "name": "GameScript.Callbacks.UnregisterAIEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1397 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an AI enters or exits the specified region." + } + }, + { + "name": "GameScript.Callbacks.UnregisterAllMsgCallbacks", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [], + "line": 1400 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unregister for any callbacks that were previously registered by \"RegisterForMsg\", or automatically during checkpoint load" + } + }, + { + "name": "GameScript.Callbacks.UnregisterForDeathSequenceNetFixupCallback", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1403 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregisters a function that has been registered to select a death sequence for an object to fix up the synced death sequence" + } + }, + { + "name": "GameScript.Callbacks.UnregisterForDeathSequenceSelectCallback", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1406 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregisters a function that has been registered to select a death sequence for an object" + } + }, + { + "name": "GameScript.Callbacks.UnregisterForDisable", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [], + "line": 1409 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when the object that owns this script is disabled" + } + }, + { + "name": "GameScript.Callbacks.UnregisterForMsg", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1412 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MessageType", + "@K[211]": "The type of message for which we are waiting." + }, + "2.0": { + "@K[209]": "MessageObject", + "@K[211]": "The object that we are watching for a message" + }, + "3.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Unregister callback for message of \"type\" named \"callbackFunctionName\" on \"pScriptObject\" from \"pMessageObject\"" + } + }, + { + "name": "GameScript.Callbacks.UnregisterForScriptValueUpdated", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [], + "line": 1415 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when a value if pushed from the game into the script." + } + }, + { + "name": "GameScript.Callbacks.UnregisterForStopCondition", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [], + "line": 1418 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when the object that owns this script meets the condition set in the script component." + } + }, + { + "name": "GameScript.Callbacks.UnregisterForTimer", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1421 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregister the timer callback function. Note that only periodic callbacks can but unregistered. Since Periodic callbacks are limited to one per callback name, it is obvious which one is meant. For one-time timer callbacks there can be multiples, so we can not determine which callback is to be unregistered. Once you register for a one-time callback, it will happen, it is too late to try to unregister." + } + }, + { + "name": "GameScript.Callbacks.UnregisterForUpdateEveryFrame", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [], + "line": 1424 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unregister the function that is called every frame on the object that owns this script." + } + }, + { + "name": "GameScript.Callbacks.UnregisterObjectEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1427 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region being monitored." + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "Integer representation of the Object Tag." + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object with the specified tag enters or exits the specified region." + } + }, + { + "name": "GameScript.Callbacks.UnregisterObjectInSetEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1430 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SetObject", + "@K[211]": "The Set whose objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object from a specified set enters or exits the specified region." + } + }, + { + "name": "GameScript.Callbacks.UnregisterPlayerEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1433 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region being monitored." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever a player enters or exits the specified region." + } + }, + { + "name": "GameScript.Callbacks.UnregisterSetTracker", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1436 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Set", + "@K[211]": "The Set to stop monitoring." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object is added or removed from the specified set." + } + }, + { + "name": "GameScript.Callbacks.UnregisterSpecificObjectEnterExitRegion", + "namespace": "GameScript.Callbacks", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1439 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SpecificObject", + "@K[211]": "The specific objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object from a specified set enters or exits the specified region." + } + }, + { + "name": "GameScript.Debug.CallRegistryCommand", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1442 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Command", + "@K[211]": "Registry object path and Command, or field" + } + }, + "@K[203]": "Call a registry command or set a registry object's value. Examples: CallRegistryCommand(\"/Audio/Debug/showSoundTable true\")\n\"/Audio/Debug/StopAllSoundCueInstance\")" + } + }, + { + "name": "GameScript.Debug.DataMinerAddFieldFloat", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1445 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "float value to place in field" + } + }, + "@K[203]": "Adds a float value into a row" + } + }, + { + "name": "GameScript.Debug.DataMinerAddFieldInt", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1448 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "integer value to place in field" + } + }, + "@K[203]": "Adds a integer value into a row" + } + }, + { + "name": "GameScript.Debug.DataMinerAddFieldString", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1451 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "float value to place in field" + } + }, + "@K[203]": "Adds a string value into a row" + } + }, + { + "name": "GameScript.Debug.DataMinerCreateRow", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1454 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to create a new row" + } + }, + "@K[203]": "Creates a row to be inserted into a dataminer table" + } + }, + { + "name": "GameScript.Debug.DataMinerSessionBegin", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1457 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Creates a session so that data my be recorded and tied to the session id" + } + }, + { + "name": "GameScript.Debug.DataMinerSessionEnd", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1460 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Ends a session and uploads files to the database" + } + }, + { + "name": "GameScript.Debug.DataMinerSetNoSessionRequired", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1463 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Enables recording data without a session" + } + }, + { + "name": "GameScript.Debug.DataMinerSubmitRow", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1466 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + } + }, + "@K[203]": "Inserts a row into the desired dataminer table" + } + }, + { + "name": "GameScript.Debug.DrawArrow", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1469 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Origin", + "@K[211]": "The arrow's origin" + }, + "2.0": { + "@K[209]": "EndPoint", + "@K[211]": "The arrow's origin" + }, + "3.0": { + "@K[209]": "Radius", + "@K[211]": "The arrow's radius" + }, + "4.0": { + "@K[209]": "Color", + "@K[211]": "The color of the arrow, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws an arrow" + } + }, + { + "name": "GameScript.Debug.DrawLine", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1472 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Point1", + "@K[211]": "One end-point of the line" + }, + "2.0": { + "@K[209]": "Point2", + "@K[211]": "The other end-point of the line" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The color of the line, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws a line" + } + }, + { + "name": "GameScript.Debug.DrawSphere", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1475 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Origin", + "@K[211]": "The sphere's origin" + }, + "2.0": { + "@K[209]": "Radius", + "@K[211]": "The sphere's radius" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The color of the sphere, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws a sphere" + } + }, + { + "name": "GameScript.Debug.ExitGame", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1478 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Exit the game entirely, shout down all the managers and stop the executable" + } + }, + { + "name": "GameScript.Debug.GetProfileCounter", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1481 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the profile counter." + } + }, + "@K[203]": "Returns the current frame's value of a particular profile counter." + } + }, + { + "name": "GameScript.Debug.GetProfileTimer", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1484 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the profile timer." + } + }, + "@K[203]": "Returns the current frame's time in seconds of a particular profile timer." + } + }, + { + "name": "GameScript.Debug.GetSystemMemoryAvailable", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1487 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the number of bytes available in system memory." + } + }, + { + "name": "GameScript.Debug.MemoryLogMark", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1490 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Text", + "@K[211]": "Text for memory mark." + } + }, + "@K[203]": "Creates a custom mark in the memory debug log." + } + }, + { + "name": "GameScript.Debug.MessageLog", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1493 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectToLog", + "@K[211]": "Object to watch for messages" + }, + "2.0": { + "@K[209]": "TurnOn", + "@K[211]": "If true turn on log, if false, turn off" + } + }, + "@K[203]": "Print a log of all the messages received by an object if on. If try to turn on when on or off while off, returns false" + } + }, + { + "name": "GameScript.Debug.PrintCallstack", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [], + "line": 1496 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Prints the current callstack of the script." + } + }, + { + "name": "GameScript.Debug.PrintError", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1499 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Error message" + } + }, + "@K[203]": "Print a string describing an error with the script." + } + }, + { + "name": "GameScript.Debug.PrintInfo", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1502 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Info message" + } + }, + "@K[203]": "Print a string of information from the script." + } + }, + { + "name": "GameScript.Debug.PrintToBottomOfScreen", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1505 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + } + }, + "@K[203]": "Print a string to the lowest position of the screen that fits on-screen . If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer." + } + }, + { + "name": "GameScript.Debug.PrintToScreen", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1508 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + }, + "2.0": { + "@K[209]": "ScreenPosX", + "@K[211]": "Position to start the text on the screen (0.0 to 1.0) where 0 is the left side of screen." + }, + "3.0": { + "@K[209]": "ScreenPosY", + "@K[211]": "Position to start the text on the screen (0.0 to 1.0) where 0 is the top side of screen." + } + }, + "@K[203]": "Print a string to the screen for this frame. If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer." + } + }, + { + "name": "GameScript.Debug.PrintToScreenWithTimer", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1511 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "Time in seconds to leave on the screen" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "Color Table with an r,g,b field range 0 to 255" + }, + "4.0": { + "@K[209]": "IsCentered", + "@K[211]": "Should the text be centered left/right" + } + }, + "@K[203]": "Print a string to the screen and leave it up for \"time\" seconds. Note that this command collects the messages from several scripts so it manages the placement so that they do not overlap, which means you have no control over placement up/down. for those cases use PrintToScreen and manage send the call every frame" + } + }, + { + "name": "GameScript.Debug.PrintWarning", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1514 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Warning message" + } + }, + "@K[203]": "Print a string warning of potential problem with the script." + } + }, + { + "name": "GameScript.Debug.SetOnScreenTextColor", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1517 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of Red, 0 to 255" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of Blue, 0 to 255" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of Green, 0 to 255" + } + }, + "@K[203]": "Set the RGB color for the future text that is printed to the screen. This is only used with \"PrintToScreen\" and \"PrintToBottomOfScreen\" not \"PrintToScreenWithTimer\"" + } + }, + { + "name": "GameScript.Debug.SetOnScreenTimerTextMode", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1520 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "Mode for text placement 0 from top, 1 centered, 2 from bottom" + } + }, + "@K[203]": "Set vertical placement mode for \"PrintToScreenWithTimer\" commands" + } + }, + { + "name": "GameScript.Debug.VerifyOnce", + "namespace": "GameScript.Debug", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1523 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ErrorString", + "@K[211]": "String to send to the verify macro" + } + }, + "@K[203]": "Triggers a VerifySilentEx call. This can only be done once per ScriptComponent." + } + }, + { + "name": "GameScript.Exit", + "namespace": "GameScript", + "signature": { + "parameters": [], + "line": 1526 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "@K[233]" + } + }, + { + "name": "GameScript.FEAR.AddNumberValueToAnnouncementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1529 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the number will be added to." + }, + "2.0": { + "@K[209]": "Number", + "@K[211]": "The number value added to the packet." + } + }, + "@K[203]": "Adds a number value to the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.AddStaticTextValueToAnnouncementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1532 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the string will be added to." + }, + "2.0": { + "@K[209]": "StaticTextID", + "@K[211]": "The string value added to the packet." + } + }, + "@K[203]": "Adds a string value to the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.AddStringValueToAnnouncementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1535 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the string will be added to." + }, + "2.0": { + "@K[209]": "String", + "@K[211]": "The string value added to the packet." + } + }, + "@K[203]": "Adds a string value to the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.BroadcastAnnoucementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1538 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet to display." + } + }, + "@K[203]": "Sends the announcement display packet to the message queue of every local player." + } + }, + { + "name": "GameScript.FEAR.CreateAnnoucementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1541 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player who the announcement should be displayed for." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Used to indicate where the announcement should be displayed." + }, + "3.0": { + "@K[209]": "Announcement", + "@K[211]": "The name of the announcement as defined in global data." + } + }, + "@K[203]": "Creates an announcement display packet and returns the id of the packet. If packet was not created, -1 is returned." + } + }, + { + "name": "GameScript.FEAR.CreepBossAction", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1544 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Creep object" + }, + "2.0": { + "@K[209]": "Attack", + "@K[211]": "Type of attack to perform" + } + }, + "@K[203]": "Sets various settings on the given enemy such that he attacks very aggressively" + } + }, + { + "name": "GameScript.FEAR.DismemberObject", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1547 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DismemberTarget", + "@K[211]": "The object that is going to be dismembered." + }, + "2.0": { + "@K[209]": "DismemberTypeName", + "@K[211]": "The type of dismemberment to attempt." + } + }, + "@K[203]": "Uses the DismembermentComponent in an object, and will attempt to cause a dismemberment of the specified type" + } + }, + { + "name": "GameScript.FEAR.DoScavengerEPALeap", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1550 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The scavenger AI object we are ordering to leap." + }, + "2.0": { + "@K[209]": "LeapLocationIndex", + "@K[211]": "Index into AI Attach Locations component for where AI is to leap to." + } + }, + "@K[203]": "Orders the scavenger to leap onto an EPA at a specified location. Assumes EPA is already the AI's target." + } + }, + { + "name": "GameScript.FEAR.EnableSlowMo", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1553 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player who goes into slowMo" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "A bool to enable or disable the slowMo" + }, + "3.0": { + "@K[209]": "SlowMoCurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the slowMo curve" + }, + "4.0": { + "@K[209]": "VoiceCurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the Voice curve" + } + }, + "@K[203]": "Enable SlowMotion Control for player at a rate controled by the curve" + } + }, + { + "name": "GameScript.FEAR.FlickerPlayerFlashlight", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1556 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose flashlight we are flickering" + }, + "2.0": { + "@K[209]": "FlickerInfo", + "@K[211]": "A table containing information on the flicker. The only required field is \"curve\", which is the script name of an imported curve template. Optional fields include:\n\"flickerTime\" - the number of seconds to flicker the flashlight. Default value is 1.\n\"turnOffAtCompletion\" - if true, the flashlight will be turned off when the flicker ends. Default value is true.\n\"allowTurnOn\" - if true, the flashlight can be turned on/off during the flicker. Default value is true.\n\"forceFlashlightOn\" - if true, the flashlight will be forcibly turned on when the flicker starts. Default value is true." + } + }, + "@K[203]": "Flickers a player's flashlight following a specific curve." + } + }, + { + "name": "GameScript.FEAR.FlickerPlayerHUD", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1559 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose HUD we are flickering" + }, + "2.0": { + "@K[209]": "FlickerName", + "@K[211]": "The name of the flicker in the HUD" + }, + "3.0": { + "@K[209]": "DurationOverride", + "@K[211]": "An override for the duration of the flicker. Use -1 for the defaults set in the flicker." + } + }, + "@K[203]": "Flickers a player's flashlight following a specific curve." + } + }, + { + "name": "GameScript.FEAR.GameDebugDump", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1562 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DirectoryPrefix", + "@K[211]": "The name of the directory to place dumps under." + } + }, + "@K[203]": "Dumps a whole whack of debug data to the hard drive.\nExample: GameScript.FEAR.GameDebugDump(\"DebugDumps\\\")" + } + }, + { + "name": "GameScript.FEAR.GetGenericCounter", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1565 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the current value of the generic counter" + } + }, + { + "name": "GameScript.FEAR.GetGenericTimer", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1568 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the current value of the generic timer." + } + }, + { + "name": "GameScript.FEAR.GetMaxTimeBetweenAmbientEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1571 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the maximum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" + } + }, + { + "name": "GameScript.FEAR.GetMaxTimeBetweenTensionEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1574 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the maximum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" + } + }, + { + "name": "GameScript.FEAR.GetMinTimeBetweenAmbientEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1577 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the minimum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" + } + }, + { + "name": "GameScript.FEAR.GetMinTimeBetweenTensionEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1580 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the minimum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" + } + }, + { + "name": "GameScript.FEAR.GetPlayerColor", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1583 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index of the player whose color you want." + } + }, + "@K[203]": "Returns the value of the color associated with the global player index in 32 bit argb format" + } + }, + { + "name": "GameScript.FEAR.GetProbabilityOfFakeEventForCategory", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1586 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The name of the affected Ambient Event Category" + } + }, + "@K[203]": "Returns the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had." + } + }, + { + "name": "GameScript.FEAR.GetSlowMoPercentRemaining", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1589 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with a Slow Mo Component" + } + }, + "@K[203]": "Checks the object for a Slow Mo Component and returns how much slow mo is remaining, as a percent [0, 1]" + } + }, + { + "name": "GameScript.FEAR.GetTimeSinceLastAmbientEvent", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1592 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the time (in seconds) since the last ambient event (events which do not affect player tension)" + } + }, + { + "name": "GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategory", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1595 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The ambient event category we are checking" + } + }, + "@K[203]": "Returns the time (in seconds) since the last ambient event started for the given category" + } + }, + { + "name": "GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1598 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CategoryGroup", + "@K[211]": "The ambient event category group we are checking" + } + }, + "@K[203]": "Returns the time (in seconds) since the last ambient event started for the given category group" + } + }, + { + "name": "GameScript.FEAR.GetTimeSinceLastTensionEvent", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1601 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the time (in seconds) since the last generative scare event (events which do affect player tension)" + } + }, + { + "name": "GameScript.FEAR.IncrementCurrentPlayerTensionLevel", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1604 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension level we are altering." + }, + "2.0": { + "@K[209]": "Increment", + "@K[211]": "The amount to add to the player's tension, can be negative." + } + }, + "@K[203]": "Adds the \"Increment\" amount to the player's tension level. The Increment amount can be negative to lower the tension" + } + }, + { + "name": "GameScript.FEAR.IsPhasing", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1607 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The AI object to check for phasing" + } + }, + "@K[203]": "This method pertains to the AI notion of phasing, which is essentially a teleport - rather than existing in another world temporarily. This method will tell whether the AI in the midst of a phase behavior or not." + } + }, + { + "name": "GameScript.FEAR.IsPlayerFlashlightOn", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1610 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index for which we are checking flashlight status." + } + }, + "@K[203]": "Return if the player's flashlight is currently on." + } + }, + { + "name": "GameScript.FEAR.NotifyOfExternalEvent", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1613 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Notifies the Ambient Event/Generative Scare system that an external event has occurred" + } + }, + { + "name": "GameScript.FEAR.RefillSlowMo", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1616 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with a Slow Mo Component" + } + }, + "@K[203]": "Checks the object for a Slow Mo Component and sets its current duration to its maximum value" + } + }, + { + "name": "GameScript.FEAR.RegisterAmbientEvent", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1619 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are (un)registering" + }, + "2.0": { + "@K[209]": "bRegister", + "@K[211]": "Register(true) or unregister(false)" + } + }, + "@K[203]": "Register/Unregister ambient event object" + } + }, + { + "name": "GameScript.FEAR.SendAnnoucementPacket", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1622 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet to display." + } + }, + "@K[203]": "Sends the announcement display packet to the message queue for one particular local player." + } + }, + { + "name": "GameScript.FEAR.SetAnnoucementPacketDestination", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1625 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Used to indicate where the announcement should be displayed." + } + }, + "@K[203]": "Sets the display destination of the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.SetAnnoucementPacketPriority", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1628 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "Used to indicate the display priority of the announcement." + } + }, + "@K[203]": "Sets the display priority of the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.SetAnnoucementPacketTime", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1631 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "Used to indicate the display time of the announcement." + } + }, + "@K[203]": "Sets the display time of the specified announcement display packet." + } + }, + { + "name": "GameScript.FEAR.SetCurrentPlayerTensionLevel", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1634 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension level we are setting." + }, + "2.0": { + "@K[209]": "Tension", + "@K[211]": "The player's new tension level." + } + }, + "@K[203]": "Sets the current tension level for the specified player." + } + }, + { + "name": "GameScript.FEAR.SetDLCInventoryGroupOption", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [], + "line": 1637 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Highly specialized script that should be called on local player avatar objects. Grabs the script-owning object and sets all state-enabled primary weapon inventories to the group as defined in that player's profile's DLC inventory option." + } + }, + { + "name": "GameScript.FEAR.SetGenericCounter", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1640 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Count", + "@K[211]": "The new value of the generic counter." + } + }, + "@K[203]": "Sets the current value of the generic counter" + } + }, + { + "name": "GameScript.FEAR.SetGenericTimer", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1643 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Time", + "@K[211]": "The new value of the generic timer." + } + }, + "@K[203]": "Sets the current value of the generic timer" + } + }, + { + "name": "GameScript.FEAR.SetGlobalPerformanceValue", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1646 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PerfCmd", + "@K[211]": "A command for setting global performance values" + } + }, + "@K[203]": "Changes global values to adjust performance for different play environments." + } + }, + { + "name": "GameScript.FEAR.SetMaxTimeBetweenAmbientEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1649 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MaxTime", + "@K[211]": "The new maximum time between ambient events" + } + }, + "@K[203]": "Sets the maximum time between ambient events (events that do NOT affect player tension)" + } + }, + { + "name": "GameScript.FEAR.SetMaxTimeBetweenTensionEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1652 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MaxTime", + "@K[211]": "The new maximum time between generative scares" + } + }, + "@K[203]": "Sets the maximum time between generative scares (events that DO affect player tension)" + } + }, + { + "name": "GameScript.FEAR.SetMinMaxPlayerTensionLevel", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1655 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension range we are setting." + }, + "2.0": { + "@K[209]": "MinTension", + "@K[211]": "The player's new minimum tension level." + }, + "3.0": { + "@K[209]": "MaxTension", + "@K[211]": "The player's new maximum tension level." + } + }, + "@K[203]": "Sets the minimum and maximum tension levels for the specified player." + } + }, + { + "name": "GameScript.FEAR.SetMinTimeBetweenAmbientEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1658 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MinTime", + "@K[211]": "The new minimum time between ambient events that do NOT affect tension" + } + }, + "@K[203]": "Sets the minimum time between ambient events (events that do NOT affect player tension)" + } + }, + { + "name": "GameScript.FEAR.SetMinTimeBetweenTensionEvents", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1661 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MinTime", + "@K[211]": "The new minimum time between generative scares" + } + }, + "@K[203]": "Sets the minimum time between generative scares (events that DO affect player tension)" + } + }, + { + "name": "GameScript.FEAR.SetProbabilityOfFakeEventForCategory", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1664 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The name of the affected Ambient Event Category" + }, + "2.0": { + "@K[209]": "Probability", + "@K[211]": "The probability that any given event for the category will be a fake, on a scale of [0.0, 1.0]" + } + }, + "@K[203]": "Sets the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had." + } + }, + { + "name": "GameScript.FEAR.TurnOnAmbientEvent", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1667 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The ambient event object we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turns the ambient event on (true) or off (false)" + } + }, + "@K[203]": "Turns an individual Ambient Event on/off. This should be used rarely; if you want a specifically scripted ambient event, then it should probably be handled via cutscenes." + } + }, + { + "name": "GameScript.FEAR.TurnOnAmbientEventCategory", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1670 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The ambient event category we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turn the category on(true) or off(false)" + } + }, + "@K[203]": "Turns a category of Ambient Events on/off. Categories are also considered \"off\" if they belong to a Category Group that has been turned off" + } + }, + { + "name": "GameScript.FEAR.TurnOnAmbientEventCategoryGroup", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1673 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CategoryGroup", + "@K[211]": "The ambient event category group we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turn the category on(true) or off(false)" + } + }, + "@K[203]": "Turns a category group of Ambient Events on/off. Ambient Events will not play if their Category belongs to any Group that has been turned off" + } + }, + { + "name": "GameScript.FEAR.UpdateAISettingsForAggressiveAttack", + "namespace": "GameScript.FEAR", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1676 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The enemy whose being set to attack aggressively." + } + }, + "@K[203]": "Sets various settings on the given enemy such that he attacks very aggressively" + } + }, + { + "name": "GameScript.FEARScore.AwardBoostRequirement", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1678 + }, + "calltip": {} + }, + { + "name": "GameScript.FEARScore.AwardChallengeRequirement", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1681 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points" + }, + "2.0": { + "@K[209]": "BoostChallengeIndex", + "@K[211]": "The index of the boost challenge that we are progressing towards, from the table GameScript.BoostChallenge" + }, + "3.0": { + "@K[209]": "NumRequirements", + "@K[211]": "The number of requirements that will be added" + } + }, + "@K[203]": "Add a number of requirements towards the goal, for instance if there is 1 new kill in a kill 30 enemies requirement, we add 1, e.g. for an additional melee kill: Score.AwardBoostRequirement(killerIndex,GameScript.BoostChallenge.Melee,1);" + } + }, + { + "name": "GameScript.FEARScore.AwardMissionPointOccurences", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1684 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will receive points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumOccurrences", + "@K[211]": "The number of times the player has fulfilled the mission point action" + } + }, + "@K[203]": "Add occurrences of Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.AwardMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill, 1)" + } + }, + { + "name": "GameScript.FEARScore.AwardMissionPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1687 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points. Use GameScript.PlayerIndex.kNotAGlobalPlayer to only award points to team score instead of any individual player." + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will receive points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumPoints", + "@K[211]": "The number of Combat Experience Points (CP) added to the player" + } + }, + "@K[203]": "Add Mission points to player identified by GlobalPlayerIndex to their current total in the requested category (e.g. Score.AwardMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints). If GameScript.PlayerIndex.kNotAGlobalPlayer is passed in, then it will award points only to the team score and not to any individual player's score." + } + }, + { + "name": "GameScript.FEARScore.CalculateMissionScore", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1690 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Calculates the total mission score and updates profiles accordingly. This should be called at the very end of a mission" + } + }, + { + "name": "GameScript.FEARScore.GetCumulativeMissionScore", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1693 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose cumulative score we are checking" + } + }, + "@K[203]": "Gets the cumulative mission score for the given player, returning 0 if the player does not exist. Note that if a player loads a checkpoint with a different co-op player than who they saved it with, the cumulative mission scores will be reset to 0 for BOTH players." + } + }, + { + "name": "GameScript.FEARScore.GetCurrentMissionPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1696 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.MissionScoreCategory" + } + }, + "@K[203]": "Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" + } + }, + { + "name": "GameScript.FEARScore.GetCurrentRoundPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1699 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.MissionScoreCategory" + } + }, + "@K[203]": "Queries Round points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentRoundPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" + } + }, + { + "name": "GameScript.FEARScore.GetGameLoadedSinceMissionStarted", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1702 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns whether or not we have loaded the game since the mission started. You must call ResetMissionPoints to clear this flag at the start of a level." + } + }, + { + "name": "GameScript.FEARScore.GetLowestDifficultyUsed", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1705 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the lowest difficulty setting used to play this mission, starting from 1. The value is initially set when ResetMissionPoints is called, and is re-evaluated when a checkpoint finishes loading. Returns 0 if ResetMissionPoints was never called or there is no Difficulty Component in the Global Data object." + } + }, + { + "name": "GameScript.FEARScore.GetMissionPointOccurences", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1708 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.GetCurrentMissionPointOccurrences" + } + }, + "@K[203]": "Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" + } + }, + { + "name": "GameScript.FEARScore.GetMissionTime", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1711 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the current mission time in seconds" + } + }, + { + "name": "GameScript.FEARScore.GetParTime", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1714 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the par time of the current mission in seconds. Use SetParTime() to set the par time for the mission, value stays until the next SetParTime call." + } + }, + { + "name": "GameScript.FEARScore.GetPlayerRank", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1717 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose rank we are retrieving" + } + }, + "@K[203]": "Returns the rank of the given player. Returns 0 if the player isn't found" + } + }, + { + "name": "GameScript.FEARScore.GetScoreMultiplier", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1720 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the current score multiplier. DO NOT USE THIS FOR SCORE CALCULATIONS. The score system already applies the multiplier as points are awarded. This is really only to be used for our script-based announcement system which doesn't know about that math going on behind its back." + } + }, + { + "name": "GameScript.FEARScore.GetTotalChallengeCategoryPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1723 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking" + }, + "2.0": { + "@K[209]": "ChallengeCategory", + "@K[211]": "The challenge category index that we are checking" + } + }, + "@K[203]": "Returns the number of points a player has earned over their entire game session in a particular challenge category. This value gets reset if a player starts a new game, restarts a chapter, or is joined by a friend who was not in the last checkpoint save." + } + }, + { + "name": "GameScript.FEARScore.HasPlayerAchievedChallenge", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1726 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking" + }, + "2.0": { + "@K[209]": "ChallengeIndex", + "@K[211]": "The index of the challenge that we are checking, from the table GameScript.BoostChallenge" + } + }, + "@K[203]": "Returns whether the given player has achieved the specified challenge" + } + }, + { + "name": "GameScript.FEARScore.RegisterForDeath", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1729 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Register for a callback for when ever an \"Actor\" is killed. The callback has a table argument that consists of fields: deathType,killerPlayerIndex,mostDamagingPlayerIndex. If you suspect this documentation is out of date try function OnDeath(argTable) Debug.PrintTable(argTable) end to see contents. The death type is matched up to the types in GameScript.ScoreDeathType.Unspecific,Melee,Headshot,Grenade" + } + }, + { + "name": "GameScript.FEARScore.ResetBoostProgress", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1731 + }, + "calltip": {} + }, + { + "name": "GameScript.FEARScore.ResetChallengeProgress", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1734 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose boost progress will be reset" + }, + "2.0": { + "@K[209]": "BoostChallengeIndex", + "@K[211]": "The index of the boost challenge that we are resetting, from the table GameScript.BoostChallenge" + } + }, + "@K[203]": "Resets a player's progress towards a specific challenge" + } + }, + { + "name": "GameScript.FEARScore.ResetMissionPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1737 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Resets all points and occurrences for all players across all Mission Point categories. Call this function at the start of each level." + } + }, + { + "name": "GameScript.FEARScore.ResetMissionTimer", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1740 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Resets the Mission Timer. Will cause a warning if the timer is currently running. This should be called at the very beginning of a level, just before calling StartMissionTimer()" + } + }, + { + "name": "GameScript.FEARScore.ResetRoundPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1743 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Resets all points for all players for the current round. This does not affect their mission score, or accumulated totals for any mission score category. Call this function at the beginning of each round in an MP game." + } + }, + { + "name": "GameScript.FEARScore.SetParTime", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1746 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the par time of the current mission in seconds. Value stays until the next SetParTime() call" + } + }, + { + "name": "GameScript.FEARScore.StartMissionTimer", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1749 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Starts the Mission Timer. Will cause a red screen if the timer has already been started. This should be called at the very beginning of a level, right after calling ResetMissionTimer()" + } + }, + { + "name": "GameScript.FEARScore.StopMissionTimer", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [], + "line": 1752 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Stops the Mission Timer. Will cause a red screen if the timer has already stopped. This should be called at the very end of a level, just before calling CalculateMissionScore()" + } + }, + { + "name": "GameScript.FEARScore.SubtractMissionPoints", + "namespace": "GameScript.FEARScore", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1755 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will subtract points" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will subtract points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumPoints", + "@K[211]": "The number of Combat Experience Points (CP) subtracted from the player" + } + }, + "@K[203]": "Subtract Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.SubtractMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints)" + } + }, + { + "name": "GameScript.Game.AI.AssignExternalAIOrder", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1758 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "OrderObject", + "@K[211]": "The empireObject containing the order to be assigned" + }, + "2.0": { + "@K[209]": "AssigneeObject", + "@K[211]": "The AI or Squad that receives the order" + } + }, + "@K[203]": "Assigns an AI Order from an object to an AI or Squad" + } + }, + { + "name": "GameScript.Game.AI.EnableAIObject", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1761 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "AI", + "@K[211]": "The specific AI object we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (1) or disabling (0) the AI" + } + }, + "@K[203]": "Enables or disables the AI component within the specified object" + } + }, + { + "name": "GameScript.Game.AI.EnableNodeMapInRegion", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1764 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "NodeMapName", + "@K[211]": "The specific node map name name we are enabling/disabling" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "3.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (1) or disabling (0) the node map" + } + }, + "@K[203]": "Enables or disables the specified node map" + } + }, + { + "name": "GameScript.Game.AI.EnableNodesInRegion", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1767 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "NodeMapEmpireObject", + "@K[211]": "The ai node map to enable/disable nodes" + }, + "2.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "3.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (true) or disabling (false) the nodes" + } + }, + "@K[203]": "Enables or disables nodes in the specified node map" + } + }, + { + "name": "GameScript.Game.AI.EnableSmartMapsInRegion", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1770 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (true) or disabling (false) the nodes" + } + }, + "@K[203]": "Enables or disables all smart nodes in the specified region" + } + }, + { + "name": "GameScript.Game.AI.GetAIIdentityType", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1773 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject of the AI" + } + }, + "@K[203]": "Returns the AIIdentityType of the passed in object" + } + }, + { + "name": "GameScript.Game.AI.GetAITargetInfo", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1776 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject of the AI" + } + }, + "@K[203]": "Returns AITarget information" + } + }, + { + "name": "GameScript.Game.AI.GetDistanceToClosestEnemy", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1779 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The Empire Object whose enemies we are getting the distance to. Requires a Nation Component." + } + }, + "@K[203]": "Returns the distance to enemy closest to the passed-in object. The object requires Nation and Pos/Rot Components." + } + }, + { + "name": "GameScript.Game.AI.InhibitPossession", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1782 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject of the AI" + }, + "2.0": { + "@K[209]": "bInhibit", + "@K[211]": "Whether possession should be inhibited" + } + }, + "@K[203]": "AI is prevented from being possessed when bInhibit is true" + } + }, + { + "name": "GameScript.Game.AI.IsAIControlled", + "namespace": "GameScript.Game.AI", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1785 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are checking if ai controlled" + } + }, + "@K[203]": "Return if the object is currently being controlled by the ai." + } + }, + { + "name": "GameScript.Game.AdjustPossessionVisionModeForCinema", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 1788 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Allows adjustment of the currently controlled object's camera vision mode" + } + }, + { + "name": "GameScript.Game.ApplyStatusEffect", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1791 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EffectObject", + "@K[211]": "The object with the status to apple to the other object." + }, + "2.0": { + "@K[209]": "ObjectToAffect", + "@K[211]": "The object have the status affect applied to." + } + }, + "@K[203]": "Applies a status effect to a specific object in the world." + } + }, + { + "name": "GameScript.Game.AreAllRequiredWorldsSynchronized", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 1794 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if all of the worlds required by the last streaming trigger have been synchronized across all machines in the game and are ready to be fully used." + } + }, + { + "name": "GameScript.Game.AreAllies", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1797 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Object1", + "@K[211]": "First Object we are comparing" + }, + "2.0": { + "@K[209]": "Object2", + "@K[211]": "Second Object we are comparing" + } + }, + "@K[203]": "Checks nation settings if the two objects are alliesSee also: IsNeutral(), AreEnemies(), CopyNation()" + } + }, + { + "name": "GameScript.Game.AreEnemies", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1800 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Object1", + "@K[211]": "First Object we are comparing" + }, + "2.0": { + "@K[209]": "Object2", + "@K[211]": "Second Object we are comparing" + } + }, + "@K[203]": "Checks nation settings to if the two objects are enemies. See also: AreAllies(),IsNeutral(), CopyNation()" + } + }, + { + "name": "GameScript.Game.AreWorldsSynchronized", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1803 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WorldsToCheck", + "@K[211]": "The list of worlds (by their script variable name) to check if synchronized" + } + }, + "@K[203]": "Returns true if all of the worlds specified have been required and have been synchronized across all machines in the game and are ready to be fully used." + } + }, + { + "name": "GameScript.Game.AttachToObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1806 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the two objects at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." + } + }, + { + "name": "GameScript.Game.AttachToRigidBody", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1809 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object to which we are attaching" + }, + "3.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the object to attach and the rigid body at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." + } + }, + { + "name": "GameScript.Game.AttachToSceneNode", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1812 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object to which we are attaching" + }, + "3.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the object to attach and the scene node at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." + } + }, + { + "name": "GameScript.Game.AwardAchievementOccurrence", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1815 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player that is being rewarded" + }, + "2.0": { + "@K[209]": "ScriptAchievementIndex", + "@K[211]": "The index of the achievement that is being rewarded" + } + }, + "@K[203]": "Rewards the given player an occurrence of the given achievement. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1. This function should only be called on the host, and will be synced to clients. It will do nothing if called directly on the client." + } + }, + { + "name": "GameScript.Game.BroadcastMissionEventMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1818 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "TextId", + "@K[211]": "The text ID of the message." + } + }, + "@K[203]": "Broadcast a mission-specific event message." + } + }, + { + "name": "GameScript.Game.Camera.AddCameraFilterGroupByNameToPlayer", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1821 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global index of the player to which filters should be added" + }, + "2.0": { + "@K[209]": "TemplateObjectKey", + "@K[211]": "Object Template Path" + } + }, + "@K[203]": "Create a filter set object from \"TemplateObjectKey\" and attach to camera for player \"globalPlayerIndex\"" + } + }, + { + "name": "GameScript.Game.Camera.DoesFilterSetHaveCameraComponent", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1824 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "SetIndex", + "@K[211]": "Which index we are using from the PlayerCameraFilterComponent" + } + }, + "@K[203]": "Return if the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex' actually has a camera component attached." + } + }, + { + "name": "GameScript.Game.Camera.GetCameraFOV", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1827 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV should be returned." + } + }, + "@K[203]": "Get the current FOV in degrees from camera object \"CameraObject\"" + } + }, + { + "name": "GameScript.Game.Camera.GetCameraFarDist", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1830 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose far distance should be returned." + } + }, + "@K[203]": "Get the current far plane distance from camera object \"CameraObject\"" + } + }, + { + "name": "GameScript.Game.Camera.GetCameraNearDist", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1833 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose near distance should be returned." + } + }, + "@K[203]": "Get the current near plane distance for camera object \"CameraObject\"" + } + }, + { + "name": "GameScript.Game.Camera.GetCameraObjectForPlayer", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1836 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The player for which you want to get the camera object" + } + }, + "@K[203]": "Return the camera object for the player 'GlobalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Camera.GetCameraViewportAspectRatio", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1839 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose aspect ratio should be returned." + } + }, + "@K[203]": "Get the current viewport aspect ratio from camera object \"CameraObject\"" + } + }, + { + "name": "GameScript.Game.Camera.GetFilterGroupForPlayer", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1842 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player for which you want to get the filter group" + }, + "2.0": { + "@K[209]": "categoryIndex", + "@K[211]": "The desired filter group category. Typically should be 0." + } + }, + "@K[203]": "Return the filter group object for the player 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Camera.GetNumPlayerCameraFilterSet", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1845 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the number of camera filter sets used by the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Camera.GetPlayerCameraFilterSetAlpha", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1848 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "SetIndex", + "@K[211]": "Which index we are using from the PlayerCameraFilterComponent" + } + }, + "@K[203]": "Return the alpha of the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Camera.GetPlayerIndexFromCameraId", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1851 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "cameraId", + "@K[211]": "The camera id for which you want to get the controlling player index" + } + }, + "@K[203]": "Return the index of the global player index current controlling the camera with the index 'cameraId'." + } + }, + { + "name": "GameScript.Game.Camera.GetUnadjustedCameraFOV", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1854 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV should be returned." + } + }, + "@K[203]": "Get the current FOV in degrees from camera object \"CameraObject\". This value is not adjusted for split screen." + } + }, + { + "name": "GameScript.Game.Camera.IsInPlayerCameraView", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1857 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." + } + }, + { + "name": "GameScript.Game.Camera.IsInPlayerCameraViewRange", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1860 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + }, + "3.0": { + "@K[209]": "MinAngle", + "@K[211]": "The minimum angle between the camera forward and object position" + }, + "4.0": { + "@K[209]": "MaxAngle", + "@K[211]": "The maximum angle between the camera forward and object position" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." + } + }, + { + "name": "GameScript.Game.Camera.IsPointInPlayerCameraView", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1863 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "PointPosition", + "@K[211]": "The position that we are checking, table containing x,y,z" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." + } + }, + { + "name": "GameScript.Game.Camera.RemoveCameraFilterGroupByNameFromPlayer", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1866 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player from which the filter should be removed" + }, + "2.0": { + "@K[209]": "TemplateObjectKey", + "@K[211]": "Object Template Path" + } + }, + "@K[203]": "Remove filter set object \"TemplateObjectKey\" from player \"PlayerIndex\"" + } + }, + { + "name": "GameScript.Game.Camera.SetAdjustedCameraFOV", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1869 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV we want to adjust." + }, + "2.0": { + "@K[209]": "FOV", + "@K[211]": "The new FOV to set on \"CameraObject\"" + } + }, + "@K[203]": "Adjust the current field of view on camera object \"CameraObject\"" + } + }, + { + "name": "GameScript.Game.Camera.SetCameraFilterColor", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1872 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the color material variable that we are setting." + }, + "3.0": { + "@K[209]": "TextureResourceName", + "@K[211]": "The color to set in the filter material, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Set a color into the camera filter material for the specified player." + } + }, + { + "name": "GameScript.Game.Camera.SetCameraFilterNamedTexture", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1875 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the texture material variable that we are setting." + }, + "3.0": { + "@K[209]": "TextureResourceName", + "@K[211]": "The name of the texture resource to set in the filter material" + } + }, + "@K[203]": "Set a named texture into the camera filter material for the specified player." + } + }, + { + "name": "GameScript.Game.Camera.SetCameraFilterScalar", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1878 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the scalar material variable that we are setting." + }, + "3.0": { + "@K[209]": "ScalarValue", + "@K[211]": "The value that we are setting for the scalar material variable." + } + }, + "@K[203]": "Set the value for a named scalar material variable by name inside all camera filters of the given player." + } + }, + { + "name": "GameScript.Game.Camera.SetCameraMotionBlurEnabled", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1881 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global index of the player whose motion blur filter should be changed" + }, + "2.0": { + "@K[209]": "enabled", + "@K[211]": "Whether or not the motion blur should be enabled" + } + }, + "@K[203]": "Enable or disable motion blur on the camera for player \"globalPlayerIndex\"" + } + }, + { + "name": "GameScript.Game.Camera.SetPlayerCameraFilterSet", + "namespace": "GameScript.Game.Camera", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1884 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "FilterValues", + "@K[211]": "The new filter values, described in a table with the following fields:\n\"newSet\" - integer - the new set group to transition to\n\"alpha\" - float - the alpha value of the new filter set in the range [0, 1]. Not all filters use alpha values.\n\"transitionTime\" - float - how many seconds the transition takes\n\"turnAllOff\" - bool - whether we turn off all other filters before transitioning to the new set\n" + } + }, + "@K[203]": "Transitions the current camera filter set for the given player." + } + }, + { + "name": "GameScript.Game.CompleteCurrentLevel", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1887 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player who has completed the current level" + } + }, + "@K[203]": "Marks the current level as completed, used for awarding achievements. This function must be called on host and clients. See also: SetCurrentLevel()" + } + }, + { + "name": "GameScript.Game.CopyNation", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1890 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SourceObject", + "@K[211]": "The object whose nation we are copying" + }, + "2.0": { + "@K[209]": "DestinationObject", + "@K[211]": "The object to which we are copying a nation" + } + }, + "@K[203]": "Copy Nation from \"SourceObject\" to \"DestinationObject\".See also: IsNeutral(), AreAllies(), AreEnemies()" + } + }, + { + "name": "GameScript.Game.Damage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1893 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are damaging" + }, + "2.0": { + "@K[209]": "DamageAmount", + "@K[211]": "How much damage to attempt." + } + }, + "@K[203]": "Send a message to damage the object. See also DamageWithInfo()" + } + }, + { + "name": "GameScript.Game.DamageWithInfo", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1896 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are damaging" + }, + "2.0": { + "@K[209]": "DamageInfo", + "@K[211]": "Table with a variety of info options for damaging:\n\"damage\" - amount of damage to cause\n\"impactX\", \"impactY\", \"impactZ\" - position of the \"impact\" of the damage\n\"sourceX\", \"sourceY\", \"sourceZ\" - position of the \"source\" of the damage\n\"type\" - the damage type\n\"weaponType\" - the weapon type of the damage\n\"hitReactionProbability\" - the probability [0,1] of a hit reaction by the target. May require setting a damage or weapon type\n\"sourceObject\" - object that is the source of the damage\n" + } + }, + "@K[203]": "Send a message to damage the object. See also Damage()" + } + }, + { + "name": "GameScript.Game.DataMinerCheckpoint", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 1899 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends a dataminer checkpoint message with the given name" + } + }, + { + "name": "GameScript.Game.Death.GetDeathChoreographerSequence", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1902 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "KilledObject", + "@K[211]": "The recently killed object" + } + }, + "@K[203]": "Finds the death choreographer in a recently killed object and returns the name of the death sequence used. This function returns an empty string on error." + } + }, + { + "name": "GameScript.Game.Death.GetLastDamageInfo", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [], + "line": 1905 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns information about the last unit of damage delivered to the script's object" + } + }, + { + "name": "GameScript.Game.Death.GetLastDamageInfoFromObject", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1908 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DamagedObject", + "@K[211]": "The object from which we are retrieving damage info" + } + }, + "@K[203]": "Returns information about the last unit of damage delivered to the object" + } + }, + { + "name": "GameScript.Game.Death.GetLastDamagePlayerIndexFromObject", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1911 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DamagedObject", + "@K[211]": "The object from which we are retrieving damage info" + } + }, + "@K[203]": "Returns the player index of whoever last damaged the object" + } + }, + { + "name": "GameScript.Game.Death.IsBloodEnabled", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [], + "line": 1914 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns whether blood is enabled in the current game, as determined by the active player profiles." + } + }, + { + "name": "GameScript.Game.Death.IsDamagePinning", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1917 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DamageInfo", + "@K[211]": "The damage info to check, as returned by GetLastDamageInfo" + } + }, + "@K[203]": "Returns whether specific damage (as returned by GetLastDamageInfo) was pinning damage." + } + }, + { + "name": "GameScript.Game.Death.IsGoreEnabled", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [], + "line": 1920 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns whether gore is enabled in the current game, as determined by the active player profiles." + } + }, + { + "name": "GameScript.Game.Death.SetDeathChoreographerSequence", + "namespace": "GameScript.Game.Death", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1923 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SequenceName", + "@K[211]": "The name of the death sequence to select" + } + }, + "@K[203]": "Instructs the death choreographer for the script's component to use the specified death death sequence. If a Death Choreographer Component is not available in the object, then a red screen will occur." + } + }, + { + "name": "GameScript.Game.Detach", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1926 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to detach" + } + }, + "@K[203]": "Detaches the specified object." + } + }, + { + "name": "GameScript.Game.DisplayText", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1929 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TextDisplayInfo", + "@K[211]": "Information about the text to be displayed" + }, + "2.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index for the local player to show the text" + }, + "3.0": { + "@K[209]": "ExcusivelyOwned", + "@K[211]": "Is this display request exclusively controlled?" + }, + "4.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which it is exclusively owned by" + } + }, + "@K[203]": "Display text in the UI." + } + }, + { + "name": "GameScript.Game.DoesPosRotExist", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1932 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns if an object has a posRot Component" + } + }, + { + "name": "GameScript.Game.DoesSceneNodeExist", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1935 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are checking" + } + }, + "@K[203]": "Returns if a scene node named \"SceneNodeName\" exists in this object." + } + }, + { + "name": "GameScript.Game.Door.Enable", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1938 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be enabled (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be enabled. If false, then the door will be disabled." + } + }, + "@K[203]": "Enables or disables the door functionality of the given object. This is different than the EnableAllEnableables function" + } + }, + { + "name": "GameScript.Game.Door.GetPosition", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1941 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to check" + } + }, + "@K[203]": "Returns the position of the door: 0 if it is closed, 1 if it is open, -1 if it is open in the opposite direction (if it swings both ways). This function is only applicable for \"Simple Doors\", i.e. those that have the \"Advanced Controls\" setting set to false. Otherwise, it will always return 0." + } + }, + { + "name": "GameScript.Game.Door.GetStatus", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1944 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object from which we get the door status (requires a Door Object Component)" + } + }, + "@K[203]": "Get a table of info about the door status with fields:\n.state = GameScript.DoorState.kLoose, GameScript.DoorState.kOpen, GameScript.DoorState.kClosed\n.bLocked = true,false\n.bEnabled = true,false\n.bActive = true,false\n" + } + }, + { + "name": "GameScript.Game.Door.Lock", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1947 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be locked/unlocked (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be locked. If false, then the door will be unlocked." + } + }, + "@K[203]": "Locks or unlocks the given door object." + } + }, + { + "name": "GameScript.Game.Door.LockSilent", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1950 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be locked/unlocked (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be locked. If false, then the door will be unlocked." + } + }, + "@K[203]": "Locks or unlocks the given door object silently." + } + }, + { + "name": "GameScript.Game.Door.MoveToNextPosition", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1953 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + } + }, + "@K[203]": "Moves the door its next preset position." + } + }, + { + "name": "GameScript.Game.Door.MoveToPercentPosition", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1956 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range." + } + }, + { + "name": "GameScript.Game.Door.MoveToPercentPositionSilent", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1959 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range silently." + } + }, + { + "name": "GameScript.Game.Door.MoveToPercentPositionWithSpeedAndAcceleration", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 1962 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + }, + "3.0": { + "@K[209]": "fSpeed", + "@K[211]": "How fast the door should open deg/s or m/s." + }, + "4.0": { + "@K[209]": "fAcceleration", + "@K[211]": "Acceleration override [0 = use default from hinge]" + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range." + } + }, + { + "name": "GameScript.Game.Door.MoveToPresetPosition", + "namespace": "GameScript.Game.Door", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1965 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "nPosition", + "@K[211]": "Which preset position should we move the door to." + } + }, + "@K[203]": "Moves the door to one of its preset positions." + } + }, + { + "name": "GameScript.Game.Drop", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1968 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectToDrop", + "@K[211]": "The object to drop" + } + }, + "@K[203]": "Drops the given object from its respective inventory. NOTE: due to some wackiness in how we handle inventories in multiplayer, DO NOT write scripts/logics that rely on the existence of an object that is dropped using this function." + } + }, + { + "name": "GameScript.Game.EnableAllEnableables", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1971 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable components in this object" + } + }, + { + "name": "GameScript.Game.EnableAllUsables", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1974 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable Usable components in this object" + } + }, + { + "name": "GameScript.Game.EnableComponent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1977 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "True - enables this component, False - disables" + } + }, + "@K[203]": "Does the same type of enable or disable as Enable/Disable Component does" + } + }, + { + "name": "GameScript.Game.EnableGlowRendering", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1980 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "Set to true to enable glow rendering input; set to false to disable it." + }, + "2.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index of the player whose glow rendering we want to enable" + } + }, + "@K[203]": "Enables or disables controller input." + } + }, + { + "name": "GameScript.Game.EnableHitPointPriority", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 1983 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a CreateObjectComponent." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "The slot number as defined in HitPointControllerComponent" + }, + "3.0": { + "@K[209]": "Enable", + "@K[211]": "False - stops this level from being considered as part of the total hit points" + } + }, + "@K[203]": "Disable a Hit Point component to remove it from the active list" + } + }, + { + "name": "GameScript.Game.EnableInput", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 1986 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "Set to true to enable controller input; set to false to disable it." + } + }, + "@K[203]": "Enables or disables controller input." + } + }, + { + "name": "GameScript.Game.EnableObjectInput", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 1989 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing IPlayerComponent" + }, + "2.0": { + "@K[209]": "EnableHeading", + "@K[211]": "Set to true to enable heading input; set to false to disable it." + }, + "3.0": { + "@K[209]": "EnablePitch", + "@K[211]": "Set to true to enable pitch input; set to false to disable it." + }, + "4.0": { + "@K[209]": "EnableMovement", + "@K[211]": "Set to true to enable movement input; set to false to disable it." + }, + "5.0": { + "@K[209]": "EnableOther", + "@K[211]": "Set to true to enable other input; set to false to disable it." + } + }, + "@K[203]": "Enables or disables controller input." + } + }, + { + "name": "GameScript.Game.EnableVFXAnchor", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1992 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a VFXAnchor Component." + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "True - Causes a VFXAnchorComponent to start emitting" + } + }, + "@K[203]": "Start/Stops a VFXAnchorComponent from emitting" + } + }, + { + "name": "GameScript.Game.Energy.AdjustEnergyLevel", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1995 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "EnergyChange", + "@K[211]": "Units to adjust current energy level by" + } + }, + "@K[203]": "Moves energy level up or down by the set amount. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.EnableAutoFill", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 1998 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "Whether the Energy Component should currently engage its auto-fill mechanism" + } + }, + "@K[203]": "Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.GetEnergyFillRate", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2001 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Gets the fill rate from the component. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.GetEnergyLevel", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2004 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with an Energy Component" + }, + "2.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the Energy Component to fetch the value from" + } + }, + "@K[203]": "Checks an object for its current energy level (absolute value, NOT percentage), returning 0 if there is no Energy Component" + } + }, + { + "name": "GameScript.Game.Energy.ResetEnergyDrainRate", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2007 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Resets drain rate to Forge setting. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.ResetEnergyFillRate", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2010 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Resets fill rate to Forge setting. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.SetEnergyDrainRate", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2013 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "DrainRate", + "@K[211]": "Units per second that draining should result in" + } + }, + "@K[203]": "Change the speed at which Draining occurs. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.SetEnergyFillRate", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2016 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "FillRate", + "@K[211]": "Units per second that filling should result in" + } + }, + "@K[203]": "Change the speed at which Filling occurs. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.SetEnergyLevel", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2019 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "EnergyLevel", + "@K[211]": "Energy level to jump to" + } + }, + "@K[203]": "Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.SetEnergyLevelOnObject", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2022 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are overriding the energy level on" + }, + "2.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the energy component to overwrite" + }, + "3.0": { + "@K[209]": "EnergyLevel", + "@K[211]": "Energy level to jump to" + } + }, + "@K[203]": "Moves energy level to the set amount. If there is no Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.StartDrainingEnergy", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2025 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Cause the energy meter to start draining to 0. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.StartFillingEnergy", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2028 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Cause the energy meter to start filling towards full. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.Energy.StopEnergyRateChange", + "namespace": "GameScript.Game.Energy", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2031 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Halts all filling and draining. If the component is not an Energy Component, there will be a red screen" + } + }, + { + "name": "GameScript.Game.ForceRiderIntoVehicle", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2034 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "nInvGroup", + "@K[211]": "Inventory group to force the rider into, defaults to zero." + } + }, + "@K[203]": "Forces an rider object to ride a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component" + } + }, + { + "name": "GameScript.Game.ForceRiderOutOfVehicle", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2037 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "bSkipExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component" + } + }, + { + "name": "GameScript.Game.ForceRiderVehicleState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2040 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "bStartRiding", + "@K[211]": "Start riding (true) or stop riding (false)" + }, + "4.0": { + "@K[209]": "bSkipEnterExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to ride or exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component. Includes parameters to start/stop riding and skip entry/exit animations." + } + }, + { + "name": "GameScript.Game.ForceStopRiding", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2043 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "bSkipExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to exit its vehicle. Does the same thing as ForceRiderOutOfVehicle, but does not require a vehicle object handle." + } + }, + { + "name": "GameScript.Game.GetActiveDestructibleObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2046 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the current object active in the destructible" + } + }, + { + "name": "GameScript.Game.GetAllDestructibleObjects", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2049 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns all the objects part of a destructible" + } + }, + { + "name": "GameScript.Game.GetAnimationVariable", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2052 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are querying for the animation variable" + }, + "2.0": { + "@K[209]": "AnimationVariable", + "@K[211]": "The name of animation variable of which we want the value" + } + }, + "@K[203]": "Return the value of the animation variable that matches \"AnimationVariable\"" + } + }, + { + "name": "GameScript.Game.GetDamageHistory", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2055 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose damage history we are retrieving." + } + }, + "@K[203]": "Returns a table of the object's damage history, where entry in the table is a table itself with two fields: \"playerIndex\" (the index of the player that has damaged the object) and \"damage\" (the amount of damage dealt by the player). Damage history can only be grabbed from objects that have Hit Point Controller components." + } + }, + { + "name": "GameScript.Game.GetDestructibleCurrentState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2058 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the current state of the destructible" + } + }, + { + "name": "GameScript.Game.GetDestructibleFinalState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2061 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the final state of the destructible" + } + }, + { + "name": "GameScript.Game.GetDestructibleInitialState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2064 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the initial of the destructible" + } + }, + { + "name": "GameScript.Game.GetDestructibleObjectHealthPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2067 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the health percent of the destructible" + } + }, + { + "name": "GameScript.Game.GetDifficulty", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2070 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the game's current difficulty level, starting from 1. If there is no Difficulty Component in the Global Data object, then this function will throw a red screen and return 0" + } + }, + { + "name": "GameScript.Game.GetEnergyLevelPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2073 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with an Energy Component" + } + }, + "@K[203]": "Checks an object for its current energy level percent [0,1], returning 0 if there is no Energy Component. WARNING: If there's more than one energy component (as on Fettel), the 'first' one will be returned, which isn't specifically defined." + } + }, + { + "name": "GameScript.Game.GetEnvironmentalEffectObjects", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2076 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EnvironmentalEffectObject", + "@K[211]": "The empireObject for which we are examining for an Environmental Effect Component" + } + }, + "@K[203]": "Check if \"EnvironmentalEffectObject\" has a Environmental Effect Component, and if so, get a list of Effect objects in the world." + } + }, + { + "name": "GameScript.Game.GetForward", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2079 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting forward" + } + }, + "@K[203]": "Returns vector3D with forward heading of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.GetHitPointPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2082 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + } + }, + "@K[203]": "Return the hit points percentage of the empireObject, returns 1.0 if no indestructible" + } + }, + { + "name": "GameScript.Game.GetInteractionObjects", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2085 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose interactions we are retrieving" + } + }, + "@K[203]": "Return all objects currently being interacted with.\n" + } + }, + { + "name": "GameScript.Game.GetInteractionUser", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2088 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose interactions we are retrieving" + } + }, + "@K[203]": "Return the user currently interacting with the object.\n" + } + }, + { + "name": "GameScript.Game.GetInventoryItems", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2091 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose inventory we are searching" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to search." + } + }, + "@K[203]": "Return all objects carried by empireObject of the given inventory type.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists\n5 = Power-up inventory lists" + } + }, + { + "name": "GameScript.Game.GetInventoryItemsByTypeAndName", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2094 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose inventory we are searching" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to search." + }, + "3.0": { + "@K[209]": "InventoryName", + "@K[211]": "The name of the inventory we want to search." + } + }, + "@K[203]": "Return all objects carried by empireObject of the given inventory type.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists\n5 = Power-up inventory lists" + } + }, + { + "name": "GameScript.Game.GetInventoryOwner", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2097 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject that is being carried" + } + }, + "@K[203]": "Return the object that is carrying the given empireObject" + } + }, + { + "name": "GameScript.Game.GetLastMeleeAttack", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2100 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that recently made a melee attack." + } + }, + "@K[203]": "Returns the index (starting from 1) of the last melee attack made by the given object. Returns 0 if the object has not attacked yet, or does not have a Melee Component" + } + }, + { + "name": "GameScript.Game.GetMyObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2103 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the object that owns the script that is running." + } + }, + { + "name": "GameScript.Game.GetName", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2106 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for name" + } + }, + "@K[203]": "Return the name of the empireObject" + } + }, + { + "name": "GameScript.Game.GetNumDesiredWorldsPending", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2109 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get number of desired worlds that are currently being streamed into memory, and are not yet ready" + } + }, + { + "name": "GameScript.Game.GetObjectAttachedTo", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2112 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to get the object attached to." + } + }, + "@K[203]": "Returns an object that is attached to another object." + } + }, + { + "name": "GameScript.Game.GetOwnerObjectChangeHandlingObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2115 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject that is being queried for a OwnerObjectChangeHandling component for ownership" + } + }, + "@K[203]": "Return the object that owns the object via the OwnerObjectChangeHandling component." + } + }, + { + "name": "GameScript.Game.GetPosition", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2118 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + } + }, + "@K[203]": "Returns vector3D with position of the object in fields x,y,z of the table, if no position exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.GetProjectileTarget", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2121 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The projectile" + } + }, + "@K[203]": "Return the target of the projectile passed to the function." + } + }, + { + "name": "GameScript.Game.GetRandomVectorInCone", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2124 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ConeAxis", + "@K[211]": "A 3d vector describing the cone's axis" + }, + "2.0": { + "@K[209]": "ConeAngle", + "@K[211]": "Angle in degrees" + } + }, + "@K[203]": "Returns a vector ( table with x, y, z elements ) that represents a random rotation of the ConeAxis such that the angle between the returned vector and the ConeAxis will be equal to or less than the specified ConeAngle" + } + }, + { + "name": "GameScript.Game.GetRotateSceneObjectSpeed", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2127 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the RotateScenObject component" + } + }, + "@K[203]": "Get the current speed of the rotateScene Object is r,p,h degrees per second" + } + }, + { + "name": "GameScript.Game.GetRotation", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2130 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" + } + }, + { + "name": "GameScript.Game.GetSceneNodePosition", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2133 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are requesting position" + } + }, + "@K[203]": "Returns vector3D with position of the scene node of object in fields x,y,z of the table, if no position exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.GetSceneNodeRotation", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2136 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are requesting roll, pitch and heading vector" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" + } + }, + { + "name": "GameScript.Game.GetSide", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2139 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting side" + } + }, + "@K[203]": "Returns vector3D with side direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.GetSpawnLocationsFromSpawner", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2142 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SpanwerObject", + "@K[211]": "The empireObject for which we are examining for a Spawner Component" + } + }, + "@K[203]": "Check if \"SpanwerObject\" has a Spawner Component, and if so, get a list of Spawn location objects." + } + }, + { + "name": "GameScript.Game.GetSpecificHitPointPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2145 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + }, + "2.0": { + "@K[209]": "HealthName", + "@K[211]": "The name of the specific health that we want to query" + } + }, + "@K[203]": "Return the hit points percentage of a specific health pool in the empireObject, returns 1.0 if no indestructible" + } + }, + { + "name": "GameScript.Game.GetSuspendingObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2148 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SuspendedObject", + "@K[211]": "The object that is being suspended" + } + }, + "@K[203]": "Checks a suspended object and reports which object is suspending it. If the object is not suspended, it will return nil" + } + }, + { + "name": "GameScript.Game.GetUp", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2151 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting up" + } + }, + "@K[203]": "Returns vector3D with up direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.GetWorldName", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2154 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are finding the world" + } + }, + "@K[203]": "Return the world in which EmpireObject is currently present." + } + }, + { + "name": "GameScript.Game.Graphics.GetColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2157 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + } + }, + "@K[203]": "Get the object's hardware light's color. Note only returns the color for the first light found Expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + { + "name": "GameScript.Game.Graphics.GetEnvironmentLight", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [], + "line": 2160 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns basic environment light information in a table with the following fields:\n[\"red\"] - the amount of red in the sun color, on a scale of [0, 255]\n[\"green\"] - the amount of green in the sun color, on a scale of [0, 255]\n[\"blue\"] - the amount of blue in the sun color, on a scale of [0, 255]\n[\"alpha\"] - the amount of alpha (multiplier) in the sun color, on a scale of [0, 255]\n[\"theta\"] - the direction where the sun comes from in degrees\n[\"phi\"] - the sun's angle from the horizon in degrees" + } + }, + { + "name": "GameScript.Game.Graphics.GetPortalOpen", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2163 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The object with a portal" + } + }, + "@K[203]": "Gets whether a portal is open or closed." + } + }, + { + "name": "GameScript.Game.Graphics.SetAlphaBlend", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2166 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose alpha we are changing" + }, + "2.0": { + "@K[209]": "AlphaLevel", + "@K[211]": "The alpha level to which we are setting. 0 is transparent, 1 is opaque" + }, + "3.0": { + "@K[209]": "BlendTime", + "@K[211]": "The time in seconds over which the blend occurs" + }, + "4.0": { + "@K[209]": "IsAdditive", + "@K[211]": "Whether or not to use an additive blend" + } + }, + "@K[203]": "Sets the alpha for an object with an AlphaBlendComponent to the requested level, blending to that level in \"BlendTime\"" + } + }, + { + "name": "GameScript.Game.Graphics.SetAmbientLightIntensity", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2169 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the sun's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FinalIntensity", + "@K[211]": "The sun's final intensity" + } + }, + "@K[203]": "Transitions the sun's intensity from its current values to the ones specified over a given time and transition curve." + } + }, + { + "name": "GameScript.Game.Graphics.SetAmbientLightSpecularity", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2172 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "FinalSpecularity", + "@K[211]": "The sun's final specularity" + } + }, + "@K[203]": "Changes the sun's specularity." + } + }, + { + "name": "GameScript.Game.Graphics.SetCastsShadows", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2175 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "If true, shadows are enabled, if false, they are diabled" + } + }, + "@K[203]": "Enable(or disable) shadows from a hardware light" + } + }, + { + "name": "GameScript.Game.Graphics.SetColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2178 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The hardware light's final color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Transitions the object's hardware light's color and direction from its current values to the ones specified over a given time and transition curve." + } + }, + { + "name": "GameScript.Game.Graphics.SetContractionsFogColors", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 2181 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "DepthFogColor", + "@K[211]": "The depth fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + }, + "5.0": { + "@K[209]": "HeightFogColor", + "@K[211]": "The height fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + } + }, + "@K[203]": "Set the fog color with a transition over time" + } + }, + { + "name": "GameScript.Game.Graphics.SetContractionsFogValues", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2184 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogValues", + "@K[211]": "The fog's values and direction, expressed as a table with values for \"depthNear\", \"depthFar\", \"depthMax\", \"heightNear\", \"heightFar\", \"heightTop\", \"heightBottom\", and \"heightMax\"" + } + }, + "@K[203]": "Set the fog to a new set of values with a transition over time" + } + }, + { + "name": "GameScript.Game.Graphics.SetDiffuseAmbientCubeMap", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2187 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name of the texture variable defined in the script" + } + }, + "@K[203]": "Changes the diffuse ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change." + } + }, + { + "name": "GameScript.Game.Graphics.SetDistantObjectsShadowed", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2190 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Shadowed", + "@K[211]": "Should objects beyond the outer shadow distance be shadowed?" + } + }, + "@K[203]": "Should objects beyond the outer shadow distance be shadowed?" + } + }, + { + "name": "GameScript.Game.Graphics.SetEnvironmentLight", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2193 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the sun's current values to the ones specified" + }, + "4.0": { + "@K[209]": "EnvLightValues", + "@K[211]": "The sun's final color and direction, expressed as a table with values for \"red\", \"green\", \"blue\", \"alpha\", \"theta\" (direction, in degrees), and \"phi\" (angle from the horizon, in degrees)" + } + }, + "@K[203]": "Transitions the sun's color and direction from its current values to the ones specified over a given time and transition curve." + } + }, + { + "name": "GameScript.Game.Graphics.SetFogColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2196 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogColor", + "@K[211]": "The fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + } + }, + "@K[203]": "Set the fog color with a transition over time" + } + }, + { + "name": "GameScript.Game.Graphics.SetFogCubeMap", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2199 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name in the ScriptComponent texture list that refers to the new fog cube map texture" + } + }, + "@K[203]": "Set the fog cube map to a new texture. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light/Fog component cannot safely save this resource-based change." + } + }, + { + "name": "GameScript.Game.Graphics.SetFogValues", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2202 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogValues", + "@K[211]": "The fog's values and direction, expressed as a table with values for \"near\", \"far\", \"max\", \"top\", \"bottom\" and \"type\" which is 0=NoFog, 1=DepthFog, 2=HeightFog and \"source\" which is 0=constant, 1 = cubeMap " + } + }, + "@K[203]": "Set the fog to a new set of values with a transition over time" + } + }, + { + "name": "GameScript.Game.Graphics.SetGlobalSunDirection", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [], + "line": 2205 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the direction of the global shadow map used for multiple LightProbeRegionComponents.\n[\"theta\"] - theta angle of the shadow direction\n[\"phi\"] - phi angle of the shadow direction\n" + } + }, + { + "name": "GameScript.Game.Graphics.SetLightControl", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2208 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "ColorA", + "@K[211]": "ColorA for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "3.0": { + "@K[209]": "ColorB", + "@K[211]": "ColorB for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Change the light control component's color values." + } + }, + { + "name": "GameScript.Game.Graphics.SetLightControlAndCurve", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2211 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "ColorA", + "@K[211]": "ColorA for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "3.0": { + "@K[209]": "ColorB", + "@K[211]": "ColorB for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "4.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + } + }, + "@K[203]": "Change the light control component's color values and timed curve." + } + }, + { + "name": "GameScript.Game.Graphics.SetLightIntensity", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2214 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The light holder object" + }, + "2.0": { + "@K[209]": "Intensity", + "@K[211]": "The light's intensity, 0 to 1 is normal range" + } + }, + "@K[203]": "Set the intensity of the light." + } + }, + { + "name": "GameScript.Game.Graphics.SetLightProbeRegionAmbientColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2217 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a light probe region" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The light probe region's ambient contribution, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Set the ambient contribution of a light probe region." + } + }, + { + "name": "GameScript.Game.Graphics.SetLightRadius", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2220 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerRadius", + "@K[211]": "Inner radius in meters of the light" + }, + "3.0": { + "@K[209]": "OuterRadius", + "@K[211]": "Outer radius in meters of the light" + } + }, + "@K[203]": "Set the inner and outer radius of an object with a hardware light." + } + }, + { + "name": "GameScript.Game.Graphics.SetMaterialSortMode", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2223 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose material we are changing" + }, + "2.0": { + "@K[209]": "SortMode", + "@K[211]": "The SortMode we are changing to. SORT_NOTSPECIFIED = 0, SORT_DEPTH = 1, SORT_DECAL = 2, SORT_SKY = 3, SORT_SHADOW = 4, SORT_LAST = 5" + } + }, + "@K[203]": "Set this object materials to the specified sort mode" + } + }, + { + "name": "GameScript.Game.Graphics.SetNamedMaterialColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2226 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose material we are changing" + }, + "2.0": { + "@K[209]": "ParameterName", + "@K[211]": "The name of the material parameter we are changing" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The new color for the variable, expressed as a table with fields \"r\", \"g\", \"b\", and \"a\", each are 0->255" + } + }, + "@K[203]": "Sets the color of the first named parameter with name inside a material in the given object" + } + }, + { + "name": "GameScript.Game.Graphics.SetNamedMaterialScalar", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2229 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose alpha blend we are adjusting." + }, + "2.0": { + "@K[209]": "ParameterName", + "@K[211]": "The name of the material parameter we are changing" + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the variable" + } + }, + "@K[203]": "Sets the value of the first named parameter with name inside a material in the given object" + } + }, + { + "name": "GameScript.Game.Graphics.SetParticleAmbientColor", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2231 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The ambient particle's final color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "@K[219]" + } + }, + { + "name": "GameScript.Game.Graphics.SetPortalOpen", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2234 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The object with a portal" + }, + "2.0": { + "@K[209]": "@K[77]", + "@K[211]": "Whether this portal should be open" + } + }, + "@K[203]": "Sets whether a portal is open or closed." + } + }, + { + "name": "GameScript.Game.Graphics.SetShadowDistances", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2237 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerDistance", + "@K[211]": "Inner shadow distance, any shadows that are this distance from the camera or less will use the highest resolution" + }, + "3.0": { + "@K[209]": "OuterDistance", + "@K[211]": "Outer shadow distance, any shadows that are this distance from the camera or greater will use the lowest resolution. This value should be tunes as small as possible, but large enough to cover all important shadows in view." + } + }, + "@K[203]": "Adjust the shadow near and far planes." + } + }, + { + "name": "GameScript.Game.Graphics.SetShadowQuality", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2240 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ShadowQuality", + "@K[211]": "Shadow quality. 0 = High. 1 = Low." + } + }, + "@K[203]": "Sets the quality level for shadows. Low quality shadows are a little faster on the GPU and 20-30% faster on the CPU. However, they may consume more memory than high quality shadows. Low quality shadows should use a larger inner shadow distance (typically 2-3 times larger than high quality shadows)." + } + }, + { + "name": "GameScript.Game.Graphics.SetSpecularAmbientCubeMap", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2243 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name of the texture variable defined in the script" + } + }, + "@K[203]": "Changes the specular ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change." + } + }, + { + "name": "GameScript.Game.Graphics.SetSpotLight", + "namespace": "GameScript.Game.Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2246 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerAngle", + "@K[211]": "Inner angle in degrees of the spotLight" + }, + "3.0": { + "@K[209]": "OuterAngle", + "@K[211]": "Outer angle in degrees of the spotLight" + }, + "4.0": { + "@K[209]": "AspectRatio", + "@K[211]": "Aspect ratio of the spotLight" + } + }, + "@K[203]": "Change the spotlight characteristics of the hardware light." + } + }, + { + "name": "GameScript.Game.HasAchievementBeenAchieved", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2249 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player we are checking" + }, + "2.0": { + "@K[209]": "AchievementIndex", + "@K[211]": "The index of the achievement we are checking" + } + }, + "@K[203]": "Returns whether the given player has achieved the achievement of the given index. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1." + } + }, + { + "name": "GameScript.Game.HasHitPoints", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2252 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + } + }, + "@K[203]": "Return true if EmpireObject has any hit points, false otherwise" + } + }, + { + "name": "GameScript.Game.HasPlayerStartedLevel", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2255 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player we are checking" + } + }, + "@K[203]": "Returns whether the specified player's \"has started level\" flag is set, which can only be set by the \"SetPlayersStartedLevel\" function." + } + }, + { + "name": "GameScript.Game.Heal", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2258 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are healing" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The name of the health that receives the heal" + }, + "3.0": { + "@K[209]": "HealAmount", + "@K[211]": "How much we are healing" + }, + "4.0": { + "@K[209]": "IsPercent", + "@K[211]": "Is the HealAmount represented as a percentage?" + } + }, + "@K[203]": "Send a message to heal a specific health in the object." + } + }, + { + "name": "GameScript.Game.HideAllHUD", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2261 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Hide all HUD." + } + }, + { + "name": "GameScript.Game.HideObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2264 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are showing/hiding" + }, + "2.0": { + "@K[209]": "ShouldHide", + "@K[211]": "Hide object = true, show object = false" + } + }, + "@K[203]": "Show or hide the specified object." + } + }, + { + "name": "GameScript.Game.HidePlayerView", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2267 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view" + } + }, + { + "name": "GameScript.Game.IsActiveCoverOn", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2270 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the active cover status of" + } + }, + "@K[203]": "Tests whether an object is currently in active cover" + } + }, + { + "name": "GameScript.Game.IsAirborne", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2273 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the airborne status of" + } + }, + "@K[203]": "Tests whether an object is currently airborne" + } + }, + { + "name": "GameScript.Game.IsCrouched", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2276 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the crouch status of" + } + }, + "@K[203]": "Tests whether an object is currently crouched, only works for personPhysics object" + } + }, + { + "name": "GameScript.Game.IsDestructibleInFinalState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2279 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns whether the destructible object is in its final state" + } + }, + { + "name": "GameScript.Game.IsDestructibleInInitialState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2282 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns whether the destructible object is in its initial state" + } + }, + { + "name": "GameScript.Game.IsEnabled", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2285 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Tests whether an IEnableable component is currently enabled" + } + }, + { + "name": "GameScript.Game.IsJumping", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2288 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the jumping status of" + } + }, + "@K[203]": "Tests whether an object is currently jumping" + } + }, + { + "name": "GameScript.Game.IsLoaded", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2291 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Object for which we are checking" + } + }, + "@K[203]": "Checks if the empire object exists" + } + }, + { + "name": "GameScript.Game.IsNeutral", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2294 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking neutrality" + } + }, + "@K[203]": "Checks nation settings to if the two objects are enemies. See also: AreAllies(), AreEnemies(),CopyNation()" + } + }, + { + "name": "GameScript.Game.IsObjectInState", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2297 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The object whose state we are checking" + }, + "2.0": { + "@K[209]": "State", + "@K[211]": "The ObjectState we are checking for" + } + }, + "@K[203]": "Returns true if the specified object is in the given state, false if it is not or the object has no ObjectState component" + } + }, + { + "name": "GameScript.Game.IsPauseMenuShowing", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2300 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns true if the pause menu is currently being displayed.\n" + } + }, + { + "name": "GameScript.Game.IsPlayerLookRotFacingObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2303 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + }, + "3.0": { + "@K[209]": "MaxAngle", + "@K[211]": "The maximum angle between the player's LookRot and object position" + } + }, + "@K[203]": "Returns whether or not a player is facing a target object. Even though this function is grouped with the camera-relative functions, this one does not use the player cameras. This is because the function was written primarily for multiplayer and remote player avatars do not have cameras. Therefore, we must use the avatar's LookRotation Component to approximate if it is facing the object." + } + }, + { + "name": "GameScript.Game.IsPossessed", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2306 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that to check if it is possessed" + } + }, + "@K[203]": "Checks whether an object is possessed or not" + } + }, + { + "name": "GameScript.Game.IsRiding", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2309 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the riding status of" + } + }, + "@K[203]": "Tests whether an object is currently riding" + } + }, + { + "name": "GameScript.Game.IsSuspended", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2312 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the suspend status of" + } + }, + "@K[203]": "Tests whether an object is currently suspended" + } + }, + { + "name": "GameScript.Game.Kill", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2315 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are killing" + }, + "2.0": { + "@K[209]": "KillType", + "@K[211]": "How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog'" + } + }, + "@K[203]": "Send a message to kill the object with certain options." + } + }, + { + "name": "GameScript.Game.KillAllObjectsInWeaponInventory", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2317 + }, + "calltip": {} + }, + { + "name": "GameScript.Game.MP.AddSpecialSpawnPlayer", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2320 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player which which are adding as a special spawn player" + } + }, + "@K[203]": "Adds the specified player to the special spawn list." + } + }, + { + "name": "GameScript.Game.MP.AwardPlayerPoints", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2323 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player to which we are awarding points" + }, + "2.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award for which points are being given" + }, + "3.0": { + "@K[209]": "PointsAwarded", + "@K[211]": "If explicit points award, how many to give." + }, + "4.0": { + "@K[209]": "PointCategory", + "@K[211]": "The point category to award points for. If an empty string is passed in and the \"AwardType\" is explicit points, then no points will be awarded for any category. If the \"AwardType\" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include \"Kills\", \"Deaths\", \"Suicides\", \"Team Kills\", \"VIP Kills\", \"Multi-Kills\", \"Kill Assists\", \"Headshots\", \"Flag Captures\", \"Flag Retursn\", \"King Region\", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly." + } + }, + "@K[203]": "Updates a player's points based on the type of award being given." + } + }, + { + "name": "GameScript.Game.MP.AwardTeamPoints", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2326 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TeamIndex", + "@K[211]": "The team to which we are awarding points" + }, + "2.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award for which points are being given" + }, + "3.0": { + "@K[209]": "PointsAwarded", + "@K[211]": "If explicit points award, how many to give." + }, + "4.0": { + "@K[209]": "PointCategory", + "@K[211]": "The point category to award points for. If an empty string is passed in and the \"AwardType\" is explicit points, then no points will be awarded for any category. If the \"AwardType\" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include \"Kills\", \"Deaths\", \"Suicides\", \"Team Kills\", \"VIP Kills\", \"Multi-Kills\", \"Kill Assists\", \"Headshots\", \"Flag Captures\", \"Flag Retursn\", \"King Region\", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly." + } + }, + "@K[203]": "Updates a team's points based on the type of award being given. NOTE: This function CAN NOT award points for multi-kill bonuses." + } + }, + { + "name": "GameScript.Game.MP.ClearNetworkSaveData", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2329 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Clears out the network save from the bulk transfer directory." + } + }, + { + "name": "GameScript.Game.MP.DisableMPManagerMatchTimeLimit", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2332 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Turns off the MP manager time limit code to keep it from ending a match after the time limit is up." + } + }, + { + "name": "GameScript.Game.MP.GetCurrentPlayerStatistic", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2335 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kLethality\nPlayerStatistic.kTotalLifeTime\nPlayerStatistic.kAvgLifeTime\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic of the specified player for their current lifetime." + } + }, + { + "name": "GameScript.Game.MP.GetDifficultyLevel", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2338 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the difficulty level." + } + }, + { + "name": "GameScript.Game.MP.GetGameMode", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2341 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the GameMode type set in MPGlobalData. Valid values are:\nMPGameMode.kAssault\nMPGameMode.kSlaughter\nMPGameMode.kBrothersVersusOthers\nMPGameMode.kDeathMatch\nMPGameMode.kTeamDeathMatch\nMPGameMode.kCoop\nMPGameMode.kGameType7\nMPGameMode.kGameType8\nMPGameMode.kGameType9\nMPGameMode.kGameType10\nMPGameMode.kGameType11\nMPGameMode.kGameType12\nMPGameMode.kGameType13\nMPGameMode.kGameType14\nMPGameMode.kGameType15\nMPGameMode.kGameType16\n" + } + }, + { + "name": "GameScript.Game.MP.GetGameTypeFlag", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2344 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Flag", + "@K[211]": "The game type flag whose value we want to retrieve" + } + }, + "@K[203]": "Returns the value (true/false) of the given game type flag.\n0 = Competitive Multiplayer Type\n1 = Team-based game\n2 = \"Points While Contested\" (King-of-the-Hill game types)\n3 = \"Force Of Numbers\" (King-of-the-Hill game types)\n4 = CTF Classic Rules\n5 = King regions can move (King-of-the-Hill game types)\n6 = Auto-balance teams\n7 = Allow team changing\n8 = Augs on map\n9 = Private Match\n" + } + }, + { + "name": "GameScript.Game.MP.GetMultiplayerTime", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2347 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the currently synced network multiplayer time." + } + }, + { + "name": "GameScript.Game.MP.GetNetworkLookRotForward", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2350 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object which we are checking for a lookRot" + } + }, + "@K[203]": "Returns the forward vector of the LookRot for the object as stored in the network sync handler. This is not refreshed at a guaranteed rate, and there may be some interpolation involved, but it should reflect a reasonable approximation of where the object was looking recently." + } + }, + { + "name": "GameScript.Game.MP.GetNumberOfActivePlayers", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2353 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the number of active players in the multiplayer session." + } + }, + { + "name": "GameScript.Game.MP.GetNumberOfRounds", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2356 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the number of rounds for this match." + } + }, + { + "name": "GameScript.Game.MP.GetNumberOfRoundsInAContinuousSession", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2359 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the number of rounds for a continuous session." + } + }, + { + "name": "GameScript.Game.MP.GetPlayerName", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2362 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the gamer tag name of the supplied player ID." + } + }, + { + "name": "GameScript.Game.MP.GetPointAward", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2365 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award. Valid values are:\nMPAwardType.kKill\nMPAwardType.kDeath\nMPAwardType.kTeamKill\nMPAwardType.kSuicide\nMPAwardType.kInKingRegion\nMPAwardType.kFlagCapture\nMPAwardType.kFlagReturn\nMPAwardType.kVIPKill\nMPAwardType.kKillAssist\nMPAwardType.kHeadshot\n" + } + }, + "@K[203]": "Returns the number of points awarded for the given award type." + } + }, + { + "name": "GameScript.Game.MP.GetTeamForPlayer", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2368 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player index for which we are retrieving their team." + } + }, + "@K[203]": "Returns the team of the player of the specified index." + } + }, + { + "name": "GameScript.Game.MP.GetTeamStatistic", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2371 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TeamIndex", + "@K[211]": "The index of the team whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic for the specified team." + } + }, + { + "name": "GameScript.Game.MP.GetTimeElapsed", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2374 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the amount of time elapsed in the current multiplayer round, in seconds." + } + }, + { + "name": "GameScript.Game.MP.GetTimeLimit", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2377 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the time limit for this match." + } + }, + { + "name": "GameScript.Game.MP.GetTimeRemaining", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2380 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns the amount of time remaining in the current multiplayer round, in seconds." + } + }, + { + "name": "GameScript.Game.MP.GetTotalPlayerStatistic", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2383 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kLethality\nPlayerStatistic.kTotalLifeTime\nPlayerStatistic.kAvgLifeTime\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic of the specified player for the current MP game." + } + }, + { + "name": "GameScript.Game.MP.IsClient", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2386 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns whether or not the script is currently running on a client object." + } + }, + { + "name": "GameScript.Game.MP.IsNetworkGame", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2389 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Returns whether or not the script is currently running on a machine that is actively networked to another machine." + } + }, + { + "name": "GameScript.Game.MP.IsRemoteScript", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [], + "line": 2392 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Check if the script that we are currently running is in an object that is owned by a remote machine" + } + }, + { + "name": "GameScript.Game.MP.ModifyTimeRemaining", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2395 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Seconds", + "@K[211]": "The amount of time in seconds to modify the remaining time by." + } + }, + "@K[203]": "Modifies the amount of time remaining in the current multiplayer round, in seconds." + } + }, + { + "name": "GameScript.Game.MP.SetTeamForPlayer", + "namespace": "GameScript.Game.MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2398 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player index for which we are setting their team." + }, + "2.0": { + "@K[209]": "Team", + "@K[211]": "The team number we are setting." + } + }, + "@K[203]": "Sets the given player's team number." + } + }, + { + "name": "GameScript.Game.ObjectTags.DoesObjectHaveTag", + "namespace": "GameScript.Game.ObjectTags", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2401 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a Object Tag" + }, + "2.0": { + "@K[209]": "TagName", + "@K[211]": "The tag that we are trying to match" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Tag that matches \"TagName\"." + } + }, + { + "name": "GameScript.Game.ObjectTags.GetObjectTagName", + "namespace": "GameScript.Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2404 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TagID", + "@K[211]": "The tag id that we are looking up" + } + }, + "@K[203]": "Get the Tag name that matches \"TagID\"." + } + }, + { + "name": "GameScript.Game.ObjectTags.GetObjectTagUID", + "namespace": "GameScript.Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2407 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TagName", + "@K[211]": "The tag name that we are looking up" + } + }, + "@K[203]": "Get the Tag name that matches \"TagName\"." + } + }, + { + "name": "GameScript.Game.ObjectTags.GetObjectsWithTag", + "namespace": "GameScript.Game.ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2410 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TagName", + "@K[211]": "The tag that we are trying to match" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Tag that matches \"TagName\"." + } + }, + { + "name": "GameScript.Game.Objectives.Add", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2413 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Adds an objective identified by the given pair" + } + }, + { + "name": "GameScript.Game.Objectives.AddObject", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2416 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be added as an objective" + }, + "2.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Finds the objective identified by the given pair and adds the specified object to its object list" + } + }, + { + "name": "GameScript.Game.Objectives.GetStatus", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2419 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier (ObjectiveType.kWaypoint, ObjectiveType.Destroy, ObjectiveType.kProtect, ObjectiveType.kVIP, ObjectiveType.kTextOnly)" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Returns the status of the objective identified by the given pair (ObjectiveStatus.Active, ObjectiveStatus.Inactive, ObjectiveStatus.Completed, ObjectiveStatus.Failed)" + } + }, + { + "name": "GameScript.Game.Objectives.Remove", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2422 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Removes the objective identified by the given pair" + } + }, + { + "name": "GameScript.Game.Objectives.RemoveObject", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2425 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be removed from the objective" + }, + "2.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Finds the objective identified by the given pair and removes the specified object from its object list" + } + }, + { + "name": "GameScript.Game.Objectives.SetStatus", + "namespace": "GameScript.Game.Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2428 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveStatus", + "@K[211]": "The objective's new status (0 = Active, 1 = Inactive, 2 = Completed, 3 = Failed)" + } + }, + "@K[203]": "Sets the status of the objective identified by the given pair" + } + }, + { + "name": "GameScript.Game.OverRideRotateSceneObjectComponent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2431 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the RotateScenObject component" + }, + "2.0": { + "@K[209]": "Speed", + "@K[211]": "Table with a r,p,h fields for speed in degrees per second for each axis" + }, + "3.0": { + "@K[209]": "Acceleration", + "@K[211]": "Table with a r,p,h fields for acceleration in degrees per second per second for each axis" + }, + "4.0": { + "@K[209]": "MaxSpeed", + "@K[211]": "Table with a r,p,h fields for maxSpeed in degrees per second for each axis" + } + }, + "@K[203]": "Over ride the settings on a RotateSceneObject component so the start time is immediately, and the current speed is reset, and use the new acceleration until the duration is over." + } + }, + { + "name": "GameScript.Game.Physics.ApplyAngularImpulse", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2434 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying angular force" + }, + "2.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "3.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in newton to which the object is being subjected" + } + }, + "@K[203]": "Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.ApplyAngularImpulseToRigidBody", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2437 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying angular force" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are applying force." + }, + "3.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "4.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in newton to which the object is being subjected" + } + }, + "@K[203]": "Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.ApplyImpulse", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2440 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying force" + }, + "2.0": { + "@K[209]": "Force", + "@K[211]": "Force in Newtons to which the is being subjected" + } + }, + "@K[203]": "Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.ApplyImpulseToCloth", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2443 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which the impulse will be applied" + }, + "2.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in Newtons to which the cloth is being subjected" + } + }, + "@K[203]": "Apply force to cloth. An error message will be output if no Simulation Component." + } + }, + { + "name": "GameScript.Game.Physics.ApplyImpulseToRigidBody", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2446 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying force" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are apply force." + }, + "3.0": { + "@K[209]": "Force", + "@K[211]": "Force in Newtons to which the is being subjected" + } + }, + "@K[203]": "Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.DoesHavePhysics", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2449 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns whether or not the EmpireObject has physics." + } + }, + { + "name": "GameScript.Game.Physics.DoesRigidBodyExist", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2452 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking." + } + }, + "@K[203]": "Returns if a scene node named \"RigidBodyName\" exists in this object." + } + }, + { + "name": "GameScript.Game.Physics.GetAABB", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2455 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns the AABB of the physics for an object in a table with minX,minY,minZ,maxX,maxY,maxZ" + } + }, + { + "name": "GameScript.Game.Physics.GetAngularVelocity", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2458 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are getting it's angular velocity" + } + }, + "@K[203]": "Get the angular velocity of an object." + } + }, + { + "name": "GameScript.Game.Physics.GetCollisionGroup", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2461 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting the collision group" + } + }, + "@K[203]": "Returns collision group of the object" + } + }, + { + "name": "GameScript.Game.Physics.GetLinearVelocity", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2464 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are getting it's linear velocity" + } + }, + "@K[203]": "Get the linear velocity of an object." + } + }, + { + "name": "GameScript.Game.Physics.GetMass", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2467 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Get mass of object if it has a physics component." + } + }, + { + "name": "GameScript.Game.Physics.GetRigidBodyFriction", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2470 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting friction" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns friction of the rigid body of the object" + } + }, + { + "name": "GameScript.Game.Physics.GetRigidBodyMass", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2473 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting mass" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns mass of the rigid body of the object" + } + }, + { + "name": "GameScript.Game.Physics.GetRigidBodyPosition", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2476 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns vector3D with position of the rigid body of the object in fields x,y,z of the table, if no position exists, there will be all zeros " + } + }, + { + "name": "GameScript.Game.Physics.GetRigidBodyRestitution", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2479 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting restitution" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns restitution of the rigid body of the object" + } + }, + { + "name": "GameScript.Game.Physics.GetRigidBodyRotation", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2482 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" + } + }, + { + "name": "GameScript.Game.Physics.IsClothWindEnabled", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2485 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + } + }, + "@K[203]": "Returns true of the given object has a Simulation Component that has the wind setting enabled." + } + }, + { + "name": "GameScript.Game.Physics.IsDynamic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2488 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a dynamic physics ." + } + }, + { + "name": "GameScript.Game.Physics.IsKeyframed", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2491 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a keyframed physics." + } + }, + { + "name": "GameScript.Game.Physics.IsRigidBodyDynamic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2494 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a dynamic physics" + } + }, + { + "name": "GameScript.Game.Physics.IsRigidBodyKeyframed", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2497 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a keyframed physics" + } + }, + { + "name": "GameScript.Game.Physics.IsRigidBodyStatic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2500 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a static physics" + } + }, + { + "name": "GameScript.Game.Physics.IsStatic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2503 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a static physics." + } + }, + { + "name": "GameScript.Game.Physics.OverRideConstraintMaxSpeed", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2506 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to set the constraint max speed for" + }, + "2.0": { + "@K[209]": "ConstraintSpeed", + "@K[211]": "The new constraint max speed m/sec if prismatic, degrees/sec if hinge" + } + }, + "@K[203]": "OverRide the max speed for all constraints on the input object." + } + }, + { + "name": "GameScript.Game.Physics.RestoreConstraintMaxSpeed", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2509 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to restore the constraint max speed for" + } + }, + "@K[203]": "Restore the max speed for all constraints on the input object, assuming it has been overRiding by 'OverRideConstraintMaxSpeed' or some other method." + } + }, + { + "name": "GameScript.Game.Physics.SetAngularVelocity", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2512 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting angular velocity" + }, + "2.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "3.0": { + "@K[209]": "Speed", + "@K[211]": "Speed in degrees/sec to which the object is being set" + } + }, + "@K[203]": "Set angular velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.SetClothWindDirection", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2515 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Direction", + "@K[211]": "The direction in world space" + } + }, + "@K[203]": "Set the direction that the wind should blow" + } + }, + { + "name": "GameScript.Game.Physics.SetClothWindEnabled", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2518 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Enabled", + "@K[211]": "True or False" + } + }, + "@K[203]": "Enables or disables the wind forces on a cloth object" + } + }, + { + "name": "GameScript.Game.Physics.SetClothWindInterval", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2521 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Interval", + "@K[211]": "The time to cycle through weak->strong->weak" + } + }, + "@K[203]": "The time it takes (in seconds) for the wind force to cycle from minimum strength to maximum strength and back" + } + }, + { + "name": "GameScript.Game.Physics.SetClothWindStrength", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2524 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "MinForce", + "@K[211]": "The minimum strength of the wind" + }, + "3.0": { + "@K[209]": "MaxForce", + "@K[211]": "The maximum strength of the wind" + } + }, + "@K[203]": "Set the min and max strength of the wind" + } + }, + { + "name": "GameScript.Game.Physics.SetCollisionGroup", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2527 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting the collision group" + }, + "2.0": { + "@K[209]": "CollisionGroup", + "@K[211]": "The collision group to set for this object" + } + }, + "@K[203]": "Sets the collision group for the specified object" + } + }, + { + "name": "GameScript.Game.Physics.SetConstraintPosition", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2530 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to set the constraint position of" + }, + "2.0": { + "@K[209]": "ConstraintPosition", + "@K[211]": "The new constraint position as a percentage of the total range, 0 to 1" + } + }, + "@K[203]": "Sets the position for all constraints on the input object." + } + }, + { + "name": "GameScript.Game.Physics.SetLinearVelocityOfRigidBody", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2533 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting velocity" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we setting velocity." + }, + "3.0": { + "@K[209]": "Velocity", + "@K[211]": "Velocity in m/s to which the rigid body is being set" + } + }, + "@K[203]": "Set the linear velocity for a specific rigid body works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Physics.SetRigidBodyFriction", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2536 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Friction", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its friction to a new value." + } + }, + { + "name": "GameScript.Game.Physics.SetRigidBodyMass", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2539 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Mass", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its mass to a new value." + } + }, + { + "name": "GameScript.Game.Physics.SetRigidBodyRestitution", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2542 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Restitution", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its restitution to a new value." + } + }, + { + "name": "GameScript.Game.Physics.SetRigidBodyToDynamic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2545 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and make it dynamic, as opposed to keyframed or static." + } + }, + { + "name": "GameScript.Game.Physics.SetRigidBodyToStatic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2548 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and make it static, as opposed to keyframed or dynamic." + } + }, + { + "name": "GameScript.Game.Physics.SetSurfaceVelocityAccelerationScale", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2551 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "AccelerationScale", + "@K[211]": "Amount to scale the acceleration for how quickly to move from current to desired" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the acceleration, the current speed will change to match the desired based on the acceleration" + } + }, + { + "name": "GameScript.Game.Physics.SetSurfaceVelocityDesiredScale", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2554 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "Amount to scale the desired velocity, if negative will reverse the direction" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the desired speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component" + } + }, + { + "name": "GameScript.Game.Physics.SetSurfaceVelocityScale", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2557 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "Amount to scale the velocity, if negative will reverse the direction" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the current speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component" + } + }, + { + "name": "GameScript.Game.Physics.SetToDynamic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2560 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and make it dynamic, as opposed to static or keyframed." + } + }, + { + "name": "GameScript.Game.Physics.SetToStatic", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2563 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and make it static, as opposed to keyframed or dynamic." + } + }, + { + "name": "GameScript.Game.Physics.SetVelocity", + "namespace": "GameScript.Game.Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2566 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting velocity" + }, + "2.0": { + "@K[209]": "Velocity", + "@K[211]": "Velocity in meters/sec to which the object is being set" + } + }, + "@K[203]": "Set a velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." + } + }, + { + "name": "GameScript.Game.Player.AreAllPlayersInState", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2569 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "State", + "@K[211]": "Global state index that is being checked against" + } + }, + "@K[203]": "Checks to see if all players are in a particular state" + } + }, + { + "name": "GameScript.Game.Player.CanPlayerPossess", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2572 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Will return true when the component is uninhibited from initiating a possession attempt by its watch variable list, by being Object State disabled, or because already engaging in possession" + } + }, + { + "name": "GameScript.Game.Player.ClearTetherBreadcrumbs", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2575 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player containing a Tether Anchor component." + } + }, + "@K[203]": "Marks all existing tether breadcrumbs as invalid." + } + }, + { + "name": "GameScript.Game.Player.ClearTetherSafeRadiusOverride", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2578 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player being tethered." + } + }, + "@K[203]": "Clears out any previous calls to \"SetTEtherSafeRadiusOverride\"" + } + }, + { + "name": "GameScript.Game.Player.DisableTetherSpawnTagSet", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2581 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The object containing a SetComponent, expected to have a set of player spawn tag objects." + } + }, + "@K[203]": "Removes a previously enabled set of spawn tags as the current tether destination group" + } + }, + { + "name": "GameScript.Game.Player.DoesPlayerHaveLineOfSightToPosition", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2584 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for Line of Sight. A Table with fields x,y,z" + }, + "2.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "3.0": { + "@K[209]": "useHeadPosition", + "@K[211]": "If 'useHeadPosition' is true we do line of sight from the head, else from the base of the capsule" + }, + "4.0": { + "@K[209]": "defaultReturn", + "@K[211]": "If player doesn't exist what do youu want this function to return" + } + }, + "@K[203]": "Return whether or not the player with index 'globalPlayerIndex' has line of sight to the position." + } + }, + { + "name": "GameScript.Game.Player.EnableTetherSpawnTagSet", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2587 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The object containing a SetComponent, expected to have a set of player spawn tag objects." + } + }, + "@K[203]": "Assigns a set of spawn tags as the current tether destination group" + } + }, + { + "name": "GameScript.Game.Player.GetAllPlayerControlledObjectsByIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2590 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return every object controlled (directly or indirectly) by the player at the moment. Ex: If the player is a ghost (avatar) in a body in a vehicle, all three objects will be returned." + } + }, + { + "name": "GameScript.Game.Player.GetGlobalIndexFromLocalIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2593 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "localPlayerIndex", + "@K[211]": "The index of the local player whose global index we want." + } + }, + "@K[203]": "Return the global index of the local player with the given local index, will return GameScript.PlayerIndex.kNotAGlobalPlayer if the local index is invalid or unused." + } + }, + { + "name": "GameScript.Game.Player.GetLastTimePlayerSpawnTagUsed", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2596 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the last time used from" + } + }, + "@K[203]": "Gets the last time that the spawn tag was used." + } + }, + { + "name": "GameScript.Game.Player.GetMaxPossessionTime", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2599 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Gets the possession time for the possessed vehicle." + } + }, + { + "name": "GameScript.Game.Player.GetNumLocalPlayers", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [], + "line": 2602 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get the number of local players in the game." + } + }, + { + "name": "GameScript.Game.Player.GetNumPlayers", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [], + "line": 2605 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get the number of players in the game." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerAvatarObjectByIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2608 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the main avatar of the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerAvatarPositionByIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2611 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The 'globalPlayerIndex' for the player" + } + }, + "@K[203]": "Return the position of the main avatar of the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerControlledObjectByIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2614 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the object currently controlled by the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerDistanceToPosition", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2617 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for distance. A Table with fields x,y,z" + } + }, + "@K[203]": "Return distance of the player with index 'globalPlayerIndex' to the position." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerGameComplete", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2620 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player we want to check." + } + }, + "@K[203]": "Returns whether the player has successfully completed the game. This function only works on local players, other cases will always return false." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerIndexByObject", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2623 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the global player index for" + } + }, + "@K[203]": "Return the player index of the object if owned by the player." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerObjectByIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2626 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the player object for the player with index 'globalPlayerIndex'." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerPlaneDistance", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2629 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for distance. A Table with fields x,y,z" + }, + "3.0": { + "@K[209]": "targetNormal", + "@K[211]": "The normal of the plane were are checking for distance. A Table with fields x,y,z" + } + }, + "@K[203]": "Return distance of the player with index 'globalPlayerIndex' from the plane with normal 'targetNormal' that contains the point 'targetPosition'." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2632 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn tag index from" + } + }, + "@K[203]": "Gets the spawn tag index from an object." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2635 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the max players requirement from" + } + }, + "@K[203]": "Gets the maximum number of players allowed to be active for this spawn tag to be used." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagMinimumPlayersRequired", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2638 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the min players requirement from" + } + }, + "@K[203]": "Gets the minimum number of players required to be active for this spawn tag to be used." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagNationCheckPassed", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2641 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index which we are doing a nation comparison with" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are doing a spawn tag nation comparison to" + } + }, + "@K[203]": "Returns if the global player index referenced passes the nation check criteria in the spawn tag object." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagSpawnLocation", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2644 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn location from" + } + }, + "@K[203]": "Returns the location that a player will be spawned at from this spawn tag object." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTagSpawnRotation", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2647 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn rotation from" + } + }, + "@K[203]": "Returns the rotation that a player will be spawned at from this spawn tag object." + } + }, + { + "name": "GameScript.Game.Player.GetPlayerSpawnTemplateIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2650 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are getting" + } + }, + "@K[203]": "Returns the index (starting from 1) in the Player Spawn Info of the current spawn template for the given player" + } + }, + { + "name": "GameScript.Game.Player.GetPossessingPlayerIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2653 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the possing player global player index for" + } + }, + "@K[203]": "Return the player index of the player possessing the object if possessed by a player." + } + }, + { + "name": "GameScript.Game.Player.GetPossessionDelay", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2656 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Returns the possession delay that is set up for the possessed vehicle." + } + }, + { + "name": "GameScript.Game.Player.GetValidSpawnTagObjects", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2659 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for which we're looking for valid spawn tags" + }, + "2.0": { + "@K[209]": "numberOfPlayers", + "@K[211]": "The number of players currently in the game" + }, + "3.0": { + "@K[209]": "reuseExclusionDelta", + "@K[211]": "How long must we wait before looking to reuse a spawn tag" + } + }, + "@K[203]": "Gets the list of spawn tag objects that are valid for the player." + } + }, + { + "name": "GameScript.Game.Player.HasPlayerCollectedObject", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2662 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "LocalPlayerIndex", + "@K[211]": "The local player index of the player to check." + }, + "2.0": { + "@K[209]": "CollectibleID", + "@K[211]": "The ID of the collectible object in question, as defined in global data" + } + }, + "@K[203]": "Will return true if the local player has collected the collectible object in question. This function can only ever work on local players, as we do not have that kind of profile access on remote players." + } + }, + { + "name": "GameScript.Game.Player.InhibitCurrentPossessionEnding", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2665 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "Inhibit", + "@K[211]": "Whether we are inhibiting (true) or uninhibiting (false) ending the current possession" + } + }, + "@K[203]": "Inhibits ending possession for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a InhibitCurrentPossessionEnding(index, true) with a InhibitCurrentPossessionEnding(index, false)." + } + }, + { + "name": "GameScript.Game.Player.IsActivePlayer", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2668 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index which we are checking is active" + } + }, + "@K[203]": "Return if the player is currently active in a multiplayer game." + } + }, + { + "name": "GameScript.Game.Player.IsLocalPlayer", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2671 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index which we are checking if controlled on local machine" + } + }, + "@K[203]": "Return if the object is currently being controlled on this machine locally." + } + }, + { + "name": "GameScript.Game.Player.IsPlayerControlled", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2674 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are checking if player controlled" + } + }, + "@K[203]": "Return if the object is currently being controlled by the player." + } + }, + { + "name": "GameScript.Game.Player.IsPlayerFlashlightOn", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2677 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index for which we are checking flashlight status." + } + }, + "@K[203]": "Return if the player's flashlight is currently on." + } + }, + { + "name": "GameScript.Game.Player.IsPlayerInState", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2680 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index to check state" + }, + "2.0": { + "@K[209]": "State", + "@K[211]": "Global state index that is being checked against" + } + }, + "@K[203]": "Checks to see if specified player is in a particular state" + } + }, + { + "name": "GameScript.Game.Player.PauseCurrentPossession", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2683 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "Pause", + "@K[211]": "Whether we are pausing (true) or resuming (false) the current possession timer" + } + }, + "@K[203]": "Pauses the possession timer for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a PauseCurrentPossession(index, true) with a PauseCurrentPossessiong(index, false). Keep in mind that it is possible for the possession timer to pause from several different sources (scripts, entering vehicles, etc)" + } + }, + { + "name": "GameScript.Game.Player.ResetPossessionTimer", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2686 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Will give a player back their full possession timeout meter, if currently in possession of a body" + } + }, + { + "name": "GameScript.Game.Player.RevivePlayer", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2689 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to revive." + } + }, + "@K[203]": "Revives the given player." + } + }, + { + "name": "GameScript.Game.Player.RevivePlayerInstant", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2692 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to revive." + } + }, + "@K[203]": "Revives the given player without going through the 'Use' system." + } + }, + { + "name": "GameScript.Game.Player.SetCheckpointLoad", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2695 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject on which we are changing this setting" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "Reload(true) or Respawn(false)" + } + }, + "@K[203]": "Changes the game behavior when the player presses A to respawn in campaign mode." + } + }, + { + "name": "GameScript.Game.Player.SetCrouch", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2698 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerObject", + "@K[211]": "The player object which that will crouch." + }, + "2.0": { + "@K[209]": "Crouch", + "@K[211]": "Unused. Somebody please delete me." + } + }, + "@K[203]": "Forces the player to crouch." + } + }, + { + "name": "GameScript.Game.Player.SetFailedOnRespawn", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2701 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject on which we are changing this setting" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "Reload(true) or Respawn(false)" + } + }, + "@K[203]": "Changes the game behavior when the player presses A to respawn in campaign mode." + } + }, + { + "name": "GameScript.Game.Player.SetLocalTetherTimeoutPeriod", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2704 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "Period", + "@K[211]": "Number of seconds before tethering" + } + }, + "@K[203]": "Sets how long the timeout period is before tethering" + } + }, + { + "name": "GameScript.Game.Player.SetLocalTetherWarningPct", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2707 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "Percent", + "@K[211]": "Percentage from 0 to 1" + } + }, + "@K[203]": "Sets how high the warning level intensity is." + } + }, + { + "name": "GameScript.Game.Player.SetLocalTetherZone", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2710 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "TetherZone", + "@K[211]": "Use GameScript.TetherZone.XXXX" + } + }, + "@K[203]": "Sets the tether zone in the player's tether component to allow the associated FX to be played." + } + }, + { + "name": "GameScript.Game.Player.SetMaxPossessionTime", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2713 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "InMaxPossessionTime", + "@K[211]": "The New Maximum possession time for a vehicle." + } + }, + "@K[203]": "Sets the possession time for the possessed vehicle." + } + }, + { + "name": "GameScript.Game.Player.SetPlayerGameComplete", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2716 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player we want to set the \"Game completed\" flag on." + } + }, + "@K[203]": "Sets the \"Game Completed\" flag in the profile of the player. This function only works on local players." + } + }, + { + "name": "GameScript.Game.Player.SetPlayerIndestructible", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2719 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are setting" + }, + "2.0": { + "@K[209]": "indestructible", + "@K[211]": "Is the player indestructible or not" + } + }, + "@K[203]": "Sets the player to be indestructible or not" + } + }, + { + "name": "GameScript.Game.Player.SetPlayerRespawnTagIndexResponse", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2722 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index which we are assigned a spawn tag index for" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "The spawn tag index assigned to respawn from" + } + }, + "@K[203]": "Sets the spawn tag index that a player can use to respawn from after a request has been received to do so." + } + }, + { + "name": "GameScript.Game.Player.SetPlayerSpawnTemplateIndex", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2725 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are setting" + }, + "2.0": { + "@K[209]": "newIndex", + "@K[211]": "The new spawn template index, starting from 1" + } + }, + "@K[203]": "Returns the index in the Player Spawn Info of the current spawn template for the given player" + } + }, + { + "name": "GameScript.Game.Player.SetPossessionDelay", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2728 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The player index of the player to change the delay on." + }, + "2.0": { + "@K[209]": "NewDelay", + "@K[211]": "The New Body to Body possess delay." + } + }, + "@K[203]": "Sets the body to body delay for when you possess a body." + } + }, + { + "name": "GameScript.Game.Player.SetTetherSafeRadiusOverride", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2731 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player being tethered." + }, + "2.0": { + "@K[209]": "SafeRadius", + "@K[211]": "The radius being set for the current area" + } + }, + "@K[203]": "Overrides the normal radius based \"Safe\" distance for the current area" + } + }, + { + "name": "GameScript.Game.Player.SetVelocityScale", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2734 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerObject", + "@K[211]": "The player object which that will have its velocity scaled." + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "The amount to scale the player's velocity by." + } + }, + "@K[203]": "Sets the velocity scale on the players region velocity scale component." + } + }, + { + "name": "GameScript.Game.Player.TetherPlayer", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2737 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + } + }, + "@K[203]": "Triggers the tether component the given player." + } + }, + { + "name": "GameScript.Game.Player.TransferPlayerControl", + "namespace": "GameScript.Game.Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2740 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FromObject", + "@K[211]": "The game object that currently has player control" + }, + "2.0": { + "@K[209]": "ToObject", + "@K[211]": "The game object that will receive player control" + }, + "3.0": { + "@K[209]": "DeleteOldFromObject", + "@K[211]": "Delete (true) or leave alone (false) old avatar" + } + }, + "@K[203]": "Transfers player control from one object to another." + } + }, + { + "name": "GameScript.Game.Regions.DistanceToEnd", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2743 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "Region to test against" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "Object to calculate distance" + }, + "3.0": { + "@K[209]": "Relative", + "@K[211]": "If true the return value is 0-1 relative to the length of the region." + } + }, + "@K[203]": "Return distance from \"TestObject\" to the end plane of \"TestRegion\". Currently only valid for box regions." + } + }, + { + "name": "GameScript.Game.Regions.GetNumberOfObjectsInRegionMonitor", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2746 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RegionMonitorObject", + "@K[211]": "The object containing the region monitor to test" + } + }, + "@K[203]": "Return number of specified objects in region monitored by component." + } + }, + { + "name": "GameScript.Game.Regions.GetObjectsInRegion", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2749 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region for which we are checking contents" + } + }, + "@K[203]": "Return a list of objects in a region" + } + }, + { + "name": "GameScript.Game.Regions.GetObjectsInRegionWithTag", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2752 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region for which we are checking contents" + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "The tag that for which we are checking" + } + }, + "@K[203]": "Return a list of objects in a region with a particular tag" + } + }, + { + "name": "GameScript.Game.Regions.GetRegionInfo", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2755 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object for which we are requesting region info" + } + }, + "@K[203]": "Return a table containing info on a region if the object has a region component. There is a type that matches the enum in GameScript.RegionType, GameScript.RegionType.Box or .Sphere or .Cylinder. Then based on the type you know to check regionInfo.height or .width or .depth or .radius" + } + }, + { + "name": "GameScript.Game.Regions.IsBoneInRegion", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2758 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TestObject", + "@K[211]": "The object we are testing" + }, + "2.0": { + "@K[209]": "BoneName", + "@K[211]": "The name of the bone inside the object" + }, + "3.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region in question" + } + }, + "@K[203]": "Returns true or false based on whether the bone specified inside TestObject is inside region of the RegionObject. This is the slowest region test." + } + }, + { + "name": "GameScript.Game.Regions.IsCenterOfMassInRegion", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2761 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TestObject", + "@K[211]": "The object we are testing" + }, + "2.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region in question" + } + }, + "@K[203]": "Returns true or false based on whether the TestObject's center-of-mass is inside region of the RegionObject. This is one of the slower region tests." + } + }, + { + "name": "GameScript.Game.Regions.IsInRegion", + "namespace": "GameScript.Game.Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2764 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to test against" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "The object to test against the region" + } + }, + "@K[203]": "Return whether \"TestObject\" is in \"TestRegion\"." + } + }, + { + "name": "GameScript.Game.RemoveAnimationGraphResource", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2767 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with the standard transition time(0.2 seconds)." + } + }, + { + "name": "GameScript.Game.RemoveAnimationGraphResourceOverTime", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2770 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + }, + "2.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with a custom transition time." + } + }, + { + "name": "GameScript.Game.RemoveStatusEffect", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2773 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EffectObject", + "@K[211]": "The object with the status to apple to the other object." + }, + "2.0": { + "@K[209]": "ObjectToAffect", + "@K[211]": "The object have the status affect removed from." + } + }, + "@K[203]": "Removes a status effect from an object." + } + }, + { + "name": "GameScript.Game.RestoreCheckpointAnimGraph", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2776 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with a custom transition time." + } + }, + { + "name": "GameScript.Game.RippleWater", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2779 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WaterObject", + "@K[211]": "The water object containing a Rippling Water component." + }, + "2.0": { + "@K[209]": "RipplingObject", + "@K[211]": "The object causing ripples in the water." + } + }, + "@K[203]": "Allows an object to cause ripples in a water object." + } + }, + { + "name": "GameScript.Game.RippleWaterAtNode", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2782 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WaterObject", + "@K[211]": "The water object containing a Rippling Water component." + }, + "2.0": { + "@K[209]": "RipplingObject", + "@K[211]": "The object causing ripples in the water." + }, + "3.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object causing the ripple" + } + }, + "@K[203]": "Allows an object to cause ripples in a water object." + } + }, + { + "name": "GameScript.Game.RunCutscene", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2785 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject that contains the CutsceneComponent we want to use" + }, + "2.0": { + "@K[209]": "PrimaryIndex", + "@K[211]": "Treat this player as Primary player in cutscene" + }, + "3.0": { + "@K[209]": "SecondaryIndex", + "@K[211]": "Treat this player as Secondary player in cutscene" + } + }, + "@K[203]": "Start a cutscene" + } + }, + { + "name": "GameScript.Game.SaveGame", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2788 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Saves the game in the current state, if possible" + } + }, + { + "name": "GameScript.Game.SelectInventory", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2791 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to switch inventory" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The Inventory Component. enum defined GameScript.InventoryType" + }, + "3.0": { + "@K[209]": "GroupIndex", + "@K[211]": "Index of the group to select." + } + }, + "@K[203]": "Select a specific group in a specific Inventory. Negative group number to select the next group." + } + }, + { + "name": "GameScript.Game.SendCutsceneStopLoopMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2794 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing CutsceneComponent" + } + }, + "@K[203]": "Sends a message to a looping cutscene to continue to its end property time" + } + }, + { + "name": "GameScript.Game.SendGameEventMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2797 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MessageStaticText", + "@K[211]": "The static text id of the message to be send as a game event." + }, + "2.0": { + "@K[209]": "SubjectPlayerIndex", + "@K[211]": "Index for player who is subject of game event text." + }, + "3.0": { + "@K[209]": "DirectObjectPlayerIndex", + "@K[211]": "Index for player who is direct object of game event text." + } + }, + "@K[203]": "Send a game event message to be shown on the HUD." + } + }, + { + "name": "GameScript.Game.SendKillMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2800 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are killing" + }, + "2.0": { + "@K[209]": "KillType", + "@K[211]": "How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog'" + } + }, + "@K[203]": "Send a message to kill the object with certain options." + } + }, + { + "name": "GameScript.Game.SendMissionEventMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2803 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "MessageText", + "@K[211]": "The text ID of the message." + } + }, + "@K[203]": "Send a mission-specific event message only to the target object." + } + }, + { + "name": "GameScript.Game.SendTextMessage", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2806 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are sending a text message." + }, + "2.0": { + "@K[209]": "MessageText", + "@K[211]": "The text of the message for which we are send" + } + }, + "@K[203]": "Send \"MessageText\" to the EmpireObject." + } + }, + { + "name": "GameScript.Game.SetAnimGraphResource", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2809 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + }, + "4.0": { + "@K[209]": "CheckpointEnable", + "@K[211]": "Enable the graph to be save/load with checkpoints." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with the a transition time and specify if you want to save the graph resource settings when hitting a checkpoint, and restore them on checkpoint reload.." + } + }, + { + "name": "GameScript.Game.SetAnimVarWeaponTypeFromInventory", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2812 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we wish to query for Weapon Type and set the corresponding animation variable" + } + }, + "@K[203]": "Set the owner of the object to the object specified via the OwnerObjectMessage." + } + }, + { + "name": "GameScript.Game.SetAnimationGraphResource", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2815 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with the standard transition time(0.2 seconds). See also SetAnimGraphResource." + } + }, + { + "name": "GameScript.Game.SetAnimationGraphResourceOverTime", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2818 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with a custom transition time. See Also SetAnimGraphResource" + } + }, + { + "name": "GameScript.Game.SetAnimationVariable", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2821 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object for which we are setting a variable." + }, + "2.0": { + "@K[209]": "AnimationVariable", + "@K[211]": "The name of the animation variable that we are setting." + }, + "3.0": { + "@K[209]": "AnimationValue", + "@K[211]": "The value that we are setting for the animation variable." + } + }, + "@K[203]": "Set the value for an animation variable by name." + } + }, + { + "name": "GameScript.Game.SetCurrentLevel", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2824 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurrentLevel", + "@K[211]": "(DEPRECATED) The mission progression order of the current level as set in the Level List Global Data component. " + } + }, + "@K[203]": "Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel()" + } + }, + { + "name": "GameScript.Game.SetCurrentLevelId", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2827 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurrentLevelEnum", + "@K[211]": "The mission ID of the current level as set in the Level List Global Data component. " + } + }, + "@K[203]": "Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel()" + } + }, + { + "name": "GameScript.Game.SetCurrentTotalAmmoPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2830 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are setting neutral" + }, + "2.0": { + "@K[209]": "AmmoPercent", + "@K[211]": "The ammo percent to set the weapon to. Must be between 0 - 1" + } + }, + "@K[203]": "Sets the ammo percent used by the passed in weapon." + } + }, + { + "name": "GameScript.Game.SetGameFailed", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2833 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends a game failed (or MP game over) message." + } + }, + { + "name": "GameScript.Game.SetGameWon", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2836 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sends a game won (or MP game over) message." + } + }, + { + "name": "GameScript.Game.SetHitPointPercent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2839 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose health we are setting" + }, + "2.0": { + "@K[209]": "Percent", + "@K[211]": "The new percentage of the object's total health" + } + }, + "@K[203]": "Sets the health of an object to the specified percentage (given as a decimal in the range of 0 to 1). For objects with hit point controllers, it will overwrite all hit point values, filling up the lowest priority components first." + } + }, + { + "name": "GameScript.Game.SetHitPointPriorityInvulnerable", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2842 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a SetHitPointPriorityInvulnerable." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "The slot number as defined in HitPointControllerComponent" + }, + "3.0": { + "@K[209]": "Invulnerable", + "@K[211]": "True - this level absorbs all damage while also not reducing in value" + } + }, + "@K[203]": "Turn a single Hit Point component invulnerable as considered by the hit point controller" + } + }, + { + "name": "GameScript.Game.SetLookDirection", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2845 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "RollPitchHeading", + "@K[211]": "RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field." + } + }, + "@K[203]": "Set the look direction of the object to the roll, pitch and heading specified." + } + }, + { + "name": "GameScript.Game.SetNeutral", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2848 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are setting neutral" + }, + "2.0": { + "@K[209]": "bNeutral", + "@K[211]": "Whether or not it will be neutral." + } + }, + "@K[203]": "Set the flag that makes an object neutral or not." + } + }, + { + "name": "GameScript.Game.SetOwnerObject", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2851 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object owner" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be owned" + }, + "3.0": { + "@K[209]": "IsAI", + "@K[211]": "Is the object owner a AI?" + } + }, + "@K[203]": "Set the owner of the object to the object specified via the OwnerObjectMessage." + } + }, + { + "name": "GameScript.Game.SetPersonMaxSpeed", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2854 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PersonObject", + "@K[211]": "The object to limit the speed of" + }, + "2.0": { + "@K[209]": "SpeedType", + "@K[211]": "The speed at which to limit the person too (walk, run, sprint)" + } + }, + "@K[203]": "Set the maximum type of speed that a character can move at (walk, run, sprints, etc...)" + } + }, + { + "name": "GameScript.Game.SetPlayerSpawnIndex", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2857 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index of the player whose spawn index we want to change" + }, + "2.0": { + "@K[209]": "SpawnIndex", + "@K[211]": "The new spawn index for the player" + } + }, + "@K[203]": "Sets the spawn index of the given player" + } + }, + { + "name": "GameScript.Game.SetPlayersStartedLevel", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2860 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Sets the \"has started level\" flag on all players. This function is NOT net-synced and needs to be called on both host and clients. This function should be called as soon as a level starts, or at least before the first checkpoint in a level" + } + }, + { + "name": "GameScript.Game.SetRegeneratingHPDelay", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2863 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Delay", + "@K[211]": "Number of seconds until regen can restart" + } + }, + "@K[203]": "Takes a component handle to an \"IRegeneratingHitPointComponent\" and overrides the current regen delay on it" + } + }, + { + "name": "GameScript.Game.SetSprint", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2866 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are cause to stop/start sprint" + }, + "2.0": { + "@K[209]": "SprintEnabled", + "@K[211]": "True means turn sprint on, false to turn off" + } + }, + "@K[203]": "Force sprint to turn on or off" + } + }, + { + "name": "GameScript.Game.SetWorldsAsSavable", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2869 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireWorlds", + "@K[211]": "The list of worlds to set as savable" + } + }, + "@K[203]": "Sets the given list of worlds as savable, meaning that their states will be saved if they are streamed out so they can be restored if streamed back in. Each call of this function will invalidate the previous world list." + } + }, + { + "name": "GameScript.Game.Sets.AddObjectToSet", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2872 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject which we are adding to the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, add \"Object\"." + } + }, + { + "name": "GameScript.Game.Sets.DoesSetContainsObject", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2875 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "The empireObject which we are seeing if it is in the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, does it contain \"TestObject\"." + } + }, + { + "name": "GameScript.Game.Sets.GetNumObjectsInSet", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2878 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "If \"SetObject\" has a Set Component, get the number of objects in the set." + } + }, + { + "name": "GameScript.Game.Sets.GetObjectsInSet", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2881 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, get a list of objects in that set." + } + }, + { + "name": "GameScript.Game.Sets.HasSetComponent", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2884 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Set Component." + } + }, + { + "name": "GameScript.Game.Sets.RemoveObjectFromSet", + "namespace": "GameScript.Game.Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2887 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject which we are removing from the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, remove \"Object\"." + } + }, + { + "name": "GameScript.Game.ShowChallengeSummaryScreen", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2890 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays the challenge summary screen. Returns true if the screen is displayed, else returns false." + } + }, + { + "name": "GameScript.Game.ShowFullscreenMovie", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2893 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + } + }, + "@K[203]": "Plays a full-screen movie" + } + }, + { + "name": "GameScript.Game.ShowFullscreenMovieWithMenu", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2896 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + }, + "4.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays a full-screen movie" + } + }, + { + "name": "GameScript.Game.ShowFullscreenMovieWithMenuAndNode", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 2899 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + }, + "4.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + }, + "5.0": { + "@K[209]": "Node", + "@K[211]": "The name of the menu node as found in the dsMenuFlow file" + } + }, + "@K[203]": "Plays a full-screen movie using specified menu code" + } + }, + { + "name": "GameScript.Game.ShowGenericMenuScreen", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2902 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The name of the movie resource" + } + }, + "@K[203]": "Displays the named menu screen. Returns true if the screen is displayed, else returns false." + } + }, + { + "name": "GameScript.Game.ShowIntroLoadingMovieAndStream", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2905 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MissionIndex", + "@K[211]": "Progression order of the mission" + } + }, + "@K[203]": "Plays the intro movie and streams the worlds for a given mission." + } + }, + { + "name": "GameScript.Game.ShowIntroLoadingMovieAndStreamWithMenu", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2908 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MissionIndex", + "@K[211]": "Progression order of the mission" + }, + "2.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays the intro movie and streams the worlds for a given mission." + } + }, + { + "name": "GameScript.Game.ShowLoadingScreenMovie", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2911 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MovieType", + "@K[211]": "The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie." + }, + "2.0": { + "@K[209]": "MissionHint", + "@K[211]": "Mission hint" + } + }, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" + } + }, + { + "name": "GameScript.Game.ShowLoadingScreenMovieStreamHint", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2914 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" + } + }, + { + "name": "GameScript.Game.ShowLoadingScreenMovieStreamHintWithMenu", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2917 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" + } + }, + { + "name": "GameScript.Game.ShowLoadingScreenMovieWithMenu", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2920 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MovieType", + "@K[211]": "The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie." + }, + "2.0": { + "@K[209]": "MissionHint", + "@K[211]": "Mission hint" + }, + "3.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" + } + }, + { + "name": "GameScript.Game.ShowMissionSummaryScreen", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2923 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." + } + }, + { + "name": "GameScript.Game.ShowMissionSummaryScreenEx", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2926 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MenuResource", + "@K[211]": "The script name of the menu resource" + }, + "2.0": { + "@K[209]": "PauseGame", + "@K[211]": "Should the game pause while this menu is displayed?" + } + }, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." + } + }, + { + "name": "GameScript.Game.ShowMissionSummaryScreenNoPause", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2929 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." + } + }, + { + "name": "GameScript.Game.ShowMovie", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2932 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + } + }, + "@K[203]": "Plays a full-screen movie" + } + }, + { + "name": "GameScript.Game.ShowPlayerView", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2935 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view" + } + }, + { + "name": "GameScript.Game.Spawn", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2938 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which the object is spawned" + } + }, + "@K[203]": "Look up a name in the object template list of the script component for \"EmpireObject\", and spawn an object based on the listed template. Note this is the variable created in the \"RegisterObjectTemplateVariable\" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered." + } + }, + { + "name": "GameScript.Game.SpawnIntoInventory", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 2941 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the Script Component's object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "InventoryObject", + "@K[211]": "The object whose inventory we want to spawn into" + }, + "3.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to spawn into.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists" + }, + "4.0": { + "@K[209]": "InventoryGroup", + "@K[211]": "The inventory group we want to spawn into, starting from group 1. Use 0 to spawn into the object's currently selected inventory group" + }, + "5.0": { + "@K[209]": "InventorySlot", + "@K[211]": "The inventory slot we want to spawn into, starting from slot 1. Use 0 to spawn into the first available (empty) slot. If a specific slot is specified, then any object currently in that slot will be deleted first" + } + }, + "@K[203]": "Spawns the object with the specified script template name into another object's inventory of the given type. It will try to spawn into the designated group and slot, deleting any object currently occupying that slot. If no specific group is given (by passing in 0), then it will try to use the currently selected group. If no specific slot is given (by passing in 0), then it will spawn the object into the first available empty slot and return an error if there aren't any." + } + }, + { + "name": "GameScript.Game.SpawnWithRotation", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2944 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which the object is spawned" + }, + "3.0": { + "@K[209]": "Rotaion", + "@K[211]": "A RollPitchHeadingVector for the orientaiton of the object spawn" + } + }, + "@K[203]": "Look up a name in the object template list of the script component for \"EmpireObject\", and spawn an object based on the listed template. Note this is the variable created in the \"RegisterObjectTemplateVariable\" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered." + } + }, + { + "name": "GameScript.Game.SpawnerFinishedSpawning", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2947 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "SpawnerObject", + "@K[211]": "The empireObject for which we are examining for a Spawner Component" + } + }, + "@K[203]": "Check if \"SpawnerObject\" has a Spawner Component, and if so, check if it has completed spawning." + } + }, + { + "name": "GameScript.Game.StartInteraction", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 2950 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (typically a player avatar)" + }, + "2.0": { + "@K[209]": "InteractiveObject", + "@K[211]": "The object that the user is interacting with (such as a lever or button)" + }, + "3.0": { + "@K[209]": "Position", + "@K[211]": "The position in the world where the interaction should occur" + }, + "4.0": { + "@K[209]": "Orientation", + "@K[211]": "The RPH of the interaction in the world, in degrees" + } + }, + "@K[203]": "Starts an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear" + } + }, + { + "name": "GameScript.Game.StartMultiUserInteraction", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 2953 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (in a multi user interaction this is usually the level or door)" + }, + "2.0": { + "@K[209]": "InteractiveObjectA", + "@K[211]": "The object that the user is interacting with (This is usually player 1)" + }, + "3.0": { + "@K[209]": "InteractiveObjectB", + "@K[211]": "The object that the user is interacting with (This is usually player 2)" + }, + "4.0": { + "@K[209]": "Position", + "@K[211]": "The position in the world where the interaction should occur" + }, + "5.0": { + "@K[209]": "Orientation", + "@K[211]": "The RPH of the interaction in the world, in degrees" + } + }, + "@K[203]": "Starts an interaction between an initiator (e.g. levers or buttons) and two interactive objects (e.g. player avatars). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear" + } + }, + { + "name": "GameScript.Game.StartScriptEvent", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2956 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "scriptEventID", + "@K[211]": "The unique ID of the message defined in the object." + } + }, + "@K[203]": "Start a script event on the ScriptEvent component of an object" + } + }, + { + "name": "GameScript.Game.StartScriptEventTarget", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2959 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "scriptEventID", + "@K[211]": "The unique ID of the message defined in the object." + }, + "3.0": { + "@K[209]": "TargetObject", + "@K[211]": "The object to operate on." + } + }, + "@K[203]": "Start a script event on the ScriptEvent component of an object" + } + }, + { + "name": "GameScript.Game.StopInteraction", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2962 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (typically a player avatar)" + }, + "2.0": { + "@K[209]": "InteractiveObject", + "@K[211]": "The object that the user is interacting with (such as a lever or button)" + } + }, + "@K[203]": "Stops an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button)." + } + }, + { + "name": "GameScript.Game.StopMultiUserInteraction", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2965 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object is controlling the interaction (in a multi user interaction this is usually not the players.)" + }, + "2.0": { + "@K[209]": "InteractiveObjectA", + "@K[211]": "The object that the user is interacting with (Usually player 1)" + }, + "3.0": { + "@K[209]": "InteractiveObjectB", + "@K[211]": "The object that the user is interacting with (Usually player 2)" + } + }, + "@K[203]": "Stops an interaction between an initiator (e.g. lever, doors) and two interactive objects (e.g. players)." + } + }, + { + "name": "GameScript.Game.StreamWorlds", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2968 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DesiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that we want to load at this time" + }, + "2.0": { + "@K[209]": "RequiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that MUST be loaded at this time" + } + }, + "@K[203]": "Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out." + } + }, + { + "name": "GameScript.Game.StreamWorldsWithSaveOverride", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2971 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "DesiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that we want to load at this time" + }, + "2.0": { + "@K[209]": "RequiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that MUST be loaded at this time" + }, + "3.0": { + "@K[209]": "AutoSave", + "@K[211]": "Use 0 to disable auto saving, 1 to attempt an auto save. (Note does not work if autosave is off globally)" + } + }, + "@K[203]": "Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out." + } + }, + { + "name": "GameScript.Game.TeleportObjectToPosition", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2974 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which to teleport" + } + }, + "@K[203]": "Send a message to teleport the object to this position while maintaining orientation." + } + }, + { + "name": "GameScript.Game.TeleportObjectWithRotation", + "namespace": "GameScript.Game", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 2977 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which to teleport" + }, + "3.0": { + "@K[209]": "RollPitchHeading", + "@K[211]": "RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field." + } + }, + "@K[203]": "Send a message to teleport the object to this position with the roll, pitch and heading specified." + } + }, + { + "name": "GameScript.Game.UnhideAllHUD", + "namespace": "GameScript.Game", + "signature": { + "parameters": [], + "line": 2980 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Unhide all HUD." + } + }, + { + "name": "GameScript.GenerateDocs", + "namespace": "GameScript", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2983 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" + } + }, + { + "name": "GameScript.GenerateLuasense", + "namespace": "GameScript", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2986 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" + } + }, + { + "name": "GameScript.NonProduction.GetFrameNumber", + "namespace": "GameScript.NonProduction", + "signature": { + "parameters": [], + "line": 2989 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the current frame number for game" + } + }, + { + "name": "GameScript.NonProduction.GetObjectInReticle", + "namespace": "GameScript.NonProduction", + "signature": { + "parameters": [], + "line": 2992 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return a handle for the object that is currently in the main player's reticle" + } + }, + { + "name": "GameScript.NonProduction.GetPhysicsObjectsInBox", + "namespace": "GameScript.NonProduction", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 2995 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MinCorner", + "@K[211]": "A table with x,y,z that is the position of the minX,Y,Z for the box" + }, + "2.0": { + "@K[209]": "MaxCorner", + "@K[211]": "A table with x,y,z that is the position of the maxX,Y,Z for the box" + } + }, + "@K[203]": "Grab a list of all the physics objects that are currently in the world and have part of their bounding volumes within the box formed from the min and max corner positions" + } + }, + { + "name": "GameScript.NonProduction.SetLookRot", + "namespace": "GameScript.NonProduction", + "signature": { + "parameters": [ + "arg1" + ], + "line": 2998 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TargetRotation", + "@K[211]": "A table that contains the roll, pitch, heading in the r,p,h fields" + } + }, + "@K[203]": "If the object has a LookRotation component, it will be set to the roll, pitch, heading argument" + } + }, + { + "name": "GameScript.NonProduction.TransferPlayerControl", + "namespace": "GameScript.NonProduction", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3001 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "FromObject", + "@K[211]": "The game object that currently has player control" + }, + "2.0": { + "@K[209]": "ToObject", + "@K[211]": "The game object that will receive player control" + } + }, + "@K[203]": "Transfers player control from one object to another." + } + }, + { + "name": "GameScript.SetAppMode", + "namespace": "GameScript", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3004 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" + } + }, + { + "name": "GameScript.StartLog", + "namespace": "GameScript", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3007 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" + } + }, + { + "name": "GameScript.Support.AddDescription", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3010 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "When the script is selected in the tools the description text will be displayed. It is also visible in non-final game in the C++ debugger" + } + }, + { + "name": "GameScript.Support.AddToWorldVectorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3013 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + }, + "2.0": { + "@K[209]": "WorldsToAddVariableName", + "@K[211]": "The variable containing world we wish to add" + } + }, + "@K[203]": "Take a variable containing a vector of world variable 'WorldsToAddVariableName' and add them to the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands." + } + }, + { + "name": "GameScript.Support.CreateScriptEvent", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3016 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EventVariableName", + "@K[211]": "A name that is used to reference the variable in the script component, Usually used for display in forge, but in this case, we hide it because it is just clutter" + }, + "2.0": { + "@K[209]": "SequenceEventName", + "@K[211]": "Name of the sequenceEvent in the global sequence component" + } + }, + "@K[203]": "Create an script event variable from the SequenceEvent name which can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to StartScriptEvent(), or RegisterForScriptEvent(). Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.CreateWorldVectorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3019 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + } + }, + "@K[203]": "Create an empty world vector associated with the script component under . This will not be editable in tools, but can be used with the cmmands, AddToWorldVectorVariable and RemoveFromWorldVectorVariable to create new world vector combinations that can then be used with Game.StreamWorld or other commands." + } + }, + { + "name": "GameScript.Support.DoesObjectTemplateMatch", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3022 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Object for which we are checking" + }, + "2.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object template we are searching" + } + }, + "@K[203]": "Checks to see if the template for the matches the template that is associated with the \".dsObject\" file in the script component under ." + } + }, + { + "name": "GameScript.Support.ExitScript", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3025 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Exit the script for this object so it no longer updates or responds to callbacks" + } + }, + { + "name": "GameScript.Support.ExportFloatVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3028 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be defining in the script" + }, + "2.0": { + "@K[209]": "InitialValue", + "@K[211]": "The initial value we will give the variable. This is visible in Forge and Landscape" + }, + "3.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script that will be accessible through the script component of this object and then can then be accessed by other components in this object or from other objects, for example through a WatchVariable. The variable of this name in the script is host authoritative in a networked environment. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.GetCurveValue", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3031 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "CurveScriptName", + "@K[211]": "The name that the script used to register the curve." + }, + "2.0": { + "@K[209]": "InputValue", + "@K[211]": "Inpboostut value for which point on the curve to look up." + } + }, + "@K[203]": "Returns value of the curve, chosen to match the CurveScriptName in the tools, at the position inputValue." + } + }, + { + "name": "GameScript.Support.GetGameTime", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3034 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the current game time in seconds." + } + }, + { + "name": "GameScript.Support.GetGameTimeDelta", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3037 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return the current game time delta in seconds." + } + }, + { + "name": "GameScript.Support.GetImportObjectTable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3040 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable whose value we are getting" + } + }, + "@K[203]": "Returns all objects specified by the Import Object Handle Variable of the given name. The list always returns a table, even if it only returns one object. If the Import Object Handle Variable is returning \"Objects in My Set\" or \"Objects in a Set\", then it will not return the specified object, but rather the objects inside its Set Component if it has one." + } + }, + { + "name": "GameScript.Support.GetImportWatchVariableValue", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3043 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the watch variable whose value we are getting" + } + }, + "@K[203]": "Returns the value of the watch variable of the given name. Returns 0 if the variable is unbound or does not exist." + } + }, + { + "name": "GameScript.Support.GetObjectVariableFromComponent", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3046 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting a variable" + }, + "2.0": { + "@K[209]": "ObjectVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + }, + "3.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the component in the \"EmpireObject\"." + } + }, + "@K[203]": "Returns value of the variable contained in the component named \"ComponentName\" in \"EmpireObject\"." + } + }, + { + "name": "GameScript.Support.GetPlatform", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3049 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return an enum for the platform. GameScript.Platform.XBox360,PS3,Win32" + } + }, + { + "name": "GameScript.Support.GetRandomFactor", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3052 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return a random number from 0.0 to 1.0(range includes both 0 and 1)" + } + }, + { + "name": "GameScript.Support.GetRandomInteger", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3055 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MinValue", + "@K[211]": "Lowest possible return" + }, + "2.0": { + "@K[209]": "MaxValue", + "@K[211]": "Highest possible return" + } + }, + "@K[203]": "Return a random integer from minValue to maxValue(range includes both min and max)" + } + }, + { + "name": "GameScript.Support.GetScriptExportVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3058 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a variable" + }, + "2.0": { + "@K[209]": "ScriptVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + } + }, + "@K[203]": "Return the value from the \"EmpireObject\" of variable exported from the script with the name \"ScriptVariableName\"." + } + }, + { + "name": "GameScript.Support.GetStreamingWorldNames", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3061 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "desiredWorldsScriptName", + "@K[211]": "The variable name for the desired worlds to be stored in." + }, + "2.0": { + "@K[209]": "requiredWorldsScriptName", + "@K[211]": "The variable name for the required worlds to be stored in." + } + }, + "@K[203]": "Returns the current desired and required worlds." + } + }, + { + "name": "GameScript.Support.HasScriptExportVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3064 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a variable" + }, + "2.0": { + "@K[209]": "ScriptVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + } + }, + "@K[203]": "Determines if the \"EmpireObject\" has export a variable from the script with the name \"ScriptVariableName\"." + } + }, + { + "name": "GameScript.Support.ImportBoolVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3067 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportBoolVariableWithDefault", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3070 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable when it is created" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportColorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3073 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportEnumVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3076 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "The name of the table " + }, + "2.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "3.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value will be selected with a combo box and return by this function. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportFloatVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3079 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportFloatVariableWithDefault", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3082 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable when it is created" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportObjectHandleVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3085 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Returns true if exists in game and if created in the tools Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportObjectList", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3088 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Landscape. This variable will allow you to set up a list of objects. The size of the list, and the objects in that list are set in Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportRegionObject", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3091 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a region component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportScriptEvent", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3094 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EventName", + "@K[211]": "A name to look up the id associated with the ecen" + }, + "2.0": { + "@K[209]": "EventDescription", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create an event that can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to SendEventMessage(), or RegisterForScriptEvent(). The description is only used for the tools UI Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportSetObject", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3097 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a set component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportSingleObject", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3100 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to a single object. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportStaticTextVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3103 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportStaticTextVariableWithDefault", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3106 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportStringVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3109 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportStringVariableWithDefault", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3112 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportVectorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3115 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.ImportWatchVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3118 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.IsSplitScreen", + "namespace": "GameScript.Support", + "signature": { + "parameters": [], + "line": 3121 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return a bool indicating whether or not the game is running in split screen" + } + }, + { + "name": "GameScript.Support.RegisterAnimationGraphResourceVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3124 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an animation resource. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as SetAnimationGraphResource. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterComponentHandle", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3127 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the component for which we want a handle" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that eventually will be visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Eventually will create a variable that can be set to select a component in Forge. Current does nothing in the tools, but in game gets the handle to a component for your current object that can be used in other calls. This was set up specifically for IEnergyComponent and if useful, may be generalized." + } + }, + { + "name": "GameScript.Support.RegisterCurveTemplateVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3130 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a curve template(i.e. *.dsCurve). When this runs in the game it returns true if the variable has a curve template. There are other commands that will take this variable name and look up the curve template for commands such as SetEnvironmentLight. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterMenuVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3133 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a menu(i.e. *.dsMenu). When this runs in the game it returns true if the variable has a menu. There are other commands that will take this variable name and look up the menu for commands such as ShowMovie and ShowFullscreenMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterMovieVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3136 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is movie. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as ShowMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterObjectTemplateVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3139 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an objectTemplate(i.e. *.dsObject). When this runs in the game it returns true if the variable has an object template. There are other commands that will take this variable name and look up the object template for commands such as SpawnObject. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterTextureVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3142 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a texture(i.e. *.tif). When this runs in the game it returns true if the variable has a texture. There are other commands that will take this variable name and look up the texture for commands such as SetAmbientCubeMap. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RegisterWorldVectorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3145 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a vector of worlds (i.e. *.dsWorld). When this runs in the game it returns true if the variable has a vector. There are other commands that will take this variable name and look up the world vector for commands such as StreamWorlds. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." + } + }, + { + "name": "GameScript.Support.RemoveFromWorldVectorVariable", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3148 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + }, + "2.0": { + "@K[209]": "WorldsToRemoveVariableName", + "@K[211]": "The variable containing world we wish to remove" + } + }, + "@K[203]": "Take a variable containing a vector of world variable 'WorldsToRemoveVariableName' and remove every occurence of those worlds from the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands." + } + }, + { + "name": "GameScript.Support.TurnOnScriptUpdate", + "namespace": "GameScript.Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3151 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "bUpdate", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable update of the script in this object" + } + }, + { + "name": "GameScript.Utilities.CastRay", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3154 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + }, + "4.0": { + "@K[209]": "RayOutput", + "@K[211]": "The results of the cast is a table with fields:\n\"hasHit\" bool for whether or not anything was hit\n\"object\" handle to the object the ray hit.\n\"distanceToCollision\" Distance from the start before collision occurred.\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns a table with the normal and distance to the first object, if any, that is hit." + } + }, + { + "name": "GameScript.Utilities.DoesRayCollide", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3157 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns true if it hit something" + } + }, + { + "name": "GameScript.Utilities.GenerateRandomSeed", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [], + "line": 3160 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Generate a new random seed value)" + } + }, + { + "name": "GameScript.Utilities.GetDistanceBetweenObjects", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3163 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject1", + "@K[211]": "One of two empireObjects for which we are checking the distance between." + }, + "2.0": { + "@K[209]": "EmpireObject2", + "@K[211]": "The second of two empireObjects for which we are checking the distance between." + } + }, + "@K[203]": "Returns distance in meters, returns extremely large number is either object does not have a position(no PosRot or doesn't exist)." + } + }, + { + "name": "GameScript.Utilities.GetGlobalDataObject", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [], + "line": 3166 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Get a handle to the global data object which can be useful for listening to messages such as GameScript.MsgCallback.PlayerRegistrationMessage" + } + }, + { + "name": "GameScript.Utilities.GetRandomInteger", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3169 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "MinValue", + "@K[211]": "Lowest possible return" + }, + "2.0": { + "@K[209]": "MaxValue", + "@K[211]": "Highest possible return" + } + }, + "@K[203]": "Return a random integer from minValue to maxValue(range includes both min and max)" + } + }, + { + "name": "GameScript.Utilities.GetRandomPercent", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [], + "line": 3172 + }, + "calltip": { + "@K[202]": {}, + "@K[203]": "Return a random number from 0.0 to 1.0(range includes both 0 and 1)" + } + }, + { + "name": "GameScript.Utilities.GetRayCollisionDistance", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3175 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + }, + "4.0": { + "@K[209]": "RayDistanceOutput", + "@K[211]": "The results of the cast is a table with fields:\n\"hasHit\" bool for whether or not anything was hit\n\"distanceToCollision\" Distance from the start before collision occurred.\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns a table with the distance to the first object, if any, that is hit." + } + }, + { + "name": "GameScript.Utilities.GetTextIDString", + "namespace": "GameScript.Utilities", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3178 + }, + "calltip": { + "@K[202]": { + "1.0": { + "@K[209]": "TextID", + "@K[211]": "The text ID of the string to get." + } + }, + "@K[203]": "Get the string for the passed in Text ID." + } + }, + { + "name": "GetCallTipInfo", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3180 + }, + "calltip": null + }, + { + "name": "Graphics.GetColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3182 + }, + "calltip": null + }, + { + "name": "Graphics.GetEnvironmentLight", + "namespace": "Graphics", + "signature": { + "parameters": [], + "line": 3184 + }, + "calltip": null + }, + { + "name": "Graphics.GetPortalOpen", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3186 + }, + "calltip": null + }, + { + "name": "Graphics.SetAlphaBlend", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3188 + }, + "calltip": null + }, + { + "name": "Graphics.SetAmbientLightIntensity", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3190 + }, + "calltip": null + }, + { + "name": "Graphics.SetAmbientLightSpecularity", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3192 + }, + "calltip": null + }, + { + "name": "Graphics.SetCastsShadows", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3194 + }, + "calltip": null + }, + { + "name": "Graphics.SetColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3196 + }, + "calltip": null + }, + { + "name": "Graphics.SetContractionsFogColors", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4", + "arg5" + ], + "line": 3198 + }, + "calltip": null + }, + { + "name": "Graphics.SetContractionsFogValues", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3200 + }, + "calltip": null + }, + { + "name": "Graphics.SetDiffuseAmbientCubeMap", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3202 + }, + "calltip": null + }, + { + "name": "Graphics.SetDistantObjectsShadowed", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3204 + }, + "calltip": null + }, + { + "name": "Graphics.SetEnvironmentLight", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3206 + }, + "calltip": null + }, + { + "name": "Graphics.SetFogColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3208 + }, + "calltip": null + }, + { + "name": "Graphics.SetFogCubeMap", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3210 + }, + "calltip": null + }, + { + "name": "Graphics.SetFogValues", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3212 + }, + "calltip": null + }, + { + "name": "Graphics.SetGlobalSunDirection", + "namespace": "Graphics", + "signature": { + "parameters": [], + "line": 3214 + }, + "calltip": null + }, + { + "name": "Graphics.SetLightControl", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3216 + }, + "calltip": null + }, + { + "name": "Graphics.SetLightControlAndCurve", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3218 + }, + "calltip": null + }, + { + "name": "Graphics.SetLightIntensity", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3220 + }, + "calltip": null + }, + { + "name": "Graphics.SetLightProbeRegionAmbientColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3222 + }, + "calltip": null + }, + { + "name": "Graphics.SetLightRadius", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3224 + }, + "calltip": null + }, + { + "name": "Graphics.SetMaterialSortMode", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3226 + }, + "calltip": null + }, + { + "name": "Graphics.SetNamedMaterialColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3228 + }, + "calltip": null + }, + { + "name": "Graphics.SetNamedMaterialScalar", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3230 + }, + "calltip": null + }, + { + "name": "Graphics.SetParticleAmbientColor", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3232 + }, + "calltip": null + }, + { + "name": "Graphics.SetPortalOpen", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3234 + }, + "calltip": null + }, + { + "name": "Graphics.SetShadowDistances", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3236 + }, + "calltip": null + }, + { + "name": "Graphics.SetShadowQuality", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3238 + }, + "calltip": null + }, + { + "name": "Graphics.SetSpecularAmbientCubeMap", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3240 + }, + "calltip": null + }, + { + "name": "Graphics.SetSpotLight", + "namespace": "Graphics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3242 + }, + "calltip": null + }, + { + "name": "Help", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3244 + }, + "calltip": null + }, + { + "name": "Log", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3246 + }, + "calltip": null + }, + { + "name": "LogLevel", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3248 + }, + "calltip": null + }, + { + "name": "MP.AddSpecialSpawnPlayer", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3250 + }, + "calltip": null + }, + { + "name": "MP.AwardPlayerPoints", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3252 + }, + "calltip": null + }, + { + "name": "MP.AwardTeamPoints", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3254 + }, + "calltip": null + }, + { + "name": "MP.ClearNetworkSaveData", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3256 + }, + "calltip": null + }, + { + "name": "MP.DisableMPManagerMatchTimeLimit", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3258 + }, + "calltip": null + }, + { + "name": "MP.GetCurrentPlayerStatistic", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3260 + }, + "calltip": null + }, + { + "name": "MP.GetDifficultyLevel", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3262 + }, + "calltip": null + }, + { + "name": "MP.GetGameMode", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3264 + }, + "calltip": null + }, + { + "name": "MP.GetGameTypeFlag", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3266 + }, + "calltip": null + }, + { + "name": "MP.GetMultiplayerTime", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3268 + }, + "calltip": null + }, + { + "name": "MP.GetNetworkLookRotForward", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3270 + }, + "calltip": null + }, + { + "name": "MP.GetNumberOfActivePlayers", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3272 + }, + "calltip": null + }, + { + "name": "MP.GetNumberOfRounds", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3274 + }, + "calltip": null + }, + { + "name": "MP.GetNumberOfRoundsInAContinuousSession", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3276 + }, + "calltip": null + }, + { + "name": "MP.GetPlayerName", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3278 + }, + "calltip": null + }, + { + "name": "MP.GetPointAward", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3280 + }, + "calltip": null + }, + { + "name": "MP.GetTeamForPlayer", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3282 + }, + "calltip": null + }, + { + "name": "MP.GetTeamStatistic", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3284 + }, + "calltip": null + }, + { + "name": "MP.GetTimeElapsed", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3286 + }, + "calltip": null + }, + { + "name": "MP.GetTimeLimit", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3288 + }, + "calltip": null + }, + { + "name": "MP.GetTimeRemaining", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3290 + }, + "calltip": null + }, + { + "name": "MP.GetTotalPlayerStatistic", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3292 + }, + "calltip": null + }, + { + "name": "MP.IsClient", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3294 + }, + "calltip": null + }, + { + "name": "MP.IsNetworkGame", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3296 + }, + "calltip": null + }, + { + "name": "MP.IsRemoteScript", + "namespace": "MP", + "signature": { + "parameters": [], + "line": 3298 + }, + "calltip": null + }, + { + "name": "MP.ModifyTimeRemaining", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3300 + }, + "calltip": null + }, + { + "name": "MP.SetTeamForPlayer", + "namespace": "MP", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3302 + }, + "calltip": null + }, + { + "name": "MemoryStats", + "namespace": "_global", + "signature": { + "parameters": [], + "line": 3304 + }, + "calltip": null + }, + { + "name": "NonProduction.GetFrameNumber", + "namespace": "NonProduction", + "signature": { + "parameters": [], + "line": 3306 + }, + "calltip": null + }, + { + "name": "NonProduction.GetObjectInReticle", + "namespace": "NonProduction", + "signature": { + "parameters": [], + "line": 3308 + }, + "calltip": null + }, + { + "name": "NonProduction.GetPhysicsObjectsInBox", + "namespace": "NonProduction", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3310 + }, + "calltip": null + }, + { + "name": "NonProduction.SetLookRot", + "namespace": "NonProduction", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3312 + }, + "calltip": null + }, + { + "name": "NonProduction.TransferPlayerControl", + "namespace": "NonProduction", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3314 + }, + "calltip": null + }, + { + "name": "ObjectTags.DoesObjectHaveTag", + "namespace": "ObjectTags", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3316 + }, + "calltip": null + }, + { + "name": "ObjectTags.GetObjectTagName", + "namespace": "ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3318 + }, + "calltip": null + }, + { + "name": "ObjectTags.GetObjectTagUID", + "namespace": "ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3320 + }, + "calltip": null + }, + { + "name": "ObjectTags.GetObjectsWithTag", + "namespace": "ObjectTags", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3322 + }, + "calltip": null + }, + { + "name": "Objectives.Add", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3324 + }, + "calltip": null + }, + { + "name": "Objectives.AddObject", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3326 + }, + "calltip": null + }, + { + "name": "Objectives.GetStatus", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3328 + }, + "calltip": null + }, + { + "name": "Objectives.Remove", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3330 + }, + "calltip": null + }, + { + "name": "Objectives.RemoveObject", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3332 + }, + "calltip": null + }, + { + "name": "Objectives.SetStatus", + "namespace": "Objectives", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3334 + }, + "calltip": null + }, + { + "name": "Physics.ApplyAngularImpulse", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3336 + }, + "calltip": null + }, + { + "name": "Physics.ApplyAngularImpulseToRigidBody", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3338 + }, + "calltip": null + }, + { + "name": "Physics.ApplyImpulse", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3340 + }, + "calltip": null + }, + { + "name": "Physics.ApplyImpulseToCloth", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3342 + }, + "calltip": null + }, + { + "name": "Physics.ApplyImpulseToRigidBody", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3344 + }, + "calltip": null + }, + { + "name": "Physics.DoesHavePhysics", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3346 + }, + "calltip": null + }, + { + "name": "Physics.DoesRigidBodyExist", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3348 + }, + "calltip": null + }, + { + "name": "Physics.GetAABB", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3350 + }, + "calltip": null + }, + { + "name": "Physics.GetAngularVelocity", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3352 + }, + "calltip": null + }, + { + "name": "Physics.GetCollisionGroup", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3354 + }, + "calltip": null + }, + { + "name": "Physics.GetLinearVelocity", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3356 + }, + "calltip": null + }, + { + "name": "Physics.GetMass", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3358 + }, + "calltip": null + }, + { + "name": "Physics.GetRigidBodyFriction", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3360 + }, + "calltip": null + }, + { + "name": "Physics.GetRigidBodyMass", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3362 + }, + "calltip": null + }, + { + "name": "Physics.GetRigidBodyPosition", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3364 + }, + "calltip": null + }, + { + "name": "Physics.GetRigidBodyRestitution", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3366 + }, + "calltip": null + }, + { + "name": "Physics.GetRigidBodyRotation", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3368 + }, + "calltip": null + }, + { + "name": "Physics.IsClothWindEnabled", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3370 + }, + "calltip": null + }, + { + "name": "Physics.IsDynamic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3372 + }, + "calltip": null + }, + { + "name": "Physics.IsKeyframed", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3374 + }, + "calltip": null + }, + { + "name": "Physics.IsRigidBodyDynamic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3376 + }, + "calltip": null + }, + { + "name": "Physics.IsRigidBodyKeyframed", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3378 + }, + "calltip": null + }, + { + "name": "Physics.IsRigidBodyStatic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3380 + }, + "calltip": null + }, + { + "name": "Physics.IsStatic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3382 + }, + "calltip": null + }, + { + "name": "Physics.OverRideConstraintMaxSpeed", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3384 + }, + "calltip": null + }, + { + "name": "Physics.RestoreConstraintMaxSpeed", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3386 + }, + "calltip": null + }, + { + "name": "Physics.SetAngularVelocity", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3388 + }, + "calltip": null + }, + { + "name": "Physics.SetClothWindDirection", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3390 + }, + "calltip": null + }, + { + "name": "Physics.SetClothWindEnabled", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3392 + }, + "calltip": null + }, + { + "name": "Physics.SetClothWindInterval", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3394 + }, + "calltip": null + }, + { + "name": "Physics.SetClothWindStrength", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3396 + }, + "calltip": null + }, + { + "name": "Physics.SetCollisionGroup", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3398 + }, + "calltip": null + }, + { + "name": "Physics.SetConstraintPosition", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3400 + }, + "calltip": null + }, + { + "name": "Physics.SetLinearVelocityOfRigidBody", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3402 + }, + "calltip": null + }, + { + "name": "Physics.SetRigidBodyFriction", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3404 + }, + "calltip": null + }, + { + "name": "Physics.SetRigidBodyMass", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3406 + }, + "calltip": null + }, + { + "name": "Physics.SetRigidBodyRestitution", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3408 + }, + "calltip": null + }, + { + "name": "Physics.SetRigidBodyToDynamic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3410 + }, + "calltip": null + }, + { + "name": "Physics.SetRigidBodyToStatic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3412 + }, + "calltip": null + }, + { + "name": "Physics.SetSurfaceVelocityAccelerationScale", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3414 + }, + "calltip": null + }, + { + "name": "Physics.SetSurfaceVelocityDesiredScale", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3416 + }, + "calltip": null + }, + { + "name": "Physics.SetSurfaceVelocityScale", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3418 + }, + "calltip": null + }, + { + "name": "Physics.SetToDynamic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3420 + }, + "calltip": null + }, + { + "name": "Physics.SetToStatic", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3422 + }, + "calltip": null + }, + { + "name": "Physics.SetVelocity", + "namespace": "Physics", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3424 + }, + "calltip": null + }, + { + "name": "Player.AreAllPlayersInState", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3426 + }, + "calltip": null + }, + { + "name": "Player.CanPlayerPossess", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3428 + }, + "calltip": null + }, + { + "name": "Player.ClearTetherBreadcrumbs", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3430 + }, + "calltip": null + }, + { + "name": "Player.ClearTetherSafeRadiusOverride", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3432 + }, + "calltip": null + }, + { + "name": "Player.DisableTetherSpawnTagSet", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3434 + }, + "calltip": null + }, + { + "name": "Player.DoesPlayerHaveLineOfSightToPosition", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3436 + }, + "calltip": null + }, + { + "name": "Player.EnableTetherSpawnTagSet", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3438 + }, + "calltip": null + }, + { + "name": "Player.GetAllPlayerControlledObjectsByIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3440 + }, + "calltip": null + }, + { + "name": "Player.GetGlobalIndexFromLocalIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3442 + }, + "calltip": null + }, + { + "name": "Player.GetLastTimePlayerSpawnTagUsed", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3444 + }, + "calltip": null + }, + { + "name": "Player.GetMaxPossessionTime", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3446 + }, + "calltip": null + }, + { + "name": "Player.GetNumLocalPlayers", + "namespace": "Player", + "signature": { + "parameters": [], + "line": 3448 + }, + "calltip": null + }, + { + "name": "Player.GetNumPlayers", + "namespace": "Player", + "signature": { + "parameters": [], + "line": 3450 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerAvatarObjectByIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3452 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerAvatarPositionByIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3454 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerControlledObjectByIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3456 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerDistanceToPosition", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3458 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerGameComplete", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3460 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerIndexByObject", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3462 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerObjectByIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3464 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerPlaneDistance", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3466 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3468 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagMaximumPlayersAllowed", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3470 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagMinimumPlayersRequired", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3472 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagNationCheckPassed", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3474 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagSpawnLocation", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3476 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTagSpawnRotation", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3478 + }, + "calltip": null + }, + { + "name": "Player.GetPlayerSpawnTemplateIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3480 + }, + "calltip": null + }, + { + "name": "Player.GetPossessingPlayerIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3482 + }, + "calltip": null + }, + { + "name": "Player.GetPossessionDelay", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3484 + }, + "calltip": null + }, + { + "name": "Player.GetValidSpawnTagObjects", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3486 + }, + "calltip": null + }, + { + "name": "Player.HasPlayerCollectedObject", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3488 + }, + "calltip": null + }, + { + "name": "Player.InhibitCurrentPossessionEnding", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3490 + }, + "calltip": null + }, + { + "name": "Player.IsActivePlayer", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3492 + }, + "calltip": null + }, + { + "name": "Player.IsLocalPlayer", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3494 + }, + "calltip": null + }, + { + "name": "Player.IsPlayerControlled", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3496 + }, + "calltip": null + }, + { + "name": "Player.IsPlayerFlashlightOn", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3498 + }, + "calltip": null + }, + { + "name": "Player.IsPlayerInState", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3500 + }, + "calltip": null + }, + { + "name": "Player.PauseCurrentPossession", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3502 + }, + "calltip": null + }, + { + "name": "Player.ResetPossessionTimer", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3504 + }, + "calltip": null + }, + { + "name": "Player.RevivePlayer", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3506 + }, + "calltip": null + }, + { + "name": "Player.RevivePlayerInstant", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3508 + }, + "calltip": null + }, + { + "name": "Player.SetCheckpointLoad", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3510 + }, + "calltip": null + }, + { + "name": "Player.SetCrouch", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3512 + }, + "calltip": null + }, + { + "name": "Player.SetFailedOnRespawn", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3514 + }, + "calltip": null + }, + { + "name": "Player.SetLocalTetherTimeoutPeriod", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3516 + }, + "calltip": null + }, + { + "name": "Player.SetLocalTetherWarningPct", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3518 + }, + "calltip": null + }, + { + "name": "Player.SetLocalTetherZone", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3520 + }, + "calltip": null + }, + { + "name": "Player.SetMaxPossessionTime", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3522 + }, + "calltip": null + }, + { + "name": "Player.SetPlayerGameComplete", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3524 + }, + "calltip": null + }, + { + "name": "Player.SetPlayerIndestructible", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3526 + }, + "calltip": null + }, + { + "name": "Player.SetPlayerRespawnTagIndexResponse", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3528 + }, + "calltip": null + }, + { + "name": "Player.SetPlayerSpawnTemplateIndex", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3530 + }, + "calltip": null + }, + { + "name": "Player.SetPossessionDelay", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3532 + }, + "calltip": null + }, + { + "name": "Player.SetTetherSafeRadiusOverride", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3534 + }, + "calltip": null + }, + { + "name": "Player.SetVelocityScale", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3536 + }, + "calltip": null + }, + { + "name": "Player.TetherPlayer", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3538 + }, + "calltip": null + }, + { + "name": "Player.TransferPlayerControl", + "namespace": "Player", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3540 + }, + "calltip": null + }, + { + "name": "Regions.DistanceToEnd", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3542 + }, + "calltip": null + }, + { + "name": "Regions.GetNumberOfObjectsInRegionMonitor", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3544 + }, + "calltip": null + }, + { + "name": "Regions.GetObjectsInRegion", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3546 + }, + "calltip": null + }, + { + "name": "Regions.GetObjectsInRegionWithTag", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3548 + }, + "calltip": null + }, + { + "name": "Regions.GetRegionInfo", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3550 + }, + "calltip": null + }, + { + "name": "Regions.IsBoneInRegion", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3552 + }, + "calltip": null + }, + { + "name": "Regions.IsCenterOfMassInRegion", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3554 + }, + "calltip": null + }, + { + "name": "Regions.IsInRegion", + "namespace": "Regions", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3556 + }, + "calltip": null + }, + { + "name": "Sets.AddObjectToSet", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3558 + }, + "calltip": null + }, + { + "name": "Sets.DoesSetContainsObject", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3560 + }, + "calltip": null + }, + { + "name": "Sets.GetNumObjectsInSet", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3562 + }, + "calltip": null + }, + { + "name": "Sets.GetObjectsInSet", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3564 + }, + "calltip": null + }, + { + "name": "Sets.HasSetComponent", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3566 + }, + "calltip": null + }, + { + "name": "Sets.RemoveObjectFromSet", + "namespace": "Sets", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3568 + }, + "calltip": null + }, + { + "name": "StackDump", + "namespace": "_global", + "signature": { + "parameters": [], + "line": 3570 + }, + "calltip": null + }, + { + "name": "Support.AddDescription", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3572 + }, + "calltip": null + }, + { + "name": "Support.AddToWorldVectorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3574 + }, + "calltip": null + }, + { + "name": "Support.CreateScriptEvent", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3576 + }, + "calltip": null + }, + { + "name": "Support.CreateWorldVectorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3578 + }, + "calltip": null + }, + { + "name": "Support.DoesObjectTemplateMatch", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3580 + }, + "calltip": null + }, + { + "name": "Support.ExitScript", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3582 + }, + "calltip": null + }, + { + "name": "Support.ExportFloatVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3584 + }, + "calltip": null + }, + { + "name": "Support.GetCurveValue", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3586 + }, + "calltip": null + }, + { + "name": "Support.GetGameTime", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3588 + }, + "calltip": null + }, + { + "name": "Support.GetGameTimeDelta", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3590 + }, + "calltip": null + }, + { + "name": "Support.GetImportObjectTable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3592 + }, + "calltip": null + }, + { + "name": "Support.GetImportWatchVariableValue", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3594 + }, + "calltip": null + }, + { + "name": "Support.GetObjectVariableFromComponent", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3596 + }, + "calltip": null + }, + { + "name": "Support.GetPlatform", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3598 + }, + "calltip": null + }, + { + "name": "Support.GetRandomFactor", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3600 + }, + "calltip": null + }, + { + "name": "Support.GetRandomInteger", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3602 + }, + "calltip": null + }, + { + "name": "Support.GetScriptExportVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3604 + }, + "calltip": null + }, + { + "name": "Support.GetStreamingWorldNames", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3606 + }, + "calltip": null + }, + { + "name": "Support.HasScriptExportVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3608 + }, + "calltip": null + }, + { + "name": "Support.ImportBoolVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3610 + }, + "calltip": null + }, + { + "name": "Support.ImportBoolVariableWithDefault", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3612 + }, + "calltip": null + }, + { + "name": "Support.ImportColorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3614 + }, + "calltip": null + }, + { + "name": "Support.ImportEnumVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3616 + }, + "calltip": null + }, + { + "name": "Support.ImportFloatVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3618 + }, + "calltip": null + }, + { + "name": "Support.ImportFloatVariableWithDefault", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3620 + }, + "calltip": null + }, + { + "name": "Support.ImportObjectHandleVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3622 + }, + "calltip": null + }, + { + "name": "Support.ImportObjectList", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3624 + }, + "calltip": null + }, + { + "name": "Support.ImportRegionObject", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3626 + }, + "calltip": null + }, + { + "name": "Support.ImportScriptEvent", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3628 + }, + "calltip": null + }, + { + "name": "Support.ImportSetObject", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3630 + }, + "calltip": null + }, + { + "name": "Support.ImportSingleObject", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3632 + }, + "calltip": null + }, + { + "name": "Support.ImportStaticTextVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3634 + }, + "calltip": null + }, + { + "name": "Support.ImportStaticTextVariableWithDefault", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3636 + }, + "calltip": null + }, + { + "name": "Support.ImportStringVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3638 + }, + "calltip": null + }, + { + "name": "Support.ImportStringVariableWithDefault", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3640 + }, + "calltip": null + }, + { + "name": "Support.ImportVectorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3642 + }, + "calltip": null + }, + { + "name": "Support.ImportWatchVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3644 + }, + "calltip": null + }, + { + "name": "Support.IsSplitScreen", + "namespace": "Support", + "signature": { + "parameters": [], + "line": 3646 + }, + "calltip": null + }, + { + "name": "Support.RegisterAnimationGraphResourceVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3648 + }, + "calltip": null + }, + { + "name": "Support.RegisterComponentHandle", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3650 + }, + "calltip": null + }, + { + "name": "Support.RegisterCurveTemplateVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3652 + }, + "calltip": null + }, + { + "name": "Support.RegisterMenuVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3654 + }, + "calltip": null + }, + { + "name": "Support.RegisterMovieVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3656 + }, + "calltip": null + }, + { + "name": "Support.RegisterObjectTemplateVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3658 + }, + "calltip": null + }, + { + "name": "Support.RegisterTextureVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3660 + }, + "calltip": null + }, + { + "name": "Support.RegisterWorldVectorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3662 + }, + "calltip": null + }, + { + "name": "Support.RemoveFromWorldVectorVariable", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3664 + }, + "calltip": null + }, + { + "name": "Support.TurnOnScriptUpdate", + "namespace": "Support", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3666 + }, + "calltip": null + }, + { + "name": "Utilities.CastRay", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3668 + }, + "calltip": null + }, + { + "name": "Utilities.DoesRayCollide", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3" + ], + "line": 3670 + }, + "calltip": null + }, + { + "name": "Utilities.GenerateRandomSeed", + "namespace": "Utilities", + "signature": { + "parameters": [], + "line": 3672 + }, + "calltip": null + }, + { + "name": "Utilities.GetDistanceBetweenObjects", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3674 + }, + "calltip": null + }, + { + "name": "Utilities.GetGlobalDataObject", + "namespace": "Utilities", + "signature": { + "parameters": [], + "line": 3676 + }, + "calltip": null + }, + { + "name": "Utilities.GetRandomInteger", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2" + ], + "line": 3678 + }, + "calltip": null + }, + { + "name": "Utilities.GetRandomPercent", + "namespace": "Utilities", + "signature": { + "parameters": [], + "line": 3680 + }, + "calltip": null + }, + { + "name": "Utilities.GetRayCollisionDistance", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1", + "arg2", + "arg3", + "arg4" + ], + "line": 3682 + }, + "calltip": null + }, + { + "name": "Utilities.GetTextIDString", + "namespace": "Utilities", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3684 + }, + "calltip": null + }, + { + "name": "Wait", + "namespace": "_global", + "signature": { + "parameters": [ + "arg1" + ], + "line": 3686 + }, + "calltip": null + } + ] +} diff --git a/docs/ANALYSIS.md b/docs/ANALYSIS.md new file mode 100644 index 0000000..de664f7 --- /dev/null +++ b/docs/ANALYSIS.md @@ -0,0 +1,40 @@ +# Анализ исходного репозитория + +## Область анализа + +Проанализированы все четыре пользовательских файла исходной ревизии `cb90770143c300b8bcafe8b55296a43340ca6ec7`. Служебный каталог `.git` не является материалом API. Сохранённые артефакты читаются целиком генератором; инструкции дампа интерпретируются только как построение таблиц данных, без запуска игрового кода. + +| Файл | Результат | +| --- | --- | +| `README.md` (исходный) | Краткое описание находки и интересных подсистем. Утверждения о «полном API», оригинальных комментариях в байткоде и вырезанных механиках не подтверждаются сами по себе; README заменён справочной точкой входа. | +| `DespairEngine_API_FEAR3` | 3 686 строк; побайтовая копия `luasense_decompiled.lua`. Сохранена для совместимости, не учитывается повторно при подсчёте функций. | +| `luasense_decompiled.lua` | 3 686 строк, 1 503 объявления функций, подготовка таблиц пространств имён. Все тела пустые. Параметры обозначены `argN`. Полного набора редакторских путей из дампа здесь нет. | +| `luasense_bytecode_disassembly.txt` | 55 632 строки: заголовок, 52 603 инструкции корневого прототипа и сводки 3 025 дочерних прототипов. Содержит создание таблиц функций и справочных записей Editor. Тела дочерних прототипов не дизассемблированы подробно. | + +## Что означают числа + +В дампе 3 024 дочерних прототипа отмечены как `body=RETURN`; `child#0` (`GetCallTipInfo`) отмечен как helper с 67 инструкциями. Следовательно, неверно считать абсолютно все исходные тела пустыми: пустой является именно предоставленная Lua-реконструкция. Текст не позволяет восстановить поведение helper. + +Объединение 1 503 путей из заглушек и 3 002 ключей call-tip даёт 3 879 записей. Пересечение — 626 путей. Короткие имена (`Player`, `Game.Player`) и длинные (`GameScript.Game.Player`) учитываются раздельно: общность реализации автоматически не предполагается. Редакторские пути часто имеют описание, но не достоверную сигнатуру из Lua-реконструкции. + +## Метод извлечения + +1. Из аннотированных `LOADK`, `GETGLOBAL` и `SETGLOBAL` извлекаются доступные значения констант через `ast.literal_eval`. +2. Выполняется ограниченная модель восьми встречающихся инструкций: создание таблицы, загрузка константы, чтение/запись глобала, чтение/запись таблицы, ссылка на closure и возврат. Неизвестная инструкция вызывает ошибку. +3. Неаннотированные константы представлены символами `@K[n]`. Полные оригинальные имена полей из них не выдумываются. +4. Из единственной дочерней таблицы `Editor` берутся строковые ключи call-tip и их вложенные данные. Сохраняются в JSON без потери структуры. +5. Имена функций и арность отдельно извлекаются из Lua-заглушек. Сопоставление с подсказками производится только по точному полному пути. +6. Генерируются JSON, индекс и Markdown-страницы пространств имён. SHA-256 исходных артефактов фиксируют именно использованную версию данных. + +В справочнике принята структурная интерпретация: `@K[203]` содержит описание функции, `@K[202]` — нумерованную таблицу параметров, `@K[209]` — имя параметра, `@K[211]` — описание параметра. Это вывод по структуре и содержимому, **не восстановленные имена констант**. Сырой объект доступен под каждой записью; дополнительные поля не отбрасываются. Порядок параметров подсказки не является подтверждением ABI, типов или возвращаемых значений. + +## Границы достоверности + +- Строки описаний сохранены как данные call-tip, а не как доказательство сохранения обычных Lua-комментариев в байткоде. +- Заголовок заявляет Lua 5.1; бинарник в репозитории отсутствует, поэтому формат независимо не проверен. +- Нет доказательств полноты публичного или внутреннего API Despair Engine. +- Нет типов объектов, верифицированного жизненного цикла, среды выполнения, тестовой карты или рабочего SDK. +- Системы possession, tethering, scares и редакторские команды следует исследовать по имеющимся записям, но их наличие не доказывает, что они доступны в релизной игре. +- Автотесты проверяют извлечение и воспроизводимость справочника, а не работоспособность игровых вызовов. + +Исходные артефакты намеренно не перемещены и не исправлены: они остаются проверяемой основой для последующих исследований. diff --git a/docs/API.md b/docs/API.md new file mode 100644 index 0000000..b6bdb8d --- /dev/null +++ b/docs/API.md @@ -0,0 +1,339 @@ +# Lua API Despair Engine + +Сгенерировано из сохранённых артефактов. Не является реализацией движка. + +Сигнатуры берутся только из Lua-заглушек. `@K[n]` — имя константы, отсутствующее в дампе. +Структура call-tip сохранена без подстановки предполагаемых типов и имён полей. + +| Пространство имён | Записей | +| --- | ---: | +| [AI](reference/AI.md) | 10 | +| [Audio](reference/Audio.md) | 12 | +| [Callbacks](reference/Callbacks.md) | 33 | +| [Camera](reference/Camera.md) | 22 | +| [Death](reference/Death.md) | 8 | +| [Debug](reference/Debug.md) | 28 | +| [Despair.Bling.AutomationUtility](reference/Despair.Bling.AutomationUtility.md) | 14 | +| [Despair.Bling.DanglingResource](reference/Despair.Bling.DanglingResource.md) | 4 | +| [Despair.Bling.DanglingResource.List](reference/Despair.Bling.DanglingResource.List.md) | 6 | +| [Despair.Bling.EffectProperties](reference/Despair.Bling.EffectProperties.md) | 15 | +| [Despair.Bling.EffectTree](reference/Despair.Bling.EffectTree.md) | 18 | +| [Despair.Bling.File](reference/Despair.Bling.File.md) | 5 | +| [Despair.Bling.Keyboard](reference/Despair.Bling.Keyboard.md) | 2 | +| [Despair.Bling.Mouse](reference/Despair.Bling.Mouse.md) | 3 | +| [Despair.Bling.OS](reference/Despair.Bling.OS.md) | 5 | +| [Despair.Bling.ObjectRegistry](reference/Despair.Bling.ObjectRegistry.md) | 1 | +| [Despair.Bling.ObjectRegistry.Property](reference/Despair.Bling.ObjectRegistry.Property.md) | 15 | +| [Despair.Bling.ObjectRegistry.Tree](reference/Despair.Bling.ObjectRegistry.Tree.md) | 9 | +| [Despair.Bling.OutputView](reference/Despair.Bling.OutputView.md) | 3 | +| [Despair.Bling.Perforce](reference/Despair.Bling.Perforce.md) | 5 | +| [Despair.Bling.Properties](reference/Despair.Bling.Properties.md) | 15 | +| [Despair.Bling.RenderView](reference/Despair.Bling.RenderView.md) | 2 | +| [Despair.Bling.RenderView.AmbientLight](reference/Despair.Bling.RenderView.AmbientLight.md) | 10 | +| [Despair.Bling.RenderView.Camera](reference/Despair.Bling.RenderView.Camera.md) | 20 | +| [Despair.Bling.RenderView.Fog](reference/Despair.Bling.RenderView.Fog.md) | 8 | +| [Despair.Bling.RenderView.Grid](reference/Despair.Bling.RenderView.Grid.md) | 4 | +| [Despair.Bling.RenderView.Options](reference/Despair.Bling.RenderView.Options.md) | 12 | +| [Despair.Bling.RenderView.PointLight](reference/Despair.Bling.RenderView.PointLight.md) | 5 | +| [Despair.Bling.RenderView.SkyDome](reference/Despair.Bling.RenderView.SkyDome.md) | 2 | +| [Despair.Bling.ResourceView](reference/Despair.Bling.ResourceView.md) | 23 | +| [Despair.Bling.StandardToolbar](reference/Despair.Bling.StandardToolbar.md) | 3 | +| [Despair.Bling.Views](reference/Despair.Bling.Views.md) | 6 | +| [Despair.Burmester](reference/Despair.Burmester.md) | 9 | +| [Despair.Burmester.AutomationUtility](reference/Despair.Burmester.AutomationUtility.md) | 17 | +| [Despair.Burmester.CurveView](reference/Despair.Burmester.CurveView.md) | 24 | +| [Despair.Burmester.Dialog](reference/Despair.Burmester.Dialog.md) | 33 | +| [Despair.Burmester.File](reference/Despair.Burmester.File.md) | 7 | +| [Despair.Burmester.Keyboard](reference/Despair.Burmester.Keyboard.md) | 2 | +| [Despair.Burmester.Mouse](reference/Despair.Burmester.Mouse.md) | 3 | +| [Despair.Burmester.OS](reference/Despair.Burmester.OS.md) | 5 | +| [Despair.Burmester.Perforce](reference/Despair.Burmester.Perforce.md) | 5 | +| [Despair.Burmester.ResourceView](reference/Despair.Burmester.ResourceView.md) | 23 | +| [Despair.Burmester.StandardToolbar](reference/Despair.Burmester.StandardToolbar.md) | 3 | +| [Despair.Burmester.Views](reference/Despair.Burmester.Views.md) | 6 | +| [Despair.BusEditor](reference/Despair.BusEditor.md) | 9 | +| [Despair.BusEditor.AutomationUtility](reference/Despair.BusEditor.AutomationUtility.md) | 17 | +| [Despair.BusEditor.Bus](reference/Despair.BusEditor.Bus.md) | 4 | +| [Despair.BusEditor.File](reference/Despair.BusEditor.File.md) | 5 | +| [Despair.BusEditor.Keyboard](reference/Despair.BusEditor.Keyboard.md) | 2 | +| [Despair.BusEditor.Mouse](reference/Despair.BusEditor.Mouse.md) | 3 | +| [Despair.BusEditor.OS](reference/Despair.BusEditor.OS.md) | 5 | +| [Despair.BusEditor.Perforce](reference/Despair.BusEditor.Perforce.md) | 5 | +| [Despair.BusEditor.Properties](reference/Despair.BusEditor.Properties.md) | 15 | +| [Despair.BusEditor.ResourceView](reference/Despair.BusEditor.ResourceView.md) | 23 | +| [Despair.BusEditor.StandardToolbar](reference/Despair.BusEditor.StandardToolbar.md) | 3 | +| [Despair.BusEditor.Views](reference/Despair.BusEditor.Views.md) | 6 | +| [Despair.ChopShop](reference/Despair.ChopShop.md) | 9 | +| [Despair.ChopShop.AudioView](reference/Despair.ChopShop.AudioView.md) | 8 | +| [Despair.ChopShop.AutomationUtility](reference/Despair.ChopShop.AutomationUtility.md) | 17 | +| [Despair.ChopShop.DanglingResource](reference/Despair.ChopShop.DanglingResource.md) | 4 | +| [Despair.ChopShop.DanglingResource.List](reference/Despair.ChopShop.DanglingResource.List.md) | 6 | +| [Despair.ChopShop.File](reference/Despair.ChopShop.File.md) | 5 | +| [Despair.ChopShop.GrabberToolbar](reference/Despair.ChopShop.GrabberToolbar.md) | 3 | +| [Despair.ChopShop.Keyboard](reference/Despair.ChopShop.Keyboard.md) | 2 | +| [Despair.ChopShop.Mouse](reference/Despair.ChopShop.Mouse.md) | 3 | +| [Despair.ChopShop.OS](reference/Despair.ChopShop.OS.md) | 5 | +| [Despair.ChopShop.Perforce](reference/Despair.ChopShop.Perforce.md) | 5 | +| [Despair.ChopShop.PlaybackToolbar](reference/Despair.ChopShop.PlaybackToolbar.md) | 3 | +| [Despair.ChopShop.Properties](reference/Despair.ChopShop.Properties.md) | 15 | +| [Despair.ChopShop.ResourceView](reference/Despair.ChopShop.ResourceView.md) | 23 | +| [Despair.ChopShop.SpeakerLayout](reference/Despair.ChopShop.SpeakerLayout.md) | 8 | +| [Despair.ChopShop.StandardToolbar](reference/Despair.ChopShop.StandardToolbar.md) | 3 | +| [Despair.ChopShop.SubtitleView](reference/Despair.ChopShop.SubtitleView.md) | 11 | +| [Despair.ChopShop.SubtitleView.Toolbar](reference/Despair.ChopShop.SubtitleView.Toolbar.md) | 3 | +| [Despair.ChopShop.Views](reference/Despair.ChopShop.Views.md) | 6 | +| [Despair.Facade](reference/Despair.Facade.md) | 11 | +| [Despair.Facade.AutomationUtility](reference/Despair.Facade.AutomationUtility.md) | 17 | +| [Despair.Facade.Components](reference/Despair.Facade.Components.md) | 7 | +| [Despair.Facade.Components.Toolbar](reference/Despair.Facade.Components.Toolbar.md) | 3 | +| [Despair.Facade.DanglingResource](reference/Despair.Facade.DanglingResource.md) | 4 | +| [Despair.Facade.DanglingResource.List](reference/Despair.Facade.DanglingResource.List.md) | 6 | +| [Despair.Facade.File](reference/Despair.Facade.File.md) | 5 | +| [Despair.Facade.FlowView](reference/Despair.Facade.FlowView.md) | 26 | +| [Despair.Facade.Keyboard](reference/Despair.Facade.Keyboard.md) | 2 | +| [Despair.Facade.MaterialProperties](reference/Despair.Facade.MaterialProperties.md) | 15 | +| [Despair.Facade.ModelProperties](reference/Despair.Facade.ModelProperties.md) | 15 | +| [Despair.Facade.ModelView](reference/Despair.Facade.ModelView.md) | 2 | +| [Despair.Facade.ModelView.AmbientLight](reference/Despair.Facade.ModelView.AmbientLight.md) | 10 | +| [Despair.Facade.ModelView.Camera](reference/Despair.Facade.ModelView.Camera.md) | 20 | +| [Despair.Facade.ModelView.Fog](reference/Despair.Facade.ModelView.Fog.md) | 8 | +| [Despair.Facade.ModelView.Grid](reference/Despair.Facade.ModelView.Grid.md) | 4 | +| [Despair.Facade.ModelView.Options](reference/Despair.Facade.ModelView.Options.md) | 12 | +| [Despair.Facade.ModelView.PointLight](reference/Despair.Facade.ModelView.PointLight.md) | 5 | +| [Despair.Facade.ModelView.SkyDome](reference/Despair.Facade.ModelView.SkyDome.md) | 2 | +| [Despair.Facade.ModelView.Toolbar](reference/Despair.Facade.ModelView.Toolbar.md) | 3 | +| [Despair.Facade.Mouse](reference/Despair.Facade.Mouse.md) | 3 | +| [Despair.Facade.OS](reference/Despair.Facade.OS.md) | 5 | +| [Despair.Facade.Perforce](reference/Despair.Facade.Perforce.md) | 5 | +| [Despair.Facade.ResourceView](reference/Despair.Facade.ResourceView.md) | 23 | +| [Despair.Facade.StandardToolbar](reference/Despair.Facade.StandardToolbar.md) | 3 | +| [Despair.Facade.Views](reference/Despair.Facade.Views.md) | 6 | +| [Despair.FontMaker](reference/Despair.FontMaker.md) | 30 | +| [Despair.FontMaker.AutomationUtility](reference/Despair.FontMaker.AutomationUtility.md) | 17 | +| [Despair.FontMaker.File](reference/Despair.FontMaker.File.md) | 8 | +| [Despair.FontMaker.GrabberToolbar](reference/Despair.FontMaker.GrabberToolbar.md) | 3 | +| [Despair.FontMaker.OS](reference/Despair.FontMaker.OS.md) | 5 | +| [Despair.FontMaker.Perforce](reference/Despair.FontMaker.Perforce.md) | 5 | +| [Despair.FontMaker.Property](reference/Despair.FontMaker.Property.md) | 15 | +| [Despair.FontMaker.ResourceView](reference/Despair.FontMaker.ResourceView.md) | 23 | +| [Despair.FontMaker.StandardToolbar](reference/Despair.FontMaker.StandardToolbar.md) | 3 | +| [Despair.FontMaker.Views](reference/Despair.FontMaker.Views.md) | 6 | +| [Despair.Forge](reference/Despair.Forge.md) | 10 | +| [Despair.Forge.AutomationUtility](reference/Despair.Forge.AutomationUtility.md) | 17 | +| [Despair.Forge.ComponentView.List](reference/Despair.Forge.ComponentView.List.md) | 6 | +| [Despair.Forge.ComponentView.Toolbar](reference/Despair.Forge.ComponentView.Toolbar.md) | 3 | +| [Despair.Forge.ComponentView.Tree](reference/Despair.Forge.ComponentView.Tree.md) | 9 | +| [Despair.Forge.File](reference/Despair.Forge.File.md) | 7 | +| [Despair.Forge.Keyboard](reference/Despair.Forge.Keyboard.md) | 2 | +| [Despair.Forge.ModelView](reference/Despair.Forge.ModelView.md) | 1 | +| [Despair.Forge.ModelView.AmbientLight](reference/Despair.Forge.ModelView.AmbientLight.md) | 10 | +| [Despair.Forge.ModelView.Camera](reference/Despair.Forge.ModelView.Camera.md) | 20 | +| [Despair.Forge.ModelView.Fog](reference/Despair.Forge.ModelView.Fog.md) | 8 | +| [Despair.Forge.ModelView.Grid](reference/Despair.Forge.ModelView.Grid.md) | 4 | +| [Despair.Forge.ModelView.Options](reference/Despair.Forge.ModelView.Options.md) | 12 | +| [Despair.Forge.ModelView.PointLight](reference/Despair.Forge.ModelView.PointLight.md) | 5 | +| [Despair.Forge.ModelView.ScreenShot](reference/Despair.Forge.ModelView.ScreenShot.md) | 5 | +| [Despair.Forge.ModelView.SkyDome](reference/Despair.Forge.ModelView.SkyDome.md) | 2 | +| [Despair.Forge.ModelView.Toolbar](reference/Despair.Forge.ModelView.Toolbar.md) | 3 | +| [Despair.Forge.Mouse](reference/Despair.Forge.Mouse.md) | 3 | +| [Despair.Forge.OS](reference/Despair.Forge.OS.md) | 5 | +| [Despair.Forge.Perforce](reference/Despair.Forge.Perforce.md) | 5 | +| [Despair.Forge.ResourceView](reference/Despair.Forge.ResourceView.md) | 23 | +| [Despair.Forge.StandardToolbar](reference/Despair.Forge.StandardToolbar.md) | 3 | +| [Despair.Forge.TemplateView](reference/Despair.Forge.TemplateView.md) | 6 | +| [Despair.Forge.TemplateView.ComponentTree](reference/Despair.Forge.TemplateView.ComponentTree.md) | 9 | +| [Despair.Forge.TemplateView.Property](reference/Despair.Forge.TemplateView.Property.md) | 15 | +| [Despair.Forge.TemplateView.RigidBodyTree](reference/Despair.Forge.TemplateView.RigidBodyTree.md) | 9 | +| [Despair.Forge.TemplateView.SceneTree](reference/Despair.Forge.TemplateView.SceneTree.md) | 9 | +| [Despair.Forge.TemplateView.Toolbar](reference/Despair.Forge.TemplateView.Toolbar.md) | 3 | +| [Despair.Forge.Views](reference/Despair.Forge.Views.md) | 6 | +| [Despair.Landscape](reference/Despair.Landscape.md) | 13 | +| [Despair.Landscape.ActionsToolbar](reference/Despair.Landscape.ActionsToolbar.md) | 3 | +| [Despair.Landscape.AutomationUtility](reference/Despair.Landscape.AutomationUtility.md) | 17 | +| [Despair.Landscape.Dialog](reference/Despair.Landscape.Dialog.md) | 33 | +| [Despair.Landscape.Document](reference/Despair.Landscape.Document.md) | 2 | +| [Despair.Landscape.Document.Objects](reference/Despair.Landscape.Document.Objects.md) | 10 | +| [Despair.Landscape.Document.Worlds](reference/Despair.Landscape.Document.Worlds.md) | 3 | +| [Despair.Landscape.EditModeToolbar](reference/Despair.Landscape.EditModeToolbar.md) | 3 | +| [Despair.Landscape.File](reference/Despair.Landscape.File.md) | 8 | +| [Despair.Landscape.Function](reference/Despair.Landscape.Function.md) | 16 | +| [Despair.Landscape.Function.Toolbar](reference/Despair.Landscape.Function.Toolbar.md) | 3 | +| [Despair.Landscape.Keyboard](reference/Despair.Landscape.Keyboard.md) | 2 | +| [Despair.Landscape.LightList](reference/Despair.Landscape.LightList.md) | 1 | +| [Despair.Landscape.Mouse](reference/Despair.Landscape.Mouse.md) | 3 | +| [Despair.Landscape.NavMap](reference/Despair.Landscape.NavMap.md) | 6 | +| [Despair.Landscape.NavMap.Property](reference/Despair.Landscape.NavMap.Property.md) | 15 | +| [Despair.Landscape.OS](reference/Despair.Landscape.OS.md) | 5 | +| [Despair.Landscape.ObjectList](reference/Despair.Landscape.ObjectList.md) | 23 | +| [Despair.Landscape.ObjectList.Toolbar](reference/Despair.Landscape.ObjectList.Toolbar.md) | 3 | +| [Despair.Landscape.Perforce](reference/Despair.Landscape.Perforce.md) | 5 | +| [Despair.Landscape.Properties](reference/Despair.Landscape.Properties.md) | 18 | +| [Despair.Landscape.RenderView](reference/Despair.Landscape.RenderView.md) | 1 | +| [Despair.Landscape.RenderView.AmbientLight](reference/Despair.Landscape.RenderView.AmbientLight.md) | 10 | +| [Despair.Landscape.RenderView.FocusCamera](reference/Despair.Landscape.RenderView.FocusCamera.md) | 20 | +| [Despair.Landscape.RenderView.Fog](reference/Despair.Landscape.RenderView.Fog.md) | 8 | +| [Despair.Landscape.RenderView.Grid](reference/Despair.Landscape.RenderView.Grid.md) | 4 | +| [Despair.Landscape.RenderView.Options](reference/Despair.Landscape.RenderView.Options.md) | 12 | +| [Despair.Landscape.RenderView.PointLight](reference/Despair.Landscape.RenderView.PointLight.md) | 5 | +| [Despair.Landscape.RenderView.ScreenShot](reference/Despair.Landscape.RenderView.ScreenShot.md) | 5 | +| [Despair.Landscape.RenderView.ToolCamera](reference/Despair.Landscape.RenderView.ToolCamera.md) | 21 | +| [Despair.Landscape.ResourceView](reference/Despair.Landscape.ResourceView.md) | 23 | +| [Despair.Landscape.StandardToolbar](reference/Despair.Landscape.StandardToolbar.md) | 3 | +| [Despair.Landscape.Views](reference/Despair.Landscape.Views.md) | 6 | +| [Despair.Landscape.Worlds](reference/Despair.Landscape.Worlds.md) | 21 | +| [Despair.Landscape.Worlds.Toolbar](reference/Despair.Landscape.Worlds.Toolbar.md) | 3 | +| [Despair.Librarian](reference/Despair.Librarian.md) | 9 | +| [Despair.Librarian.AutomationUtility](reference/Despair.Librarian.AutomationUtility.md) | 17 | +| [Despair.Librarian.OS](reference/Despair.Librarian.OS.md) | 5 | +| [Despair.Librarian.Perforce](reference/Despair.Librarian.Perforce.md) | 5 | +| [Despair.Librarian.ResourceView](reference/Despair.Librarian.ResourceView.md) | 23 | +| [Despair.Librarian.StandardToolbar](reference/Despair.Librarian.StandardToolbar.md) | 3 | +| [Despair.Moznosti](reference/Despair.Moznosti.md) | 9 | +| [Despair.Moznosti.AutomationUtility](reference/Despair.Moznosti.AutomationUtility.md) | 17 | +| [Despair.Moznosti.File](reference/Despair.Moznosti.File.md) | 5 | +| [Despair.Moznosti.OS](reference/Despair.Moznosti.OS.md) | 5 | +| [Despair.Moznosti.Perforce](reference/Despair.Moznosti.Perforce.md) | 5 | +| [Despair.Moznosti.ResourceView](reference/Despair.Moznosti.ResourceView.md) | 23 | +| [Despair.Moznosti.StandardToolbar](reference/Despair.Moznosti.StandardToolbar.md) | 3 | +| [Despair.Outtake](reference/Despair.Outtake.md) | 12 | +| [Despair.Outtake.AutomationUtility](reference/Despair.Outtake.AutomationUtility.md) | 17 | +| [Despair.Outtake.CameraToolbar](reference/Despair.Outtake.CameraToolbar.md) | 3 | +| [Despair.Outtake.File](reference/Despair.Outtake.File.md) | 7 | +| [Despair.Outtake.GrabberToolbar](reference/Despair.Outtake.GrabberToolbar.md) | 3 | +| [Despair.Outtake.Keyboard](reference/Despair.Outtake.Keyboard.md) | 2 | +| [Despair.Outtake.ManipulateToolbar](reference/Despair.Outtake.ManipulateToolbar.md) | 3 | +| [Despair.Outtake.Mouse](reference/Despair.Outtake.Mouse.md) | 3 | +| [Despair.Outtake.OS](reference/Despair.Outtake.OS.md) | 5 | +| [Despair.Outtake.Perforce](reference/Despair.Outtake.Perforce.md) | 5 | +| [Despair.Outtake.PlaybackToolbar](reference/Despair.Outtake.PlaybackToolbar.md) | 3 | +| [Despair.Outtake.Properties](reference/Despair.Outtake.Properties.md) | 15 | +| [Despair.Outtake.PropertyDepot](reference/Despair.Outtake.PropertyDepot.md) | 7 | +| [Despair.Outtake.ResourceView](reference/Despair.Outtake.ResourceView.md) | 23 | +| [Despair.Outtake.StandardToolbar](reference/Despair.Outtake.StandardToolbar.md) | 3 | +| [Despair.Outtake.TimeFrame](reference/Despair.Outtake.TimeFrame.md) | 3 | +| [Despair.Outtake.TrackView](reference/Despair.Outtake.TrackView.md) | 10 | +| [Despair.Outtake.TrackView.Sequence](reference/Despair.Outtake.TrackView.Sequence.md) | 4 | +| [Despair.Outtake.Views](reference/Despair.Outtake.Views.md) | 6 | +| [Despair.Outtake.WorldExplorer](reference/Despair.Outtake.WorldExplorer.md) | 7 | +| [Despair.Poise](reference/Despair.Poise.md) | 9 | +| [Despair.Poise.AutomationUtility](reference/Despair.Poise.AutomationUtility.md) | 17 | +| [Despair.Poise.ComponentProperties](reference/Despair.Poise.ComponentProperties.md) | 15 | +| [Despair.Poise.Components](reference/Despair.Poise.Components.md) | 7 | +| [Despair.Poise.File](reference/Despair.Poise.File.md) | 5 | +| [Despair.Poise.FlowView](reference/Despair.Poise.FlowView.md) | 26 | +| [Despair.Poise.OS](reference/Despair.Poise.OS.md) | 5 | +| [Despair.Poise.Perforce](reference/Despair.Poise.Perforce.md) | 5 | +| [Despair.Poise.Preview](reference/Despair.Poise.Preview.md) | 2 | +| [Despair.Poise.Preview.Toolbar](reference/Despair.Poise.Preview.Toolbar.md) | 3 | +| [Despair.Poise.ProjectEdit](reference/Despair.Poise.ProjectEdit.md) | 2 | +| [Despair.Poise.Properties](reference/Despair.Poise.Properties.md) | 15 | +| [Despair.Poise.ResourceView](reference/Despair.Poise.ResourceView.md) | 23 | +| [Despair.Poise.StandardToolbar](reference/Despair.Poise.StandardToolbar.md) | 3 | +| [Despair.Poise.StateEditor](reference/Despair.Poise.StateEditor.md) | 20 | +| [Despair.Poise.StateEditor.Property](reference/Despair.Poise.StateEditor.Property.md) | 15 | +| [Despair.Poise.StateEditor.States](reference/Despair.Poise.StateEditor.States.md) | 14 | +| [Despair.Poise.VarEdit](reference/Despair.Poise.VarEdit.md) | 3 | +| [Despair.Poise.Views](reference/Despair.Poise.Views.md) | 6 | +| [Despair.ProfileEditor](reference/Despair.ProfileEditor.md) | 9 | +| [Despair.ProfileEditor.Action](reference/Despair.ProfileEditor.Action.md) | 2 | +| [Despair.ProfileEditor.AutomationUtility](reference/Despair.ProfileEditor.AutomationUtility.md) | 17 | +| [Despair.ProfileEditor.Configuration](reference/Despair.ProfileEditor.Configuration.md) | 10 | +| [Despair.ProfileEditor.File](reference/Despair.ProfileEditor.File.md) | 5 | +| [Despair.ProfileEditor.Keyboard](reference/Despair.ProfileEditor.Keyboard.md) | 2 | +| [Despair.ProfileEditor.Mouse](reference/Despair.ProfileEditor.Mouse.md) | 3 | +| [Despair.ProfileEditor.OS](reference/Despair.ProfileEditor.OS.md) | 5 | +| [Despair.ProfileEditor.Object](reference/Despair.ProfileEditor.Object.md) | 11 | +| [Despair.ProfileEditor.Perforce](reference/Despair.ProfileEditor.Perforce.md) | 5 | +| [Despair.ProfileEditor.PropertyView](reference/Despair.ProfileEditor.PropertyView.md) | 15 | +| [Despair.ProfileEditor.ResourceView](reference/Despair.ProfileEditor.ResourceView.md) | 23 | +| [Despair.ProfileEditor.StandardToolbar](reference/Despair.ProfileEditor.StandardToolbar.md) | 3 | +| [Despair.ProfileEditor.Views](reference/Despair.ProfileEditor.Views.md) | 6 | +| [Despair.Smash](reference/Despair.Smash.md) | 9 | +| [Despair.Smash.AutomationUtility](reference/Despair.Smash.AutomationUtility.md) | 17 | +| [Despair.Smash.File](reference/Despair.Smash.File.md) | 3 | +| [Despair.Smash.Keyboard](reference/Despair.Smash.Keyboard.md) | 2 | +| [Despair.Smash.Mouse](reference/Despair.Smash.Mouse.md) | 3 | +| [Despair.Smash.OS](reference/Despair.Smash.OS.md) | 5 | +| [Despair.Smash.Perforce](reference/Despair.Smash.Perforce.md) | 5 | +| [Despair.Smash.Property](reference/Despair.Smash.Property.md) | 15 | +| [Despair.Smash.Property.Toolbar](reference/Despair.Smash.Property.Toolbar.md) | 3 | +| [Despair.Smash.ResourceView](reference/Despair.Smash.ResourceView.md) | 23 | +| [Despair.Smash.StandardToolbar](reference/Despair.Smash.StandardToolbar.md) | 3 | +| [Despair.Smash.Substances.Destination](reference/Despair.Smash.Substances.Destination.md) | 9 | +| [Despair.Smash.Substances.Source](reference/Despair.Smash.Substances.Source.md) | 9 | +| [Despair.Smash.Views](reference/Despair.Smash.Views.md) | 6 | +| [Despair.Spectator](reference/Despair.Spectator.md) | 11 | +| [Despair.Spectator.AutomationUtility](reference/Despair.Spectator.AutomationUtility.md) | 17 | +| [Despair.Spectator.File](reference/Despair.Spectator.File.md) | 5 | +| [Despair.Spectator.Hierarchy](reference/Despair.Spectator.Hierarchy.md) | 9 | +| [Despair.Spectator.Keyboard](reference/Despair.Spectator.Keyboard.md) | 2 | +| [Despair.Spectator.Mouse](reference/Despair.Spectator.Mouse.md) | 3 | +| [Despair.Spectator.OS](reference/Despair.Spectator.OS.md) | 5 | +| [Despair.Spectator.ObjectInfo](reference/Despair.Spectator.ObjectInfo.md) | 15 | +| [Despair.Spectator.Perforce](reference/Despair.Spectator.Perforce.md) | 5 | +| [Despair.Spectator.Properties](reference/Despair.Spectator.Properties.md) | 15 | +| [Despair.Spectator.RenderView.AmbientLight](reference/Despair.Spectator.RenderView.AmbientLight.md) | 10 | +| [Despair.Spectator.RenderView.Camera](reference/Despair.Spectator.RenderView.Camera.md) | 20 | +| [Despair.Spectator.RenderView.Fog](reference/Despair.Spectator.RenderView.Fog.md) | 8 | +| [Despair.Spectator.RenderView.Grid](reference/Despair.Spectator.RenderView.Grid.md) | 4 | +| [Despair.Spectator.RenderView.Options](reference/Despair.Spectator.RenderView.Options.md) | 12 | +| [Despair.Spectator.RenderView.PointLight](reference/Despair.Spectator.RenderView.PointLight.md) | 5 | +| [Despair.Spectator.RenderView.ScreenShot](reference/Despair.Spectator.RenderView.ScreenShot.md) | 5 | +| [Despair.Spectator.RenderView.SkyDome](reference/Despair.Spectator.RenderView.SkyDome.md) | 2 | +| [Despair.Spectator.ResourceView](reference/Despair.Spectator.ResourceView.md) | 23 | +| [Despair.Spectator.ResourceView.Toolbar](reference/Despair.Spectator.ResourceView.Toolbar.md) | 3 | +| [Despair.Spectator.StandardToolbar](reference/Despair.Spectator.StandardToolbar.md) | 3 | +| [Despair.Spectator.Views](reference/Despair.Spectator.Views.md) | 6 | +| [Door](reference/Door.md) | 10 | +| [Energy](reference/Energy.md) | 13 | +| [FEAR](reference/FEAR.md) | 50 | +| [FEARScore](reference/FEARScore.md) | 27 | +| [Game](reference/Game.md) | 161 | +| [Game.AI](reference/Game.AI.md) | 10 | +| [Game.Camera](reference/Game.Camera.md) | 22 | +| [Game.Death](reference/Game.Death.md) | 8 | +| [Game.Door](reference/Game.Door.md) | 10 | +| [Game.Energy](reference/Game.Energy.md) | 13 | +| [Game.Graphics](reference/Game.Graphics.md) | 31 | +| [Game.MP](reference/Game.MP.md) | 27 | +| [Game.ObjectTags](reference/Game.ObjectTags.md) | 4 | +| [Game.Objectives](reference/Game.Objectives.md) | 6 | +| [Game.Physics](reference/Game.Physics.md) | 45 | +| [Game.Player](reference/Game.Player.md) | 58 | +| [Game.Regions](reference/Game.Regions.md) | 8 | +| [Game.Sets](reference/Game.Sets.md) | 6 | +| [GameScript](reference/GameScript.md) | 5 | +| [GameScript.Audio](reference/GameScript.Audio.md) | 12 | +| [GameScript.Callbacks](reference/GameScript.Callbacks.md) | 33 | +| [GameScript.Debug](reference/GameScript.Debug.md) | 28 | +| [GameScript.FEAR](reference/GameScript.FEAR.md) | 50 | +| [GameScript.FEARScore](reference/GameScript.FEARScore.md) | 27 | +| [GameScript.Game](reference/GameScript.Game.md) | 161 | +| [GameScript.Game.AI](reference/GameScript.Game.AI.md) | 10 | +| [GameScript.Game.Camera](reference/GameScript.Game.Camera.md) | 22 | +| [GameScript.Game.Death](reference/GameScript.Game.Death.md) | 8 | +| [GameScript.Game.Door](reference/GameScript.Game.Door.md) | 10 | +| [GameScript.Game.Energy](reference/GameScript.Game.Energy.md) | 13 | +| [GameScript.Game.Graphics](reference/GameScript.Game.Graphics.md) | 31 | +| [GameScript.Game.MP](reference/GameScript.Game.MP.md) | 27 | +| [GameScript.Game.ObjectTags](reference/GameScript.Game.ObjectTags.md) | 4 | +| [GameScript.Game.Objectives](reference/GameScript.Game.Objectives.md) | 6 | +| [GameScript.Game.Physics](reference/GameScript.Game.Physics.md) | 45 | +| [GameScript.Game.Player](reference/GameScript.Game.Player.md) | 58 | +| [GameScript.Game.Regions](reference/GameScript.Game.Regions.md) | 8 | +| [GameScript.Game.Sets](reference/GameScript.Game.Sets.md) | 6 | +| [GameScript.NonProduction](reference/GameScript.NonProduction.md) | 5 | +| [GameScript.Support](reference/GameScript.Support.md) | 48 | +| [GameScript.Utilities](reference/GameScript.Utilities.md) | 9 | +| [Graphics](reference/Graphics.md) | 31 | +| [MP](reference/MP.md) | 27 | +| [NonProduction](reference/NonProduction.md) | 5 | +| [ObjectTags](reference/ObjectTags.md) | 4 | +| [Objectives](reference/Objectives.md) | 6 | +| [Physics](reference/Physics.md) | 45 | +| [Player](reference/Player.md) | 58 | +| [Regions](reference/Regions.md) | 8 | +| [Sets](reference/Sets.md) | 6 | +| [Support](reference/Support.md) | 48 | +| [Utilities](reference/Utilities.md) | 9 | +| [_global](reference/_global.md) | 24 | diff --git a/docs/reference/AI.md b/docs/reference/AI.md new file mode 100644 index 0000000..a606fde --- /dev/null +++ b/docs/reference/AI.md @@ -0,0 +1,103 @@ +# AI + +[Индекс](../API.md) + +## AI.AssignExternalAIOrder + +```lua +AI.AssignExternalAIOrder(arg1, arg2) +``` + +Источник: [Lua, строка 65](../../luasense_decompiled.lua#L65). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.EnableAIObject + +```lua +AI.EnableAIObject(arg1, arg2) +``` + +Источник: [Lua, строка 67](../../luasense_decompiled.lua#L67). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.EnableNodeMapInRegion + +```lua +AI.EnableNodeMapInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 69](../../luasense_decompiled.lua#L69). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.EnableNodesInRegion + +```lua +AI.EnableNodesInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 71](../../luasense_decompiled.lua#L71). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.EnableSmartMapsInRegion + +```lua +AI.EnableSmartMapsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 73](../../luasense_decompiled.lua#L73). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.GetAIIdentityType + +```lua +AI.GetAIIdentityType(arg1) +``` + +Источник: [Lua, строка 75](../../luasense_decompiled.lua#L75). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.GetAITargetInfo + +```lua +AI.GetAITargetInfo(arg1) +``` + +Источник: [Lua, строка 77](../../luasense_decompiled.lua#L77). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.GetDistanceToClosestEnemy + +```lua +AI.GetDistanceToClosestEnemy(arg1) +``` + +Источник: [Lua, строка 79](../../luasense_decompiled.lua#L79). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.InhibitPossession + +```lua +AI.InhibitPossession(arg1, arg2) +``` + +Источник: [Lua, строка 81](../../luasense_decompiled.lua#L81). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## AI.IsAIControlled + +```lua +AI.IsAIControlled(arg1) +``` + +Источник: [Lua, строка 83](../../luasense_decompiled.lua#L83). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Audio.md b/docs/reference/Audio.md new file mode 100644 index 0000000..3400673 --- /dev/null +++ b/docs/reference/Audio.md @@ -0,0 +1,123 @@ +# Audio + +[Индекс](../API.md) + +## Audio.ApplyEPA + +```lua +Audio.ApplyEPA(arg1, arg2) +``` + +Источник: [Lua, строка 85](../../luasense_decompiled.lua#L85). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.ApplyLowHP + +```lua +Audio.ApplyLowHP(arg1) +``` + +Источник: [Lua, строка 87](../../luasense_decompiled.lua#L87). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.ApplyTinnitus + +```lua +Audio.ApplyTinnitus(arg1) +``` + +Источник: [Lua, строка 89](../../luasense_decompiled.lua#L89). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.GetBusVolume + +```lua +Audio.GetBusVolume(arg1) +``` + +Источник: [Lua, строка 91](../../luasense_decompiled.lua#L91). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.GetEffectParam + +```lua +Audio.GetEffectParam(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 93](../../luasense_decompiled.lua#L93). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.MuteMusic + +```lua +Audio.MuteMusic(arg1, arg2) +``` + +Источник: [Lua, строка 95](../../luasense_decompiled.lua#L95). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.MuteMusicWithFade + +```lua +Audio.MuteMusicWithFade(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 97](../../luasense_decompiled.lua#L97). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.RegisterMusic + +```lua +Audio.RegisterMusic(arg1, arg2) +``` + +Источник: [Lua, строка 99](../../luasense_decompiled.lua#L99). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.SetBusVolume + +```lua +Audio.SetBusVolume(arg1, arg2) +``` + +Источник: [Lua, строка 101](../../luasense_decompiled.lua#L101). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.SetEffectParam + +```lua +Audio.SetEffectParam(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 103](../../luasense_decompiled.lua#L103). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.StartMusic + +```lua +Audio.StartMusic(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 105](../../luasense_decompiled.lua#L105). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Audio.StopMusic + +```lua +Audio.StopMusic() +``` + +Источник: [Lua, строка 107](../../luasense_decompiled.lua#L107). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Callbacks.md b/docs/reference/Callbacks.md new file mode 100644 index 0000000..d644a5f --- /dev/null +++ b/docs/reference/Callbacks.md @@ -0,0 +1,333 @@ +# Callbacks + +[Индекс](../API.md) + +## Callbacks.RegisterAIEnterExitRegion + +```lua +Callbacks.RegisterAIEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 109](../../luasense_decompiled.lua#L109). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForDeathSequenceNetFixupCallback + +```lua +Callbacks.RegisterForDeathSequenceNetFixupCallback(arg1) +``` + +Источник: [Lua, строка 111](../../luasense_decompiled.lua#L111). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForDeathSequenceSelectCallback + +```lua +Callbacks.RegisterForDeathSequenceSelectCallback(arg1) +``` + +Источник: [Lua, строка 113](../../luasense_decompiled.lua#L113). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForDisable + +```lua +Callbacks.RegisterForDisable(arg1) +``` + +Источник: [Lua, строка 115](../../luasense_decompiled.lua#L115). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForGlobalTimer + +```lua +Callbacks.RegisterForGlobalTimer(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 117](../../luasense_decompiled.lua#L117). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForMsg + +```lua +Callbacks.RegisterForMsg(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 119](../../luasense_decompiled.lua#L119). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForPostCheckpointActivation + +```lua +Callbacks.RegisterForPostCheckpointActivation(arg1) +``` + +Источник: [Lua, строка 121](../../luasense_decompiled.lua#L121). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForScriptValueUpdated + +```lua +Callbacks.RegisterForScriptValueUpdated(arg1) +``` + +Источник: [Lua, строка 123](../../luasense_decompiled.lua#L123). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForStopCondition + +```lua +Callbacks.RegisterForStopCondition(arg1) +``` + +Источник: [Lua, строка 125](../../luasense_decompiled.lua#L125). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForTimer + +```lua +Callbacks.RegisterForTimer(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 127](../../luasense_decompiled.lua#L127). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForUpdateEveryFrame + +```lua +Callbacks.RegisterForUpdateEveryFrame(arg1) +``` + +Источник: [Lua, строка 129](../../luasense_decompiled.lua#L129). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterForWatchVariableChange + +```lua +Callbacks.RegisterForWatchVariableChange(arg1, arg2) +``` + +Источник: [Lua, строка 131](../../luasense_decompiled.lua#L131). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterObjectInSetEnterExitRegion + +```lua +Callbacks.RegisterObjectInSetEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 133](../../luasense_decompiled.lua#L133). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterObjectTagEnterExitRegion + +```lua +Callbacks.RegisterObjectTagEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 135](../../luasense_decompiled.lua#L135). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterPlayerEnterExitRegion + +```lua +Callbacks.RegisterPlayerEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 137](../../luasense_decompiled.lua#L137). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterPlayerHeadEnterExitRegion + +```lua +Callbacks.RegisterPlayerHeadEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 139](../../luasense_decompiled.lua#L139). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterSetTracker + +```lua +Callbacks.RegisterSetTracker(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 141](../../luasense_decompiled.lua#L141). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.RegisterSpecificObjectEnterExitRegion + +```lua +Callbacks.RegisterSpecificObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 143](../../luasense_decompiled.lua#L143). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterAIEnterExitRegion + +```lua +Callbacks.UnregisterAIEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 145](../../luasense_decompiled.lua#L145). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterAllMsgCallbacks + +```lua +Callbacks.UnregisterAllMsgCallbacks() +``` + +Источник: [Lua, строка 147](../../luasense_decompiled.lua#L147). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForDeathSequenceNetFixupCallback + +```lua +Callbacks.UnregisterForDeathSequenceNetFixupCallback(arg1) +``` + +Источник: [Lua, строка 149](../../luasense_decompiled.lua#L149). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForDeathSequenceSelectCallback + +```lua +Callbacks.UnregisterForDeathSequenceSelectCallback(arg1) +``` + +Источник: [Lua, строка 151](../../luasense_decompiled.lua#L151). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForDisable + +```lua +Callbacks.UnregisterForDisable() +``` + +Источник: [Lua, строка 153](../../luasense_decompiled.lua#L153). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForMsg + +```lua +Callbacks.UnregisterForMsg(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 155](../../luasense_decompiled.lua#L155). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForScriptValueUpdated + +```lua +Callbacks.UnregisterForScriptValueUpdated() +``` + +Источник: [Lua, строка 157](../../luasense_decompiled.lua#L157). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForStopCondition + +```lua +Callbacks.UnregisterForStopCondition() +``` + +Источник: [Lua, строка 159](../../luasense_decompiled.lua#L159). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForTimer + +```lua +Callbacks.UnregisterForTimer(arg1) +``` + +Источник: [Lua, строка 161](../../luasense_decompiled.lua#L161). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterForUpdateEveryFrame + +```lua +Callbacks.UnregisterForUpdateEveryFrame() +``` + +Источник: [Lua, строка 163](../../luasense_decompiled.lua#L163). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterObjectEnterExitRegion + +```lua +Callbacks.UnregisterObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 165](../../luasense_decompiled.lua#L165). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterObjectInSetEnterExitRegion + +```lua +Callbacks.UnregisterObjectInSetEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 167](../../luasense_decompiled.lua#L167). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterPlayerEnterExitRegion + +```lua +Callbacks.UnregisterPlayerEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 169](../../luasense_decompiled.lua#L169). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterSetTracker + +```lua +Callbacks.UnregisterSetTracker(arg1) +``` + +Источник: [Lua, строка 171](../../luasense_decompiled.lua#L171). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Callbacks.UnregisterSpecificObjectEnterExitRegion + +```lua +Callbacks.UnregisterSpecificObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 173](../../luasense_decompiled.lua#L173). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Camera.md b/docs/reference/Camera.md new file mode 100644 index 0000000..1fead82 --- /dev/null +++ b/docs/reference/Camera.md @@ -0,0 +1,223 @@ +# Camera + +[Индекс](../API.md) + +## Camera.AddCameraFilterGroupByNameToPlayer + +```lua +Camera.AddCameraFilterGroupByNameToPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 175](../../luasense_decompiled.lua#L175). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.DoesFilterSetHaveCameraComponent + +```lua +Camera.DoesFilterSetHaveCameraComponent(arg1, arg2) +``` + +Источник: [Lua, строка 177](../../luasense_decompiled.lua#L177). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetCameraFOV + +```lua +Camera.GetCameraFOV(arg1) +``` + +Источник: [Lua, строка 179](../../luasense_decompiled.lua#L179). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetCameraFarDist + +```lua +Camera.GetCameraFarDist(arg1) +``` + +Источник: [Lua, строка 181](../../luasense_decompiled.lua#L181). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetCameraNearDist + +```lua +Camera.GetCameraNearDist(arg1) +``` + +Источник: [Lua, строка 183](../../luasense_decompiled.lua#L183). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetCameraObjectForPlayer + +```lua +Camera.GetCameraObjectForPlayer(arg1) +``` + +Источник: [Lua, строка 185](../../luasense_decompiled.lua#L185). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetCameraViewportAspectRatio + +```lua +Camera.GetCameraViewportAspectRatio(arg1) +``` + +Источник: [Lua, строка 187](../../luasense_decompiled.lua#L187). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetFilterGroupForPlayer + +```lua +Camera.GetFilterGroupForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 189](../../luasense_decompiled.lua#L189). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetNumPlayerCameraFilterSet + +```lua +Camera.GetNumPlayerCameraFilterSet(arg1) +``` + +Источник: [Lua, строка 191](../../luasense_decompiled.lua#L191). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetPlayerCameraFilterSetAlpha + +```lua +Camera.GetPlayerCameraFilterSetAlpha(arg1, arg2) +``` + +Источник: [Lua, строка 193](../../luasense_decompiled.lua#L193). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetPlayerIndexFromCameraId + +```lua +Camera.GetPlayerIndexFromCameraId(arg1) +``` + +Источник: [Lua, строка 195](../../luasense_decompiled.lua#L195). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.GetUnadjustedCameraFOV + +```lua +Camera.GetUnadjustedCameraFOV(arg1) +``` + +Источник: [Lua, строка 197](../../luasense_decompiled.lua#L197). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.IsInPlayerCameraView + +```lua +Camera.IsInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 199](../../luasense_decompiled.lua#L199). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.IsInPlayerCameraViewRange + +```lua +Camera.IsInPlayerCameraViewRange(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 201](../../luasense_decompiled.lua#L201). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.IsPointInPlayerCameraView + +```lua +Camera.IsPointInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 203](../../luasense_decompiled.lua#L203). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.RemoveCameraFilterGroupByNameFromPlayer + +```lua +Camera.RemoveCameraFilterGroupByNameFromPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 205](../../luasense_decompiled.lua#L205). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetAdjustedCameraFOV + +```lua +Camera.SetAdjustedCameraFOV(arg1, arg2) +``` + +Источник: [Lua, строка 207](../../luasense_decompiled.lua#L207). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetCameraFilterColor + +```lua +Camera.SetCameraFilterColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 209](../../luasense_decompiled.lua#L209). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetCameraFilterNamedTexture + +```lua +Camera.SetCameraFilterNamedTexture(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 211](../../luasense_decompiled.lua#L211). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetCameraFilterScalar + +```lua +Camera.SetCameraFilterScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 213](../../luasense_decompiled.lua#L213). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetCameraMotionBlurEnabled + +```lua +Camera.SetCameraMotionBlurEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 215](../../luasense_decompiled.lua#L215). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Camera.SetPlayerCameraFilterSet + +```lua +Camera.SetPlayerCameraFilterSet(arg1, arg2) +``` + +Источник: [Lua, строка 217](../../luasense_decompiled.lua#L217). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Death.md b/docs/reference/Death.md new file mode 100644 index 0000000..ce9b8e0 --- /dev/null +++ b/docs/reference/Death.md @@ -0,0 +1,83 @@ +# Death + +[Индекс](../API.md) + +## Death.GetDeathChoreographerSequence + +```lua +Death.GetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 219](../../luasense_decompiled.lua#L219). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.GetLastDamageInfo + +```lua +Death.GetLastDamageInfo() +``` + +Источник: [Lua, строка 221](../../luasense_decompiled.lua#L221). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.GetLastDamageInfoFromObject + +```lua +Death.GetLastDamageInfoFromObject(arg1) +``` + +Источник: [Lua, строка 223](../../luasense_decompiled.lua#L223). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.GetLastDamagePlayerIndexFromObject + +```lua +Death.GetLastDamagePlayerIndexFromObject(arg1) +``` + +Источник: [Lua, строка 225](../../luasense_decompiled.lua#L225). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.IsBloodEnabled + +```lua +Death.IsBloodEnabled() +``` + +Источник: [Lua, строка 227](../../luasense_decompiled.lua#L227). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.IsDamagePinning + +```lua +Death.IsDamagePinning(arg1) +``` + +Источник: [Lua, строка 229](../../luasense_decompiled.lua#L229). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.IsGoreEnabled + +```lua +Death.IsGoreEnabled() +``` + +Источник: [Lua, строка 231](../../luasense_decompiled.lua#L231). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Death.SetDeathChoreographerSequence + +```lua +Death.SetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 233](../../luasense_decompiled.lua#L233). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Debug.md b/docs/reference/Debug.md new file mode 100644 index 0000000..b519103 --- /dev/null +++ b/docs/reference/Debug.md @@ -0,0 +1,283 @@ +# Debug + +[Индекс](../API.md) + +## Debug.CallRegistryCommand + +```lua +Debug.CallRegistryCommand(arg1) +``` + +Источник: [Lua, строка 235](../../luasense_decompiled.lua#L235). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerAddFieldFloat + +```lua +Debug.DataMinerAddFieldFloat(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 237](../../luasense_decompiled.lua#L237). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerAddFieldInt + +```lua +Debug.DataMinerAddFieldInt(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 239](../../luasense_decompiled.lua#L239). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerAddFieldString + +```lua +Debug.DataMinerAddFieldString(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 241](../../luasense_decompiled.lua#L241). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerCreateRow + +```lua +Debug.DataMinerCreateRow(arg1) +``` + +Источник: [Lua, строка 243](../../luasense_decompiled.lua#L243). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerSessionBegin + +```lua +Debug.DataMinerSessionBegin() +``` + +Источник: [Lua, строка 245](../../luasense_decompiled.lua#L245). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerSessionEnd + +```lua +Debug.DataMinerSessionEnd() +``` + +Источник: [Lua, строка 247](../../luasense_decompiled.lua#L247). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerSetNoSessionRequired + +```lua +Debug.DataMinerSetNoSessionRequired() +``` + +Источник: [Lua, строка 249](../../luasense_decompiled.lua#L249). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DataMinerSubmitRow + +```lua +Debug.DataMinerSubmitRow(arg1) +``` + +Источник: [Lua, строка 251](../../luasense_decompiled.lua#L251). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DrawArrow + +```lua +Debug.DrawArrow(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 253](../../luasense_decompiled.lua#L253). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DrawLine + +```lua +Debug.DrawLine(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 255](../../luasense_decompiled.lua#L255). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.DrawSphere + +```lua +Debug.DrawSphere(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 257](../../luasense_decompiled.lua#L257). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.ExitGame + +```lua +Debug.ExitGame() +``` + +Источник: [Lua, строка 259](../../luasense_decompiled.lua#L259). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.GetProfileCounter + +```lua +Debug.GetProfileCounter(arg1) +``` + +Источник: [Lua, строка 261](../../luasense_decompiled.lua#L261). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.GetProfileTimer + +```lua +Debug.GetProfileTimer(arg1) +``` + +Источник: [Lua, строка 263](../../luasense_decompiled.lua#L263). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.GetSystemMemoryAvailable + +```lua +Debug.GetSystemMemoryAvailable() +``` + +Источник: [Lua, строка 265](../../luasense_decompiled.lua#L265). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.MemoryLogMark + +```lua +Debug.MemoryLogMark(arg1) +``` + +Источник: [Lua, строка 267](../../luasense_decompiled.lua#L267). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.MessageLog + +```lua +Debug.MessageLog(arg1, arg2) +``` + +Источник: [Lua, строка 269](../../luasense_decompiled.lua#L269). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintCallstack + +```lua +Debug.PrintCallstack() +``` + +Источник: [Lua, строка 271](../../luasense_decompiled.lua#L271). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintError + +```lua +Debug.PrintError(arg1) +``` + +Источник: [Lua, строка 273](../../luasense_decompiled.lua#L273). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintInfo + +```lua +Debug.PrintInfo(arg1) +``` + +Источник: [Lua, строка 275](../../luasense_decompiled.lua#L275). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintToBottomOfScreen + +```lua +Debug.PrintToBottomOfScreen(arg1) +``` + +Источник: [Lua, строка 277](../../luasense_decompiled.lua#L277). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintToScreen + +```lua +Debug.PrintToScreen(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 279](../../luasense_decompiled.lua#L279). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintToScreenWithTimer + +```lua +Debug.PrintToScreenWithTimer(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 281](../../luasense_decompiled.lua#L281). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.PrintWarning + +```lua +Debug.PrintWarning(arg1) +``` + +Источник: [Lua, строка 283](../../luasense_decompiled.lua#L283). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.SetOnScreenTextColor + +```lua +Debug.SetOnScreenTextColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 285](../../luasense_decompiled.lua#L285). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.SetOnScreenTimerTextMode + +```lua +Debug.SetOnScreenTimerTextMode(arg1) +``` + +Источник: [Lua, строка 287](../../luasense_decompiled.lua#L287). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Debug.VerifyOnce + +```lua +Debug.VerifyOnce(arg1) +``` + +Источник: [Lua, строка 289](../../luasense_decompiled.lua#L289). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Despair.Bling.AutomationUtility.md b/docs/reference/Despair.Bling.AutomationUtility.md new file mode 100644 index 0000000..3b293eb --- /dev/null +++ b/docs/reference/Despair.Bling.AutomationUtility.md @@ -0,0 +1,429 @@ +# Despair.Bling.AutomationUtility + +[Индекс](../API.md) + +## Despair.Bling.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Bling.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Bling.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Bling.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Bling.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Bling.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Bling.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Bling.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Bling.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Bling.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Bling.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Bling.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Bling.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Bling.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Bling.DanglingResource.List.md b/docs/reference/Despair.Bling.DanglingResource.List.md new file mode 100644 index 0000000..4ab1d63 --- /dev/null +++ b/docs/reference/Despair.Bling.DanglingResource.List.md @@ -0,0 +1,121 @@ +# Despair.Bling.DanglingResource.List + +[Индекс](../API.md) + +## Despair.Bling.DanglingResource.List.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Bling.DanglingResource.List.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Bling.DanglingResource.List.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Bling.DanglingResource.List.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Bling.DanglingResource.List.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Bling.DanglingResource.List.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.DanglingResource.md b/docs/reference/Despair.Bling.DanglingResource.md new file mode 100644 index 0000000..86f46fd --- /dev/null +++ b/docs/reference/Despair.Bling.DanglingResource.md @@ -0,0 +1,71 @@ +# Despair.Bling.DanglingResource + +[Индекс](../API.md) + +## Despair.Bling.DanglingResource.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add missing contents to perforce source control. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." +} +``` + +
+ +## Despair.Bling.DanglingResource.CopyToClipboard + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Copy contents to clipboard. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." +} +``` + +
+ +## Despair.Bling.DanglingResource.Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Refresh the list of dangling contents. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." +} +``` + +
+ +## Despair.Bling.DanglingResource.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.EffectProperties.md b/docs/reference/Despair.Bling.EffectProperties.md new file mode 100644 index 0000000..92f34d8 --- /dev/null +++ b/docs/reference/Despair.Bling.EffectProperties.md @@ -0,0 +1,333 @@ +# Despair.Bling.EffectProperties + +[Индекс](../API.md) + +## Despair.Bling.EffectProperties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Bling.EffectProperties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Bling.EffectProperties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Bling.EffectProperties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Bling.EffectProperties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.EffectProperties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Bling.EffectProperties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Bling.EffectProperties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Bling.EffectProperties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.EffectTree.md b/docs/reference/Despair.Bling.EffectTree.md new file mode 100644 index 0000000..3f53c82 --- /dev/null +++ b/docs/reference/Despair.Bling.EffectTree.md @@ -0,0 +1,459 @@ +# Despair.Bling.EffectTree + +[Индекс](../API.md) + +## Despair.Bling.EffectTree.ChainElement + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new effect to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new effect. | +| 2.0 | @K[209] | Name of the new effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new effect to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.DeleteItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes specified item from the effect tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Path to the item to be deleted. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Path to the item to be deleted." + } + }, + "@K[203]": "Deletes specified item from the effect tree." +} +``` + +
+ +## Despair.Bling.EffectTree.ElectricElement + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new electric element to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new effect. | +| 2.0 | @K[209] | Name of the new effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new electric element to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.EventHandler + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new event handler to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new effect. | +| 2.0 | @K[209] | Name of the new effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new effect." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new effect." + } + }, + "@K[203]": "Adds a new event handler to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Bling.EffectTree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Bling.EffectTree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Bling.EffectTree.LoadModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Loads specified model for previewing. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Resource path to the model to use for previews. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Resource path to the model to use for previews." + } + }, + "@K[203]": "Loads specified model for previewing." +} +``` + +
+ +## Despair.Bling.EffectTree.ParticleController + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new controller to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new controller. | +| 2.0 | @K[209] | Name of the new controller. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new controller." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new controller." + } + }, + "@K[203]": "Adds a new controller to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.ParticleEmitter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new emitter to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new emitter. | +| 2.0 | @K[209] | Name of the new emitter. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new emitter." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new emitter." + } + }, + "@K[203]": "Adds a new emitter to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.ParticleSystem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new system to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new system. | +| 2.0 | @K[209] | Name of the new system. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new system." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new system." + } + }, + "@K[203]": "Adds a new system to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.ParticleType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new type to the specified parent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Parent | Path to the effect that will be the parent of the new type. | +| 2.0 | @K[209] | Name of the new type. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Parent", + "@K[211]": "Path to the effect that will be the parent of the new type." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new type." + } + }, + "@K[203]": "Adds a new type to the specified parent." +} +``` + +
+ +## Despair.Bling.EffectTree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Bling.EffectTree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Bling.EffectTree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.EffectTree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.EffectTree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.EffectTree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.File.md b/docs/reference/Despair.Bling.File.md new file mode 100644 index 0000000..93a2f1b --- /dev/null +++ b/docs/reference/Despair.Bling.File.md @@ -0,0 +1,110 @@ +# Despair.Bling.File + +[Индекс](../API.md) + +## Despair.Bling.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.Bling.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new effect. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new effect." +} +``` + +
+ +## Despair.Bling.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the effect specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the effect that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." +} +``` + +
+ +## Despair.Bling.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.Bling.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.Bling.Keyboard.md b/docs/reference/Despair.Bling.Keyboard.md new file mode 100644 index 0000000..29ef642 --- /dev/null +++ b/docs/reference/Despair.Bling.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Bling.Keyboard + +[Индекс](../API.md) + +## Despair.Bling.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Bling.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Bling.Mouse.md b/docs/reference/Despair.Bling.Mouse.md new file mode 100644 index 0000000..00c28a1 --- /dev/null +++ b/docs/reference/Despair.Bling.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Bling.Mouse + +[Индекс](../API.md) + +## Despair.Bling.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Bling.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Bling.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Bling.OS.md b/docs/reference/Despair.Bling.OS.md new file mode 100644 index 0000000..7f45e6c --- /dev/null +++ b/docs/reference/Despair.Bling.OS.md @@ -0,0 +1,162 @@ +# Despair.Bling.OS + +[Индекс](../API.md) + +## Despair.Bling.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Bling.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Bling.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Bling.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Bling.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Bling.ObjectRegistry.Property.md b/docs/reference/Despair.Bling.ObjectRegistry.Property.md new file mode 100644 index 0000000..6db0711 --- /dev/null +++ b/docs/reference/Despair.Bling.ObjectRegistry.Property.md @@ -0,0 +1,333 @@ +# Despair.Bling.ObjectRegistry.Property + +[Индекс](../API.md) + +## Despair.Bling.ObjectRegistry.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.ObjectRegistry.Tree.md b/docs/reference/Despair.Bling.ObjectRegistry.Tree.md new file mode 100644 index 0000000..353a6f2 --- /dev/null +++ b/docs/reference/Despair.Bling.ObjectRegistry.Tree.md @@ -0,0 +1,172 @@ +# Despair.Bling.ObjectRegistry.Tree + +[Индекс](../API.md) + +## Despair.Bling.ObjectRegistry.Tree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Bling.ObjectRegistry.Tree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.ObjectRegistry.md b/docs/reference/Despair.Bling.ObjectRegistry.md new file mode 100644 index 0000000..b39947a --- /dev/null +++ b/docs/reference/Despair.Bling.ObjectRegistry.md @@ -0,0 +1,20 @@ +# Despair.Bling.ObjectRegistry + +[Индекс](../API.md) + +## Despair.Bling.ObjectRegistry.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.OutputView.md b/docs/reference/Despair.Bling.OutputView.md new file mode 100644 index 0000000..a4e28ed --- /dev/null +++ b/docs/reference/Despair.Bling.OutputView.md @@ -0,0 +1,54 @@ +# Despair.Bling.OutputView + +[Индекс](../API.md) + +## Despair.Bling.OutputView.ShowCounters + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Show counters tab in the output view. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Show counters tab in the output view." +} +``` + +
+ +## Despair.Bling.OutputView.ShowOutput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Show output tab in the output view. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Show output tab in the output view." +} +``` + +
+ +## Despair.Bling.OutputView.ShowTimers + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Show timers tab in the output view. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Show timers tab in the output view." +} +``` + +
diff --git a/docs/reference/Despair.Bling.Perforce.md b/docs/reference/Despair.Bling.Perforce.md new file mode 100644 index 0000000..7ec4150 --- /dev/null +++ b/docs/reference/Despair.Bling.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Bling.Perforce + +[Индекс](../API.md) + +## Despair.Bling.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Bling.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Bling.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Bling.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Bling.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Bling.Properties.md b/docs/reference/Despair.Bling.Properties.md new file mode 100644 index 0000000..c384b9c --- /dev/null +++ b/docs/reference/Despair.Bling.Properties.md @@ -0,0 +1,333 @@ +# Despair.Bling.Properties + +[Индекс](../API.md) + +## Despair.Bling.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Bling.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Bling.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Bling.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Bling.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Bling.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Bling.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Bling.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Bling.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Bling.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Bling.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Bling.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Bling.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Bling.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.AmbientLight.md b/docs/reference/Despair.Bling.RenderView.AmbientLight.md new file mode 100644 index 0000000..a6936bf --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.AmbientLight.md @@ -0,0 +1,123 @@ +# Despair.Bling.RenderView.AmbientLight + +[Индекс](../API.md) + +## Despair.Bling.RenderView.AmbientLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetAmbientEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetDirectionalEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetIntensity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetParticleColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetSkyColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetSpecularity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetSunColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.AmbientLight.SetSunDirection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.Camera.md b/docs/reference/Despair.Bling.RenderView.Camera.md new file mode 100644 index 0000000..68a5bd2 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.Camera.md @@ -0,0 +1,243 @@ +# Despair.Bling.RenderView.Camera + +[Индекс](../API.md) + +## Despair.Bling.RenderView.Camera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetDepthOfFieldEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFarBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFarBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFocalDepth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetFocalWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetMoveWithFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetNearBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetNearBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetUseControllerInput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Camera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.Fog.md b/docs/reference/Despair.Bling.RenderView.Fog.md new file mode 100644 index 0000000..92ea077 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.Fog.md @@ -0,0 +1,99 @@ +# Despair.Bling.RenderView.Fog + +[Индекс](../API.md) + +## Despair.Bling.RenderView.Fog.SetBottom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetStart + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetTop + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Fog.SetType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.Grid.md b/docs/reference/Despair.Bling.RenderView.Grid.md new file mode 100644 index 0000000..3c30956 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.Grid.md @@ -0,0 +1,51 @@ +# Despair.Bling.RenderView.Grid + +[Индекс](../API.md) + +## Despair.Bling.RenderView.Grid.SetAxisEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Grid.SetCellSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Grid.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Grid.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.Options.md b/docs/reference/Despair.Bling.RenderView.Options.md new file mode 100644 index 0000000..30acc42 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.Options.md @@ -0,0 +1,147 @@ +# Despair.Bling.RenderView.Options + +[Индекс](../API.md) + +## Despair.Bling.RenderView.Options.SetAdaptLuminanceEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetAdaptionExposure + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetAdaptionMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetAdaptionMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetAdaptionTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetBloomScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetBrightMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetBrightMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetHdrEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetShadowEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetToneScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.Options.SetWireframeEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.PointLight.md b/docs/reference/Despair.Bling.RenderView.PointLight.md new file mode 100644 index 0000000..6a39bb3 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.PointLight.md @@ -0,0 +1,63 @@ +# Despair.Bling.RenderView.PointLight + +[Индекс](../API.md) + +## Despair.Bling.RenderView.PointLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.PointLight.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.PointLight.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.PointLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.PointLight.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.SkyDome.md b/docs/reference/Despair.Bling.RenderView.SkyDome.md new file mode 100644 index 0000000..804c444 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.SkyDome.md @@ -0,0 +1,27 @@ +# Despair.Bling.RenderView.SkyDome + +[Индекс](../API.md) + +## Despair.Bling.RenderView.SkyDome.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Bling.RenderView.SkyDome.SetModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Bling.RenderView.md b/docs/reference/Despair.Bling.RenderView.md new file mode 100644 index 0000000..fe0a4d1 --- /dev/null +++ b/docs/reference/Despair.Bling.RenderView.md @@ -0,0 +1,53 @@ +# Despair.Bling.RenderView + +[Индекс](../API.md) + +## Despair.Bling.RenderView.SetAsDropTargetCentered + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Ends a drag and drop operation at a centered location of control. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Ends a drag and drop operation at a centered location of control." +} +``` + +
+ +## Despair.Bling.RenderView.SetAsDropTargetXY + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Ends a drag and drop operation at the specified location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | Local X coordinate to end dragging. | +| 2.0 | Y | Local Y coordinate to end dragging. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "Local X coordinate to end dragging." + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Local Y coordinate to end dragging." + } + }, + "@K[203]": "Ends a drag and drop operation at the specified location." +} +``` + +
diff --git a/docs/reference/Despair.Bling.ResourceView.md b/docs/reference/Despair.Bling.ResourceView.md new file mode 100644 index 0000000..c0f92ec --- /dev/null +++ b/docs/reference/Despair.Bling.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Bling.ResourceView + +[Индекс](../API.md) + +## Despair.Bling.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Bling.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Bling.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Bling.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Bling.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Bling.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Bling.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Bling.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Bling.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Bling.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Bling.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Bling.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Bling.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Bling.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Bling.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Bling.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Bling.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Bling.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Bling.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Bling.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Bling.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Bling.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Bling.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Bling.StandardToolbar.md b/docs/reference/Despair.Bling.StandardToolbar.md new file mode 100644 index 0000000..1caf54d --- /dev/null +++ b/docs/reference/Despair.Bling.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Bling.StandardToolbar + +[Индекс](../API.md) + +## Despair.Bling.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Bling.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Bling.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Bling.Views.md b/docs/reference/Despair.Bling.Views.md new file mode 100644 index 0000000..d80e537 --- /dev/null +++ b/docs/reference/Despair.Bling.Views.md @@ -0,0 +1,171 @@ +# Despair.Bling.Views + +[Индекс](../API.md) + +## Despair.Bling.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Bling.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Bling.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Bling.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Bling.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Bling.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.AutomationUtility.md b/docs/reference/Despair.Burmester.AutomationUtility.md new file mode 100644 index 0000000..254179e --- /dev/null +++ b/docs/reference/Despair.Burmester.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Burmester.AutomationUtility + +[Индекс](../API.md) + +## Despair.Burmester.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Burmester.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Burmester.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Burmester.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.CurveView.md b/docs/reference/Despair.Burmester.CurveView.md new file mode 100644 index 0000000..d178ad5 --- /dev/null +++ b/docs/reference/Despair.Burmester.CurveView.md @@ -0,0 +1,633 @@ +# Despair.Burmester.CurveView + +[Индекс](../API.md) + +## Despair.Burmester.CurveView.AddMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes the add mode toolbar button. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Executes the add mode toolbar button." +} +``` + +
+ +## Despair.Burmester.CurveView.AddVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a vertex at the specified X and Y value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X (horizontal) value of this vertex. Valid range is 0 thru 1 | +| 2.0 | Y | Y (vertical) value of this vertex. Valid range is 0 thru 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Adds a vertex at the specified X and Y value." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertHandle1X + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the x position of the handle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the handle." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertHandle1Y + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the y position of the handle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the handle." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertHandle2X + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the x position of the handle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the handle." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertHandle2Y + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the y position of the handle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the handle." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertX + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the x position of the vertex. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the x position of the vertex." +} +``` + +
+ +## Despair.Burmester.CurveView.GetVertY + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the y position of the vertex.. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to get." + } + }, + "@K[203]": "Returns the y position of the vertex.." +} +``` + +
+ +## Despair.Burmester.CurveView.MoveMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes the move mode toolbar button. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Executes the move mode toolbar button." +} +``` + +
+ +## Despair.Burmester.CurveView.MoveVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Moves vertex at specified Index to the specified X and Y value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to move. | +| 2.0 | X | X (horizontal) value of this vertex. Valid range is 0 thru 1 | +| 3.0 | Y | Y (vertical) value of this vertex. Valid range is 0 thru 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex at specified Index to the specified X and Y value." +} +``` + +
+ +## Despair.Burmester.CurveView.MoveVertHandle1 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Moves vertex handle at specified Index to the specified X and Y value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to move. | +| 2.0 | X | X (horizontal) value of this vertex. Valid range is 0 thru 1 | +| 3.0 | Y | Y (vertical) value of this vertex. Valid range is 0 thru 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex handle at specified Index to the specified X and Y value." +} +``` + +
+ +## Despair.Burmester.CurveView.MoveVertHandle2 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Moves vertex handle at specified Index to the specified X and Y value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to move. | +| 2.0 | X | X (horizontal) value of this vertex. Valid range is 0 thru 1 | +| 3.0 | Y | Y (vertical) value of this vertex. Valid range is 0 thru 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to move." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X (horizontal) value of this vertex. Valid range is 0 thru 1" + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y (vertical) value of this vertex. Valid range is 0 thru 1" + } + }, + "@K[203]": "Moves vertex handle at specified Index to the specified X and Y value." +} +``` + +
+ +## Despair.Burmester.CurveView.RemoveAllVerts + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes all vertices. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Removes all vertices." +} +``` + +
+ +## Despair.Burmester.CurveView.RemoveSelectedVerts + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes all selected vertices from the curve. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes all selected vertices from the curve." +} +``` + +
+ +## Despair.Burmester.CurveView.RemoveVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes vertex at specified Index. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | Index of the vertex to remove. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "Index of the vertex to remove." + } + }, + "@K[203]": "Removes vertex at specified Index." +} +``` + +
+ +## Despair.Burmester.CurveView.SelectMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes the select mode toolbar button. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Executes the select mode toolbar button." +} +``` + +
+ +## Despair.Burmester.CurveView.SelectVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" +} +``` + +
+ +## Despair.Burmester.CurveView.SelectVertHandle1 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" +} +``` + +
+ +## Despair.Burmester.CurveView.SelectVertHandle2 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to select" + } + }, + "@K[203]": "Selects the vertex at the given index" +} +``` + +
+ +## Despair.Burmester.CurveView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Burmester.CurveView.UnSelectAllVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unselects all vertices from the curve. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unselects all vertices from the curve." +} +``` + +
+ +## Despair.Burmester.CurveView.UnSelectVert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unselects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to unselect | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" +} +``` + +
+ +## Despair.Burmester.CurveView.UnSelectVertHandle1 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unselects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to unselect | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" +} +``` + +
+ +## Despair.Burmester.CurveView.UnSelectVertHandle2 + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unselects the vertex at the given index + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | index | Index of the vertice to unselect | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "index", + "@K[211]": "Index of the vertice to unselect" + } + }, + "@K[203]": "Unselects the vertex at the given index" +} +``` + +
diff --git a/docs/reference/Despair.Burmester.Dialog.md b/docs/reference/Despair.Burmester.Dialog.md new file mode 100644 index 0000000..6800afd --- /dev/null +++ b/docs/reference/Despair.Burmester.Dialog.md @@ -0,0 +1,564 @@ +# Despair.Burmester.Dialog + +[Индекс](../API.md) + +## Despair.Burmester.Dialog.AddBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddComboFieldItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddSliderField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.AddVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.ClearComboFieldItems + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.CreateDialogBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.EditSelection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.GetVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.InputBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.MessageBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.OffsetSelection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.SetVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Burmester.Dialog.ShowDialogBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Burmester.File.md b/docs/reference/Despair.Burmester.File.md new file mode 100644 index 0000000..fcb44c1 --- /dev/null +++ b/docs/reference/Despair.Burmester.File.md @@ -0,0 +1,182 @@ +# Despair.Burmester.File + +[Индекс](../API.md) + +## Despair.Burmester.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the currently selected file. Note: does not respect the Path parameter yet! + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename of the curve that should be closed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the curve that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" +} +``` + +
+ +## Despair.Burmester.File.CloseAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes all the currently opened files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." +} +``` + +
+ +## Despair.Burmester.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new curve of the specified type. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurveType | Curve type of the new curve. Valid choices are: "Linear Curve", "Bezier Spline Curve", "Catmull-Rom Spline Curve" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurveType", + "@K[211]": "Curve type of the new curve. Valid choices are: \"Linear Curve\", \"Bezier Spline Curve\", \"Catmull-Rom Spline Curve\"" + } + }, + "@K[203]": "Creates a new curve of the specified type." +} +``` + +
+ +## Despair.Burmester.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the curve specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the curve that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the curve that should be opened." + } + }, + "@K[203]": "Opens the curve specified by Path." +} +``` + +
+ +## Despair.Burmester.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the curve. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the curve." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" +} +``` + +
+ +## Despair.Burmester.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[75] | File is supposed to refer to the window the suer wants to save, however it currently does nothing. | +| 2.0 | @K[249] | Path and filename that should be used for saving the curve. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[75]", + "@K[211]": "File is supposed to refer to the window the suer wants to save, however it currently does nothing." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the curve." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." +} +``` + +
+ +## Despair.Burmester.File.Validate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Validate the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.Keyboard.md b/docs/reference/Despair.Burmester.Keyboard.md new file mode 100644 index 0000000..80d84a4 --- /dev/null +++ b/docs/reference/Despair.Burmester.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Burmester.Keyboard + +[Индекс](../API.md) + +## Despair.Burmester.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Burmester.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.Mouse.md b/docs/reference/Despair.Burmester.Mouse.md new file mode 100644 index 0000000..0aad98d --- /dev/null +++ b/docs/reference/Despair.Burmester.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Burmester.Mouse + +[Индекс](../API.md) + +## Despair.Burmester.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Burmester.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Burmester.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.OS.md b/docs/reference/Despair.Burmester.OS.md new file mode 100644 index 0000000..046c8e4 --- /dev/null +++ b/docs/reference/Despair.Burmester.OS.md @@ -0,0 +1,162 @@ +# Despair.Burmester.OS + +[Индекс](../API.md) + +## Despair.Burmester.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Burmester.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Burmester.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Burmester.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Burmester.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Burmester.Perforce.md b/docs/reference/Despair.Burmester.Perforce.md new file mode 100644 index 0000000..cd8eebd --- /dev/null +++ b/docs/reference/Despair.Burmester.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Burmester.Perforce + +[Индекс](../API.md) + +## Despair.Burmester.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Burmester.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Burmester.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Burmester.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Burmester.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.ResourceView.md b/docs/reference/Despair.Burmester.ResourceView.md new file mode 100644 index 0000000..fb9fd89 --- /dev/null +++ b/docs/reference/Despair.Burmester.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Burmester.ResourceView + +[Индекс](../API.md) + +## Despair.Burmester.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Burmester.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Burmester.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Burmester.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Burmester.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Burmester.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Burmester.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Burmester.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Burmester.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Burmester.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Burmester.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Burmester.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Burmester.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Burmester.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Burmester.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Burmester.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Burmester.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Burmester.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Burmester.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Burmester.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Burmester.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Burmester.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Burmester.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Burmester.StandardToolbar.md b/docs/reference/Despair.Burmester.StandardToolbar.md new file mode 100644 index 0000000..bdc61b5 --- /dev/null +++ b/docs/reference/Despair.Burmester.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Burmester.StandardToolbar + +[Индекс](../API.md) + +## Despair.Burmester.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Burmester.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Burmester.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.Views.md b/docs/reference/Despair.Burmester.Views.md new file mode 100644 index 0000000..c688803 --- /dev/null +++ b/docs/reference/Despair.Burmester.Views.md @@ -0,0 +1,171 @@ +# Despair.Burmester.Views + +[Индекс](../API.md) + +## Despair.Burmester.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Burmester.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Burmester.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Burmester.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Burmester.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Burmester.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Burmester.md b/docs/reference/Despair.Burmester.md new file mode 100644 index 0000000..7166bcc --- /dev/null +++ b/docs/reference/Despair.Burmester.md @@ -0,0 +1,243 @@ +# Despair.Burmester + +[Индекс](../API.md) + +## Despair.Burmester.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Burmester.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Burmester.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Burmester.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Burmester.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Burmester.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Burmester.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Burmester.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Burmester.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.AutomationUtility.md b/docs/reference/Despair.BusEditor.AutomationUtility.md new file mode 100644 index 0000000..43df4e7 --- /dev/null +++ b/docs/reference/Despair.BusEditor.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.BusEditor.AutomationUtility + +[Индекс](../API.md) + +## Despair.BusEditor.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.BusEditor.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Bus.md b/docs/reference/Despair.BusEditor.Bus.md new file mode 100644 index 0000000..3cc3ff6 --- /dev/null +++ b/docs/reference/Despair.BusEditor.Bus.md @@ -0,0 +1,120 @@ +# Despair.BusEditor.Bus + +[Индекс](../API.md) + +## Despair.BusEditor.Bus.AddBus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the specified bus. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the bus to create. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to create." + } + }, + "@K[203]": "Creates the specified bus." +} +``` + +
+ +## Despair.BusEditor.Bus.DeleteBus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified bus. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the bus to delete. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to delete." + } + }, + "@K[203]": "Deletes the specified bus." +} +``` + +
+ +## Despair.BusEditor.Bus.LinkBus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Link the 2 specified buses. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Source | Source Name of the bus to link. | +| 2.0 | Destination | Destination Name of the bus to link. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Source", + "@K[211]": "Source Name of the bus to link." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Destination Name of the bus to link." + } + }, + "@K[203]": "Link the 2 specified buses." +} +``` + +
+ +## Despair.BusEditor.Bus.SelectBus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified bus. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the bus to select. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the bus to select." + } + }, + "@K[203]": "Selects the specified bus." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.File.md b/docs/reference/Despair.BusEditor.File.md new file mode 100644 index 0000000..0d1b6fd --- /dev/null +++ b/docs/reference/Despair.BusEditor.File.md @@ -0,0 +1,110 @@ +# Despair.BusEditor.File + +[Индекс](../API.md) + +## Despair.BusEditor.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.BusEditor.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new effect. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new effect." +} +``` + +
+ +## Despair.BusEditor.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the effect specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the effect that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." +} +``` + +
+ +## Despair.BusEditor.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.BusEditor.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Keyboard.md b/docs/reference/Despair.BusEditor.Keyboard.md new file mode 100644 index 0000000..80f970a --- /dev/null +++ b/docs/reference/Despair.BusEditor.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.BusEditor.Keyboard + +[Индекс](../API.md) + +## Despair.BusEditor.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.BusEditor.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Mouse.md b/docs/reference/Despair.BusEditor.Mouse.md new file mode 100644 index 0000000..3ae8094 --- /dev/null +++ b/docs/reference/Despair.BusEditor.Mouse.md @@ -0,0 +1,75 @@ +# Despair.BusEditor.Mouse + +[Индекс](../API.md) + +## Despair.BusEditor.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.BusEditor.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.BusEditor.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.OS.md b/docs/reference/Despair.BusEditor.OS.md new file mode 100644 index 0000000..ed80a7b --- /dev/null +++ b/docs/reference/Despair.BusEditor.OS.md @@ -0,0 +1,162 @@ +# Despair.BusEditor.OS + +[Индекс](../API.md) + +## Despair.BusEditor.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.BusEditor.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.BusEditor.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.BusEditor.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.BusEditor.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Perforce.md b/docs/reference/Despair.BusEditor.Perforce.md new file mode 100644 index 0000000..9d6967a --- /dev/null +++ b/docs/reference/Despair.BusEditor.Perforce.md @@ -0,0 +1,153 @@ +# Despair.BusEditor.Perforce + +[Индекс](../API.md) + +## Despair.BusEditor.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.BusEditor.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.BusEditor.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.BusEditor.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.BusEditor.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Properties.md b/docs/reference/Despair.BusEditor.Properties.md new file mode 100644 index 0000000..e9e8623 --- /dev/null +++ b/docs/reference/Despair.BusEditor.Properties.md @@ -0,0 +1,333 @@ +# Despair.BusEditor.Properties + +[Индекс](../API.md) + +## Despair.BusEditor.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.BusEditor.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.BusEditor.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.BusEditor.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.BusEditor.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.BusEditor.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.BusEditor.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.BusEditor.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.BusEditor.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.BusEditor.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.ResourceView.md b/docs/reference/Despair.BusEditor.ResourceView.md new file mode 100644 index 0000000..0f8ee91 --- /dev/null +++ b/docs/reference/Despair.BusEditor.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.BusEditor.ResourceView + +[Индекс](../API.md) + +## Despair.BusEditor.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.BusEditor.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.BusEditor.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.BusEditor.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.BusEditor.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.BusEditor.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.BusEditor.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.BusEditor.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.BusEditor.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.BusEditor.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.BusEditor.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.BusEditor.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.BusEditor.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.StandardToolbar.md b/docs/reference/Despair.BusEditor.StandardToolbar.md new file mode 100644 index 0000000..ea18a66 --- /dev/null +++ b/docs/reference/Despair.BusEditor.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.BusEditor.StandardToolbar + +[Индекс](../API.md) + +## Despair.BusEditor.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.BusEditor.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.BusEditor.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.Views.md b/docs/reference/Despair.BusEditor.Views.md new file mode 100644 index 0000000..835c7fb --- /dev/null +++ b/docs/reference/Despair.BusEditor.Views.md @@ -0,0 +1,171 @@ +# Despair.BusEditor.Views + +[Индекс](../API.md) + +## Despair.BusEditor.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.BusEditor.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.BusEditor.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.BusEditor.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.BusEditor.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.BusEditor.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.BusEditor.md b/docs/reference/Despair.BusEditor.md new file mode 100644 index 0000000..e9c471c --- /dev/null +++ b/docs/reference/Despair.BusEditor.md @@ -0,0 +1,243 @@ +# Despair.BusEditor + +[Индекс](../API.md) + +## Despair.BusEditor.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.BusEditor.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.BusEditor.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.BusEditor.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.BusEditor.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.BusEditor.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.BusEditor.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.BusEditor.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.BusEditor.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.AudioView.md b/docs/reference/Despair.ChopShop.AudioView.md new file mode 100644 index 0000000..7269417 --- /dev/null +++ b/docs/reference/Despair.ChopShop.AudioView.md @@ -0,0 +1,155 @@ +# Despair.ChopShop.AudioView + +[Индекс](../API.md) + +## Despair.ChopShop.AudioView.AddTrack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Simulates adding a track via the Add Track button. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Simulates adding a track via the Add Track button." +} +``` + +
+ +## Despair.ChopShop.AudioView.DeleteTrack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Simulates deleting a track via the Delete Track button. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Simulates deleting a track via the Delete Track button." +} +``` + +
+ +## Despair.ChopShop.AudioView.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.ChopShop.AudioView.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.ChopShop.AudioView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.ChopShop.AudioView.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ChopShop.AudioView.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ChopShop.AudioView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.AutomationUtility.md b/docs/reference/Despair.ChopShop.AutomationUtility.md new file mode 100644 index 0000000..710af71 --- /dev/null +++ b/docs/reference/Despair.ChopShop.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.ChopShop.AutomationUtility + +[Индекс](../API.md) + +## Despair.ChopShop.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.ChopShop.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.DanglingResource.List.md b/docs/reference/Despair.ChopShop.DanglingResource.List.md new file mode 100644 index 0000000..27764f1 --- /dev/null +++ b/docs/reference/Despair.ChopShop.DanglingResource.List.md @@ -0,0 +1,121 @@ +# Despair.ChopShop.DanglingResource.List + +[Индекс](../API.md) + +## Despair.ChopShop.DanglingResource.List.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.List.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.List.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.ChopShop.DanglingResource.List.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.List.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.List.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.DanglingResource.md b/docs/reference/Despair.ChopShop.DanglingResource.md new file mode 100644 index 0000000..68bb634 --- /dev/null +++ b/docs/reference/Despair.ChopShop.DanglingResource.md @@ -0,0 +1,71 @@ +# Despair.ChopShop.DanglingResource + +[Индекс](../API.md) + +## Despair.ChopShop.DanglingResource.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add missing contents to perforce source control. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.CopyToClipboard + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Copy contents to clipboard. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Refresh the list of dangling contents. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." +} +``` + +
+ +## Despair.ChopShop.DanglingResource.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.File.md b/docs/reference/Despair.ChopShop.File.md new file mode 100644 index 0000000..d76942d --- /dev/null +++ b/docs/reference/Despair.ChopShop.File.md @@ -0,0 +1,110 @@ +# Despair.ChopShop.File + +[Индекс](../API.md) + +## Despair.ChopShop.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.ChopShop.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new movie. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new movie." +} +``` + +
+ +## Despair.ChopShop.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the movie specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the movie that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the movie that should be opened." + } + }, + "@K[203]": "Opens the movie specified by Path." +} +``` + +
+ +## Despair.ChopShop.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.ChopShop.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the movie. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the movie." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.GrabberToolbar.md b/docs/reference/Despair.ChopShop.GrabberToolbar.md new file mode 100644 index 0000000..f19a94b --- /dev/null +++ b/docs/reference/Despair.ChopShop.GrabberToolbar.md @@ -0,0 +1,97 @@ +# Despair.ChopShop.GrabberToolbar + +[Индекс](../API.md) + +## Despair.ChopShop.GrabberToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.GrabberToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.GrabberToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.Keyboard.md b/docs/reference/Despair.ChopShop.Keyboard.md new file mode 100644 index 0000000..ee7b54e --- /dev/null +++ b/docs/reference/Despair.ChopShop.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.ChopShop.Keyboard + +[Индекс](../API.md) + +## Despair.ChopShop.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.ChopShop.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.Mouse.md b/docs/reference/Despair.ChopShop.Mouse.md new file mode 100644 index 0000000..11df947 --- /dev/null +++ b/docs/reference/Despair.ChopShop.Mouse.md @@ -0,0 +1,75 @@ +# Despair.ChopShop.Mouse + +[Индекс](../API.md) + +## Despair.ChopShop.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.ChopShop.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.ChopShop.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.OS.md b/docs/reference/Despair.ChopShop.OS.md new file mode 100644 index 0000000..2726ae8 --- /dev/null +++ b/docs/reference/Despair.ChopShop.OS.md @@ -0,0 +1,162 @@ +# Despair.ChopShop.OS + +[Индекс](../API.md) + +## Despair.ChopShop.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.ChopShop.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.ChopShop.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.ChopShop.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.ChopShop.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.Perforce.md b/docs/reference/Despair.ChopShop.Perforce.md new file mode 100644 index 0000000..1f7d09f --- /dev/null +++ b/docs/reference/Despair.ChopShop.Perforce.md @@ -0,0 +1,153 @@ +# Despair.ChopShop.Perforce + +[Индекс](../API.md) + +## Despair.ChopShop.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.ChopShop.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.ChopShop.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.ChopShop.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.ChopShop.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.PlaybackToolbar.md b/docs/reference/Despair.ChopShop.PlaybackToolbar.md new file mode 100644 index 0000000..815c27f --- /dev/null +++ b/docs/reference/Despair.ChopShop.PlaybackToolbar.md @@ -0,0 +1,97 @@ +# Despair.ChopShop.PlaybackToolbar + +[Индекс](../API.md) + +## Despair.ChopShop.PlaybackToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.PlaybackToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.PlaybackToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.Properties.md b/docs/reference/Despair.ChopShop.Properties.md new file mode 100644 index 0000000..f10127f --- /dev/null +++ b/docs/reference/Despair.ChopShop.Properties.md @@ -0,0 +1,333 @@ +# Despair.ChopShop.Properties + +[Индекс](../API.md) + +## Despair.ChopShop.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.ChopShop.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.ChopShop.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.ChopShop.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.ChopShop.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.ChopShop.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.ChopShop.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.ChopShop.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.ChopShop.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.ChopShop.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.ResourceView.md b/docs/reference/Despair.ChopShop.ResourceView.md new file mode 100644 index 0000000..5509110 --- /dev/null +++ b/docs/reference/Despair.ChopShop.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.ChopShop.ResourceView + +[Индекс](../API.md) + +## Despair.ChopShop.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.ChopShop.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.ChopShop.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.ChopShop.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.ChopShop.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.ChopShop.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.ChopShop.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.ChopShop.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.ChopShop.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.ChopShop.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.ChopShop.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.ChopShop.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.ChopShop.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.SpeakerLayout.md b/docs/reference/Despair.ChopShop.SpeakerLayout.md new file mode 100644 index 0000000..38722d3 --- /dev/null +++ b/docs/reference/Despair.ChopShop.SpeakerLayout.md @@ -0,0 +1,227 @@ +# Despair.ChopShop.SpeakerLayout + +[Индекс](../API.md) + +## Despair.ChopShop.SpeakerLayout.Center + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the center speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the center speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.LFE + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the LFE speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the LFE speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.LeftFront + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the left front speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left front speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.LeftRear + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the left rear speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left rear speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.LeftSide + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the left side speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the left side speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.RightFront + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the right front speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right front speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.RightRear + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the right rear speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right rear speaker." +} +``` + +
+ +## Despair.ChopShop.SpeakerLayout.RightSide + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or Disables the right side speaker. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | On | Boolean to turn on or off speaker | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "On", + "@K[211]": "Boolean to turn on or off speaker" + } + }, + "@K[203]": "Enables or Disables the right side speaker." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.StandardToolbar.md b/docs/reference/Despair.ChopShop.StandardToolbar.md new file mode 100644 index 0000000..d1614ba --- /dev/null +++ b/docs/reference/Despair.ChopShop.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.ChopShop.StandardToolbar + +[Индекс](../API.md) + +## Despair.ChopShop.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.SubtitleView.Toolbar.md b/docs/reference/Despair.ChopShop.SubtitleView.Toolbar.md new file mode 100644 index 0000000..e2f5fec --- /dev/null +++ b/docs/reference/Despair.ChopShop.SubtitleView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.ChopShop.SubtitleView.Toolbar + +[Индекс](../API.md) + +## Despair.ChopShop.SubtitleView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.SubtitleView.md b/docs/reference/Despair.ChopShop.SubtitleView.md new file mode 100644 index 0000000..36f2f8c --- /dev/null +++ b/docs/reference/Despair.ChopShop.SubtitleView.md @@ -0,0 +1,287 @@ +# Despair.ChopShop.SubtitleView + +[Индекс](../API.md) + +## Despair.ChopShop.SubtitleView.AddSkipPoint + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a skip point to the specified track at the specified time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | +| 2.0 | Time | The time on the track | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Adds a skip point to the specified track at the specified time." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.AddSubtitle + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a subtitle to the specified track at the specified time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | +| 2.0 | Time | The time on the track | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Adds a subtitle to the specified track at the specified time." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.DeleteKeyFrame + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the keyframe at the track, and time specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | +| 2.0 | Time | The time on the track | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Deletes the keyframe at the track, and time specified." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.DeleteTrack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified track. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + } + }, + "@K[203]": "Deletes the specified track." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.MoveTrackTimeBegin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Moves the track time to the beginning. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Moves the track time to the beginning." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.MoveTrackTimeEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Moves the track time to the end. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Moves the track time to the end." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.MoveTrackTimeNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Increments the track time. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Increments the track time." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.MoveTrackTimePrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Decrements the track time. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Decrements the track time." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.SelectTrack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified track. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + } + }, + "@K[203]": "Selects the specified track." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.SelectTrackKeyFrame + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified keyframe on the specified track. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Index | The track number | +| 2.0 | Time | The time on the track | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Index", + "@K[211]": "The track number" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "The time on the track" + } + }, + "@K[203]": "Selects the specified keyframe on the specified track." +} +``` + +
+ +## Despair.ChopShop.SubtitleView.SetTrackTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the track time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Time | The desired time to set the track view | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Time", + "@K[211]": "The desired time to set the track view" + } + }, + "@K[203]": "Sets the track time." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.Views.md b/docs/reference/Despair.ChopShop.Views.md new file mode 100644 index 0000000..3846820 --- /dev/null +++ b/docs/reference/Despair.ChopShop.Views.md @@ -0,0 +1,171 @@ +# Despair.ChopShop.Views + +[Индекс](../API.md) + +## Despair.ChopShop.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.ChopShop.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.ChopShop.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.ChopShop.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.ChopShop.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.ChopShop.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.ChopShop.md b/docs/reference/Despair.ChopShop.md new file mode 100644 index 0000000..918ddf7 --- /dev/null +++ b/docs/reference/Despair.ChopShop.md @@ -0,0 +1,243 @@ +# Despair.ChopShop + +[Индекс](../API.md) + +## Despair.ChopShop.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.ChopShop.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.ChopShop.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.ChopShop.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.ChopShop.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.ChopShop.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.ChopShop.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.ChopShop.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.ChopShop.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Facade.AutomationUtility.md b/docs/reference/Despair.Facade.AutomationUtility.md new file mode 100644 index 0000000..c4b3f8f --- /dev/null +++ b/docs/reference/Despair.Facade.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Facade.AutomationUtility + +[Индекс](../API.md) + +## Despair.Facade.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Facade.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Facade.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Facade.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Facade.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Facade.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Facade.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Facade.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Facade.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Facade.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Facade.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Facade.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Facade.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Facade.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Facade.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Facade.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Facade.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Facade.Components.Toolbar.md b/docs/reference/Despair.Facade.Components.Toolbar.md new file mode 100644 index 0000000..488c076 --- /dev/null +++ b/docs/reference/Despair.Facade.Components.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Facade.Components.Toolbar + +[Индекс](../API.md) + +## Despair.Facade.Components.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.Components.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.Components.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Facade.Components.md b/docs/reference/Despair.Facade.Components.md new file mode 100644 index 0000000..1960f6c --- /dev/null +++ b/docs/reference/Despair.Facade.Components.md @@ -0,0 +1,149 @@ +# Despair.Facade.Components + +[Индекс](../API.md) + +## Despair.Facade.Components.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the specified item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of item to begin dragging. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of item to begin dragging." + } + }, + "@K[203]": "Begins a drag and drop operation on the specified item." +} +``` + +
+ +## Despair.Facade.Components.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Facade.Components.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Facade.Components.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Facade.Components.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Facade.Components.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Facade.Components.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Facade.DanglingResource.List.md b/docs/reference/Despair.Facade.DanglingResource.List.md new file mode 100644 index 0000000..e6029db --- /dev/null +++ b/docs/reference/Despair.Facade.DanglingResource.List.md @@ -0,0 +1,121 @@ +# Despair.Facade.DanglingResource.List + +[Индекс](../API.md) + +## Despair.Facade.DanglingResource.List.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Facade.DanglingResource.List.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Facade.DanglingResource.List.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Facade.DanglingResource.List.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Facade.DanglingResource.List.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Facade.DanglingResource.List.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Facade.DanglingResource.md b/docs/reference/Despair.Facade.DanglingResource.md new file mode 100644 index 0000000..e61e987 --- /dev/null +++ b/docs/reference/Despair.Facade.DanglingResource.md @@ -0,0 +1,71 @@ +# Despair.Facade.DanglingResource + +[Индекс](../API.md) + +## Despair.Facade.DanglingResource.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add missing contents to perforce source control. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Add missing contents to perforce source control." +} +``` + +
+ +## Despair.Facade.DanglingResource.CopyToClipboard + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Copy contents to clipboard. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Copy contents to clipboard." +} +``` + +
+ +## Despair.Facade.DanglingResource.Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Refresh the list of dangling contents. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Refresh the list of dangling contents." +} +``` + +
+ +## Despair.Facade.DanglingResource.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Facade.File.md b/docs/reference/Despair.Facade.File.md new file mode 100644 index 0000000..e09641f --- /dev/null +++ b/docs/reference/Despair.Facade.File.md @@ -0,0 +1,110 @@ +# Despair.Facade.File + +[Индекс](../API.md) + +## Despair.Facade.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.Facade.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new material. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new material." +} +``` + +
+ +## Despair.Facade.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the material specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the material that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the material that should be opened." + } + }, + "@K[203]": "Opens the material specified by Path." +} +``` + +
+ +## Despair.Facade.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.Facade.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the material. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the material." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.Facade.FlowView.md b/docs/reference/Despair.Facade.FlowView.md new file mode 100644 index 0000000..b8059b2 --- /dev/null +++ b/docs/reference/Despair.Facade.FlowView.md @@ -0,0 +1,734 @@ +# Despair.Facade.FlowView + +[Индекс](../API.md) + +## Despair.Facade.FlowView.AddComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a component of the specified type and names it the specified name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentType | Type of component to add. | +| 2.0 | @K[209] | Name of new component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentType", + "@K[211]": "Type of component to add." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of new component." + } + }, + "@K[203]": "Adds a component of the specified type and names it the specified name." +} +``` + +
+ +## Despair.Facade.FlowView.AddToExistingGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds selected component to the group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GroupName | Name of the group to add the selected component to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to add the selected component to" + } + }, + "@K[203]": "Adds selected component to the group" +} +``` + +
+ +## Despair.Facade.FlowView.AddToNewGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds selected component to the new group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GroupName | Name of the group to create and add selected component to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to create and add selected component to" + } + }, + "@K[203]": "Adds selected component to the new group" +} +``` + +
+ +## Despair.Facade.FlowView.CollapseGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Collapses specified group. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Group | Name of the group to collapse. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to collapse." + } + }, + "@K[203]": "Collapses specified group." +} +``` + +
+ +## Despair.Facade.FlowView.Color + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the color of the component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Red | Amount of red in color | +| 2.0 | Green | Amount of green in color | +| 3.0 | Blue | Amount of blue in color | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of red in color" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of green in color" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of blue in color" + } + }, + "@K[203]": "Changes the color of the component" +} +``` + +
+ +## Despair.Facade.FlowView.Comment + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Write Comments to The Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Comment | Comment for the component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Comment", + "@K[211]": "Comment for the component" + } + }, + "@K[203]": "Write Comments to The Component" +} +``` + +
+ +## Despair.Facade.FlowView.ConnectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Connects specified components at the specified link points. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OutputComponent | Name of the destination component. | +| 2.0 | OutputLink | Name of the destination link. | +| 3.0 | InputComponent | Name of the source component. | +| 4.0 | InputLink | Name of the source link. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OutputComponent", + "@K[211]": "Name of the destination component." + }, + "2.0": { + "@K[209]": "OutputLink", + "@K[211]": "Name of the destination link." + }, + "3.0": { + "@K[209]": "InputComponent", + "@K[211]": "Name of the source component." + }, + "4.0": { + "@K[209]": "InputLink", + "@K[211]": "Name of the source link." + } + }, + "@K[203]": "Connects specified components at the specified link points." +} +``` + +
+ +## Despair.Facade.FlowView.CurvedLines + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Displays link connections as curved lines + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays link connections as curved lines" +} +``` + +
+ +## Despair.Facade.FlowView.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes selected component from graph + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Removes selected component from graph" +} +``` + +
+ +## Despair.Facade.FlowView.DisconnectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Disconnects the specified component from the specified link point. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of the component to unhook. | +| 2.0 | Link | Name of the link to unhook. | +| 3.0 | IsOutput | Is this link an output link? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to unhook." + }, + "2.0": { + "@K[209]": "Link", + "@K[211]": "Name of the link to unhook." + }, + "3.0": { + "@K[209]": "IsOutput", + "@K[211]": "Is this link an output link?" + } + }, + "@K[203]": "Disconnects the specified component from the specified link point." +} +``` + +
+ +## Despair.Facade.FlowView.DropShadow + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles a component shadow in the view + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Toggles a component shadow in the view" +} +``` + +
+ +## Despair.Facade.FlowView.ExpandGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands specified group. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Group | Name of the group to expand. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to expand." + } + }, + "@K[203]": "Expands specified group." +} +``` + +
+ +## Despair.Facade.FlowView.ExportGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Exports the selected components group to the given filename + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | Name of the file to export to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to export to" + } + }, + "@K[203]": "Exports the selected components group to the given filename" +} +``` + +
+ +## Despair.Facade.FlowView.GetComponentItemValue + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the specified component property item as a string. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of component to get. | +| 2.0 | @K[95] | Name of property to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to get." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to get." + } + }, + "@K[203]": "Gets the specified component property item as a string." +} +``` + +
+ +## Despair.Facade.FlowView.GroupComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds specified group to the specified group. Creates group if needed. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of the component to group. | +| 2.0 | Group | Name of the group the component should be added to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to group." + }, + "2.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group the component should be added to." + } + }, + "@K[203]": "Adds specified group to the specified group. Creates group if needed." +} +``` + +
+ +## Despair.Facade.FlowView.Label + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the name of a components property + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OldName | Name of property to rename | +| 2.0 | NewName | New name for the property | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Name of property to rename" + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name for the property" + } + }, + "@K[203]": "Changes the name of a components property" +} +``` + +
+ +## Despair.Facade.FlowView.ModifyComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the specified component and property to the value given. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of component to modify. | +| 2.0 | @K[95] | Name of property to modify. | +| 3.0 | Value | New value for the specified property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to modify." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to modify." + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "New value for the specified property." + } + }, + "@K[203]": "Changes the specified component and property to the value given." +} +``` + +
+ +## Despair.Facade.FlowView.Name + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the name of the selected component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component" + } + }, + "@K[203]": "Changes the name of the selected component" +} +``` + +
+ +## Despair.Facade.FlowView.RemoveFromGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes component from its containing group + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Removes component from its containing group" +} +``` + +
+ +## Despair.Facade.FlowView.RenameSelected + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | New name for selected component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "New name for selected component" + } + }, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Facade.FlowView.SelectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects component with the sepcified name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of component to select. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of component to select." + } + }, + "@K[203]": "Selects component with the sepcified name." +} +``` + +
+ +## Despair.Facade.FlowView.SetAsDropTargetCentered + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Ends a drag and drop operation at a centered location of control. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Ends a drag and drop operation at a centered location of control." +} +``` + +
+ +## Despair.Facade.FlowView.SetAsDropTargetXY + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Ends a drag and drop operation at the specified location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | Local X coordinate to end dragging. | +| 2.0 | Y | Local Y coordinate to end dragging. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "Local X coordinate to end dragging." + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Local Y coordinate to end dragging." + } + }, + "@K[203]": "Ends a drag and drop operation at the specified location." +} +``` + +
+ +## Despair.Facade.FlowView.SetComponentPos + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Positions the component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component to position. | +| 2.0 | X | X axis position. | +| 3.0 | Y | Y axis positoin. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to position." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X axis position." + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y axis positoin." + } + }, + "@K[203]": "Positions the component." +} +``` + +
+ +## Despair.Facade.FlowView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Facade.FlowView.StraightLines + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Displays link connections as straight lines + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays link connections as straight lines" +} +``` + +
diff --git a/docs/reference/Despair.Facade.Keyboard.md b/docs/reference/Despair.Facade.Keyboard.md new file mode 100644 index 0000000..c6c2688 --- /dev/null +++ b/docs/reference/Despair.Facade.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Facade.Keyboard + +[Индекс](../API.md) + +## Despair.Facade.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Facade.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Facade.MaterialProperties.md b/docs/reference/Despair.Facade.MaterialProperties.md new file mode 100644 index 0000000..c415e7b --- /dev/null +++ b/docs/reference/Despair.Facade.MaterialProperties.md @@ -0,0 +1,333 @@ +# Despair.Facade.MaterialProperties + +[Индекс](../API.md) + +## Despair.Facade.MaterialProperties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Facade.MaterialProperties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Facade.MaterialProperties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Facade.MaterialProperties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Facade.MaterialProperties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Facade.MaterialProperties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Facade.MaterialProperties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Facade.MaterialProperties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelProperties.md b/docs/reference/Despair.Facade.ModelProperties.md new file mode 100644 index 0000000..410171e --- /dev/null +++ b/docs/reference/Despair.Facade.ModelProperties.md @@ -0,0 +1,333 @@ +# Despair.Facade.ModelProperties + +[Индекс](../API.md) + +## Despair.Facade.ModelProperties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Facade.ModelProperties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Facade.ModelProperties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Facade.ModelProperties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Facade.ModelProperties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Facade.ModelProperties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Facade.ModelProperties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Facade.ModelProperties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Facade.ModelProperties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.AmbientLight.md b/docs/reference/Despair.Facade.ModelView.AmbientLight.md new file mode 100644 index 0000000..87311c1 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.AmbientLight.md @@ -0,0 +1,123 @@ +# Despair.Facade.ModelView.AmbientLight + +[Индекс](../API.md) + +## Despair.Facade.ModelView.AmbientLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetAmbientEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetDirectionalEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetIntensity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetParticleColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetSkyColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetSpecularity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetSunColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.AmbientLight.SetSunDirection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.Camera.md b/docs/reference/Despair.Facade.ModelView.Camera.md new file mode 100644 index 0000000..0a8d747 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.Camera.md @@ -0,0 +1,243 @@ +# Despair.Facade.ModelView.Camera + +[Индекс](../API.md) + +## Despair.Facade.ModelView.Camera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetDepthOfFieldEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFarBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFarBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFocalDepth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetFocalWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetMoveWithFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetNearBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetNearBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetUseControllerInput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Camera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.Fog.md b/docs/reference/Despair.Facade.ModelView.Fog.md new file mode 100644 index 0000000..fe7cebc --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.Fog.md @@ -0,0 +1,99 @@ +# Despair.Facade.ModelView.Fog + +[Индекс](../API.md) + +## Despair.Facade.ModelView.Fog.SetBottom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetStart + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetTop + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Fog.SetType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.Grid.md b/docs/reference/Despair.Facade.ModelView.Grid.md new file mode 100644 index 0000000..75d16cd --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.Grid.md @@ -0,0 +1,51 @@ +# Despair.Facade.ModelView.Grid + +[Индекс](../API.md) + +## Despair.Facade.ModelView.Grid.SetAxisEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Grid.SetCellSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Grid.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Grid.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.Options.md b/docs/reference/Despair.Facade.ModelView.Options.md new file mode 100644 index 0000000..f54d354 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.Options.md @@ -0,0 +1,147 @@ +# Despair.Facade.ModelView.Options + +[Индекс](../API.md) + +## Despair.Facade.ModelView.Options.SetAdaptLuminanceEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetAdaptionExposure + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetAdaptionMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetAdaptionMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetAdaptionTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetBloomScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetBrightMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetBrightMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetHdrEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetShadowEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetToneScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.Options.SetWireframeEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.PointLight.md b/docs/reference/Despair.Facade.ModelView.PointLight.md new file mode 100644 index 0000000..13c3f47 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.PointLight.md @@ -0,0 +1,63 @@ +# Despair.Facade.ModelView.PointLight + +[Индекс](../API.md) + +## Despair.Facade.ModelView.PointLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.PointLight.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.PointLight.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.PointLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.PointLight.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.SkyDome.md b/docs/reference/Despair.Facade.ModelView.SkyDome.md new file mode 100644 index 0000000..16d41b2 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.SkyDome.md @@ -0,0 +1,27 @@ +# Despair.Facade.ModelView.SkyDome + +[Индекс](../API.md) + +## Despair.Facade.ModelView.SkyDome.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Facade.ModelView.SkyDome.SetModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.Toolbar.md b/docs/reference/Despair.Facade.ModelView.Toolbar.md new file mode 100644 index 0000000..5a8b44a --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Facade.ModelView.Toolbar + +[Индекс](../API.md) + +## Despair.Facade.ModelView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.ModelView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.ModelView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Facade.ModelView.md b/docs/reference/Despair.Facade.ModelView.md new file mode 100644 index 0000000..4fb2b61 --- /dev/null +++ b/docs/reference/Despair.Facade.ModelView.md @@ -0,0 +1,59 @@ +# Despair.Facade.ModelView + +[Индекс](../API.md) + +## Despair.Facade.ModelView.LoadModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Loads and Displays a model. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the model | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the model" + } + }, + "@K[203]": "Loads and Displays a model." +} +``` + +
+ +## Despair.Facade.ModelView.ShowModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Loads if necessary and Displays the currently loaded custom model. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the model | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the model" + } + }, + "@K[203]": "Loads if necessary and Displays the currently loaded custom model." +} +``` + +
diff --git a/docs/reference/Despair.Facade.Mouse.md b/docs/reference/Despair.Facade.Mouse.md new file mode 100644 index 0000000..9b40438 --- /dev/null +++ b/docs/reference/Despair.Facade.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Facade.Mouse + +[Индекс](../API.md) + +## Despair.Facade.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Facade.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Facade.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Facade.OS.md b/docs/reference/Despair.Facade.OS.md new file mode 100644 index 0000000..769e6c1 --- /dev/null +++ b/docs/reference/Despair.Facade.OS.md @@ -0,0 +1,162 @@ +# Despair.Facade.OS + +[Индекс](../API.md) + +## Despair.Facade.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Facade.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Facade.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Facade.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Facade.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Facade.Perforce.md b/docs/reference/Despair.Facade.Perforce.md new file mode 100644 index 0000000..5516c89 --- /dev/null +++ b/docs/reference/Despair.Facade.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Facade.Perforce + +[Индекс](../API.md) + +## Despair.Facade.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Facade.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Facade.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Facade.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Facade.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Facade.ResourceView.md b/docs/reference/Despair.Facade.ResourceView.md new file mode 100644 index 0000000..84a4cce --- /dev/null +++ b/docs/reference/Despair.Facade.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Facade.ResourceView + +[Индекс](../API.md) + +## Despair.Facade.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Facade.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Facade.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Facade.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Facade.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Facade.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Facade.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Facade.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Facade.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Facade.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Facade.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Facade.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Facade.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Facade.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Facade.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Facade.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Facade.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Facade.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Facade.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Facade.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Facade.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Facade.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Facade.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Facade.StandardToolbar.md b/docs/reference/Despair.Facade.StandardToolbar.md new file mode 100644 index 0000000..7344442 --- /dev/null +++ b/docs/reference/Despair.Facade.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Facade.StandardToolbar + +[Индекс](../API.md) + +## Despair.Facade.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Facade.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Facade.Views.md b/docs/reference/Despair.Facade.Views.md new file mode 100644 index 0000000..d8ee32a --- /dev/null +++ b/docs/reference/Despair.Facade.Views.md @@ -0,0 +1,171 @@ +# Despair.Facade.Views + +[Индекс](../API.md) + +## Despair.Facade.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Facade.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Facade.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Facade.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Facade.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Facade.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Facade.md b/docs/reference/Despair.Facade.md new file mode 100644 index 0000000..ba4f0da --- /dev/null +++ b/docs/reference/Despair.Facade.md @@ -0,0 +1,299 @@ +# Despair.Facade + +[Индекс](../API.md) + +## Despair.Facade.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Facade.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Facade.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Facade.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Facade.LoadEnvironmentPreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[213] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[212] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" +} +``` + +
+ +## Despair.Facade.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Facade.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Facade.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Facade.SaveEnvironmentPreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[216] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[215] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" +} +``` + +
+ +## Despair.Facade.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Facade.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.AutomationUtility.md b/docs/reference/Despair.FontMaker.AutomationUtility.md new file mode 100644 index 0000000..6256836 --- /dev/null +++ b/docs/reference/Despair.FontMaker.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.FontMaker.AutomationUtility + +[Индекс](../API.md) + +## Despair.FontMaker.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.FontMaker.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.File.md b/docs/reference/Despair.FontMaker.File.md new file mode 100644 index 0000000..52d6d67 --- /dev/null +++ b/docs/reference/Despair.FontMaker.File.md @@ -0,0 +1,210 @@ +# Despair.FontMaker.File + +[Индекс](../API.md) + +## Despair.FontMaker.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the currently selected file. Note: does not respect the Path parameter yet! + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename of the font that should be closed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the font that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" +} +``` + +
+ +## Despair.FontMaker.File.CloseAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes all the currently opened files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." +} +``` + +
+ +## Despair.FontMaker.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new font file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Unused | This parameter is currently but is required. Please use "". | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + } + }, + "@K[203]": "Creates a new font file." +} +``` + +
+ +## Despair.FontMaker.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the font specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the font that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the font that should be opened." + } + }, + "@K[203]": "Opens the font specified by Path." +} +``` + +
+ +## Despair.FontMaker.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Unused | This parameter is currently but is required. Please use "". | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + } + }, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.FontMaker.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Unused | This parameter is currently but is required. Please use "". | +| 2.0 | @K[249] | Path and filename that should be used for saving the font. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "This parameter is currently but is required. Please use \"\"." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the font." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." +} +``` + +
+ +## Despair.FontMaker.File.SaveBinary + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as a binary font using the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the font. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the font." + } + }, + "@K[203]": "Saves the currently selected file as a binary font using the name specified." +} +``` + +
+ +## Despair.FontMaker.File.Validate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Validate the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.GrabberToolbar.md b/docs/reference/Despair.FontMaker.GrabberToolbar.md new file mode 100644 index 0000000..b4869f4 --- /dev/null +++ b/docs/reference/Despair.FontMaker.GrabberToolbar.md @@ -0,0 +1,97 @@ +# Despair.FontMaker.GrabberToolbar + +[Индекс](../API.md) + +## Despair.FontMaker.GrabberToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.FontMaker.GrabberToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.FontMaker.GrabberToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.OS.md b/docs/reference/Despair.FontMaker.OS.md new file mode 100644 index 0000000..db7749b --- /dev/null +++ b/docs/reference/Despair.FontMaker.OS.md @@ -0,0 +1,162 @@ +# Despair.FontMaker.OS + +[Индекс](../API.md) + +## Despair.FontMaker.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.FontMaker.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.FontMaker.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.FontMaker.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.FontMaker.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.Perforce.md b/docs/reference/Despair.FontMaker.Perforce.md new file mode 100644 index 0000000..c8200bf --- /dev/null +++ b/docs/reference/Despair.FontMaker.Perforce.md @@ -0,0 +1,153 @@ +# Despair.FontMaker.Perforce + +[Индекс](../API.md) + +## Despair.FontMaker.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.FontMaker.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.FontMaker.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.FontMaker.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.FontMaker.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.Property.md b/docs/reference/Despair.FontMaker.Property.md new file mode 100644 index 0000000..9145503 --- /dev/null +++ b/docs/reference/Despair.FontMaker.Property.md @@ -0,0 +1,333 @@ +# Despair.FontMaker.Property + +[Индекс](../API.md) + +## Despair.FontMaker.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.FontMaker.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.FontMaker.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.FontMaker.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.FontMaker.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.FontMaker.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.FontMaker.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.FontMaker.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.FontMaker.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.FontMaker.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.FontMaker.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.FontMaker.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.FontMaker.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.FontMaker.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.FontMaker.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.ResourceView.md b/docs/reference/Despair.FontMaker.ResourceView.md new file mode 100644 index 0000000..2add7a7 --- /dev/null +++ b/docs/reference/Despair.FontMaker.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.FontMaker.ResourceView + +[Индекс](../API.md) + +## Despair.FontMaker.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.FontMaker.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.FontMaker.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.FontMaker.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.FontMaker.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.FontMaker.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.FontMaker.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.FontMaker.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.FontMaker.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.FontMaker.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.FontMaker.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.FontMaker.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.FontMaker.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.StandardToolbar.md b/docs/reference/Despair.FontMaker.StandardToolbar.md new file mode 100644 index 0000000..de80d2c --- /dev/null +++ b/docs/reference/Despair.FontMaker.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.FontMaker.StandardToolbar + +[Индекс](../API.md) + +## Despair.FontMaker.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.FontMaker.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.FontMaker.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.Views.md b/docs/reference/Despair.FontMaker.Views.md new file mode 100644 index 0000000..85bdf87 --- /dev/null +++ b/docs/reference/Despair.FontMaker.Views.md @@ -0,0 +1,171 @@ +# Despair.FontMaker.Views + +[Индекс](../API.md) + +## Despair.FontMaker.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.FontMaker.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.FontMaker.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.FontMaker.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.FontMaker.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.FontMaker.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.FontMaker.md b/docs/reference/Despair.FontMaker.md new file mode 100644 index 0000000..eeedebf --- /dev/null +++ b/docs/reference/Despair.FontMaker.md @@ -0,0 +1,500 @@ +# Despair.FontMaker + +[Индекс](../API.md) + +## Despair.FontMaker.CreateFont + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.FontMaker.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.FontMaker.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.FontMaker.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.FontMaker.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.FontMaker.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.FontMaker.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.FontMaker.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.FontMaker.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.FontMaker.SetCharSet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetClipPrecision + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetDirectoryName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetEscape + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetHeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetItalic + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetOrientation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetOutPrecision + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetPitchAndFamily + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetPointSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetQuality + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetResolution + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetSpacing + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetStrikeOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetStyle + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetUnderline + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetUsage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetWeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.SetWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.FontMaker.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Forge.AutomationUtility.md b/docs/reference/Despair.Forge.AutomationUtility.md new file mode 100644 index 0000000..d30c085 --- /dev/null +++ b/docs/reference/Despair.Forge.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Forge.AutomationUtility + +[Индекс](../API.md) + +## Despair.Forge.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Forge.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Forge.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Forge.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Forge.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Forge.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Forge.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Forge.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Forge.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Forge.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Forge.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Forge.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Forge.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Forge.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Forge.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Forge.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Forge.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ComponentView.List.md b/docs/reference/Despair.Forge.ComponentView.List.md new file mode 100644 index 0000000..1cc7d91 --- /dev/null +++ b/docs/reference/Despair.Forge.ComponentView.List.md @@ -0,0 +1,121 @@ +# Despair.Forge.ComponentView.List + +[Индекс](../API.md) + +## Despair.Forge.ComponentView.List.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Forge.ComponentView.List.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Forge.ComponentView.List.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Forge.ComponentView.List.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Forge.ComponentView.List.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Forge.ComponentView.List.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ComponentView.Toolbar.md b/docs/reference/Despair.Forge.ComponentView.Toolbar.md new file mode 100644 index 0000000..67b44ec --- /dev/null +++ b/docs/reference/Despair.Forge.ComponentView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Forge.ComponentView.Toolbar + +[Индекс](../API.md) + +## Despair.Forge.ComponentView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.ComponentView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.ComponentView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ComponentView.Tree.md b/docs/reference/Despair.Forge.ComponentView.Tree.md new file mode 100644 index 0000000..e7edff6 --- /dev/null +++ b/docs/reference/Despair.Forge.ComponentView.Tree.md @@ -0,0 +1,172 @@ +# Despair.Forge.ComponentView.Tree + +[Индекс](../API.md) + +## Despair.Forge.ComponentView.Tree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.ComponentView.Tree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.File.md b/docs/reference/Despair.Forge.File.md new file mode 100644 index 0000000..7712cc8 --- /dev/null +++ b/docs/reference/Despair.Forge.File.md @@ -0,0 +1,177 @@ +# Despair.Forge.File + +[Индекс](../API.md) + +## Despair.Forge.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the currently selected file. Note: does not respect the Path parameter yet! + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename of the object that should be closed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the object that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" +} +``` + +
+ +## Despair.Forge.File.CloseAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes all the currently opened files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." +} +``` + +
+ +## Despair.Forge.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Unused | Currently not used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Unused", + "@K[211]": "Currently not used" + } + }, + "@K[203]": "Creates a new file. " +} +``` + +
+ +## Despair.Forge.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the object specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the object that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the object that should be opened." + } + }, + "@K[203]": "Opens the object specified by Path." +} +``` + +
+ +## Despair.Forge.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the object. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the object." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" +} +``` + +
+ +## Despair.Forge.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the object. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the object." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." +} +``` + +
+ +## Despair.Forge.File.Validate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Validate the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." +} +``` + +
diff --git a/docs/reference/Despair.Forge.Keyboard.md b/docs/reference/Despair.Forge.Keyboard.md new file mode 100644 index 0000000..1d81cad --- /dev/null +++ b/docs/reference/Despair.Forge.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Forge.Keyboard + +[Индекс](../API.md) + +## Despair.Forge.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Forge.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.AmbientLight.md b/docs/reference/Despair.Forge.ModelView.AmbientLight.md new file mode 100644 index 0000000..3a3e932 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.AmbientLight.md @@ -0,0 +1,123 @@ +# Despair.Forge.ModelView.AmbientLight + +[Индекс](../API.md) + +## Despair.Forge.ModelView.AmbientLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetAmbientEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetDirectionalEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetIntensity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetParticleColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetSkyColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetSpecularity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetSunColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.AmbientLight.SetSunDirection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.Camera.md b/docs/reference/Despair.Forge.ModelView.Camera.md new file mode 100644 index 0000000..7cd41b1 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.Camera.md @@ -0,0 +1,243 @@ +# Despair.Forge.ModelView.Camera + +[Индекс](../API.md) + +## Despair.Forge.ModelView.Camera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetDepthOfFieldEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFarBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFarBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFocalDepth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetFocalWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetMoveWithFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetNearBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetNearBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetUseControllerInput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Camera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.Fog.md b/docs/reference/Despair.Forge.ModelView.Fog.md new file mode 100644 index 0000000..e1d5c05 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.Fog.md @@ -0,0 +1,99 @@ +# Despair.Forge.ModelView.Fog + +[Индекс](../API.md) + +## Despair.Forge.ModelView.Fog.SetBottom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetStart + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetTop + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Fog.SetType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.Grid.md b/docs/reference/Despair.Forge.ModelView.Grid.md new file mode 100644 index 0000000..0ab4bb0 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.Grid.md @@ -0,0 +1,51 @@ +# Despair.Forge.ModelView.Grid + +[Индекс](../API.md) + +## Despair.Forge.ModelView.Grid.SetAxisEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Grid.SetCellSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Grid.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Grid.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.Options.md b/docs/reference/Despair.Forge.ModelView.Options.md new file mode 100644 index 0000000..ec7d495 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.Options.md @@ -0,0 +1,147 @@ +# Despair.Forge.ModelView.Options + +[Индекс](../API.md) + +## Despair.Forge.ModelView.Options.SetAdaptLuminanceEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetAdaptionExposure + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetAdaptionMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetAdaptionMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetAdaptionTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetBloomScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetBrightMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetBrightMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetHdrEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetShadowEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetToneScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.Options.SetWireframeEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.PointLight.md b/docs/reference/Despair.Forge.ModelView.PointLight.md new file mode 100644 index 0000000..4416b25 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.PointLight.md @@ -0,0 +1,63 @@ +# Despair.Forge.ModelView.PointLight + +[Индекс](../API.md) + +## Despair.Forge.ModelView.PointLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.PointLight.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.PointLight.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.PointLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.PointLight.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.ScreenShot.md b/docs/reference/Despair.Forge.ModelView.ScreenShot.md new file mode 100644 index 0000000..ab00838 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.ScreenShot.md @@ -0,0 +1,63 @@ +# Despair.Forge.ModelView.ScreenShot + +[Индекс](../API.md) + +## Despair.Forge.ModelView.ScreenShot.Capture + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.ScreenShot.SetImageDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.ScreenShot.SetImageHeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.ScreenShot.SetImageName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.ScreenShot.SetImageWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.SkyDome.md b/docs/reference/Despair.Forge.ModelView.SkyDome.md new file mode 100644 index 0000000..8f0dae6 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.SkyDome.md @@ -0,0 +1,27 @@ +# Despair.Forge.ModelView.SkyDome + +[Индекс](../API.md) + +## Despair.Forge.ModelView.SkyDome.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Forge.ModelView.SkyDome.SetModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.Toolbar.md b/docs/reference/Despair.Forge.ModelView.Toolbar.md new file mode 100644 index 0000000..a966781 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Forge.ModelView.Toolbar + +[Индекс](../API.md) + +## Despair.Forge.ModelView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.ModelView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.ModelView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ModelView.md b/docs/reference/Despair.Forge.ModelView.md new file mode 100644 index 0000000..a4f6c54 --- /dev/null +++ b/docs/reference/Despair.Forge.ModelView.md @@ -0,0 +1,20 @@ +# Despair.Forge.ModelView + +[Индекс](../API.md) + +## Despair.Forge.ModelView.GetPhysicsBounds + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get Physics Bounds Of Current dsObject + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get Physics Bounds Of Current dsObject" +} +``` + +
diff --git a/docs/reference/Despair.Forge.Mouse.md b/docs/reference/Despair.Forge.Mouse.md new file mode 100644 index 0000000..0aaf6b3 --- /dev/null +++ b/docs/reference/Despair.Forge.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Forge.Mouse + +[Индекс](../API.md) + +## Despair.Forge.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Forge.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Forge.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Forge.OS.md b/docs/reference/Despair.Forge.OS.md new file mode 100644 index 0000000..54cf532 --- /dev/null +++ b/docs/reference/Despair.Forge.OS.md @@ -0,0 +1,162 @@ +# Despair.Forge.OS + +[Индекс](../API.md) + +## Despair.Forge.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Forge.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Forge.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Forge.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Forge.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Forge.Perforce.md b/docs/reference/Despair.Forge.Perforce.md new file mode 100644 index 0000000..4202670 --- /dev/null +++ b/docs/reference/Despair.Forge.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Forge.Perforce + +[Индекс](../API.md) + +## Despair.Forge.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Forge.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Forge.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Forge.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Forge.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Forge.ResourceView.md b/docs/reference/Despair.Forge.ResourceView.md new file mode 100644 index 0000000..d3574dc --- /dev/null +++ b/docs/reference/Despair.Forge.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Forge.ResourceView + +[Индекс](../API.md) + +## Despair.Forge.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Forge.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Forge.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Forge.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Forge.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Forge.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Forge.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Forge.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Forge.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Forge.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Forge.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Forge.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Forge.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Forge.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Forge.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Forge.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Forge.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Forge.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Forge.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Forge.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Forge.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Forge.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Forge.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Forge.StandardToolbar.md b/docs/reference/Despair.Forge.StandardToolbar.md new file mode 100644 index 0000000..a6717cf --- /dev/null +++ b/docs/reference/Despair.Forge.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Forge.StandardToolbar + +[Индекс](../API.md) + +## Despair.Forge.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.ComponentTree.md b/docs/reference/Despair.Forge.TemplateView.ComponentTree.md new file mode 100644 index 0000000..164f7a6 --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.ComponentTree.md @@ -0,0 +1,172 @@ +# Despair.Forge.TemplateView.ComponentTree + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.ComponentTree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.ComponentTree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.Property.md b/docs/reference/Despair.Forge.TemplateView.Property.md new file mode 100644 index 0000000..20b3882 --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.Property.md @@ -0,0 +1,333 @@ +# Despair.Forge.TemplateView.Property + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Forge.TemplateView.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Forge.TemplateView.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Forge.TemplateView.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Forge.TemplateView.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.RigidBodyTree.md b/docs/reference/Despair.Forge.TemplateView.RigidBodyTree.md new file mode 100644 index 0000000..098d5f5 --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.RigidBodyTree.md @@ -0,0 +1,172 @@ +# Despair.Forge.TemplateView.RigidBodyTree + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.RigidBodyTree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.RigidBodyTree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.SceneTree.md b/docs/reference/Despair.Forge.TemplateView.SceneTree.md new file mode 100644 index 0000000..0748274 --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.SceneTree.md @@ -0,0 +1,172 @@ +# Despair.Forge.TemplateView.SceneTree + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.SceneTree.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Forge.TemplateView.SceneTree.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.Toolbar.md b/docs/reference/Despair.Forge.TemplateView.Toolbar.md new file mode 100644 index 0000000..3cbb8d1 --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Forge.TemplateView.Toolbar + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.TemplateView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Forge.TemplateView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Forge.TemplateView.md b/docs/reference/Despair.Forge.TemplateView.md new file mode 100644 index 0000000..7dfcc6a --- /dev/null +++ b/docs/reference/Despair.Forge.TemplateView.md @@ -0,0 +1,165 @@ +# Despair.Forge.TemplateView + +[Индекс](../API.md) + +## Despair.Forge.TemplateView.AddComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add specified component to the current object file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component to add. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to add." + } + }, + "@K[203]": "Add specified component to the current object file." +} +``` + +
+ +## Despair.Forge.TemplateView.AddTemplate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the specified template. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the template. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the template." + } + }, + "@K[203]": "Adds the specified template." +} +``` + +
+ +## Despair.Forge.TemplateView.GetObjectPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets selected components dsObject Path. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets selected components dsObject Path." +} +``` + +
+ +## Despair.Forge.TemplateView.RemoveComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes specified component from the current object file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component to remove. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to remove." + } + }, + "@K[203]": "Removes specified component from the current object file." +} +``` + +
+ +## Despair.Forge.TemplateView.RenameComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rename specified component in the current object file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OldName | Old name of the component. | +| 2.0 | NewName | New name of the component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Old name of the component." + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name of the component." + } + }, + "@K[203]": "Rename specified component in the current object file." +} +``` + +
+ +## Despair.Forge.TemplateView.Unlock + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unlocks specified component from the current object file. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component to Unlock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to Unlock." + } + }, + "@K[203]": "Unlocks specified component from the current object file." +} +``` + +
diff --git a/docs/reference/Despair.Forge.Views.md b/docs/reference/Despair.Forge.Views.md new file mode 100644 index 0000000..1858b2b --- /dev/null +++ b/docs/reference/Despair.Forge.Views.md @@ -0,0 +1,171 @@ +# Despair.Forge.Views + +[Индекс](../API.md) + +## Despair.Forge.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Forge.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Forge.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Forge.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Forge.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Forge.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Forge.md b/docs/reference/Despair.Forge.md new file mode 100644 index 0000000..2e6a80e --- /dev/null +++ b/docs/reference/Despair.Forge.md @@ -0,0 +1,271 @@ +# Despair.Forge + +[Индекс](../API.md) + +## Despair.Forge.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Forge.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Forge.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Forge.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Forge.ListComponents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints a list of all registered empire components. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the file that we be generated. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the file that we be generated." + } + }, + "@K[203]": "Prints a list of all registered empire components." +} +``` + +
+ +## Despair.Forge.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Forge.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Forge.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Forge.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Forge.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.ActionsToolbar.md b/docs/reference/Despair.Landscape.ActionsToolbar.md new file mode 100644 index 0000000..9636a13 --- /dev/null +++ b/docs/reference/Despair.Landscape.ActionsToolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.ActionsToolbar + +[Индекс](../API.md) + +## Despair.Landscape.ActionsToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.ActionsToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.ActionsToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.AutomationUtility.md b/docs/reference/Despair.Landscape.AutomationUtility.md new file mode 100644 index 0000000..cfd94a0 --- /dev/null +++ b/docs/reference/Despair.Landscape.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Landscape.AutomationUtility + +[Индекс](../API.md) + +## Despair.Landscape.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Landscape.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Landscape.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Landscape.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Dialog.md b/docs/reference/Despair.Landscape.Dialog.md new file mode 100644 index 0000000..bbeaa51 --- /dev/null +++ b/docs/reference/Despair.Landscape.Dialog.md @@ -0,0 +1,564 @@ +# Despair.Landscape.Dialog + +[Индекс](../API.md) + +## Despair.Landscape.Dialog.AddBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddComboFieldItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddSliderField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.AddVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.ClearComboFieldItems + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.CreateDialogBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.EditSelection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.GetVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.InputBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.MessageBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.OffsetSelection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetBooleanField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetColorField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetComboField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetFloatField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetResourceField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetStringField + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetVector3Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.SetVector4Field + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Dialog.ShowDialogBox + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Document.Objects.md b/docs/reference/Despair.Landscape.Document.Objects.md new file mode 100644 index 0000000..0722c3f --- /dev/null +++ b/docs/reference/Despair.Landscape.Document.Objects.md @@ -0,0 +1,266 @@ +# Despair.Landscape.Document.Objects + +[Индекс](../API.md) + +## Despair.Landscape.Document.Objects.GetObject + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get an Object in a world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | worldName | The world in which the object lives | +| 2.0 | objectName | The object to get | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The world in which the object lives" + }, + "2.0": { + "@K[209]": "objectName", + "@K[211]": "The object to get" + } + }, + "@K[203]": "Get an Object in a world." +} +``` + +
+ +## Despair.Landscape.Document.Objects.GetObjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get name of object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting its name | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting its name" + } + }, + "@K[203]": "Get name of object" +} +``` + +
+ +## Despair.Landscape.Document.Objects.GetObjectPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get position of object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting position | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting position" + } + }, + "@K[203]": "Get position of object" +} +``` + +
+ +## Despair.Landscape.Document.Objects.GetObjectResourcePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Attempts to find a given object in the current selected world and return its resource path. Returns empty string on failure + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | objectName | The object to get it's resource path | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object to get it's resource path" + } + }, + "@K[203]": "Attempts to find a given object in the current selected world and return its resource path. Returns empty string on failure" +} +``` + +
+ +## Despair.Landscape.Document.Objects.GetObjectsInWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets all objects in a world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | worldName | The world in which the objects live | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The world in which the objects live" + } + }, + "@K[203]": "Gets all objects in a world." +} +``` + +
+ +## Despair.Landscape.Document.Objects.GetSelectedObjects + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get all selected objects in the 3d view + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get all selected objects in the 3d view" +} +``` + +
+ +## Despair.Landscape.Document.Objects.ObjectHasDoor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +returns 1 if object has a door component, 0 else, -1 if unknown + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | objectName | The object | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object" + } + }, + "@K[203]": "returns 1 if object has a door component, 0 else, -1 if unknown" +} +``` + +
+ +## Despair.Landscape.Document.Objects.ObjectHasPosRot + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the object has a PosRotComponent + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the object has a PosRotComponent" +} +``` + +
+ +## Despair.Landscape.Document.Objects.ResetObjectDoorBlocker + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +returns 1 if object door component blocker was reset, 0 else + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | objectName | The object | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object" + } + }, + "@K[203]": "returns 1 if object door component blocker was reset, 0 else" +} +``` + +
+ +## Despair.Landscape.Document.Objects.SelectObject + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects if present the object in the selected world + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | objectName | The object to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "objectName", + "@K[211]": "The object to select" + } + }, + "@K[203]": "Selects if present the object in the selected world" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Document.Worlds.md b/docs/reference/Despair.Landscape.Document.Worlds.md new file mode 100644 index 0000000..018a36c --- /dev/null +++ b/docs/reference/Despair.Landscape.Document.Worlds.md @@ -0,0 +1,86 @@ +# Despair.Landscape.Document.Worlds + +[Индекс](../API.md) + +## Despair.Landscape.Document.Worlds.AddObject + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add Object to a world, returns object name - AddObject(MyWorld, MyGroup/MyGroup, /Objects/GameObjects/MyObject.dsObject) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | worldName | The desired world to add the object | +| 2.0 | groupPath | The desired group to add the object | +| 3.0 | objectPath | The object to add into the world | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "worldName", + "@K[211]": "The desired world to add the object" + }, + "2.0": { + "@K[209]": "groupPath", + "@K[211]": "The desired group to add the object" + }, + "3.0": { + "@K[209]": "objectPath", + "@K[211]": "The object to add into the world" + } + }, + "@K[203]": "Add Object to a world, returns object name - AddObject(MyWorld, MyGroup/MyGroup, /Objects/GameObjects/MyObject.dsObject)" +} +``` + +
+ +## Despair.Landscape.Document.Worlds.AddObjectSelectedGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add Object to a world, returns object name - AddObject(/Objects/GameObjects/MyObject.dsObject) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | objectPath | The object to add into the world | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "objectPath", + "@K[211]": "The object to add into the world" + } + }, + "@K[203]": "Add Object to a world, returns object name - AddObject(/Objects/GameObjects/MyObject.dsObject)" +} +``` + +
+ +## Despair.Landscape.Document.Worlds.GetWorlds + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Get all loaded world names + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get all loaded world names" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Document.md b/docs/reference/Despair.Landscape.Document.md new file mode 100644 index 0000000..6986fca --- /dev/null +++ b/docs/reference/Despair.Landscape.Document.md @@ -0,0 +1,37 @@ +# Despair.Landscape.Document + +[Индекс](../API.md) + +## Despair.Landscape.Document.EditSelectedCallback + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Document.EditSelectedPassThru + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.EditModeToolbar.md b/docs/reference/Despair.Landscape.EditModeToolbar.md new file mode 100644 index 0000000..6d14a45 --- /dev/null +++ b/docs/reference/Despair.Landscape.EditModeToolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.EditModeToolbar + +[Индекс](../API.md) + +## Despair.Landscape.EditModeToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.EditModeToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.EditModeToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.File.md b/docs/reference/Despair.Landscape.File.md new file mode 100644 index 0000000..d1676a6 --- /dev/null +++ b/docs/reference/Despair.Landscape.File.md @@ -0,0 +1,194 @@ +# Despair.Landscape.File + +[Индекс](../API.md) + +## Despair.Landscape.File.ClearModified + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clear Modified flag of current world. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Clear Modified flag of current world." +} +``` + +
+ +## Despair.Landscape.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the world specified by Path + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename of the world that should be closed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the world that should be closed." + } + }, + "@K[203]": "Closes the world specified by Path" +} +``` + +
+ +## Despair.Landscape.File.CloseAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes all the currently opened files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." +} +``` + +
+ +## Despair.Landscape.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Elements | Comma separated list of elements that should included in this new world. Valid values are:
Navmap
Lighting | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Elements", + "@K[211]": "Comma separated list of elements that should included in this new world. Valid values are:\n\tNavmap\n\tLighting" + } + }, + "@K[203]": "Creates a new world." +} +``` + +
+ +## Despair.Landscape.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the world specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the world that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the world that should be opened." + } + }, + "@K[203]": "Opens the world specified by Path." +} +``` + +
+ +## Despair.Landscape.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the world. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the world." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" +} +``` + +
+ +## Despair.Landscape.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the world. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the world." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." +} +``` + +
+ +## Despair.Landscape.File.Validate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Validate the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Function.Toolbar.md b/docs/reference/Despair.Landscape.Function.Toolbar.md new file mode 100644 index 0000000..b4ed9e0 --- /dev/null +++ b/docs/reference/Despair.Landscape.Function.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.Function.Toolbar + +[Индекс](../API.md) + +## Despair.Landscape.Function.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.Function.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.Function.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Function.md b/docs/reference/Despair.Landscape.Function.md new file mode 100644 index 0000000..edd01e5 --- /dev/null +++ b/docs/reference/Despair.Landscape.Function.md @@ -0,0 +1,350 @@ +# Despair.Landscape.Function + +[Индекс](../API.md) + +## Despair.Landscape.Function.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Function.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Landscape.Function.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Landscape.Function.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Function.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.Function.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Landscape.Function.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.Function.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Landscape.Function.SelectFunction + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.Function.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Function.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Landscape.Function.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Landscape.Function.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Landscape.Function.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Landscape.Function.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Landscape.Function.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Keyboard.md b/docs/reference/Despair.Landscape.Keyboard.md new file mode 100644 index 0000000..3ad6c53 --- /dev/null +++ b/docs/reference/Despair.Landscape.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Landscape.Keyboard + +[Индекс](../API.md) + +## Despair.Landscape.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Landscape.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.LightList.md b/docs/reference/Despair.Landscape.LightList.md new file mode 100644 index 0000000..fc9574f --- /dev/null +++ b/docs/reference/Despair.Landscape.LightList.md @@ -0,0 +1,20 @@ +# Despair.Landscape.LightList + +[Индекс](../API.md) + +## Despair.Landscape.LightList.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Mouse.md b/docs/reference/Despair.Landscape.Mouse.md new file mode 100644 index 0000000..f59eaa9 --- /dev/null +++ b/docs/reference/Despair.Landscape.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Landscape.Mouse + +[Индекс](../API.md) + +## Despair.Landscape.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Landscape.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Landscape.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.NavMap.Property.md b/docs/reference/Despair.Landscape.NavMap.Property.md new file mode 100644 index 0000000..6b0da9f --- /dev/null +++ b/docs/reference/Despair.Landscape.NavMap.Property.md @@ -0,0 +1,333 @@ +# Despair.Landscape.NavMap.Property + +[Индекс](../API.md) + +## Despair.Landscape.NavMap.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.NavMap.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Landscape.NavMap.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.NavMap.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Landscape.NavMap.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.NavMap.md b/docs/reference/Despair.Landscape.NavMap.md new file mode 100644 index 0000000..e27b4a5 --- /dev/null +++ b/docs/reference/Despair.Landscape.NavMap.md @@ -0,0 +1,121 @@ +# Despair.Landscape.NavMap + +[Индекс](../API.md) + +## Despair.Landscape.NavMap.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Landscape.NavMap.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Landscape.NavMap.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Landscape.NavMap.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Landscape.NavMap.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Landscape.NavMap.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.OS.md b/docs/reference/Despair.Landscape.OS.md new file mode 100644 index 0000000..82d39ff --- /dev/null +++ b/docs/reference/Despair.Landscape.OS.md @@ -0,0 +1,162 @@ +# Despair.Landscape.OS + +[Индекс](../API.md) + +## Despair.Landscape.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Landscape.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Landscape.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Landscape.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Landscape.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Landscape.ObjectList.Toolbar.md b/docs/reference/Despair.Landscape.ObjectList.Toolbar.md new file mode 100644 index 0000000..1c38d13 --- /dev/null +++ b/docs/reference/Despair.Landscape.ObjectList.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.ObjectList.Toolbar + +[Индекс](../API.md) + +## Despair.Landscape.ObjectList.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.ObjectList.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.ObjectList.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.ObjectList.md b/docs/reference/Despair.Landscape.ObjectList.md new file mode 100644 index 0000000..2703b00 --- /dev/null +++ b/docs/reference/Despair.Landscape.ObjectList.md @@ -0,0 +1,405 @@ +# Despair.Landscape.ObjectList + +[Индекс](../API.md) + +## Despair.Landscape.ObjectList.AddToFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Copy + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Cut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.ObjectList.Freeze + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Landscape.ObjectList.IsSelectedObject + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the currently selected item in the object list view is an dsObject + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the currently selected item in the object list view is an dsObject" +} +``` + +
+ +## Despair.Landscape.ObjectList.ListView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.MoveToWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Paste + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Rename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Replace + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.ReportView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Landscape.ObjectList.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Landscape.ObjectList.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Landscape.ObjectList.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Landscape.ObjectList.SetAsSelection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Landscape.ObjectList.ShowReferrals + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.TargetCamera + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Landscape.ObjectList.Visible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Perforce.md b/docs/reference/Despair.Landscape.Perforce.md new file mode 100644 index 0000000..f51c3d3 --- /dev/null +++ b/docs/reference/Despair.Landscape.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Landscape.Perforce + +[Индекс](../API.md) + +## Despair.Landscape.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Landscape.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Landscape.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Landscape.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Landscape.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Properties.md b/docs/reference/Despair.Landscape.Properties.md new file mode 100644 index 0000000..c4ab0ef --- /dev/null +++ b/docs/reference/Despair.Landscape.Properties.md @@ -0,0 +1,417 @@ +# Despair.Landscape.Properties + +[Индекс](../API.md) + +## Despair.Landscape.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Landscape.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Landscape.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Landscape.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.Properties.IsLocked + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +returns 1 if component is currently locked, 0 if currently unlocked, -1 if unknown + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentName | Name of the component to unlock | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "returns 1 if component is currently locked, 0 if currently unlocked, -1 if unknown" +} +``` + +
+ +## Despair.Landscape.Properties.Lock + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unlocks a component of the selected object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentName | Name of the component to unlock | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "Unlocks a component of the selected object" +} +``` + +
+ +## Despair.Landscape.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Landscape.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Landscape.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Landscape.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Landscape.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Landscape.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Landscape.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Landscape.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Landscape.Properties.Unlock + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unlocks a component of the selected object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentName | Name of the component to unlock | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the component to unlock" + } + }, + "@K[203]": "Unlocks a component of the selected object" +} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.AmbientLight.md b/docs/reference/Despair.Landscape.RenderView.AmbientLight.md new file mode 100644 index 0000000..f5ddb5f --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.AmbientLight.md @@ -0,0 +1,123 @@ +# Despair.Landscape.RenderView.AmbientLight + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.AmbientLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetAmbientEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetDirectionalEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetIntensity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetParticleColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetSkyColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetSpecularity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetSunColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.AmbientLight.SetSunDirection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.FocusCamera.md b/docs/reference/Despair.Landscape.RenderView.FocusCamera.md new file mode 100644 index 0000000..236f0f1 --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.FocusCamera.md @@ -0,0 +1,243 @@ +# Despair.Landscape.RenderView.FocusCamera + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.FocusCamera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetDepthOfFieldEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFarBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFarBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFocalDepth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetFocalWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetMoveWithFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetNearBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetNearBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetUseControllerInput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.FocusCamera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.Fog.md b/docs/reference/Despair.Landscape.RenderView.Fog.md new file mode 100644 index 0000000..cae9439 --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.Fog.md @@ -0,0 +1,99 @@ +# Despair.Landscape.RenderView.Fog + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.Fog.SetBottom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetStart + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetTop + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Fog.SetType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.Grid.md b/docs/reference/Despair.Landscape.RenderView.Grid.md new file mode 100644 index 0000000..1be78ec --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.Grid.md @@ -0,0 +1,51 @@ +# Despair.Landscape.RenderView.Grid + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.Grid.SetAxisEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Grid.SetCellSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Grid.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Grid.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.Options.md b/docs/reference/Despair.Landscape.RenderView.Options.md new file mode 100644 index 0000000..00b0e28 --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.Options.md @@ -0,0 +1,147 @@ +# Despair.Landscape.RenderView.Options + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.Options.SetAdaptLuminanceEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetAdaptionExposure + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetAdaptionMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetAdaptionMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetAdaptionTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetBloomScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetBrightMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetBrightMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetHdrEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetShadowEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetToneScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.Options.SetWireframeEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.PointLight.md b/docs/reference/Despair.Landscape.RenderView.PointLight.md new file mode 100644 index 0000000..9094d03 --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.PointLight.md @@ -0,0 +1,63 @@ +# Despair.Landscape.RenderView.PointLight + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.PointLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.PointLight.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.PointLight.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.PointLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.PointLight.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.ScreenShot.md b/docs/reference/Despair.Landscape.RenderView.ScreenShot.md new file mode 100644 index 0000000..fef057a --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.ScreenShot.md @@ -0,0 +1,63 @@ +# Despair.Landscape.RenderView.ScreenShot + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.ScreenShot.Capture + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ScreenShot.SetImageDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ScreenShot.SetImageHeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ScreenShot.SetImageName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ScreenShot.SetImageWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.ToolCamera.md b/docs/reference/Despair.Landscape.RenderView.ToolCamera.md new file mode 100644 index 0000000..455203b --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.ToolCamera.md @@ -0,0 +1,255 @@ +# Despair.Landscape.RenderView.ToolCamera + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.ToolCamera.Reset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetRadius + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetShowHelper + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetStyleFly + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetStyleFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetStyleOrtho + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetStyleWalker + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetTerrainCollisionHeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetTerrainCollosion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.UpdateCamera + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Landscape.RenderView.ToolCamera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Landscape.RenderView.md b/docs/reference/Despair.Landscape.RenderView.md new file mode 100644 index 0000000..b12f4d9 --- /dev/null +++ b/docs/reference/Despair.Landscape.RenderView.md @@ -0,0 +1,31 @@ +# Despair.Landscape.RenderView + +[Индекс](../API.md) + +## Despair.Landscape.RenderView.SetRenderingEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables rendering in the render view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enabled | True is rendering should be enabled. False if render should be disabled. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "True is rendering should be enabled. False if render should be disabled." + } + }, + "@K[203]": "Enables or disables rendering in the render view." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.ResourceView.md b/docs/reference/Despair.Landscape.ResourceView.md new file mode 100644 index 0000000..fe1c788 --- /dev/null +++ b/docs/reference/Despair.Landscape.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Landscape.ResourceView + +[Индекс](../API.md) + +## Despair.Landscape.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Landscape.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Landscape.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Landscape.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Landscape.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Landscape.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Landscape.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Landscape.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Landscape.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Landscape.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Landscape.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Landscape.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Landscape.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Landscape.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Landscape.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Landscape.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Landscape.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Landscape.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Landscape.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Landscape.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Landscape.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Landscape.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Landscape.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Landscape.StandardToolbar.md b/docs/reference/Despair.Landscape.StandardToolbar.md new file mode 100644 index 0000000..0b35467 --- /dev/null +++ b/docs/reference/Despair.Landscape.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.StandardToolbar + +[Индекс](../API.md) + +## Despair.Landscape.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Views.md b/docs/reference/Despair.Landscape.Views.md new file mode 100644 index 0000000..7f60b90 --- /dev/null +++ b/docs/reference/Despair.Landscape.Views.md @@ -0,0 +1,171 @@ +# Despair.Landscape.Views + +[Индекс](../API.md) + +## Despair.Landscape.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Landscape.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Landscape.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Landscape.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Landscape.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Landscape.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Worlds.Toolbar.md b/docs/reference/Despair.Landscape.Worlds.Toolbar.md new file mode 100644 index 0000000..6c50b6f --- /dev/null +++ b/docs/reference/Despair.Landscape.Worlds.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Landscape.Worlds.Toolbar + +[Индекс](../API.md) + +## Despair.Landscape.Worlds.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.Worlds.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Landscape.Worlds.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.Worlds.md b/docs/reference/Despair.Landscape.Worlds.md new file mode 100644 index 0000000..7bfaea0 --- /dev/null +++ b/docs/reference/Despair.Landscape.Worlds.md @@ -0,0 +1,495 @@ +# Despair.Landscape.Worlds + +[Индекс](../API.md) + +## Despair.Landscape.Worlds.AddGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, Adds a new group to the world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ParentName | Name of the new group's parent item, often another group | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ParentName", + "@K[211]": "Name of the new group's parent item, often another group" + } + }, + "@K[203]": "In the Worlds View, Adds a new group to the world." +} +``` + +
+ +## Despair.Landscape.Worlds.Copy + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and copies it. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to copy | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to copy" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and copies it." +} +``` + +
+ +## Despair.Landscape.Worlds.Cut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and cuts it. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to cut | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to cut" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and cuts it." +} +``` + +
+ +## Despair.Landscape.Worlds.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and deletes it. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to delete | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to delete" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and deletes it." +} +``` + +
+ +## Despair.Landscape.Worlds.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Landscape.Worlds.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Landscape.Worlds.Freeze + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and sets whether it is frozen. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to alter | +| 2.0 | Freeze | True is Freeze, False is Unfreeze | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + }, + "2.0": { + "@K[209]": "Freeze", + "@K[211]": "True is Freeze, False is Unfreeze" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets whether it is frozen." +} +``` + +
+ +## Despair.Landscape.Worlds.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Landscape.Worlds.Rename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, Renames the specified item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurrentName | Current name of the item | +| 2.0 | CurrentName | New name of the item | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurrentName", + "@K[211]": "Current name of the item" + }, + "2.0": { + "@K[209]": "CurrentName", + "@K[211]": "New name of the item" + } + }, + "@K[203]": "In the Worlds View, Renames the specified item." +} +``` + +
+ +## Despair.Landscape.Worlds.Select + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Unclear what this does. Just calls WorldExploreBar::OnPopupSelectGroup(). + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unclear what this does. Just calls WorldExploreBar::OnPopupSelectGroup()." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectGroupInWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, Finds the specified world if it exists, then selects the first group with the specified name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GroupName | Name of the group within the world. | +| 2.0 | WorldName | Name of the world. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group within the world." + }, + "2.0": { + "@K[209]": "WorldName", + "@K[211]": "Name of the world." + } + }, + "@K[203]": "In the Worlds View, Finds the specified world if it exists, then selects the first group with the specified name." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Landscape.Worlds.SelectTab + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Not Implemented + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Not Implemented" +} +``` + +
+ +## Despair.Landscape.Worlds.SelectWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Not Implemented + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Not Implemented" +} +``` + +
+ +## Despair.Landscape.Worlds.SetAsDropPoint + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and sets it as the drop point. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to alter | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets it as the drop point." +} +``` + +
+ +## Despair.Landscape.Worlds.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Landscape.Worlds.Visible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +In the Worlds View, selects the item with the specified name and sets whether it is visible. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ItemName | Name of the item to alter | +| 2.0 | Visible | True is Visible, False is Hidden | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ItemName", + "@K[211]": "Name of the item to alter" + }, + "2.0": { + "@K[209]": "Visible", + "@K[211]": "True is Visible, False is Hidden" + } + }, + "@K[203]": "In the Worlds View, selects the item with the specified name and sets whether it is visible." +} +``` + +
diff --git a/docs/reference/Despair.Landscape.md b/docs/reference/Despair.Landscape.md new file mode 100644 index 0000000..c514bf2 --- /dev/null +++ b/docs/reference/Despair.Landscape.md @@ -0,0 +1,333 @@ +# Despair.Landscape + +[Индекс](../API.md) + +## Despair.Landscape.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Landscape.ForceFullScreenPerspectiveFly + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Makes the renderview use a single perspective fly viewport. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Makes the renderview use a single perspective fly viewport." +} +``` + +
+ +## Despair.Landscape.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Landscape.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Landscape.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Landscape.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Landscape.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Landscape.LoadPreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Loads a dsViewportSet file + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[212] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "Loads a dsViewportSet file" +} +``` + +
+ +## Despair.Landscape.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Landscape.SavePreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves a dsViewportSet file + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DirName | Directory to save preset in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DirName", + "@K[211]": "Directory to save preset in." + } + }, + "@K[203]": "Saves a dsViewportSet file" +} +``` + +
+ +## Despair.Landscape.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Landscape.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
+ +## Despair.Landscape.ZoomSelected + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Frames the currently selected objects. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Frames the currently selected objects." +} +``` + +
diff --git a/docs/reference/Despair.Librarian.AutomationUtility.md b/docs/reference/Despair.Librarian.AutomationUtility.md new file mode 100644 index 0000000..f12e2de --- /dev/null +++ b/docs/reference/Despair.Librarian.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Librarian.AutomationUtility + +[Индекс](../API.md) + +## Despair.Librarian.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Librarian.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Librarian.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Librarian.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Librarian.OS.md b/docs/reference/Despair.Librarian.OS.md new file mode 100644 index 0000000..5ae6ac8 --- /dev/null +++ b/docs/reference/Despair.Librarian.OS.md @@ -0,0 +1,162 @@ +# Despair.Librarian.OS + +[Индекс](../API.md) + +## Despair.Librarian.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Librarian.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Librarian.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Librarian.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Librarian.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Librarian.Perforce.md b/docs/reference/Despair.Librarian.Perforce.md new file mode 100644 index 0000000..6455f9a --- /dev/null +++ b/docs/reference/Despair.Librarian.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Librarian.Perforce + +[Индекс](../API.md) + +## Despair.Librarian.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Librarian.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Librarian.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Librarian.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Librarian.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Librarian.ResourceView.md b/docs/reference/Despair.Librarian.ResourceView.md new file mode 100644 index 0000000..dafbcef --- /dev/null +++ b/docs/reference/Despair.Librarian.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Librarian.ResourceView + +[Индекс](../API.md) + +## Despair.Librarian.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Librarian.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Librarian.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Librarian.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Librarian.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Librarian.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Librarian.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Librarian.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Librarian.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Librarian.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Librarian.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Librarian.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Librarian.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Librarian.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Librarian.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Librarian.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Librarian.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Librarian.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Librarian.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Librarian.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Librarian.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Librarian.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Librarian.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Librarian.StandardToolbar.md b/docs/reference/Despair.Librarian.StandardToolbar.md new file mode 100644 index 0000000..997b2d9 --- /dev/null +++ b/docs/reference/Despair.Librarian.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Librarian.StandardToolbar + +[Индекс](../API.md) + +## Despair.Librarian.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Librarian.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Librarian.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Librarian.md b/docs/reference/Despair.Librarian.md new file mode 100644 index 0000000..986f140 --- /dev/null +++ b/docs/reference/Despair.Librarian.md @@ -0,0 +1,243 @@ +# Despair.Librarian + +[Индекс](../API.md) + +## Despair.Librarian.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Librarian.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Librarian.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Librarian.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Librarian.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Librarian.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Librarian.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Librarian.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Librarian.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.AutomationUtility.md b/docs/reference/Despair.Moznosti.AutomationUtility.md new file mode 100644 index 0000000..0d1e6ae --- /dev/null +++ b/docs/reference/Despair.Moznosti.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Moznosti.AutomationUtility + +[Индекс](../API.md) + +## Despair.Moznosti.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Moznosti.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.File.md b/docs/reference/Despair.Moznosti.File.md new file mode 100644 index 0000000..02ed94a --- /dev/null +++ b/docs/reference/Despair.Moznosti.File.md @@ -0,0 +1,115 @@ +# Despair.Moznosti.File + +[Индекс](../API.md) + +## Despair.Moznosti.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.Moznosti.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new menu tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new menu tree." +} +``` + +
+ +## Despair.Moznosti.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the effect specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the menu tree that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the menu tree that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." +} +``` + +
+ +## Despair.Moznosti.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.Moznosti.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurrentName | Path and filename that is currently being used. used to identify the tab to save. | +| 2.0 | @K[249] | Path and filename that should be used for saving the menu tree. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurrentName", + "@K[211]": "Path and filename that is currently being used. used to identify the tab to save." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the menu tree." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.OS.md b/docs/reference/Despair.Moznosti.OS.md new file mode 100644 index 0000000..fdab30d --- /dev/null +++ b/docs/reference/Despair.Moznosti.OS.md @@ -0,0 +1,162 @@ +# Despair.Moznosti.OS + +[Индекс](../API.md) + +## Despair.Moznosti.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Moznosti.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Moznosti.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Moznosti.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Moznosti.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.Perforce.md b/docs/reference/Despair.Moznosti.Perforce.md new file mode 100644 index 0000000..57a7962 --- /dev/null +++ b/docs/reference/Despair.Moznosti.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Moznosti.Perforce + +[Индекс](../API.md) + +## Despair.Moznosti.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Moznosti.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Moznosti.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Moznosti.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Moznosti.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.ResourceView.md b/docs/reference/Despair.Moznosti.ResourceView.md new file mode 100644 index 0000000..a759a1d --- /dev/null +++ b/docs/reference/Despair.Moznosti.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Moznosti.ResourceView + +[Индекс](../API.md) + +## Despair.Moznosti.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Moznosti.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Moznosti.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Moznosti.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Moznosti.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Moznosti.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Moznosti.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Moznosti.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Moznosti.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Moznosti.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Moznosti.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Moznosti.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Moznosti.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.StandardToolbar.md b/docs/reference/Despair.Moznosti.StandardToolbar.md new file mode 100644 index 0000000..1ba7292 --- /dev/null +++ b/docs/reference/Despair.Moznosti.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Moznosti.StandardToolbar + +[Индекс](../API.md) + +## Despair.Moznosti.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Moznosti.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Moznosti.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Moznosti.md b/docs/reference/Despair.Moznosti.md new file mode 100644 index 0000000..15c5651 --- /dev/null +++ b/docs/reference/Despair.Moznosti.md @@ -0,0 +1,243 @@ +# Despair.Moznosti + +[Индекс](../API.md) + +## Despair.Moznosti.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Moznosti.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Moznosti.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Moznosti.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Moznosti.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Moznosti.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Moznosti.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Moznosti.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Moznosti.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Outtake.AutomationUtility.md b/docs/reference/Despair.Outtake.AutomationUtility.md new file mode 100644 index 0000000..8627801 --- /dev/null +++ b/docs/reference/Despair.Outtake.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Outtake.AutomationUtility + +[Индекс](../API.md) + +## Despair.Outtake.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Outtake.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Outtake.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Outtake.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.CameraToolbar.md b/docs/reference/Despair.Outtake.CameraToolbar.md new file mode 100644 index 0000000..30b0261 --- /dev/null +++ b/docs/reference/Despair.Outtake.CameraToolbar.md @@ -0,0 +1,97 @@ +# Despair.Outtake.CameraToolbar + +[Индекс](../API.md) + +## Despair.Outtake.CameraToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.CameraToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.CameraToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.File.md b/docs/reference/Despair.Outtake.File.md new file mode 100644 index 0000000..abc4c95 --- /dev/null +++ b/docs/reference/Despair.Outtake.File.md @@ -0,0 +1,171 @@ +# Despair.Outtake.File + +[Индекс](../API.md) + +## Despair.Outtake.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the currently selected file. Note: does not respect the Path parameter yet! + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename of the cinema that should be closed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename of the cinema that should be closed." + } + }, + "@K[203]": "Closes the currently selected file. Note: does not respect the Path parameter yet!" +} +``` + +
+ +## Despair.Outtake.File.CloseAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes all the currently opened files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes all the currently opened files." +} +``` + +
+ +## Despair.Outtake.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new cinema file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new cinema file." +} +``` + +
+ +## Despair.Outtake.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the cinema specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the cinema that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the cinema that should be opened." + } + }, + "@K[203]": "Opens the cinema specified by Path." +} +``` + +
+ +## Despair.Outtake.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the cinema. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the cinema." + } + }, + "@K[203]": "Saves the currently selected file as the name specified. Note: yes this is exactly the same as SaveAs... (but shouldn't be)" +} +``` + +
+ +## Despair.Outtake.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file as the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[75] | File is supposed to refer to the window the suer wants to save, however it currently does nothing. | +| 2.0 | @K[249] | Path and filename that should be used for saving the cinema. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[75]", + "@K[211]": "File is supposed to refer to the window the suer wants to save, however it currently does nothing." + }, + "2.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the cinema." + } + }, + "@K[203]": "Saves the currently selected file as the name specified." +} +``` + +
+ +## Despair.Outtake.File.Validate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Validate the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Validate the currently selected file." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.GrabberToolbar.md b/docs/reference/Despair.Outtake.GrabberToolbar.md new file mode 100644 index 0000000..b355d18 --- /dev/null +++ b/docs/reference/Despair.Outtake.GrabberToolbar.md @@ -0,0 +1,97 @@ +# Despair.Outtake.GrabberToolbar + +[Индекс](../API.md) + +## Despair.Outtake.GrabberToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.GrabberToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.GrabberToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.Keyboard.md b/docs/reference/Despair.Outtake.Keyboard.md new file mode 100644 index 0000000..dc03542 --- /dev/null +++ b/docs/reference/Despair.Outtake.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Outtake.Keyboard + +[Индекс](../API.md) + +## Despair.Outtake.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Outtake.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.ManipulateToolbar.md b/docs/reference/Despair.Outtake.ManipulateToolbar.md new file mode 100644 index 0000000..b21f023 --- /dev/null +++ b/docs/reference/Despair.Outtake.ManipulateToolbar.md @@ -0,0 +1,97 @@ +# Despair.Outtake.ManipulateToolbar + +[Индекс](../API.md) + +## Despair.Outtake.ManipulateToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.ManipulateToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.ManipulateToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.Mouse.md b/docs/reference/Despair.Outtake.Mouse.md new file mode 100644 index 0000000..2c34a73 --- /dev/null +++ b/docs/reference/Despair.Outtake.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Outtake.Mouse + +[Индекс](../API.md) + +## Despair.Outtake.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Outtake.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Outtake.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.OS.md b/docs/reference/Despair.Outtake.OS.md new file mode 100644 index 0000000..3691597 --- /dev/null +++ b/docs/reference/Despair.Outtake.OS.md @@ -0,0 +1,162 @@ +# Despair.Outtake.OS + +[Индекс](../API.md) + +## Despair.Outtake.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Outtake.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Outtake.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Outtake.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Outtake.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Outtake.Perforce.md b/docs/reference/Despair.Outtake.Perforce.md new file mode 100644 index 0000000..a990935 --- /dev/null +++ b/docs/reference/Despair.Outtake.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Outtake.Perforce + +[Индекс](../API.md) + +## Despair.Outtake.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Outtake.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Outtake.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Outtake.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Outtake.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.PlaybackToolbar.md b/docs/reference/Despair.Outtake.PlaybackToolbar.md new file mode 100644 index 0000000..fdfad88 --- /dev/null +++ b/docs/reference/Despair.Outtake.PlaybackToolbar.md @@ -0,0 +1,97 @@ +# Despair.Outtake.PlaybackToolbar + +[Индекс](../API.md) + +## Despair.Outtake.PlaybackToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.PlaybackToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.PlaybackToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.Properties.md b/docs/reference/Despair.Outtake.Properties.md new file mode 100644 index 0000000..f94c88f --- /dev/null +++ b/docs/reference/Despair.Outtake.Properties.md @@ -0,0 +1,333 @@ +# Despair.Outtake.Properties + +[Индекс](../API.md) + +## Despair.Outtake.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Outtake.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Outtake.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Outtake.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Outtake.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Outtake.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Outtake.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Outtake.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Outtake.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Outtake.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Outtake.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Outtake.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Outtake.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Outtake.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Outtake.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.PropertyDepot.md b/docs/reference/Despair.Outtake.PropertyDepot.md new file mode 100644 index 0000000..950d173 --- /dev/null +++ b/docs/reference/Despair.Outtake.PropertyDepot.md @@ -0,0 +1,138 @@ +# Despair.Outtake.PropertyDepot + +[Индекс](../API.md) + +## Despair.Outtake.PropertyDepot.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.PropertyDepot.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Outtake.PropertyDepot.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Outtake.PropertyDepot.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Outtake.PropertyDepot.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Outtake.PropertyDepot.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Outtake.PropertyDepot.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.ResourceView.md b/docs/reference/Despair.Outtake.ResourceView.md new file mode 100644 index 0000000..b10746b --- /dev/null +++ b/docs/reference/Despair.Outtake.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Outtake.ResourceView + +[Индекс](../API.md) + +## Despair.Outtake.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Outtake.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Outtake.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Outtake.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Outtake.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Outtake.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Outtake.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Outtake.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Outtake.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Outtake.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Outtake.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Outtake.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Outtake.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Outtake.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Outtake.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Outtake.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Outtake.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Outtake.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Outtake.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Outtake.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Outtake.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Outtake.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Outtake.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Outtake.StandardToolbar.md b/docs/reference/Despair.Outtake.StandardToolbar.md new file mode 100644 index 0000000..ac2cf24 --- /dev/null +++ b/docs/reference/Despair.Outtake.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Outtake.StandardToolbar + +[Индекс](../API.md) + +## Despair.Outtake.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Outtake.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.TimeFrame.md b/docs/reference/Despair.Outtake.TimeFrame.md new file mode 100644 index 0000000..e7df99d --- /dev/null +++ b/docs/reference/Despair.Outtake.TimeFrame.md @@ -0,0 +1,54 @@ +# Despair.Outtake.TimeFrame + +[Индекс](../API.md) + +## Despair.Outtake.TimeFrame.SetSelTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TimeFrame.SetShuttleTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TimeFrame.SetViewTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Outtake.TrackView.Sequence.md b/docs/reference/Despair.Outtake.TrackView.Sequence.md new file mode 100644 index 0000000..0833c5f --- /dev/null +++ b/docs/reference/Despair.Outtake.TrackView.Sequence.md @@ -0,0 +1,71 @@ +# Despair.Outtake.TrackView.Sequence + +[Индекс](../API.md) + +## Despair.Outtake.TrackView.Sequence.AddCut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.Sequence.CreateView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.Sequence.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.Sequence.EditCamera + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
diff --git a/docs/reference/Despair.Outtake.TrackView.md b/docs/reference/Despair.Outtake.TrackView.md new file mode 100644 index 0000000..15ec28c --- /dev/null +++ b/docs/reference/Despair.Outtake.TrackView.md @@ -0,0 +1,168 @@ +# Despair.Outtake.TrackView + +[Индекс](../API.md) + +## Despair.Outtake.TrackView.AddKey + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.CreateView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.EndDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.MoveKey + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.NoEndTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.Rename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Outtake.TrackView.SelectKey + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.TrackView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.Views.md b/docs/reference/Despair.Outtake.Views.md new file mode 100644 index 0000000..121db03 --- /dev/null +++ b/docs/reference/Despair.Outtake.Views.md @@ -0,0 +1,171 @@ +# Despair.Outtake.Views + +[Индекс](../API.md) + +## Despair.Outtake.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Outtake.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Outtake.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Outtake.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Outtake.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Outtake.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Outtake.WorldExplorer.md b/docs/reference/Despair.Outtake.WorldExplorer.md new file mode 100644 index 0000000..dbb3f99 --- /dev/null +++ b/docs/reference/Despair.Outtake.WorldExplorer.md @@ -0,0 +1,97 @@ +# Despair.Outtake.WorldExplorer + +[Индекс](../API.md) + +## Despair.Outtake.WorldExplorer.CenterInView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.WorldExplorer.DeleteWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.WorldExplorer.List + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Outtake.WorldExplorer.Preview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Outtake.WorldExplorer.Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Outtake.WorldExplorer.Report + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Outtake.WorldExplorer.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Outtake.md b/docs/reference/Despair.Outtake.md new file mode 100644 index 0000000..ca23717 --- /dev/null +++ b/docs/reference/Despair.Outtake.md @@ -0,0 +1,294 @@ +# Despair.Outtake + +[Индекс](../API.md) + +## Despair.Outtake.AddLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Outtake.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Outtake.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Outtake.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Outtake.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Outtake.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Outtake.LoadWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.MergeWorld + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +N/A + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "N/A" +} +``` + +
+ +## Despair.Outtake.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Outtake.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Outtake.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Poise.AutomationUtility.md b/docs/reference/Despair.Poise.AutomationUtility.md new file mode 100644 index 0000000..178148e --- /dev/null +++ b/docs/reference/Despair.Poise.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Poise.AutomationUtility + +[Индекс](../API.md) + +## Despair.Poise.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Poise.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Poise.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Poise.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Poise.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Poise.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Poise.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Poise.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Poise.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Poise.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Poise.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Poise.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Poise.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Poise.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Poise.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Poise.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Poise.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Poise.ComponentProperties.md b/docs/reference/Despair.Poise.ComponentProperties.md new file mode 100644 index 0000000..800db1a --- /dev/null +++ b/docs/reference/Despair.Poise.ComponentProperties.md @@ -0,0 +1,333 @@ +# Despair.Poise.ComponentProperties + +[Индекс](../API.md) + +## Despair.Poise.ComponentProperties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Poise.ComponentProperties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Poise.ComponentProperties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Poise.ComponentProperties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Poise.ComponentProperties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.ComponentProperties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Poise.ComponentProperties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Poise.ComponentProperties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Poise.Components.md b/docs/reference/Despair.Poise.Components.md new file mode 100644 index 0000000..240460b --- /dev/null +++ b/docs/reference/Despair.Poise.Components.md @@ -0,0 +1,149 @@ +# Despair.Poise.Components + +[Индекс](../API.md) + +## Despair.Poise.Components.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Simulates adding a component via drag and drop. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Type of the component being dragged into the view. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Type of the component being dragged into the view." + } + }, + "@K[203]": "Simulates adding a component via drag and drop." +} +``` + +
+ +## Despair.Poise.Components.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.Poise.Components.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.Poise.Components.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.Poise.Components.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Poise.Components.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.Poise.Components.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Poise.File.md b/docs/reference/Despair.Poise.File.md new file mode 100644 index 0000000..871ecc1 --- /dev/null +++ b/docs/reference/Despair.Poise.File.md @@ -0,0 +1,110 @@ +# Despair.Poise.File + +[Индекс](../API.md) + +## Despair.Poise.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.Poise.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new animation. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new animation." +} +``` + +
+ +## Despair.Poise.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the animation specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the animation that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the animation that should be opened." + } + }, + "@K[203]": "Opens the animation specified by Path." +} +``` + +
+ +## Despair.Poise.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.Poise.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the animation. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the animation." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.Poise.FlowView.md b/docs/reference/Despair.Poise.FlowView.md new file mode 100644 index 0000000..5e99c90 --- /dev/null +++ b/docs/reference/Despair.Poise.FlowView.md @@ -0,0 +1,718 @@ +# Despair.Poise.FlowView + +[Индекс](../API.md) + +## Despair.Poise.FlowView.AddComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a component of the specified type and names it the specified name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentType | Type of component to add. | +| 2.0 | @K[209] | Name of new component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentType", + "@K[211]": "Type of component to add." + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of new component." + } + }, + "@K[203]": "Adds a component of the specified type and names it the specified name." +} +``` + +
+ +## Despair.Poise.FlowView.AddToExistingGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds selected component to the group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GroupName | Name of the group to add the selected component to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to add the selected component to" + } + }, + "@K[203]": "Adds selected component to the group" +} +``` + +
+ +## Despair.Poise.FlowView.AddToNewGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds selected component to the new group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GroupName | Name of the group to create and add selected component to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GroupName", + "@K[211]": "Name of the group to create and add selected component to" + } + }, + "@K[203]": "Adds selected component to the new group" +} +``` + +
+ +## Despair.Poise.FlowView.CollapseGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Collapses specified group. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Group | Name of the group to collapse. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to collapse." + } + }, + "@K[203]": "Collapses specified group." +} +``` + +
+ +## Despair.Poise.FlowView.Color + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the color of the component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Red | Amount of red in color | +| 2.0 | Green | Amount of green in color | +| 3.0 | Blue | Amount of blue in color | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of red in color" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of green in color" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of blue in color" + } + }, + "@K[203]": "Changes the color of the component" +} +``` + +
+ +## Despair.Poise.FlowView.Comment + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Write Comments to The Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Comment | Comment for the component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Comment", + "@K[211]": "Comment for the component" + } + }, + "@K[203]": "Write Comments to The Component" +} +``` + +
+ +## Despair.Poise.FlowView.ConnectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Connects specified components at the specified link points. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OutputComponent | Name of the destination component. | +| 2.0 | OutputLink | Name of the destination link. | +| 3.0 | InputComponent | Name of the source component. | +| 4.0 | InputLink | Name of the source link. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OutputComponent", + "@K[211]": "Name of the destination component." + }, + "2.0": { + "@K[209]": "OutputLink", + "@K[211]": "Name of the destination link." + }, + "3.0": { + "@K[209]": "InputComponent", + "@K[211]": "Name of the source component." + }, + "4.0": { + "@K[209]": "InputLink", + "@K[211]": "Name of the source link." + } + }, + "@K[203]": "Connects specified components at the specified link points." +} +``` + +
+ +## Despair.Poise.FlowView.CurvedLines + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Displays link connections as curved lines + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays link connections as curved lines" +} +``` + +
+ +## Despair.Poise.FlowView.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes selected component from graph + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Removes selected component from graph" +} +``` + +
+ +## Despair.Poise.FlowView.DisconnectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Disconnects the specified component from the specified link point. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of the component to unhook. | +| 2.0 | Link | Name of the link to unhook. | +| 3.0 | IsOutput | Is this link an output link? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to unhook." + }, + "2.0": { + "@K[209]": "Link", + "@K[211]": "Name of the link to unhook." + }, + "3.0": { + "@K[209]": "IsOutput", + "@K[211]": "Is this link an output link?" + } + }, + "@K[203]": "Disconnects the specified component from the specified link point." +} +``` + +
+ +## Despair.Poise.FlowView.DropShadow + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles a component shadow in the view + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Toggles a component shadow in the view" +} +``` + +
+ +## Despair.Poise.FlowView.EndDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Simulates adding a component via drag and drop. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the new component being dragged into the view. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new component being dragged into the view." + } + }, + "@K[203]": "Simulates adding a component via drag and drop." +} +``` + +
+ +## Despair.Poise.FlowView.ExpandGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands specified group. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Group | Name of the group to expand. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group to expand." + } + }, + "@K[203]": "Expands specified group." +} +``` + +
+ +## Despair.Poise.FlowView.GetComponentItemValue + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the specified component property item as a string. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of component to get. | +| 2.0 | @K[95] | Name of property to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to get." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to get." + } + }, + "@K[203]": "Gets the specified component property item as a string." +} +``` + +
+ +## Despair.Poise.FlowView.GroupComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds specified group to the specified group. Creates group if needed. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of the component to group. | +| 2.0 | Group | Name of the group the component should be added to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of the component to group." + }, + "2.0": { + "@K[209]": "Group", + "@K[211]": "Name of the group the component should be added to." + } + }, + "@K[203]": "Adds specified group to the specified group. Creates group if needed." +} +``` + +
+ +## Despair.Poise.FlowView.Label + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the name of a components property + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OldName | Name of property to rename | +| 2.0 | NewName | New name for the property | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OldName", + "@K[211]": "Name of property to rename" + }, + "2.0": { + "@K[209]": "NewName", + "@K[211]": "New name for the property" + } + }, + "@K[203]": "Changes the name of a components property" +} +``` + +
+ +## Despair.Poise.FlowView.ModifyComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the specified component and property to the value given. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Component | Name of component to modify. | +| 2.0 | @K[95] | Name of property to modify. | +| 3.0 | Value | New value for the specified property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Component", + "@K[211]": "Name of component to modify." + }, + "2.0": { + "@K[209]": "@K[95]", + "@K[211]": "Name of property to modify." + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "New value for the specified property." + } + }, + "@K[203]": "Changes the specified component and property to the value given." +} +``` + +
+ +## Despair.Poise.FlowView.Name + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the name of the selected component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component" + } + }, + "@K[203]": "Changes the name of the selected component" +} +``` + +
+ +## Despair.Poise.FlowView.Redo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverses your previous Undo + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Reverses your previous Undo" +} +``` + +
+ +## Despair.Poise.FlowView.RemoveFromGroup + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes component from its containing group + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Removes component from its containing group" +} +``` + +
+ +## Despair.Poise.FlowView.RenameSelected + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | New name for selected component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "New name for selected component" + } + }, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Poise.FlowView.SelectComponent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects component with the sepcified name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of component to select. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of component to select." + } + }, + "@K[203]": "Selects component with the sepcified name." +} +``` + +
+ +## Despair.Poise.FlowView.SetComponentPos + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Positions the component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the component to position. | +| 2.0 | X | X axis position. | +| 3.0 | Y | Y axis positoin. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the component to position." + }, + "2.0": { + "@K[209]": "X", + "@K[211]": "X axis position." + }, + "3.0": { + "@K[209]": "Y", + "@K[211]": "Y axis positoin." + } + }, + "@K[203]": "Positions the component." +} +``` + +
+ +## Despair.Poise.FlowView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
+ +## Despair.Poise.FlowView.StraightLines + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Displays link connections as stright lines + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays link connections as stright lines" +} +``` + +
+ +## Despair.Poise.FlowView.Undo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverses your last action + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Reverses your last action" +} +``` + +
diff --git a/docs/reference/Despair.Poise.OS.md b/docs/reference/Despair.Poise.OS.md new file mode 100644 index 0000000..453dbaa --- /dev/null +++ b/docs/reference/Despair.Poise.OS.md @@ -0,0 +1,162 @@ +# Despair.Poise.OS + +[Индекс](../API.md) + +## Despair.Poise.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Poise.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Poise.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Poise.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Poise.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Poise.Perforce.md b/docs/reference/Despair.Poise.Perforce.md new file mode 100644 index 0000000..217ac9f --- /dev/null +++ b/docs/reference/Despair.Poise.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Poise.Perforce + +[Индекс](../API.md) + +## Despair.Poise.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Poise.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Poise.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Poise.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Poise.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Poise.Preview.Toolbar.md b/docs/reference/Despair.Poise.Preview.Toolbar.md new file mode 100644 index 0000000..d0c9707 --- /dev/null +++ b/docs/reference/Despair.Poise.Preview.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Poise.Preview.Toolbar + +[Индекс](../API.md) + +## Despair.Poise.Preview.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Poise.Preview.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Poise.Preview.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Poise.Preview.md b/docs/reference/Despair.Poise.Preview.md new file mode 100644 index 0000000..5941812 --- /dev/null +++ b/docs/reference/Despair.Poise.Preview.md @@ -0,0 +1,37 @@ +# Despair.Poise.Preview + +[Индекс](../API.md) + +## Despair.Poise.Preview.GetPlaybackScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the current rate the model is animating. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the current rate the model is animating." +} +``` + +
+ +## Despair.Poise.Preview.SetPlaybackScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +How fast/slow the model will animate. Percentage based. 1 = normal speed + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "How fast/slow the model will animate. Percentage based. 1 = normal speed" +} +``` + +
diff --git a/docs/reference/Despair.Poise.ProjectEdit.md b/docs/reference/Despair.Poise.ProjectEdit.md new file mode 100644 index 0000000..e79e61c --- /dev/null +++ b/docs/reference/Despair.Poise.ProjectEdit.md @@ -0,0 +1,48 @@ +# Despair.Poise.ProjectEdit + +[Индекс](../API.md) + +## Despair.Poise.ProjectEdit.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens a Animation Project + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the variable to edit | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + } + }, + "@K[203]": "Opens a Animation Project" +} +``` + +
+ +## Despair.Poise.ProjectEdit.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently opened Animation Project + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently opened Animation Project" +} +``` + +
diff --git a/docs/reference/Despair.Poise.Properties.md b/docs/reference/Despair.Poise.Properties.md new file mode 100644 index 0000000..2aa2f24 --- /dev/null +++ b/docs/reference/Despair.Poise.Properties.md @@ -0,0 +1,333 @@ +# Despair.Poise.Properties + +[Индекс](../API.md) + +## Despair.Poise.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Poise.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Poise.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Poise.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Poise.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Poise.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Poise.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Poise.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Poise.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Poise.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Poise.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Poise.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Poise.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Poise.ResourceView.md b/docs/reference/Despair.Poise.ResourceView.md new file mode 100644 index 0000000..7bb01c2 --- /dev/null +++ b/docs/reference/Despair.Poise.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Poise.ResourceView + +[Индекс](../API.md) + +## Despair.Poise.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Poise.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Poise.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Poise.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Poise.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Poise.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Poise.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Poise.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Poise.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Poise.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Poise.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Poise.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Poise.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Poise.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Poise.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Poise.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Poise.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Poise.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Poise.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Poise.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Poise.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Poise.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Poise.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Poise.StandardToolbar.md b/docs/reference/Despair.Poise.StandardToolbar.md new file mode 100644 index 0000000..0d23af8 --- /dev/null +++ b/docs/reference/Despair.Poise.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Poise.StandardToolbar + +[Индекс](../API.md) + +## Despair.Poise.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Poise.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Poise.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Poise.StateEditor.Property.md b/docs/reference/Despair.Poise.StateEditor.Property.md new file mode 100644 index 0000000..c22541c --- /dev/null +++ b/docs/reference/Despair.Poise.StateEditor.Property.md @@ -0,0 +1,333 @@ +# Despair.Poise.StateEditor.Property + +[Индекс](../API.md) + +## Despair.Poise.StateEditor.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Poise.StateEditor.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Poise.StateEditor.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Poise.StateEditor.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Poise.StateEditor.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Poise.StateEditor.States.md b/docs/reference/Despair.Poise.StateEditor.States.md new file mode 100644 index 0000000..aefb27b --- /dev/null +++ b/docs/reference/Despair.Poise.StateEditor.States.md @@ -0,0 +1,301 @@ +# Despair.Poise.StateEditor.States + +[Индекс](../API.md) + +## Despair.Poise.StateEditor.States.Delete + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified state / conduit + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes the specified state / conduit" +} +``` + +
+ +## Despair.Poise.StateEditor.States.DragStateIncoming + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Drags the specified state / conduit onto the graph + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the state / condition to drag | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state / condition to drag" + } + }, + "@K[203]": "Drags the specified state / conduit onto the graph" +} +``` + +
+ +## Despair.Poise.StateEditor.States.DragStateOutgoing + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Drags the specified state / conduit onto the graph + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the state / condition to drag | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state / condition to drag" + } + }, + "@K[203]": "Drags the specified state / conduit onto the graph" +} +``` + +
+ +## Despair.Poise.StateEditor.States.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Poise.StateEditor.States.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Poise.StateEditor.States.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Poise.StateEditor.States.NewConduit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new conduit + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the conduit to create | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the conduit to create" + } + }, + "@K[203]": "Creates a new conduit" +} +``` + +
+ +## Despair.Poise.StateEditor.States.NewState + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new state + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the state to create | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the state to create" + } + }, + "@K[203]": "Creates a new state" +} +``` + +
+ +## Despair.Poise.StateEditor.States.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.States.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Poise.StateEditor.States.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Poise.StateEditor.States.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Poise.StateEditor.States.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Poise.StateEditor.States.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Poise.StateEditor.md b/docs/reference/Despair.Poise.StateEditor.md new file mode 100644 index 0000000..63c8c00 --- /dev/null +++ b/docs/reference/Despair.Poise.StateEditor.md @@ -0,0 +1,387 @@ +# Despair.Poise.StateEditor + +[Индекс](../API.md) + +## Despair.Poise.StateEditor.Activate + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the state machine editor for the selected component + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Opens the state machine editor for the selected component" +} +``` + +
+ +## Despair.Poise.StateEditor.AddIncomingCondition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add a condition to a specified state link + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the condition to add | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the condition to add" + } + }, + "@K[203]": "Add a condition to a specified state link" +} +``` + +
+ +## Despair.Poise.StateEditor.AddOutgoingCondition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Add a condition to a specified state link + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the condition to add | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the condition to add" + } + }, + "@K[203]": "Add a condition to a specified state link" +} +``` + +
+ +## Despair.Poise.StateEditor.AddTag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the specified tag to the node list + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the tag from the popup menu to add | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the tag from the popup menu to add" + } + }, + "@K[203]": "Adds the specified tag to the node list" +} +``` + +
+ +## Despair.Poise.StateEditor.Cancel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Cancels all changes from the state machine and closes it + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Cancels all changes from the state machine and closes it" +} +``` + +
+ +## Despair.Poise.StateEditor.DeleteIncomingCondition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified tag from the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes the specified tag from the specified link" +} +``` + +
+ +## Despair.Poise.StateEditor.DeleteIncomingState + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified outgoing state + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes the specified outgoing state" +} +``` + +
+ +## Despair.Poise.StateEditor.DeleteOutgoingCondition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified tag from the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes the specified tag from the specified link" +} +``` + +
+ +## Despair.Poise.StateEditor.DeleteOutgoingState + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Deletes the specified outgoing state + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Deletes the specified outgoing state" +} +``` + +
+ +## Despair.Poise.StateEditor.DeleteTag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the specified tag to the node list + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the specified tag to the node list" +} +``` + +
+ +## Despair.Poise.StateEditor.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves all changes from the state machine and closes it + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves all changes from the state machine and closes it" +} +``` + +
+ +## Despair.Poise.StateEditor.SelectIncomingState + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified incoming state + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the specified incoming state" +} +``` + +
+ +## Despair.Poise.StateEditor.SelectIncomingTransition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified incoming transition + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the specified incoming transition" +} +``` + +
+ +## Despair.Poise.StateEditor.SelectOutgoingState + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified outgoing state + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the specified outgoing state" +} +``` + +
+ +## Despair.Poise.StateEditor.SelectOutgoingTransition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified outgoing transition + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the specified outgoing transition" +} +``` + +
+ +## Despair.Poise.StateEditor.SelectTag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified tag from the tag list + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the tag to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the tag to select" + } + }, + "@K[203]": "Selects the specified tag from the tag list" +} +``` + +
+ +## Despair.Poise.StateEditor.SeverIncomingLink + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Severs the link from the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Severs the link from the specified link" +} +``` + +
+ +## Despair.Poise.StateEditor.SeverOutgoingLink + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Severs the link from the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Severs the link from the specified link" +} +``` + +
+ +## Despair.Poise.StateEditor.SymmetricIncoming + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs the symetric function on the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs the symetric function on the specified link" +} +``` + +
+ +## Despair.Poise.StateEditor.SymmetricOutgoing + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs the symetric function on the specified link + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs the symetric function on the specified link" +} +``` + +
diff --git a/docs/reference/Despair.Poise.VarEdit.md b/docs/reference/Despair.Poise.VarEdit.md new file mode 100644 index 0000000..f32a57b --- /dev/null +++ b/docs/reference/Despair.Poise.VarEdit.md @@ -0,0 +1,97 @@ +# Despair.Poise.VarEdit + +[Индекс](../API.md) + +## Despair.Poise.VarEdit.Edit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Change the value of a animation variable directly in the graph + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the variable to edit | +| 2.0 | @K[209] | Value of the variable to modify | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Value of the variable to modify" + } + }, + "@K[203]": "Change the value of a animation variable directly in the graph" +} +``` + +
+ +## Despair.Poise.VarEdit.EditUI + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Change the value of a animation variable thru the preview UI + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the variable to edit | +| 2.0 | @K[209] | Value of the variable to modify | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to edit" + }, + "2.0": { + "@K[209]": "@K[209]", + "@K[211]": "Value of the variable to modify" + } + }, + "@K[203]": "Change the value of a animation variable thru the preview UI" +} +``` + +
+ +## Despair.Poise.VarEdit.RightClick + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a mouse right click on the specified variable + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the variable to right click | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the variable to right click" + } + }, + "@K[203]": "Performs a mouse right click on the specified variable" +} +``` + +
diff --git a/docs/reference/Despair.Poise.Views.md b/docs/reference/Despair.Poise.Views.md new file mode 100644 index 0000000..42e596c --- /dev/null +++ b/docs/reference/Despair.Poise.Views.md @@ -0,0 +1,171 @@ +# Despair.Poise.Views + +[Индекс](../API.md) + +## Despair.Poise.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Poise.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Poise.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Poise.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Poise.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Poise.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Poise.md b/docs/reference/Despair.Poise.md new file mode 100644 index 0000000..ae9d290 --- /dev/null +++ b/docs/reference/Despair.Poise.md @@ -0,0 +1,243 @@ +# Despair.Poise + +[Индекс](../API.md) + +## Despair.Poise.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Poise.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Poise.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Poise.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Poise.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Poise.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Poise.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Poise.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Poise.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Action.md b/docs/reference/Despair.ProfileEditor.Action.md new file mode 100644 index 0000000..609141a --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Action.md @@ -0,0 +1,64 @@ +# Despair.ProfileEditor.Action + +[Индекс](../API.md) + +## Despair.ProfileEditor.Action.AddBinding + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a input binding to the specified controller button. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | InputName | Name of the Input to bind. | +| 2.0 | BindingName | Name of bind. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "InputName", + "@K[211]": "Name of the Input to bind." + }, + "2.0": { + "@K[209]": "BindingName", + "@K[211]": "Name of bind." + } + }, + "@K[203]": "Adds a input binding to the specified controller button." +} +``` + +
+ +## Despair.ProfileEditor.Action.RemoveBinding + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes a input binding from the specified controller button. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ActionName | Name of action to add input binding to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ActionName", + "@K[211]": "Name of action to add input binding to." + } + }, + "@K[203]": "Removes a input binding from the specified controller button." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.AutomationUtility.md b/docs/reference/Despair.ProfileEditor.AutomationUtility.md new file mode 100644 index 0000000..e1111e4 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.ProfileEditor.AutomationUtility + +[Индекс](../API.md) + +## Despair.ProfileEditor.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.ProfileEditor.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Configuration.md b/docs/reference/Despair.ProfileEditor.Configuration.md new file mode 100644 index 0000000..3e72285 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Configuration.md @@ -0,0 +1,233 @@ +# Despair.ProfileEditor.Configuration + +[Индекс](../API.md) + +## Despair.ProfileEditor.Configuration.AddConfiguration + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds a new configuration with the desired name.) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the config to add. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to add." + } + }, + "@K[203]": "Adds a new configuration with the desired name.)" +} +``` + +
+ +## Despair.ProfileEditor.Configuration.CopyConfiguration + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Copies the desired configuration. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the config to copy. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to copy." + } + }, + "@K[203]": "Copies the desired configuration." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select list item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select list item." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.PasteConfiguration + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Pastes the previously copied configuratin with the desired name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the new pasted config. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new pasted config." + } + }, + "@K[203]": "Pastes the previously copied configuratin with the desired name." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.RemoveConfiguration + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Removes the desired configuration. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the config to remove. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the config to remove." + } + }, + "@K[203]": "Removes the desired configuration." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the list. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the list." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified list item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the item to select. | +| 2.0 | UsePartialMatch | Should the select include partial matches? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the item to select." + }, + "2.0": { + "@K[209]": "UsePartialMatch", + "@K[211]": "Should the select include partial matches?" + } + }, + "@K[203]": "Selects the specified list item. " +} +``` + +
+ +## Despair.ProfileEditor.Configuration.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the list otherwise the first item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the list otherwise the first item is selected." +} +``` + +
+ +## Despair.ProfileEditor.Configuration.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.File.md b/docs/reference/Despair.ProfileEditor.File.md new file mode 100644 index 0000000..f5e0fe1 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.File.md @@ -0,0 +1,110 @@ +# Despair.ProfileEditor.File + +[Индекс](../API.md) + +## Despair.ProfileEditor.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.ProfileEditor.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new profile. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new profile." +} +``` + +
+ +## Despair.ProfileEditor.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the profile specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the profile that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the profile that should be opened." + } + }, + "@K[203]": "Opens the profile specified by Path." +} +``` + +
+ +## Despair.ProfileEditor.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.ProfileEditor.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the profile. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the profile." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Keyboard.md b/docs/reference/Despair.ProfileEditor.Keyboard.md new file mode 100644 index 0000000..430463c --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.ProfileEditor.Keyboard + +[Индекс](../API.md) + +## Despair.ProfileEditor.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.ProfileEditor.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Mouse.md b/docs/reference/Despair.ProfileEditor.Mouse.md new file mode 100644 index 0000000..cd3f5e1 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Mouse.md @@ -0,0 +1,75 @@ +# Despair.ProfileEditor.Mouse + +[Индекс](../API.md) + +## Despair.ProfileEditor.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.ProfileEditor.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.ProfileEditor.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.OS.md b/docs/reference/Despair.ProfileEditor.OS.md new file mode 100644 index 0000000..fac22a7 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.OS.md @@ -0,0 +1,162 @@ +# Despair.ProfileEditor.OS + +[Индекс](../API.md) + +## Despair.ProfileEditor.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.ProfileEditor.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.ProfileEditor.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.ProfileEditor.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.ProfileEditor.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Object.md b/docs/reference/Despair.ProfileEditor.Object.md new file mode 100644 index 0000000..7438492 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Object.md @@ -0,0 +1,206 @@ +# Despair.ProfileEditor.Object + +[Индекс](../API.md) + +## Despair.ProfileEditor.Object.AddType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Parameters : 1 : (string) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Parameters : 1 : (string)" +} +``` + +
+ +## Despair.ProfileEditor.Object.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.ProfileEditor.Object.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.ProfileEditor.Object.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.ProfileEditor.Object.RemoveType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Parameters : 1 : (string) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Parameters : 1 : (string)" +} +``` + +
+ +## Despair.ProfileEditor.Object.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.ProfileEditor.Object.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.ProfileEditor.Object.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.ProfileEditor.Object.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.ProfileEditor.Object.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.ProfileEditor.Object.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Perforce.md b/docs/reference/Despair.ProfileEditor.Perforce.md new file mode 100644 index 0000000..bd0e587 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Perforce.md @@ -0,0 +1,153 @@ +# Despair.ProfileEditor.Perforce + +[Индекс](../API.md) + +## Despair.ProfileEditor.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.ProfileEditor.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.ProfileEditor.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.ProfileEditor.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.ProfileEditor.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.PropertyView.md b/docs/reference/Despair.ProfileEditor.PropertyView.md new file mode 100644 index 0000000..c3f2ae8 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.PropertyView.md @@ -0,0 +1,333 @@ +# Despair.ProfileEditor.PropertyView + +[Индекс](../API.md) + +## Despair.ProfileEditor.PropertyView.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.ProfileEditor.PropertyView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.ResourceView.md b/docs/reference/Despair.ProfileEditor.ResourceView.md new file mode 100644 index 0000000..5c3cd43 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.ProfileEditor.ResourceView + +[Индекс](../API.md) + +## Despair.ProfileEditor.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.ProfileEditor.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.StandardToolbar.md b/docs/reference/Despair.ProfileEditor.StandardToolbar.md new file mode 100644 index 0000000..7abbd83 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.ProfileEditor.StandardToolbar + +[Индекс](../API.md) + +## Despair.ProfileEditor.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.ProfileEditor.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.ProfileEditor.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.Views.md b/docs/reference/Despair.ProfileEditor.Views.md new file mode 100644 index 0000000..2551e5e --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.Views.md @@ -0,0 +1,171 @@ +# Despair.ProfileEditor.Views + +[Индекс](../API.md) + +## Despair.ProfileEditor.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.ProfileEditor.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.ProfileEditor.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.ProfileEditor.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.ProfileEditor.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.ProfileEditor.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.ProfileEditor.md b/docs/reference/Despair.ProfileEditor.md new file mode 100644 index 0000000..918cb89 --- /dev/null +++ b/docs/reference/Despair.ProfileEditor.md @@ -0,0 +1,243 @@ +# Despair.ProfileEditor + +[Индекс](../API.md) + +## Despair.ProfileEditor.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.ProfileEditor.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.ProfileEditor.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.ProfileEditor.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.ProfileEditor.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.ProfileEditor.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.ProfileEditor.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.ProfileEditor.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.ProfileEditor.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Smash.AutomationUtility.md b/docs/reference/Despair.Smash.AutomationUtility.md new file mode 100644 index 0000000..a677030 --- /dev/null +++ b/docs/reference/Despair.Smash.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Smash.AutomationUtility + +[Индекс](../API.md) + +## Despair.Smash.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Smash.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Smash.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Smash.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Smash.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Smash.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Smash.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Smash.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Smash.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Smash.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Smash.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Smash.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Smash.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Smash.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Smash.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Smash.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Smash.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Smash.File.md b/docs/reference/Despair.Smash.File.md new file mode 100644 index 0000000..34ea8f5 --- /dev/null +++ b/docs/reference/Despair.Smash.File.md @@ -0,0 +1,65 @@ +# Despair.Smash.File + +[Индекс](../API.md) + +## Despair.Smash.File.NewSubstance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new substance. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the new susbtance. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the new susbtance." + } + }, + "@K[203]": "Creates a new substance." +} +``` + +
+ +## Despair.Smash.File.RefreshList + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Refreshes the list of substances + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Refreshes the list of substances" +} +``` + +
+ +## Despair.Smash.File.SaveAll + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves all substance files. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves all substance files." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Keyboard.md b/docs/reference/Despair.Smash.Keyboard.md new file mode 100644 index 0000000..238ad8c --- /dev/null +++ b/docs/reference/Despair.Smash.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Smash.Keyboard + +[Индекс](../API.md) + +## Despair.Smash.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Smash.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Mouse.md b/docs/reference/Despair.Smash.Mouse.md new file mode 100644 index 0000000..71d439f --- /dev/null +++ b/docs/reference/Despair.Smash.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Smash.Mouse + +[Индекс](../API.md) + +## Despair.Smash.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Smash.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Smash.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Smash.OS.md b/docs/reference/Despair.Smash.OS.md new file mode 100644 index 0000000..144c6fe --- /dev/null +++ b/docs/reference/Despair.Smash.OS.md @@ -0,0 +1,162 @@ +# Despair.Smash.OS + +[Индекс](../API.md) + +## Despair.Smash.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Smash.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Smash.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Smash.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Smash.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Smash.Perforce.md b/docs/reference/Despair.Smash.Perforce.md new file mode 100644 index 0000000..24e3bfc --- /dev/null +++ b/docs/reference/Despair.Smash.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Smash.Perforce + +[Индекс](../API.md) + +## Despair.Smash.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Smash.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Smash.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Smash.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Smash.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Property.Toolbar.md b/docs/reference/Despair.Smash.Property.Toolbar.md new file mode 100644 index 0000000..370ec3c --- /dev/null +++ b/docs/reference/Despair.Smash.Property.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Smash.Property.Toolbar + +[Индекс](../API.md) + +## Despair.Smash.Property.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Smash.Property.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Smash.Property.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Property.md b/docs/reference/Despair.Smash.Property.md new file mode 100644 index 0000000..3748510 --- /dev/null +++ b/docs/reference/Despair.Smash.Property.md @@ -0,0 +1,333 @@ +# Despair.Smash.Property + +[Индекс](../API.md) + +## Despair.Smash.Property.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Smash.Property.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Smash.Property.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Smash.Property.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Smash.Property.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Smash.Property.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Smash.Property.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Smash.Property.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Smash.Property.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Smash.Property.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Smash.Property.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Smash.Property.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Smash.Property.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Smash.Property.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Smash.Property.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Smash.ResourceView.md b/docs/reference/Despair.Smash.ResourceView.md new file mode 100644 index 0000000..d2ec900 --- /dev/null +++ b/docs/reference/Despair.Smash.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Smash.ResourceView + +[Индекс](../API.md) + +## Despair.Smash.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Smash.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Smash.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Smash.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Smash.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Smash.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Smash.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Smash.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Smash.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Smash.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Smash.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Smash.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Smash.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Smash.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Smash.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Smash.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Smash.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Smash.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Smash.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Smash.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Smash.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Smash.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Smash.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Smash.StandardToolbar.md b/docs/reference/Despair.Smash.StandardToolbar.md new file mode 100644 index 0000000..acfae3f --- /dev/null +++ b/docs/reference/Despair.Smash.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Smash.StandardToolbar + +[Индекс](../API.md) + +## Despair.Smash.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Smash.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Smash.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Substances.Destination.md b/docs/reference/Despair.Smash.Substances.Destination.md new file mode 100644 index 0000000..c4af915 --- /dev/null +++ b/docs/reference/Despair.Smash.Substances.Destination.md @@ -0,0 +1,172 @@ +# Despair.Smash.Substances.Destination + +[Индекс](../API.md) + +## Despair.Smash.Substances.Destination.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Smash.Substances.Destination.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Smash.Substances.Destination.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Destination.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Substances.Source.md b/docs/reference/Despair.Smash.Substances.Source.md new file mode 100644 index 0000000..87e9c85 --- /dev/null +++ b/docs/reference/Despair.Smash.Substances.Source.md @@ -0,0 +1,172 @@ +# Despair.Smash.Substances.Source + +[Индекс](../API.md) + +## Despair.Smash.Substances.Source.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Smash.Substances.Source.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Smash.Substances.Source.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Smash.Substances.Source.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Smash.Substances.Source.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Smash.Substances.Source.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Source.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Source.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Smash.Substances.Source.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Smash.Views.md b/docs/reference/Despair.Smash.Views.md new file mode 100644 index 0000000..302bf68 --- /dev/null +++ b/docs/reference/Despair.Smash.Views.md @@ -0,0 +1,171 @@ +# Despair.Smash.Views + +[Индекс](../API.md) + +## Despair.Smash.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Smash.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Smash.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Smash.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Smash.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Smash.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Smash.md b/docs/reference/Despair.Smash.md new file mode 100644 index 0000000..89f9b5c --- /dev/null +++ b/docs/reference/Despair.Smash.md @@ -0,0 +1,243 @@ +# Despair.Smash + +[Индекс](../API.md) + +## Despair.Smash.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Smash.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Smash.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Smash.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Smash.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Smash.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Smash.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Smash.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Smash.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Despair.Spectator.AutomationUtility.md b/docs/reference/Despair.Spectator.AutomationUtility.md new file mode 100644 index 0000000..bb8d39c --- /dev/null +++ b/docs/reference/Despair.Spectator.AutomationUtility.md @@ -0,0 +1,513 @@ +# Despair.Spectator.AutomationUtility + +[Индекс](../API.md) + +## Despair.Spectator.AutomationUtility.AutomationError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the error output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the error. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the error." + } + }, + "@K[203]": "Prints Message in the error output log." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.AutomationInfo + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the info output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report in the info log. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report in the info log." + } + }, + "@K[203]": "Prints Message in the info output log." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.AutomationWarning + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Prints Message in the warning output log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to report with the warning. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to report with the warning." + } + }, + "@K[203]": "Prints Message in the warning output log." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.CreateDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new directory at the desired location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to create directory. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to create directory." + } + }, + "@K[203]": "Creates a new directory at the desired location." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.FindFiles + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | Extension | Extension of files to look for. | +| 3.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "3.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.FindFilesWithName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Finds all files at the given location. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path of directory to begin search. | +| 2.0 | @K[210] | Name of the file to match. Can contain wildcards. | +| 3.0 | Extension | Extension of files to look for. | +| 4.0 | Children | Find files in subdirectories. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path of directory to begin search." + }, + "2.0": { + "@K[209]": "@K[210]", + "@K[211]": "Name of the file to match. Can contain wildcards." + }, + "3.0": { + "@K[209]": "Extension", + "@K[211]": "Extension of files to look for." + }, + "4.0": { + "@K[209]": "Children", + "@K[211]": "Find files in subdirectories." + } + }, + "@K[203]": "Finds all files at the given location." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.GetFileFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.GetFileOpenError + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets a value indicating file open success or failure. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets a value indicating file open success or failure." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.GetFolderFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## Despair.Spectator.AutomationUtility.GetResourceFromPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## Despair.Spectator.AutomationUtility.IsFileMiniPack + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if file is a mini pack, false otherwise or on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | fileName | Name of the file to compare. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "fileName", + "@K[211]": "Name of the file to compare." + } + }, + "@K[203]": "Returns true if file is a mini pack, false otherwise or on error." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.IsFlexML + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified resource is in the flexml file format. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to check." + } + }, + "@K[203]": "Tests whether the specified resource is in the flexml file format." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.PathExists + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Tests whether the specified database path exists (Dir or File). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to test for existence. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to test for existence." + } + }, + "@K[203]": "Tests whether the specified database path exists (Dir or File)." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.StringCompare + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the strings are equal and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Str1 | First string for comparison. | +| 2.0 | Str2 | Second string for comparison. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Str1", + "@K[211]": "First string for comparison." + }, + "2.0": { + "@K[209]": "Str2", + "@K[211]": "Second string for comparison." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the strings are equal and false if not." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.StringContains + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the Sought is found in Searched. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Sought | The string we are looking for. | +| 2.0 | Searched | The string we are looking in. | +| 3.0 | IgnoreCase | Should the comparison consider case? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Sought", + "@K[211]": "The string we are looking for." + }, + "2.0": { + "@K[209]": "Searched", + "@K[211]": "The string we are looking in." + }, + "3.0": { + "@K[209]": "IgnoreCase", + "@K[211]": "Should the comparison consider case?" + } + }, + "@K[203]": "Returns true if the Sought is found in Searched." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.StripFileExtension + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name or path passed in without its extension. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path or filename to the resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path or filename to the resource." + } + }, + "@K[203]": "Returns the file name or path passed in without its extension." +} +``` + +
+ +## Despair.Spectator.AutomationUtility.ToLower + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the a copy of the string in lower case. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Input | String to be changed to lower case. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Input", + "@K[211]": "String to be changed to lower case." + } + }, + "@K[203]": "Returns the a copy of the string in lower case." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.File.md b/docs/reference/Despair.Spectator.File.md new file mode 100644 index 0000000..b92958a --- /dev/null +++ b/docs/reference/Despair.Spectator.File.md @@ -0,0 +1,110 @@ +# Despair.Spectator.File + +[Индекс](../API.md) + +## Despair.Spectator.File.Close + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Closes the file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Closes the file." +} +``` + +
+ +## Despair.Spectator.File.New + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates a new effect. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a new effect." +} +``` + +
+ +## Despair.Spectator.File.Open + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Opens the effect specified by Path. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path to the effect that should be opened. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path to the effect that should be opened." + } + }, + "@K[203]": "Opens the effect specified by Path." +} +``` + +
+ +## Despair.Spectator.File.Save + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the currently selected file. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the currently selected file." +} +``` + +
+ +## Despair.Spectator.File.SaveAs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Saves the file with the name specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | Path and filename that should be used for saving the effect. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "Path and filename that should be used for saving the effect." + } + }, + "@K[203]": "Saves the file with the name specified." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Hierarchy.md b/docs/reference/Despair.Spectator.Hierarchy.md new file mode 100644 index 0000000..312ba7e --- /dev/null +++ b/docs/reference/Despair.Spectator.Hierarchy.md @@ -0,0 +1,172 @@ +# Despair.Spectator.Hierarchy + +[Индекс](../API.md) + +## Despair.Spectator.Hierarchy.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Expands the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Expands the currently selected tree item." +} +``` + +
+ +## Despair.Spectator.Hierarchy.FoundLastItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if the last SelectItem call was sucessful. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the last SelectItem call was sucessful." +} +``` + +
+ +## Despair.Spectator.Hierarchy.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Select specified item named "Name" in the tree. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Resource path to the model to use for previews. | +| 2.0 | PartialMatch | Does Name only specify a subset of the name? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Resource path to the model to use for previews." + }, + "2.0": { + "@K[209]": "PartialMatch", + "@K[211]": "Does Name only specify a subset of the name? " + } + }, + "@K[203]": "Select specified item named \"Name\" in the tree." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SelectParent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the parent of the currently selected tree item otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the parent of the currently selected tree item otherwise the root item is selected." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree otherwise the root item is selected. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree otherwise the root item is selected." +} +``` + +
+ +## Despair.Spectator.Hierarchy.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Keyboard.md b/docs/reference/Despair.Spectator.Keyboard.md new file mode 100644 index 0000000..5b7ddc0 --- /dev/null +++ b/docs/reference/Despair.Spectator.Keyboard.md @@ -0,0 +1,59 @@ +# Despair.Spectator.Keyboard + +[Индекс](../API.md) + +## Despair.Spectator.Keyboard.SendKeyDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key depress to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key depress to the application." +} +``` + +
+ +## Despair.Spectator.Keyboard.SendKeyUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified key release to the application. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Key | Key to send to the application. Value values are:
Alpha: VK_A, VK_B, ... , VK_Y, VK_Z
Numeric: VK_0, VK_1, ... , VK_8, VK_9
Modifier: VK_SHIFT, VK_CONTROL, VK_MENU
Special: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE
Keypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL
Functions: VK_F1, VK_F2, ... , VK_F11, VK_F12
Direction: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Key", + "@K[211]": "Key to send to the application. Value values are:\n\tAlpha: VK_A, VK_B, ... , VK_Y, VK_Z\n\tNumeric: VK_0, VK_1, ... , VK_8, VK_9\n\tModifier: VK_SHIFT, VK_CONTROL, VK_MENU\n\tSpecial: VK_RETURN, VK_MENU, VK_CAPITOL, VK_ESCAPE, VK_SPACE\n\tKeypad: VK_MULTIPLY, VK_ADD, VK_SUBTRACT, VK_DIVIDE, VK_SEPARATOR, VK_DECIMAL\n\tFunctions: VK_F1, VK_F2, ... , VK_F11, VK_F12\n\tDirection: VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN" + } + }, + "@K[203]": "Sends specified key release to the application." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Mouse.md b/docs/reference/Despair.Spectator.Mouse.md new file mode 100644 index 0000000..3a6f71b --- /dev/null +++ b/docs/reference/Despair.Spectator.Mouse.md @@ -0,0 +1,75 @@ +# Despair.Spectator.Mouse + +[Индекс](../API.md) + +## Despair.Spectator.Mouse.LeftDown + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Spectator.Mouse.LeftUp + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends specified mouse button to the application. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends specified mouse button to the application." +} +``` + +
+ +## Despair.Spectator.Mouse.Move + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sends mouse move message with the specified X and Y values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | X | X value | +| 2.0 | Y | Y value | +| 3.0 | Absolute | Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "X", + "@K[211]": "X value" + }, + "2.0": { + "@K[209]": "Y", + "@K[211]": "Y value" + }, + "3.0": { + "@K[209]": "Absolute", + "@K[211]": "Use absolute (a.k.a Screen) coordinates? Alternative is relative (a.k.a Client) coordinates. " + } + }, + "@K[203]": "Sends mouse move message with the specified X and Y values." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.OS.md b/docs/reference/Despair.Spectator.OS.md new file mode 100644 index 0000000..6cd4945 --- /dev/null +++ b/docs/reference/Despair.Spectator.OS.md @@ -0,0 +1,162 @@ +# Despair.Spectator.OS + +[Индекс](../API.md) + +## Despair.Spectator.OS.CmdExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Executes an application from the command line. For Day 1 tools the alias "day1:tool name" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Execuable | Day 1 Tool executable alias or full path to executable to launch. | +| 2.0 | Parameters | Parameters that should be passed to the executable. | +| 3.0 | Timeout | Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Execuable", + "@K[211]": "Day 1 Tool executable alias or full path to executable to launch." + }, + "2.0": { + "@K[209]": "Parameters", + "@K[211]": "Parameters that should be passed to the executable." + }, + "3.0": { + "@K[209]": "Timeout", + "@K[211]": "Amount of time in milliseconds to wait for the operation to complete. Use 0 for infinite." + } + }, + "@K[203]": "Executes an application from the command line. For Day 1 tools the alias \"day1:tool name\" can be used, and for non Day 1 tools the fully qualified path can be used. Note: will not work with built-in commands (i.e. dir, type, etc...)" +} +``` + +
+ +## Despair.Spectator.OS.GetInstallLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified product and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProductName | Name of the product to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProductName", + "@K[211]": "Name of the product to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified product and returns the resulting path as a string" +} +``` + +
+ +## Despair.Spectator.OS.GetProjectName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the name of the current project and returns the result as a string + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Queries the registry for the name of the current project and returns the result as a string" +} +``` + +
+ +## Despair.Spectator.OS.GetResourceDepotLocation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ProjectName | Name of the project whose resource depot to locate. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ProjectName", + "@K[211]": "Name of the project whose resource depot to locate." + } + }, + "@K[203]": "Queries the registry for the install location of the specified project's resource depot and returns the resulting path as a string" +} +``` + +
+ +## Despair.Spectator.OS.ShellExec + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs an OS shell execute. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Operation | Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.
"edit"
Launches an editor and opens the document for editing. If File is not a document file, the function will fail.
"explore"
Explores the folder specified by File.
"find"
Initiates a search starting from the specified directory.
"open"
Opens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.
"print"
Prints the document file specified by File. If File is not a document file, the function will fail.
| +| 2.0 | @K[75] | String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb. | +| 3.0 | Parameters | If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. | +| 4.0 | Directory | String that specifies the default directory. | +| 5.0 | Show | Show this call show the application being used to perform the verb specified? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Operation", + "@K[211]": "Verb that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see the MSDN docs for ShellExecute. The following verbs are commonly used.\n\"edit\"\nLaunches an editor and opens the document for editing. If File is not a document file, the function will fail.\n\"explore\"\nExplores the folder specified by File.\n\"find\"\nInitiates a search starting from the specified directory.\n\"open\"\nOpens the file specified by the File parameter. The file can be an executable file, a document file, or a folder.\n\"print\"\nPrints the document file specified by File. If File is not a document file, the function will fail.\n" + }, + "2.0": { + "@K[209]": "@K[75]", + "@K[211]": "String that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the \"print\" verb." + }, + "3.0": { + "@K[209]": "Parameters", + "@K[211]": "If the File parameter specifies an executable file, Parameters is a string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If File specifies a document file, Parameters should be empty. " + }, + "4.0": { + "@K[209]": "Directory", + "@K[211]": "String that specifies the default directory." + }, + "5.0": { + "@K[209]": "Show", + "@K[211]": "Show this call show the application being used to perform the verb specified?" + } + }, + "@K[203]": "Performs an OS shell execute. " +} +``` + +
diff --git a/docs/reference/Despair.Spectator.ObjectInfo.md b/docs/reference/Despair.Spectator.ObjectInfo.md new file mode 100644 index 0000000..2ee7c4f --- /dev/null +++ b/docs/reference/Despair.Spectator.ObjectInfo.md @@ -0,0 +1,333 @@ +# Despair.Spectator.ObjectInfo + +[Индекс](../API.md) + +## Despair.Spectator.ObjectInfo.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.ObjectInfo.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Spectator.ObjectInfo.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.ObjectInfo.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Spectator.ObjectInfo.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Perforce.md b/docs/reference/Despair.Spectator.Perforce.md new file mode 100644 index 0000000..67dc05d --- /dev/null +++ b/docs/reference/Despair.Spectator.Perforce.md @@ -0,0 +1,153 @@ +# Despair.Spectator.Perforce + +[Индекс](../API.md) + +## Despair.Spectator.Perforce.Checkin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FileList | Comma separated list of filenames to checkin. | +| 2.0 | ChangelistDescription | Description to use for the change list being checked in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FileList", + "@K[211]": "Comma separated list of filenames to checkin." + }, + "2.0": { + "@K[209]": "ChangelistDescription", + "@K[211]": "Description to use for the change list being checked in." + } + }, + "@K[203]": "Checks in the files listed in File List. The Changelist Description is applied to the changelist generated for this check in." +} +``` + +
+ +## Despair.Spectator.Perforce.Checkout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks out the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to check out | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to check out" + } + }, + "@K[203]": "Checks out the filename specified from the perforce depot. Returns true is successful." +} +``` + +
+ +## Despair.Spectator.Perforce.IsCheckedOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns true if perforce state shows the file to be currently checked out, false otherwise. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to get checked out state for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to get checked out state for" + } + }, + "@K[203]": "Returns true if perforce state shows the file to be currently checked out, false otherwise." +} +``` + +
+ +## Despair.Spectator.Perforce.Revert + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Reverts the file specified. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to revert | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to revert" + } + }, + "@K[203]": "Reverts the file specified. Returns true is successful." +} +``` + +
+ +## Despair.Spectator.Perforce.Sync + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Syncs the filename specified from the perforce depot. Returns true is successful. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filename | Name of the file to sync | +| 2.0 | Revision | Revision number to sync too. Use -1 for current head revision | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filename", + "@K[211]": "Name of the file to sync" + }, + "2.0": { + "@K[209]": "Revision", + "@K[211]": "Revision number to sync too. Use -1 for current head revision" + } + }, + "@K[203]": "Syncs the filename specified from the perforce depot. Returns true is successful." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Properties.md b/docs/reference/Despair.Spectator.Properties.md new file mode 100644 index 0000000..aaf45b4 --- /dev/null +++ b/docs/reference/Despair.Spectator.Properties.md @@ -0,0 +1,333 @@ +# Despair.Spectator.Properties + +[Индекс](../API.md) + +## Despair.Spectator.Properties.EditItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the specified value into the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to edit. This value should match the label in the property tree. | +| 2.0 | NewValue | Value to set in the specified property. This should be a string representation of the underlying data. | +| 3.0 | Instance | Occurrence of the specified Name to edit. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to edit. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "NewValue", + "@K[211]": "Value to set in the specified property. This should be a string representation of the underlying data." + }, + "3.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to edit. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Sets the specified value into the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.Properties.EditSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the selected property's value to the value specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Value | The new value for the selected property. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the selected property." + } + }, + "@K[203]": "Changes the selected property's value to the value specified." +} +``` + +
+ +## Despair.Spectator.Properties.Expand + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[62] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Depth | depth to expand | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Depth", + "@K[211]": "depth to expand" + } + }, + "@K[203]": "@K[62]" +} +``` + +
+ +## Despair.Spectator.Properties.GetItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the current value of the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to query. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to query. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Gets the current value of the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.Properties.GetSelectedItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the value of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the value of the currently selected tree item." +} +``` + +
+ +## Despair.Spectator.Properties.GetSelectedLabel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the label of the currently select tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the label of the currently select tree item." +} +``` + +
+ +## Despair.Spectator.Properties.GetSelectedPath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the path of the currently selected tree item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the path of the currently selected tree item." +} +``` + +
+ +## Despair.Spectator.Properties.SelectFirst + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the first item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the first item in the tree." +} +``` + +
+ +## Despair.Spectator.Properties.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the specified property tree item. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the property to select. This value should match the label in the property tree. | +| 2.0 | Instance | Occurrence of the specified Name to select. Most cases will use 1 for this value. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the property to select. This value should match the label in the property tree." + }, + "2.0": { + "@K[209]": "Instance", + "@K[211]": "Occurrence of the specified Name to select. Most cases will use 1 for this value. " + } + }, + "@K[203]": "Selects the specified property tree item. " +} +``` + +
+ +## Despair.Spectator.Properties.SelectLast + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the last item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the last item in the tree." +} +``` + +
+ +## Despair.Spectator.Properties.SelectLeft + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree. Different from SelectPrevious because it will collapse the tree as it goes." +} +``` + +
+ +## Despair.Spectator.Properties.SelectNext + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree." +} +``` + +
+ +## Despair.Spectator.Properties.SelectPrev + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the previous item in the tree. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the previous item in the tree." +} +``` + +
+ +## Despair.Spectator.Properties.SelectRight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Selects the next item in the tree. Different from SelectNext because it will expand the tree as it goes." +} +``` + +
+ +## Despair.Spectator.Properties.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the Input Focus to this view to handle keyboard / mouse input. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the Input Focus to this view to handle keyboard / mouse input." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.AmbientLight.md b/docs/reference/Despair.Spectator.RenderView.AmbientLight.md new file mode 100644 index 0000000..7e27b83 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.AmbientLight.md @@ -0,0 +1,123 @@ +# Despair.Spectator.RenderView.AmbientLight + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.AmbientLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetAmbientEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetDirectionalEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetIntensity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetParticleColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetSkyColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetSpecularity + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetSunColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.AmbientLight.SetSunDirection + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.Camera.md b/docs/reference/Despair.Spectator.RenderView.Camera.md new file mode 100644 index 0000000..592107c --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.Camera.md @@ -0,0 +1,243 @@ +# Despair.Spectator.RenderView.Camera + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.Camera.SetAltSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetClearColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetDepthOfFieldEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetDriveSpeed + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFOV + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFarBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFarBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFarDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFocalDepth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetFocalWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetInvertYAxis + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetMoveWithFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetNearBlurLimit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetNearBlurRange + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetNearDistance + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetPosition + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetUseControllerInput + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.SetZoom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Camera.ZoomExtents + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.Fog.md b/docs/reference/Despair.Spectator.RenderView.Fog.md new file mode 100644 index 0000000..079b127 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.Fog.md @@ -0,0 +1,99 @@ +# Despair.Spectator.RenderView.Fog + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.Fog.SetBottom + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetEnd + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetStart + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetTop + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Fog.SetType + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.Grid.md b/docs/reference/Despair.Spectator.RenderView.Grid.md new file mode 100644 index 0000000..c2dd642 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.Grid.md @@ -0,0 +1,51 @@ +# Despair.Spectator.RenderView.Grid + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.Grid.SetAxisEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Grid.SetCellSize + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Grid.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Grid.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.Options.md b/docs/reference/Despair.Spectator.RenderView.Options.md new file mode 100644 index 0000000..5a6e41f --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.Options.md @@ -0,0 +1,147 @@ +# Despair.Spectator.RenderView.Options + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.Options.SetAdaptLuminanceEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetAdaptionExposure + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetAdaptionMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetAdaptionMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetAdaptionTime + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetBloomScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetBrightMax + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetBrightMin + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetHdrEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetShadowEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetToneScale + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.Options.SetWireframeEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.PointLight.md b/docs/reference/Despair.Spectator.RenderView.PointLight.md new file mode 100644 index 0000000..21258b0 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.PointLight.md @@ -0,0 +1,63 @@ +# Despair.Spectator.RenderView.PointLight + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.PointLight.ResetLight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.PointLight.SetColor + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.PointLight.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.PointLight.SetIndicatorsEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.PointLight.SetRotation + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.ScreenShot.md b/docs/reference/Despair.Spectator.RenderView.ScreenShot.md new file mode 100644 index 0000000..36b0f65 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.ScreenShot.md @@ -0,0 +1,63 @@ +# Despair.Spectator.RenderView.ScreenShot + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.ScreenShot.Capture + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.ScreenShot.SetImageDirectory + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.ScreenShot.SetImageHeight + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.ScreenShot.SetImageName + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.ScreenShot.SetImageWidth + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.RenderView.SkyDome.md b/docs/reference/Despair.Spectator.RenderView.SkyDome.md new file mode 100644 index 0000000..cfa4276 --- /dev/null +++ b/docs/reference/Despair.Spectator.RenderView.SkyDome.md @@ -0,0 +1,27 @@ +# Despair.Spectator.RenderView.SkyDome + +[Индекс](../API.md) + +## Despair.Spectator.RenderView.SkyDome.SetEnabled + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## Despair.Spectator.RenderView.SkyDome.SetModel + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +
Исходная структура call-tip + +```json +{} +``` + +
diff --git a/docs/reference/Despair.Spectator.ResourceView.Toolbar.md b/docs/reference/Despair.Spectator.ResourceView.Toolbar.md new file mode 100644 index 0000000..9c29d69 --- /dev/null +++ b/docs/reference/Despair.Spectator.ResourceView.Toolbar.md @@ -0,0 +1,97 @@ +# Despair.Spectator.ResourceView.Toolbar + +[Индекс](../API.md) + +## Despair.Spectator.ResourceView.Toolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.ResourceView.md b/docs/reference/Despair.Spectator.ResourceView.md new file mode 100644 index 0000000..1549db0 --- /dev/null +++ b/docs/reference/Despair.Spectator.ResourceView.md @@ -0,0 +1,486 @@ +# Despair.Spectator.ResourceView + +[Индекс](../API.md) + +## Despair.Spectator.ResourceView.AddToSourceControl + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Adds the selected item to perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Adds the selected item to perforce. " +} +``` + +
+ +## Despair.Spectator.ResourceView.BeginDrag + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Begins a drag and drop operation on the currently selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Begins a drag and drop operation on the currently selected item." +} +``` + +
+ +## Despair.Spectator.ResourceView.CheckIn + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item into perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item into perforce. " +} +``` + +
+ +## Despair.Spectator.ResourceView.CheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks the selected item out of perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Checks the selected item out of perforce. " +} +``` + +
+ +## Despair.Spectator.ResourceView.CheckOutForMove + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to move from src to dst. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to move | +| 2.0 | dst | The new database path for the moved file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to move" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the moved file" + } + }, + "@K[203]": "Checkout a single file to move from src to dst." +} +``` + +
+ +## Despair.Spectator.ResourceView.CheckOutForRename + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checkout a single file to rename from src to dst + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | src | The database path of file to rename | +| 2.0 | dst | The new database path for the renamed file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "src", + "@K[211]": "The database path of file to rename" + }, + "2.0": { + "@K[209]": "dst", + "@K[211]": "The new database path for the renamed file" + } + }, + "@K[203]": "Checkout a single file to rename from src to dst" +} +``` + +
+ +## Despair.Spectator.ResourceView.CreatePath + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Creates the path that the selected item exists in. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates the path that the selected item exists in. " +} +``` + +
+ +## Despair.Spectator.ResourceView.Explore + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Open Windows Explorer and browse to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Open Windows Explorer and browse to the selected item. " +} +``` + +
+ +## Despair.Spectator.ResourceView.GetLatestVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Gets the latest version of the selected item from perforce. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Gets the latest version of the selected item from perforce. " +} +``` + +
+ +## Despair.Spectator.ResourceView.Launch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Launch the selected item in the appropriate tool. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Launch the selected item in the appropriate tool. " +} +``` + +
+ +## Despair.Spectator.ResourceView.MakeWritable + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Mark the selected item as writable. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Mark the selected item as writable. " +} +``` + +
+ +## Despair.Spectator.ResourceView.Properties + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Diplays the Windows shell properties dialog. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Diplays the Windows shell properties dialog. " +} +``` + +
+ +## Despair.Spectator.ResourceView.SearchItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects a file if it is found in the resource view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Item | The full path string of the item you wish to search and select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Item", + "@K[211]": "The full path string of the item you wish to search and select" + } + }, + "@K[203]": "Selects a file if it is found in the resource view." +} +``` + +
+ +## Despair.Spectator.ResourceView.SelectItem + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Selects the given Folder and Item in the Resource View. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Folder | Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'. | +| 2.0 | Item | Item to select. Note: item must exist in folder specified by Folder | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Folder", + "@K[211]": "Folder to select. This must be relative to the resource root so it should begin with something like 'Objects' or 'Worlds'." + }, + "2.0": { + "@K[209]": "Item", + "@K[211]": "Item to select. Note: item must exist in folder specified by Folder" + } + }, + "@K[203]": "Selects the given Folder and Item in the Resource View. " +} +``` + +
+ +## Despair.Spectator.ResourceView.SetFilter + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Changes the filter for file extensions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Filter | The name of the file extension you wish the resource view to display | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Filter", + "@K[211]": "The name of the file extension you wish the resource view to display" + } + }, + "@K[203]": "Changes the filter for file extensions." +} +``` + +
+ +## Despair.Spectator.ResourceView.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Spectator.ResourceView.TestLaunch + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Performs a test on the launch feature. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Performs a test on the launch feature." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar_AutoRefresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enable or Disable Perforce auto refresh on folder change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean value to turn on or off auto refresh | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean value to turn on or off auto refresh" + } + }, + "@K[203]": "Enable or Disable Perforce auto refresh on folder change." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar_Refresh + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Rescan the resource directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Rescan the resource directory." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar_RefreshCurrent + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Force Perforce refresh on the current folder. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Force Perforce refresh on the current folder." +} +``` + +
+ +## Despair.Spectator.ResourceView.Toolbar_ShowPreview + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Enables or disables the preview area. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | boolean to turn on or off the preview area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "boolean to turn on or off the preview area" + } + }, + "@K[203]": "Enables or disables the preview area." +} +``` + +
+ +## Despair.Spectator.ResourceView.UndoCheckOut + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Revert changes to the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Revert changes to the selected item. " +} +``` + +
+ +## Despair.Spectator.ResourceView.UndoGet + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sync to revision 0 of the selected item. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sync to revision 0 of the selected item. " +} +``` + +
diff --git a/docs/reference/Despair.Spectator.StandardToolbar.md b/docs/reference/Despair.Spectator.StandardToolbar.md new file mode 100644 index 0000000..5f367bb --- /dev/null +++ b/docs/reference/Despair.Spectator.StandardToolbar.md @@ -0,0 +1,97 @@ +# Despair.Spectator.StandardToolbar + +[Индекс](../API.md) + +## Despair.Spectator.StandardToolbar.Execute + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Clicks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to click. The mouse over text for a given button is the value that should be used to click it via LUA." + } + }, + "@K[203]": "Clicks the toolbar button specified." +} +``` + +
+ +## Despair.Spectator.StandardToolbar.SetCheck + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
+ +## Despair.Spectator.StandardToolbar.SetString + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Checks or unchecks the toolbar button specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Button | Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA. | +| 2.0 | Checked | The Checked value of the specific Button. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Button", + "@K[211]": "Button name to check ot uncheck. The mouse over text for a given button is the value that should be used to specify it via LUA." + }, + "2.0": { + "@K[209]": "Checked", + "@K[211]": "The Checked value of the specific Button." + } + }, + "@K[203]": "Checks or unchecks the toolbar button specified." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.Views.md b/docs/reference/Despair.Spectator.Views.md new file mode 100644 index 0000000..3ae9651 --- /dev/null +++ b/docs/reference/Despair.Spectator.Views.md @@ -0,0 +1,171 @@ +# Despair.Spectator.Views + +[Индекс](../API.md) + +## Despair.Spectator.Views.DockView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Docks the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to dock. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to dock." + } + }, + "@K[203]": "Docks the specified view." +} +``` + +
+ +## Despair.Spectator.Views.FloatView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Floats the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to float. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to float." + } + }, + "@K[203]": "Floats the specified view." +} +``` + +
+ +## Despair.Spectator.Views.IsVisible + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Queries the visible state of a given view. Returns true if the view is visible and false if not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to query. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to query." + } + }, + "@K[203]": "Queries the visible state of a given view. Returns true if the view is visible and false if not." +} +``` + +
+ +## Despair.Spectator.Views.SetFocus + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Sets the input focus and brings to the front the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to focus. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to focus." + } + }, + "@K[203]": "Sets the input focus and brings to the front the specified view." +} +``` + +
+ +## Despair.Spectator.Views.ShowView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Shows the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to show. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to show." + } + }, + "@K[203]": "Shows the specified view." +} +``` + +
+ +## Despair.Spectator.Views.ToggleView + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Toggles the show / hide state of the specified view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the view to toggle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the view to toggle." + } + }, + "@K[203]": "Toggles the show / hide state of the specified view." +} +``` + +
diff --git a/docs/reference/Despair.Spectator.md b/docs/reference/Despair.Spectator.md new file mode 100644 index 0000000..4d8fbe4 --- /dev/null +++ b/docs/reference/Despair.Spectator.md @@ -0,0 +1,299 @@ +# Despair.Spectator + +[Индекс](../API.md) + +## Despair.Spectator.Exit + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## Despair.Spectator.GenerateDocs + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## Despair.Spectator.GenerateLuasense + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## Despair.Spectator.GetToolVersion + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## Despair.Spectator.LoadEnvironmentPreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[213] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[212] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" +} +``` + +
+ +## Despair.Spectator.LoadLayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Spectator.LoadMDILayout + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## Despair.Spectator.PostMessage + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## Despair.Spectator.SaveEnvironmentPreset + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[216] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[215] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" +} +``` + +
+ +## Despair.Spectator.SetAppMode + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## Despair.Spectator.StartLog + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Door.md b/docs/reference/Door.md new file mode 100644 index 0000000..4848eb8 --- /dev/null +++ b/docs/reference/Door.md @@ -0,0 +1,103 @@ +# Door + +[Индекс](../API.md) + +## Door.Enable + +```lua +Door.Enable(arg1, arg2) +``` + +Источник: [Lua, строка 291](../../luasense_decompiled.lua#L291). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.GetPosition + +```lua +Door.GetPosition(arg1) +``` + +Источник: [Lua, строка 293](../../luasense_decompiled.lua#L293). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.GetStatus + +```lua +Door.GetStatus(arg1) +``` + +Источник: [Lua, строка 295](../../luasense_decompiled.lua#L295). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.Lock + +```lua +Door.Lock(arg1, arg2) +``` + +Источник: [Lua, строка 297](../../luasense_decompiled.lua#L297). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.LockSilent + +```lua +Door.LockSilent(arg1, arg2) +``` + +Источник: [Lua, строка 299](../../luasense_decompiled.lua#L299). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.MoveToNextPosition + +```lua +Door.MoveToNextPosition(arg1) +``` + +Источник: [Lua, строка 301](../../luasense_decompiled.lua#L301). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.MoveToPercentPosition + +```lua +Door.MoveToPercentPosition(arg1, arg2) +``` + +Источник: [Lua, строка 303](../../luasense_decompiled.lua#L303). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.MoveToPercentPositionSilent + +```lua +Door.MoveToPercentPositionSilent(arg1, arg2) +``` + +Источник: [Lua, строка 305](../../luasense_decompiled.lua#L305). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.MoveToPercentPositionWithSpeedAndAcceleration + +```lua +Door.MoveToPercentPositionWithSpeedAndAcceleration(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 307](../../luasense_decompiled.lua#L307). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Door.MoveToPresetPosition + +```lua +Door.MoveToPresetPosition(arg1, arg2) +``` + +Источник: [Lua, строка 309](../../luasense_decompiled.lua#L309). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Energy.md b/docs/reference/Energy.md new file mode 100644 index 0000000..33110b4 --- /dev/null +++ b/docs/reference/Energy.md @@ -0,0 +1,133 @@ +# Energy + +[Индекс](../API.md) + +## Energy.AdjustEnergyLevel + +```lua +Energy.AdjustEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 311](../../luasense_decompiled.lua#L311). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.EnableAutoFill + +```lua +Energy.EnableAutoFill(arg1, arg2) +``` + +Источник: [Lua, строка 313](../../luasense_decompiled.lua#L313). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.GetEnergyFillRate + +```lua +Energy.GetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 315](../../luasense_decompiled.lua#L315). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.GetEnergyLevel + +```lua +Energy.GetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 317](../../luasense_decompiled.lua#L317). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.ResetEnergyDrainRate + +```lua +Energy.ResetEnergyDrainRate(arg1) +``` + +Источник: [Lua, строка 319](../../luasense_decompiled.lua#L319). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.ResetEnergyFillRate + +```lua +Energy.ResetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 321](../../luasense_decompiled.lua#L321). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.SetEnergyDrainRate + +```lua +Energy.SetEnergyDrainRate(arg1, arg2) +``` + +Источник: [Lua, строка 323](../../luasense_decompiled.lua#L323). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.SetEnergyFillRate + +```lua +Energy.SetEnergyFillRate(arg1, arg2) +``` + +Источник: [Lua, строка 325](../../luasense_decompiled.lua#L325). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.SetEnergyLevel + +```lua +Energy.SetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 327](../../luasense_decompiled.lua#L327). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.SetEnergyLevelOnObject + +```lua +Energy.SetEnergyLevelOnObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 329](../../luasense_decompiled.lua#L329). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.StartDrainingEnergy + +```lua +Energy.StartDrainingEnergy(arg1) +``` + +Источник: [Lua, строка 331](../../luasense_decompiled.lua#L331). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.StartFillingEnergy + +```lua +Energy.StartFillingEnergy(arg1) +``` + +Источник: [Lua, строка 333](../../luasense_decompiled.lua#L333). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Energy.StopEnergyRateChange + +```lua +Energy.StopEnergyRateChange(arg1) +``` + +Источник: [Lua, строка 335](../../luasense_decompiled.lua#L335). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/FEAR.md b/docs/reference/FEAR.md new file mode 100644 index 0000000..d9908a0 --- /dev/null +++ b/docs/reference/FEAR.md @@ -0,0 +1,503 @@ +# FEAR + +[Индекс](../API.md) + +## FEAR.AddNumberValueToAnnouncementPacket + +```lua +FEAR.AddNumberValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 337](../../luasense_decompiled.lua#L337). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.AddStaticTextValueToAnnouncementPacket + +```lua +FEAR.AddStaticTextValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 339](../../luasense_decompiled.lua#L339). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.AddStringValueToAnnouncementPacket + +```lua +FEAR.AddStringValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 341](../../luasense_decompiled.lua#L341). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.BroadcastAnnoucementPacket + +```lua +FEAR.BroadcastAnnoucementPacket(arg1) +``` + +Источник: [Lua, строка 343](../../luasense_decompiled.lua#L343). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.CreateAnnoucementPacket + +```lua +FEAR.CreateAnnoucementPacket(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 345](../../luasense_decompiled.lua#L345). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.CreepBossAction + +```lua +FEAR.CreepBossAction(arg1, arg2) +``` + +Источник: [Lua, строка 347](../../luasense_decompiled.lua#L347). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.DismemberObject + +```lua +FEAR.DismemberObject(arg1, arg2) +``` + +Источник: [Lua, строка 349](../../luasense_decompiled.lua#L349). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.DoScavengerEPALeap + +```lua +FEAR.DoScavengerEPALeap(arg1, arg2) +``` + +Источник: [Lua, строка 351](../../luasense_decompiled.lua#L351). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.EnableSlowMo + +```lua +FEAR.EnableSlowMo(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 353](../../luasense_decompiled.lua#L353). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.FlickerPlayerFlashlight + +```lua +FEAR.FlickerPlayerFlashlight(arg1, arg2) +``` + +Источник: [Lua, строка 355](../../luasense_decompiled.lua#L355). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.FlickerPlayerHUD + +```lua +FEAR.FlickerPlayerHUD(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 357](../../luasense_decompiled.lua#L357). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GameDebugDump + +```lua +FEAR.GameDebugDump(arg1) +``` + +Источник: [Lua, строка 359](../../luasense_decompiled.lua#L359). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetGenericCounter + +```lua +FEAR.GetGenericCounter() +``` + +Источник: [Lua, строка 361](../../luasense_decompiled.lua#L361). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetGenericTimer + +```lua +FEAR.GetGenericTimer() +``` + +Источник: [Lua, строка 363](../../luasense_decompiled.lua#L363). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetMaxTimeBetweenAmbientEvents + +```lua +FEAR.GetMaxTimeBetweenAmbientEvents() +``` + +Источник: [Lua, строка 365](../../luasense_decompiled.lua#L365). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetMaxTimeBetweenTensionEvents + +```lua +FEAR.GetMaxTimeBetweenTensionEvents() +``` + +Источник: [Lua, строка 367](../../luasense_decompiled.lua#L367). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetMinTimeBetweenAmbientEvents + +```lua +FEAR.GetMinTimeBetweenAmbientEvents() +``` + +Источник: [Lua, строка 369](../../luasense_decompiled.lua#L369). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetMinTimeBetweenTensionEvents + +```lua +FEAR.GetMinTimeBetweenTensionEvents() +``` + +Источник: [Lua, строка 371](../../luasense_decompiled.lua#L371). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetPlayerColor + +```lua +FEAR.GetPlayerColor(arg1) +``` + +Источник: [Lua, строка 373](../../luasense_decompiled.lua#L373). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetProbabilityOfFakeEventForCategory + +```lua +FEAR.GetProbabilityOfFakeEventForCategory(arg1) +``` + +Источник: [Lua, строка 375](../../luasense_decompiled.lua#L375). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetSlowMoPercentRemaining + +```lua +FEAR.GetSlowMoPercentRemaining(arg1) +``` + +Источник: [Lua, строка 377](../../luasense_decompiled.lua#L377). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetTimeSinceLastAmbientEvent + +```lua +FEAR.GetTimeSinceLastAmbientEvent() +``` + +Источник: [Lua, строка 379](../../luasense_decompiled.lua#L379). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetTimeSinceLastAmbientEventStartedForCategory + +```lua +FEAR.GetTimeSinceLastAmbientEventStartedForCategory(arg1) +``` + +Источник: [Lua, строка 381](../../luasense_decompiled.lua#L381). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup + +```lua +FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup(arg1) +``` + +Источник: [Lua, строка 383](../../luasense_decompiled.lua#L383). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.GetTimeSinceLastTensionEvent + +```lua +FEAR.GetTimeSinceLastTensionEvent() +``` + +Источник: [Lua, строка 385](../../luasense_decompiled.lua#L385). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.IncrementCurrentPlayerTensionLevel + +```lua +FEAR.IncrementCurrentPlayerTensionLevel(arg1, arg2) +``` + +Источник: [Lua, строка 387](../../luasense_decompiled.lua#L387). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.IsPhasing + +```lua +FEAR.IsPhasing(arg1) +``` + +Источник: [Lua, строка 389](../../luasense_decompiled.lua#L389). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.IsPlayerFlashlightOn + +```lua +FEAR.IsPlayerFlashlightOn(arg1) +``` + +Источник: [Lua, строка 391](../../luasense_decompiled.lua#L391). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.NotifyOfExternalEvent + +```lua +FEAR.NotifyOfExternalEvent() +``` + +Источник: [Lua, строка 393](../../luasense_decompiled.lua#L393). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.RefillSlowMo + +```lua +FEAR.RefillSlowMo(arg1) +``` + +Источник: [Lua, строка 395](../../luasense_decompiled.lua#L395). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.RegisterAmbientEvent + +```lua +FEAR.RegisterAmbientEvent(arg1, arg2) +``` + +Источник: [Lua, строка 397](../../luasense_decompiled.lua#L397). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SendAnnoucementPacket + +```lua +FEAR.SendAnnoucementPacket(arg1) +``` + +Источник: [Lua, строка 399](../../luasense_decompiled.lua#L399). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetAnnoucementPacketDestination + +```lua +FEAR.SetAnnoucementPacketDestination(arg1, arg2) +``` + +Источник: [Lua, строка 401](../../luasense_decompiled.lua#L401). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetAnnoucementPacketPriority + +```lua +FEAR.SetAnnoucementPacketPriority(arg1, arg2) +``` + +Источник: [Lua, строка 403](../../luasense_decompiled.lua#L403). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetAnnoucementPacketTime + +```lua +FEAR.SetAnnoucementPacketTime(arg1, arg2) +``` + +Источник: [Lua, строка 405](../../luasense_decompiled.lua#L405). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetCurrentPlayerTensionLevel + +```lua +FEAR.SetCurrentPlayerTensionLevel(arg1, arg2) +``` + +Источник: [Lua, строка 407](../../luasense_decompiled.lua#L407). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetDLCInventoryGroupOption + +```lua +FEAR.SetDLCInventoryGroupOption() +``` + +Источник: [Lua, строка 409](../../luasense_decompiled.lua#L409). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetGenericCounter + +```lua +FEAR.SetGenericCounter(arg1) +``` + +Источник: [Lua, строка 411](../../luasense_decompiled.lua#L411). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetGenericTimer + +```lua +FEAR.SetGenericTimer(arg1) +``` + +Источник: [Lua, строка 413](../../luasense_decompiled.lua#L413). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetGlobalPerformanceValue + +```lua +FEAR.SetGlobalPerformanceValue(arg1) +``` + +Источник: [Lua, строка 415](../../luasense_decompiled.lua#L415). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetMaxTimeBetweenAmbientEvents + +```lua +FEAR.SetMaxTimeBetweenAmbientEvents(arg1) +``` + +Источник: [Lua, строка 417](../../luasense_decompiled.lua#L417). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetMaxTimeBetweenTensionEvents + +```lua +FEAR.SetMaxTimeBetweenTensionEvents(arg1) +``` + +Источник: [Lua, строка 419](../../luasense_decompiled.lua#L419). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetMinMaxPlayerTensionLevel + +```lua +FEAR.SetMinMaxPlayerTensionLevel(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 421](../../luasense_decompiled.lua#L421). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetMinTimeBetweenAmbientEvents + +```lua +FEAR.SetMinTimeBetweenAmbientEvents(arg1) +``` + +Источник: [Lua, строка 423](../../luasense_decompiled.lua#L423). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetMinTimeBetweenTensionEvents + +```lua +FEAR.SetMinTimeBetweenTensionEvents(arg1) +``` + +Источник: [Lua, строка 425](../../luasense_decompiled.lua#L425). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.SetProbabilityOfFakeEventForCategory + +```lua +FEAR.SetProbabilityOfFakeEventForCategory(arg1, arg2) +``` + +Источник: [Lua, строка 427](../../luasense_decompiled.lua#L427). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.TurnOnAmbientEvent + +```lua +FEAR.TurnOnAmbientEvent(arg1, arg2) +``` + +Источник: [Lua, строка 429](../../luasense_decompiled.lua#L429). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.TurnOnAmbientEventCategory + +```lua +FEAR.TurnOnAmbientEventCategory(arg1, arg2) +``` + +Источник: [Lua, строка 431](../../luasense_decompiled.lua#L431). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.TurnOnAmbientEventCategoryGroup + +```lua +FEAR.TurnOnAmbientEventCategoryGroup(arg1, arg2) +``` + +Источник: [Lua, строка 433](../../luasense_decompiled.lua#L433). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEAR.UpdateAISettingsForAggressiveAttack + +```lua +FEAR.UpdateAISettingsForAggressiveAttack(arg1) +``` + +Источник: [Lua, строка 435](../../luasense_decompiled.lua#L435). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/FEARScore.md b/docs/reference/FEARScore.md new file mode 100644 index 0000000..3640c2e --- /dev/null +++ b/docs/reference/FEARScore.md @@ -0,0 +1,273 @@ +# FEARScore + +[Индекс](../API.md) + +## FEARScore.AwardBoostRequirement + +```lua +FEARScore.AwardBoostRequirement() +``` + +Источник: [Lua, строка 437](../../luasense_decompiled.lua#L437). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.AwardChallengeRequirement + +```lua +FEARScore.AwardChallengeRequirement(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 439](../../luasense_decompiled.lua#L439). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.AwardMissionPointOccurences + +```lua +FEARScore.AwardMissionPointOccurences(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 441](../../luasense_decompiled.lua#L441). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.AwardMissionPoints + +```lua +FEARScore.AwardMissionPoints(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 443](../../luasense_decompiled.lua#L443). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.CalculateMissionScore + +```lua +FEARScore.CalculateMissionScore() +``` + +Источник: [Lua, строка 445](../../luasense_decompiled.lua#L445). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetCumulativeMissionScore + +```lua +FEARScore.GetCumulativeMissionScore(arg1) +``` + +Источник: [Lua, строка 447](../../luasense_decompiled.lua#L447). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetCurrentMissionPoints + +```lua +FEARScore.GetCurrentMissionPoints(arg1, arg2) +``` + +Источник: [Lua, строка 449](../../luasense_decompiled.lua#L449). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetCurrentRoundPoints + +```lua +FEARScore.GetCurrentRoundPoints(arg1, arg2) +``` + +Источник: [Lua, строка 451](../../luasense_decompiled.lua#L451). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetGameLoadedSinceMissionStarted + +```lua +FEARScore.GetGameLoadedSinceMissionStarted() +``` + +Источник: [Lua, строка 453](../../luasense_decompiled.lua#L453). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetLowestDifficultyUsed + +```lua +FEARScore.GetLowestDifficultyUsed() +``` + +Источник: [Lua, строка 455](../../luasense_decompiled.lua#L455). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetMissionPointOccurences + +```lua +FEARScore.GetMissionPointOccurences(arg1, arg2) +``` + +Источник: [Lua, строка 457](../../luasense_decompiled.lua#L457). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetMissionTime + +```lua +FEARScore.GetMissionTime() +``` + +Источник: [Lua, строка 459](../../luasense_decompiled.lua#L459). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetParTime + +```lua +FEARScore.GetParTime() +``` + +Источник: [Lua, строка 461](../../luasense_decompiled.lua#L461). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetPlayerRank + +```lua +FEARScore.GetPlayerRank(arg1) +``` + +Источник: [Lua, строка 463](../../luasense_decompiled.lua#L463). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetScoreMultiplier + +```lua +FEARScore.GetScoreMultiplier() +``` + +Источник: [Lua, строка 465](../../luasense_decompiled.lua#L465). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.GetTotalChallengeCategoryPoints + +```lua +FEARScore.GetTotalChallengeCategoryPoints(arg1, arg2) +``` + +Источник: [Lua, строка 467](../../luasense_decompiled.lua#L467). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.HasPlayerAchievedChallenge + +```lua +FEARScore.HasPlayerAchievedChallenge(arg1, arg2) +``` + +Источник: [Lua, строка 469](../../luasense_decompiled.lua#L469). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.RegisterForDeath + +```lua +FEARScore.RegisterForDeath(arg1) +``` + +Источник: [Lua, строка 471](../../luasense_decompiled.lua#L471). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.ResetBoostProgress + +```lua +FEARScore.ResetBoostProgress() +``` + +Источник: [Lua, строка 473](../../luasense_decompiled.lua#L473). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.ResetChallengeProgress + +```lua +FEARScore.ResetChallengeProgress(arg1, arg2) +``` + +Источник: [Lua, строка 475](../../luasense_decompiled.lua#L475). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.ResetMissionPoints + +```lua +FEARScore.ResetMissionPoints() +``` + +Источник: [Lua, строка 477](../../luasense_decompiled.lua#L477). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.ResetMissionTimer + +```lua +FEARScore.ResetMissionTimer() +``` + +Источник: [Lua, строка 479](../../luasense_decompiled.lua#L479). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.ResetRoundPoints + +```lua +FEARScore.ResetRoundPoints() +``` + +Источник: [Lua, строка 481](../../luasense_decompiled.lua#L481). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.SetParTime + +```lua +FEARScore.SetParTime() +``` + +Источник: [Lua, строка 483](../../luasense_decompiled.lua#L483). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.StartMissionTimer + +```lua +FEARScore.StartMissionTimer() +``` + +Источник: [Lua, строка 485](../../luasense_decompiled.lua#L485). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.StopMissionTimer + +```lua +FEARScore.StopMissionTimer() +``` + +Источник: [Lua, строка 487](../../luasense_decompiled.lua#L487). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## FEARScore.SubtractMissionPoints + +```lua +FEARScore.SubtractMissionPoints(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 489](../../luasense_decompiled.lua#L489). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.AI.md b/docs/reference/Game.AI.md new file mode 100644 index 0000000..5e7db3d --- /dev/null +++ b/docs/reference/Game.AI.md @@ -0,0 +1,103 @@ +# Game.AI + +[Индекс](../API.md) + +## Game.AI.AssignExternalAIOrder + +```lua +Game.AI.AssignExternalAIOrder(arg1, arg2) +``` + +Источник: [Lua, строка 493](../../luasense_decompiled.lua#L493). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.EnableAIObject + +```lua +Game.AI.EnableAIObject(arg1, arg2) +``` + +Источник: [Lua, строка 495](../../luasense_decompiled.lua#L495). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.EnableNodeMapInRegion + +```lua +Game.AI.EnableNodeMapInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 497](../../luasense_decompiled.lua#L497). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.EnableNodesInRegion + +```lua +Game.AI.EnableNodesInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 499](../../luasense_decompiled.lua#L499). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.EnableSmartMapsInRegion + +```lua +Game.AI.EnableSmartMapsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 501](../../luasense_decompiled.lua#L501). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.GetAIIdentityType + +```lua +Game.AI.GetAIIdentityType(arg1) +``` + +Источник: [Lua, строка 503](../../luasense_decompiled.lua#L503). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.GetAITargetInfo + +```lua +Game.AI.GetAITargetInfo(arg1) +``` + +Источник: [Lua, строка 505](../../luasense_decompiled.lua#L505). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.GetDistanceToClosestEnemy + +```lua +Game.AI.GetDistanceToClosestEnemy(arg1) +``` + +Источник: [Lua, строка 507](../../luasense_decompiled.lua#L507). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.InhibitPossession + +```lua +Game.AI.InhibitPossession(arg1, arg2) +``` + +Источник: [Lua, строка 509](../../luasense_decompiled.lua#L509). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AI.IsAIControlled + +```lua +Game.AI.IsAIControlled(arg1) +``` + +Источник: [Lua, строка 511](../../luasense_decompiled.lua#L511). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Camera.md b/docs/reference/Game.Camera.md new file mode 100644 index 0000000..abe58a2 --- /dev/null +++ b/docs/reference/Game.Camera.md @@ -0,0 +1,223 @@ +# Game.Camera + +[Индекс](../API.md) + +## Game.Camera.AddCameraFilterGroupByNameToPlayer + +```lua +Game.Camera.AddCameraFilterGroupByNameToPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 535](../../luasense_decompiled.lua#L535). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.DoesFilterSetHaveCameraComponent + +```lua +Game.Camera.DoesFilterSetHaveCameraComponent(arg1, arg2) +``` + +Источник: [Lua, строка 537](../../luasense_decompiled.lua#L537). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetCameraFOV + +```lua +Game.Camera.GetCameraFOV(arg1) +``` + +Источник: [Lua, строка 539](../../luasense_decompiled.lua#L539). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetCameraFarDist + +```lua +Game.Camera.GetCameraFarDist(arg1) +``` + +Источник: [Lua, строка 541](../../luasense_decompiled.lua#L541). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetCameraNearDist + +```lua +Game.Camera.GetCameraNearDist(arg1) +``` + +Источник: [Lua, строка 543](../../luasense_decompiled.lua#L543). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetCameraObjectForPlayer + +```lua +Game.Camera.GetCameraObjectForPlayer(arg1) +``` + +Источник: [Lua, строка 545](../../luasense_decompiled.lua#L545). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetCameraViewportAspectRatio + +```lua +Game.Camera.GetCameraViewportAspectRatio(arg1) +``` + +Источник: [Lua, строка 547](../../luasense_decompiled.lua#L547). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetFilterGroupForPlayer + +```lua +Game.Camera.GetFilterGroupForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 549](../../luasense_decompiled.lua#L549). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetNumPlayerCameraFilterSet + +```lua +Game.Camera.GetNumPlayerCameraFilterSet(arg1) +``` + +Источник: [Lua, строка 551](../../luasense_decompiled.lua#L551). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetPlayerCameraFilterSetAlpha + +```lua +Game.Camera.GetPlayerCameraFilterSetAlpha(arg1, arg2) +``` + +Источник: [Lua, строка 553](../../luasense_decompiled.lua#L553). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetPlayerIndexFromCameraId + +```lua +Game.Camera.GetPlayerIndexFromCameraId(arg1) +``` + +Источник: [Lua, строка 555](../../luasense_decompiled.lua#L555). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.GetUnadjustedCameraFOV + +```lua +Game.Camera.GetUnadjustedCameraFOV(arg1) +``` + +Источник: [Lua, строка 557](../../luasense_decompiled.lua#L557). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.IsInPlayerCameraView + +```lua +Game.Camera.IsInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 559](../../luasense_decompiled.lua#L559). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.IsInPlayerCameraViewRange + +```lua +Game.Camera.IsInPlayerCameraViewRange(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 561](../../luasense_decompiled.lua#L561). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.IsPointInPlayerCameraView + +```lua +Game.Camera.IsPointInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 563](../../luasense_decompiled.lua#L563). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.RemoveCameraFilterGroupByNameFromPlayer + +```lua +Game.Camera.RemoveCameraFilterGroupByNameFromPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 565](../../luasense_decompiled.lua#L565). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetAdjustedCameraFOV + +```lua +Game.Camera.SetAdjustedCameraFOV(arg1, arg2) +``` + +Источник: [Lua, строка 567](../../luasense_decompiled.lua#L567). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetCameraFilterColor + +```lua +Game.Camera.SetCameraFilterColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 569](../../luasense_decompiled.lua#L569). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetCameraFilterNamedTexture + +```lua +Game.Camera.SetCameraFilterNamedTexture(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 571](../../luasense_decompiled.lua#L571). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetCameraFilterScalar + +```lua +Game.Camera.SetCameraFilterScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 573](../../luasense_decompiled.lua#L573). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetCameraMotionBlurEnabled + +```lua +Game.Camera.SetCameraMotionBlurEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 575](../../luasense_decompiled.lua#L575). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Camera.SetPlayerCameraFilterSet + +```lua +Game.Camera.SetPlayerCameraFilterSet(arg1, arg2) +``` + +Источник: [Lua, строка 577](../../luasense_decompiled.lua#L577). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Death.md b/docs/reference/Game.Death.md new file mode 100644 index 0000000..1b65141 --- /dev/null +++ b/docs/reference/Game.Death.md @@ -0,0 +1,83 @@ +# Game.Death + +[Индекс](../API.md) + +## Game.Death.GetDeathChoreographerSequence + +```lua +Game.Death.GetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 589](../../luasense_decompiled.lua#L589). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.GetLastDamageInfo + +```lua +Game.Death.GetLastDamageInfo() +``` + +Источник: [Lua, строка 591](../../luasense_decompiled.lua#L591). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.GetLastDamageInfoFromObject + +```lua +Game.Death.GetLastDamageInfoFromObject(arg1) +``` + +Источник: [Lua, строка 593](../../luasense_decompiled.lua#L593). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.GetLastDamagePlayerIndexFromObject + +```lua +Game.Death.GetLastDamagePlayerIndexFromObject(arg1) +``` + +Источник: [Lua, строка 595](../../luasense_decompiled.lua#L595). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.IsBloodEnabled + +```lua +Game.Death.IsBloodEnabled() +``` + +Источник: [Lua, строка 597](../../luasense_decompiled.lua#L597). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.IsDamagePinning + +```lua +Game.Death.IsDamagePinning(arg1) +``` + +Источник: [Lua, строка 599](../../luasense_decompiled.lua#L599). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.IsGoreEnabled + +```lua +Game.Death.IsGoreEnabled() +``` + +Источник: [Lua, строка 601](../../luasense_decompiled.lua#L601). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Death.SetDeathChoreographerSequence + +```lua +Game.Death.SetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 603](../../luasense_decompiled.lua#L603). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Door.md b/docs/reference/Game.Door.md new file mode 100644 index 0000000..032e045 --- /dev/null +++ b/docs/reference/Game.Door.md @@ -0,0 +1,103 @@ +# Game.Door + +[Индекс](../API.md) + +## Game.Door.Enable + +```lua +Game.Door.Enable(arg1, arg2) +``` + +Источник: [Lua, строка 613](../../luasense_decompiled.lua#L613). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.GetPosition + +```lua +Game.Door.GetPosition(arg1) +``` + +Источник: [Lua, строка 615](../../luasense_decompiled.lua#L615). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.GetStatus + +```lua +Game.Door.GetStatus(arg1) +``` + +Источник: [Lua, строка 617](../../luasense_decompiled.lua#L617). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.Lock + +```lua +Game.Door.Lock(arg1, arg2) +``` + +Источник: [Lua, строка 619](../../luasense_decompiled.lua#L619). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.LockSilent + +```lua +Game.Door.LockSilent(arg1, arg2) +``` + +Источник: [Lua, строка 621](../../luasense_decompiled.lua#L621). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.MoveToNextPosition + +```lua +Game.Door.MoveToNextPosition(arg1) +``` + +Источник: [Lua, строка 623](../../luasense_decompiled.lua#L623). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.MoveToPercentPosition + +```lua +Game.Door.MoveToPercentPosition(arg1, arg2) +``` + +Источник: [Lua, строка 625](../../luasense_decompiled.lua#L625). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.MoveToPercentPositionSilent + +```lua +Game.Door.MoveToPercentPositionSilent(arg1, arg2) +``` + +Источник: [Lua, строка 627](../../luasense_decompiled.lua#L627). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.MoveToPercentPositionWithSpeedAndAcceleration + +```lua +Game.Door.MoveToPercentPositionWithSpeedAndAcceleration(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 629](../../luasense_decompiled.lua#L629). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Door.MoveToPresetPosition + +```lua +Game.Door.MoveToPresetPosition(arg1, arg2) +``` + +Источник: [Lua, строка 631](../../luasense_decompiled.lua#L631). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Energy.md b/docs/reference/Game.Energy.md new file mode 100644 index 0000000..8a62b75 --- /dev/null +++ b/docs/reference/Game.Energy.md @@ -0,0 +1,133 @@ +# Game.Energy + +[Индекс](../API.md) + +## Game.Energy.AdjustEnergyLevel + +```lua +Game.Energy.AdjustEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 651](../../luasense_decompiled.lua#L651). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.EnableAutoFill + +```lua +Game.Energy.EnableAutoFill(arg1, arg2) +``` + +Источник: [Lua, строка 653](../../luasense_decompiled.lua#L653). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.GetEnergyFillRate + +```lua +Game.Energy.GetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 655](../../luasense_decompiled.lua#L655). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.GetEnergyLevel + +```lua +Game.Energy.GetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 657](../../luasense_decompiled.lua#L657). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.ResetEnergyDrainRate + +```lua +Game.Energy.ResetEnergyDrainRate(arg1) +``` + +Источник: [Lua, строка 659](../../luasense_decompiled.lua#L659). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.ResetEnergyFillRate + +```lua +Game.Energy.ResetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 661](../../luasense_decompiled.lua#L661). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.SetEnergyDrainRate + +```lua +Game.Energy.SetEnergyDrainRate(arg1, arg2) +``` + +Источник: [Lua, строка 663](../../luasense_decompiled.lua#L663). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.SetEnergyFillRate + +```lua +Game.Energy.SetEnergyFillRate(arg1, arg2) +``` + +Источник: [Lua, строка 665](../../luasense_decompiled.lua#L665). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.SetEnergyLevel + +```lua +Game.Energy.SetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 667](../../luasense_decompiled.lua#L667). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.SetEnergyLevelOnObject + +```lua +Game.Energy.SetEnergyLevelOnObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 669](../../luasense_decompiled.lua#L669). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.StartDrainingEnergy + +```lua +Game.Energy.StartDrainingEnergy(arg1) +``` + +Источник: [Lua, строка 671](../../luasense_decompiled.lua#L671). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.StartFillingEnergy + +```lua +Game.Energy.StartFillingEnergy(arg1) +``` + +Источник: [Lua, строка 673](../../luasense_decompiled.lua#L673). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Energy.StopEnergyRateChange + +```lua +Game.Energy.StopEnergyRateChange(arg1) +``` + +Источник: [Lua, строка 675](../../luasense_decompiled.lua#L675). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Graphics.md b/docs/reference/Game.Graphics.md new file mode 100644 index 0000000..1130d17 --- /dev/null +++ b/docs/reference/Game.Graphics.md @@ -0,0 +1,313 @@ +# Game.Graphics + +[Индекс](../API.md) + +## Game.Graphics.GetColor + +```lua +Game.Graphics.GetColor(arg1) +``` + +Источник: [Lua, строка 759](../../luasense_decompiled.lua#L759). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.GetEnvironmentLight + +```lua +Game.Graphics.GetEnvironmentLight() +``` + +Источник: [Lua, строка 761](../../luasense_decompiled.lua#L761). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.GetPortalOpen + +```lua +Game.Graphics.GetPortalOpen(arg1) +``` + +Источник: [Lua, строка 763](../../luasense_decompiled.lua#L763). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetAlphaBlend + +```lua +Game.Graphics.SetAlphaBlend(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 765](../../luasense_decompiled.lua#L765). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetAmbientLightIntensity + +```lua +Game.Graphics.SetAmbientLightIntensity(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 767](../../luasense_decompiled.lua#L767). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetAmbientLightSpecularity + +```lua +Game.Graphics.SetAmbientLightSpecularity(arg1, arg2) +``` + +Источник: [Lua, строка 769](../../luasense_decompiled.lua#L769). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetCastsShadows + +```lua +Game.Graphics.SetCastsShadows(arg1, arg2) +``` + +Источник: [Lua, строка 771](../../luasense_decompiled.lua#L771). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetColor + +```lua +Game.Graphics.SetColor(arg1, arg2) +``` + +Источник: [Lua, строка 773](../../luasense_decompiled.lua#L773). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetContractionsFogColors + +```lua +Game.Graphics.SetContractionsFogColors(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 775](../../luasense_decompiled.lua#L775). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetContractionsFogValues + +```lua +Game.Graphics.SetContractionsFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 777](../../luasense_decompiled.lua#L777). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetDiffuseAmbientCubeMap + +```lua +Game.Graphics.SetDiffuseAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 779](../../luasense_decompiled.lua#L779). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetDistantObjectsShadowed + +```lua +Game.Graphics.SetDistantObjectsShadowed(arg1, arg2) +``` + +Источник: [Lua, строка 781](../../luasense_decompiled.lua#L781). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetEnvironmentLight + +```lua +Game.Graphics.SetEnvironmentLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 783](../../luasense_decompiled.lua#L783). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetFogColor + +```lua +Game.Graphics.SetFogColor(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 785](../../luasense_decompiled.lua#L785). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetFogCubeMap + +```lua +Game.Graphics.SetFogCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 787](../../luasense_decompiled.lua#L787). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetFogValues + +```lua +Game.Graphics.SetFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 789](../../luasense_decompiled.lua#L789). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetGlobalSunDirection + +```lua +Game.Graphics.SetGlobalSunDirection() +``` + +Источник: [Lua, строка 791](../../luasense_decompiled.lua#L791). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetLightControl + +```lua +Game.Graphics.SetLightControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 793](../../luasense_decompiled.lua#L793). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetLightControlAndCurve + +```lua +Game.Graphics.SetLightControlAndCurve(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 795](../../luasense_decompiled.lua#L795). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetLightIntensity + +```lua +Game.Graphics.SetLightIntensity(arg1, arg2) +``` + +Источник: [Lua, строка 797](../../luasense_decompiled.lua#L797). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetLightProbeRegionAmbientColor + +```lua +Game.Graphics.SetLightProbeRegionAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 799](../../luasense_decompiled.lua#L799). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetLightRadius + +```lua +Game.Graphics.SetLightRadius(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 801](../../luasense_decompiled.lua#L801). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetMaterialSortMode + +```lua +Game.Graphics.SetMaterialSortMode(arg1, arg2) +``` + +Источник: [Lua, строка 803](../../luasense_decompiled.lua#L803). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetNamedMaterialColor + +```lua +Game.Graphics.SetNamedMaterialColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 805](../../luasense_decompiled.lua#L805). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetNamedMaterialScalar + +```lua +Game.Graphics.SetNamedMaterialScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 807](../../luasense_decompiled.lua#L807). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetParticleAmbientColor + +```lua +Game.Graphics.SetParticleAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 809](../../luasense_decompiled.lua#L809). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetPortalOpen + +```lua +Game.Graphics.SetPortalOpen(arg1, arg2) +``` + +Источник: [Lua, строка 811](../../luasense_decompiled.lua#L811). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetShadowDistances + +```lua +Game.Graphics.SetShadowDistances(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 813](../../luasense_decompiled.lua#L813). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetShadowQuality + +```lua +Game.Graphics.SetShadowQuality(arg1) +``` + +Источник: [Lua, строка 815](../../luasense_decompiled.lua#L815). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetSpecularAmbientCubeMap + +```lua +Game.Graphics.SetSpecularAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 817](../../luasense_decompiled.lua#L817). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Graphics.SetSpotLight + +```lua +Game.Graphics.SetSpotLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 819](../../luasense_decompiled.lua#L819). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.MP.md b/docs/reference/Game.MP.md new file mode 100644 index 0000000..2779c86 --- /dev/null +++ b/docs/reference/Game.MP.md @@ -0,0 +1,273 @@ +# Game.MP + +[Индекс](../API.md) + +## Game.MP.AddSpecialSpawnPlayer + +```lua +Game.MP.AddSpecialSpawnPlayer(arg1) +``` + +Источник: [Lua, строка 869](../../luasense_decompiled.lua#L869). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.AwardPlayerPoints + +```lua +Game.MP.AwardPlayerPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 871](../../luasense_decompiled.lua#L871). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.AwardTeamPoints + +```lua +Game.MP.AwardTeamPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 873](../../luasense_decompiled.lua#L873). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.ClearNetworkSaveData + +```lua +Game.MP.ClearNetworkSaveData() +``` + +Источник: [Lua, строка 875](../../luasense_decompiled.lua#L875). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.DisableMPManagerMatchTimeLimit + +```lua +Game.MP.DisableMPManagerMatchTimeLimit() +``` + +Источник: [Lua, строка 877](../../luasense_decompiled.lua#L877). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetCurrentPlayerStatistic + +```lua +Game.MP.GetCurrentPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 879](../../luasense_decompiled.lua#L879). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetDifficultyLevel + +```lua +Game.MP.GetDifficultyLevel() +``` + +Источник: [Lua, строка 881](../../luasense_decompiled.lua#L881). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetGameMode + +```lua +Game.MP.GetGameMode() +``` + +Источник: [Lua, строка 883](../../luasense_decompiled.lua#L883). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetGameTypeFlag + +```lua +Game.MP.GetGameTypeFlag(arg1) +``` + +Источник: [Lua, строка 885](../../luasense_decompiled.lua#L885). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetMultiplayerTime + +```lua +Game.MP.GetMultiplayerTime() +``` + +Источник: [Lua, строка 887](../../luasense_decompiled.lua#L887). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetNetworkLookRotForward + +```lua +Game.MP.GetNetworkLookRotForward(arg1) +``` + +Источник: [Lua, строка 889](../../luasense_decompiled.lua#L889). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetNumberOfActivePlayers + +```lua +Game.MP.GetNumberOfActivePlayers() +``` + +Источник: [Lua, строка 891](../../luasense_decompiled.lua#L891). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetNumberOfRounds + +```lua +Game.MP.GetNumberOfRounds() +``` + +Источник: [Lua, строка 893](../../luasense_decompiled.lua#L893). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetNumberOfRoundsInAContinuousSession + +```lua +Game.MP.GetNumberOfRoundsInAContinuousSession() +``` + +Источник: [Lua, строка 895](../../luasense_decompiled.lua#L895). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetPlayerName + +```lua +Game.MP.GetPlayerName() +``` + +Источник: [Lua, строка 897](../../luasense_decompiled.lua#L897). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetPointAward + +```lua +Game.MP.GetPointAward(arg1) +``` + +Источник: [Lua, строка 899](../../luasense_decompiled.lua#L899). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTeamForPlayer + +```lua +Game.MP.GetTeamForPlayer(arg1) +``` + +Источник: [Lua, строка 901](../../luasense_decompiled.lua#L901). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTeamStatistic + +```lua +Game.MP.GetTeamStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 903](../../luasense_decompiled.lua#L903). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTimeElapsed + +```lua +Game.MP.GetTimeElapsed() +``` + +Источник: [Lua, строка 905](../../luasense_decompiled.lua#L905). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTimeLimit + +```lua +Game.MP.GetTimeLimit() +``` + +Источник: [Lua, строка 907](../../luasense_decompiled.lua#L907). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTimeRemaining + +```lua +Game.MP.GetTimeRemaining() +``` + +Источник: [Lua, строка 909](../../luasense_decompiled.lua#L909). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.GetTotalPlayerStatistic + +```lua +Game.MP.GetTotalPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 911](../../luasense_decompiled.lua#L911). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.IsClient + +```lua +Game.MP.IsClient() +``` + +Источник: [Lua, строка 913](../../luasense_decompiled.lua#L913). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.IsNetworkGame + +```lua +Game.MP.IsNetworkGame() +``` + +Источник: [Lua, строка 915](../../luasense_decompiled.lua#L915). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.IsRemoteScript + +```lua +Game.MP.IsRemoteScript() +``` + +Источник: [Lua, строка 917](../../luasense_decompiled.lua#L917). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.ModifyTimeRemaining + +```lua +Game.MP.ModifyTimeRemaining(arg1) +``` + +Источник: [Lua, строка 919](../../luasense_decompiled.lua#L919). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.MP.SetTeamForPlayer + +```lua +Game.MP.SetTeamForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 921](../../luasense_decompiled.lua#L921). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.ObjectTags.md b/docs/reference/Game.ObjectTags.md new file mode 100644 index 0000000..f29630d --- /dev/null +++ b/docs/reference/Game.ObjectTags.md @@ -0,0 +1,43 @@ +# Game.ObjectTags + +[Индекс](../API.md) + +## Game.ObjectTags.DoesObjectHaveTag + +```lua +Game.ObjectTags.DoesObjectHaveTag(arg1, arg2) +``` + +Источник: [Lua, строка 923](../../luasense_decompiled.lua#L923). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ObjectTags.GetObjectTagName + +```lua +Game.ObjectTags.GetObjectTagName(arg1) +``` + +Источник: [Lua, строка 925](../../luasense_decompiled.lua#L925). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ObjectTags.GetObjectTagUID + +```lua +Game.ObjectTags.GetObjectTagUID(arg1) +``` + +Источник: [Lua, строка 927](../../luasense_decompiled.lua#L927). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ObjectTags.GetObjectsWithTag + +```lua +Game.ObjectTags.GetObjectsWithTag(arg1) +``` + +Источник: [Lua, строка 929](../../luasense_decompiled.lua#L929). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Objectives.md b/docs/reference/Game.Objectives.md new file mode 100644 index 0000000..5e8210d --- /dev/null +++ b/docs/reference/Game.Objectives.md @@ -0,0 +1,63 @@ +# Game.Objectives + +[Индекс](../API.md) + +## Game.Objectives.Add + +```lua +Game.Objectives.Add(arg1, arg2) +``` + +Источник: [Lua, строка 931](../../luasense_decompiled.lua#L931). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Objectives.AddObject + +```lua +Game.Objectives.AddObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 933](../../luasense_decompiled.lua#L933). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Objectives.GetStatus + +```lua +Game.Objectives.GetStatus(arg1, arg2) +``` + +Источник: [Lua, строка 935](../../luasense_decompiled.lua#L935). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Objectives.Remove + +```lua +Game.Objectives.Remove(arg1, arg2) +``` + +Источник: [Lua, строка 937](../../luasense_decompiled.lua#L937). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Objectives.RemoveObject + +```lua +Game.Objectives.RemoveObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 939](../../luasense_decompiled.lua#L939). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Objectives.SetStatus + +```lua +Game.Objectives.SetStatus(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 941](../../luasense_decompiled.lua#L941). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Physics.md b/docs/reference/Game.Physics.md new file mode 100644 index 0000000..7e3976a --- /dev/null +++ b/docs/reference/Game.Physics.md @@ -0,0 +1,453 @@ +# Game.Physics + +[Индекс](../API.md) + +## Game.Physics.ApplyAngularImpulse + +```lua +Game.Physics.ApplyAngularImpulse(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 945](../../luasense_decompiled.lua#L945). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.ApplyAngularImpulseToRigidBody + +```lua +Game.Physics.ApplyAngularImpulseToRigidBody(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 947](../../luasense_decompiled.lua#L947). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.ApplyImpulse + +```lua +Game.Physics.ApplyImpulse(arg1, arg2) +``` + +Источник: [Lua, строка 949](../../luasense_decompiled.lua#L949). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.ApplyImpulseToCloth + +```lua +Game.Physics.ApplyImpulseToCloth(arg1, arg2) +``` + +Источник: [Lua, строка 951](../../luasense_decompiled.lua#L951). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.ApplyImpulseToRigidBody + +```lua +Game.Physics.ApplyImpulseToRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 953](../../luasense_decompiled.lua#L953). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.DoesHavePhysics + +```lua +Game.Physics.DoesHavePhysics(arg1) +``` + +Источник: [Lua, строка 955](../../luasense_decompiled.lua#L955). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.DoesRigidBodyExist + +```lua +Game.Physics.DoesRigidBodyExist(arg1, arg2) +``` + +Источник: [Lua, строка 957](../../luasense_decompiled.lua#L957). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetAABB + +```lua +Game.Physics.GetAABB(arg1) +``` + +Источник: [Lua, строка 959](../../luasense_decompiled.lua#L959). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetAngularVelocity + +```lua +Game.Physics.GetAngularVelocity(arg1) +``` + +Источник: [Lua, строка 961](../../luasense_decompiled.lua#L961). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetCollisionGroup + +```lua +Game.Physics.GetCollisionGroup(arg1) +``` + +Источник: [Lua, строка 963](../../luasense_decompiled.lua#L963). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetLinearVelocity + +```lua +Game.Physics.GetLinearVelocity(arg1) +``` + +Источник: [Lua, строка 965](../../luasense_decompiled.lua#L965). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetMass + +```lua +Game.Physics.GetMass(arg1) +``` + +Источник: [Lua, строка 967](../../luasense_decompiled.lua#L967). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetRigidBodyFriction + +```lua +Game.Physics.GetRigidBodyFriction(arg1, arg2) +``` + +Источник: [Lua, строка 969](../../luasense_decompiled.lua#L969). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetRigidBodyMass + +```lua +Game.Physics.GetRigidBodyMass(arg1, arg2) +``` + +Источник: [Lua, строка 971](../../luasense_decompiled.lua#L971). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetRigidBodyPosition + +```lua +Game.Physics.GetRigidBodyPosition(arg1, arg2) +``` + +Источник: [Lua, строка 973](../../luasense_decompiled.lua#L973). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetRigidBodyRestitution + +```lua +Game.Physics.GetRigidBodyRestitution(arg1, arg2) +``` + +Источник: [Lua, строка 975](../../luasense_decompiled.lua#L975). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.GetRigidBodyRotation + +```lua +Game.Physics.GetRigidBodyRotation(arg1, arg2) +``` + +Источник: [Lua, строка 977](../../luasense_decompiled.lua#L977). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsClothWindEnabled + +```lua +Game.Physics.IsClothWindEnabled(arg1) +``` + +Источник: [Lua, строка 979](../../luasense_decompiled.lua#L979). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsDynamic + +```lua +Game.Physics.IsDynamic(arg1) +``` + +Источник: [Lua, строка 981](../../luasense_decompiled.lua#L981). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsKeyframed + +```lua +Game.Physics.IsKeyframed(arg1) +``` + +Источник: [Lua, строка 983](../../luasense_decompiled.lua#L983). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsRigidBodyDynamic + +```lua +Game.Physics.IsRigidBodyDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 985](../../luasense_decompiled.lua#L985). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsRigidBodyKeyframed + +```lua +Game.Physics.IsRigidBodyKeyframed(arg1, arg2) +``` + +Источник: [Lua, строка 987](../../luasense_decompiled.lua#L987). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsRigidBodyStatic + +```lua +Game.Physics.IsRigidBodyStatic(arg1, arg2) +``` + +Источник: [Lua, строка 989](../../luasense_decompiled.lua#L989). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.IsStatic + +```lua +Game.Physics.IsStatic(arg1) +``` + +Источник: [Lua, строка 991](../../luasense_decompiled.lua#L991). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.OverRideConstraintMaxSpeed + +```lua +Game.Physics.OverRideConstraintMaxSpeed(arg1, arg2) +``` + +Источник: [Lua, строка 993](../../luasense_decompiled.lua#L993). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.RestoreConstraintMaxSpeed + +```lua +Game.Physics.RestoreConstraintMaxSpeed(arg1) +``` + +Источник: [Lua, строка 995](../../luasense_decompiled.lua#L995). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetAngularVelocity + +```lua +Game.Physics.SetAngularVelocity(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 997](../../luasense_decompiled.lua#L997). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetClothWindDirection + +```lua +Game.Physics.SetClothWindDirection(arg1, arg2) +``` + +Источник: [Lua, строка 999](../../luasense_decompiled.lua#L999). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetClothWindEnabled + +```lua +Game.Physics.SetClothWindEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 1001](../../luasense_decompiled.lua#L1001). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetClothWindInterval + +```lua +Game.Physics.SetClothWindInterval(arg1, arg2) +``` + +Источник: [Lua, строка 1003](../../luasense_decompiled.lua#L1003). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetClothWindStrength + +```lua +Game.Physics.SetClothWindStrength(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1005](../../luasense_decompiled.lua#L1005). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetCollisionGroup + +```lua +Game.Physics.SetCollisionGroup(arg1, arg2) +``` + +Источник: [Lua, строка 1007](../../luasense_decompiled.lua#L1007). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetConstraintPosition + +```lua +Game.Physics.SetConstraintPosition(arg1, arg2) +``` + +Источник: [Lua, строка 1009](../../luasense_decompiled.lua#L1009). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetLinearVelocityOfRigidBody + +```lua +Game.Physics.SetLinearVelocityOfRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1011](../../luasense_decompiled.lua#L1011). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetRigidBodyFriction + +```lua +Game.Physics.SetRigidBodyFriction(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1013](../../luasense_decompiled.lua#L1013). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetRigidBodyMass + +```lua +Game.Physics.SetRigidBodyMass(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1015](../../luasense_decompiled.lua#L1015). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetRigidBodyRestitution + +```lua +Game.Physics.SetRigidBodyRestitution(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1017](../../luasense_decompiled.lua#L1017). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetRigidBodyToDynamic + +```lua +Game.Physics.SetRigidBodyToDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 1019](../../luasense_decompiled.lua#L1019). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetRigidBodyToStatic + +```lua +Game.Physics.SetRigidBodyToStatic(arg1, arg2) +``` + +Источник: [Lua, строка 1021](../../luasense_decompiled.lua#L1021). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetSurfaceVelocityAccelerationScale + +```lua +Game.Physics.SetSurfaceVelocityAccelerationScale(arg1, arg2) +``` + +Источник: [Lua, строка 1023](../../luasense_decompiled.lua#L1023). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetSurfaceVelocityDesiredScale + +```lua +Game.Physics.SetSurfaceVelocityDesiredScale(arg1, arg2) +``` + +Источник: [Lua, строка 1025](../../luasense_decompiled.lua#L1025). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetSurfaceVelocityScale + +```lua +Game.Physics.SetSurfaceVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 1027](../../luasense_decompiled.lua#L1027). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetToDynamic + +```lua +Game.Physics.SetToDynamic(arg1) +``` + +Источник: [Lua, строка 1029](../../luasense_decompiled.lua#L1029). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetToStatic + +```lua +Game.Physics.SetToStatic(arg1) +``` + +Источник: [Lua, строка 1031](../../luasense_decompiled.lua#L1031). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Physics.SetVelocity + +```lua +Game.Physics.SetVelocity(arg1, arg2) +``` + +Источник: [Lua, строка 1033](../../luasense_decompiled.lua#L1033). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Player.md b/docs/reference/Game.Player.md new file mode 100644 index 0000000..f2eb322 --- /dev/null +++ b/docs/reference/Game.Player.md @@ -0,0 +1,583 @@ +# Game.Player + +[Индекс](../API.md) + +## Game.Player.AreAllPlayersInState + +```lua +Game.Player.AreAllPlayersInState(arg1) +``` + +Источник: [Lua, строка 1035](../../luasense_decompiled.lua#L1035). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.CanPlayerPossess + +```lua +Game.Player.CanPlayerPossess(arg1) +``` + +Источник: [Lua, строка 1037](../../luasense_decompiled.lua#L1037). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.ClearTetherBreadcrumbs + +```lua +Game.Player.ClearTetherBreadcrumbs(arg1) +``` + +Источник: [Lua, строка 1039](../../luasense_decompiled.lua#L1039). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.ClearTetherSafeRadiusOverride + +```lua +Game.Player.ClearTetherSafeRadiusOverride(arg1) +``` + +Источник: [Lua, строка 1041](../../luasense_decompiled.lua#L1041). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.DisableTetherSpawnTagSet + +```lua +Game.Player.DisableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 1043](../../luasense_decompiled.lua#L1043). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.DoesPlayerHaveLineOfSightToPosition + +```lua +Game.Player.DoesPlayerHaveLineOfSightToPosition(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1045](../../luasense_decompiled.lua#L1045). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.EnableTetherSpawnTagSet + +```lua +Game.Player.EnableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 1047](../../luasense_decompiled.lua#L1047). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetAllPlayerControlledObjectsByIndex + +```lua +Game.Player.GetAllPlayerControlledObjectsByIndex(arg1) +``` + +Источник: [Lua, строка 1049](../../luasense_decompiled.lua#L1049). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetGlobalIndexFromLocalIndex + +```lua +Game.Player.GetGlobalIndexFromLocalIndex(arg1) +``` + +Источник: [Lua, строка 1051](../../luasense_decompiled.lua#L1051). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetLastTimePlayerSpawnTagUsed + +```lua +Game.Player.GetLastTimePlayerSpawnTagUsed(arg1) +``` + +Источник: [Lua, строка 1053](../../luasense_decompiled.lua#L1053). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetMaxPossessionTime + +```lua +Game.Player.GetMaxPossessionTime(arg1) +``` + +Источник: [Lua, строка 1055](../../luasense_decompiled.lua#L1055). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetNumLocalPlayers + +```lua +Game.Player.GetNumLocalPlayers() +``` + +Источник: [Lua, строка 1057](../../luasense_decompiled.lua#L1057). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetNumPlayers + +```lua +Game.Player.GetNumPlayers() +``` + +Источник: [Lua, строка 1059](../../luasense_decompiled.lua#L1059). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerAvatarObjectByIndex + +```lua +Game.Player.GetPlayerAvatarObjectByIndex(arg1) +``` + +Источник: [Lua, строка 1061](../../luasense_decompiled.lua#L1061). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerAvatarPositionByIndex + +```lua +Game.Player.GetPlayerAvatarPositionByIndex(arg1) +``` + +Источник: [Lua, строка 1063](../../luasense_decompiled.lua#L1063). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerControlledObjectByIndex + +```lua +Game.Player.GetPlayerControlledObjectByIndex(arg1) +``` + +Источник: [Lua, строка 1065](../../luasense_decompiled.lua#L1065). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerDistanceToPosition + +```lua +Game.Player.GetPlayerDistanceToPosition(arg1, arg2) +``` + +Источник: [Lua, строка 1067](../../luasense_decompiled.lua#L1067). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerGameComplete + +```lua +Game.Player.GetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 1069](../../luasense_decompiled.lua#L1069). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerIndexByObject + +```lua +Game.Player.GetPlayerIndexByObject(arg1) +``` + +Источник: [Lua, строка 1071](../../luasense_decompiled.lua#L1071). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerObjectByIndex + +```lua +Game.Player.GetPlayerObjectByIndex(arg1) +``` + +Источник: [Lua, строка 1073](../../luasense_decompiled.lua#L1073). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerPlaneDistance + +```lua +Game.Player.GetPlayerPlaneDistance(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1075](../../luasense_decompiled.lua#L1075). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagIndex + +```lua +Game.Player.GetPlayerSpawnTagIndex(arg1) +``` + +Источник: [Lua, строка 1077](../../luasense_decompiled.lua#L1077). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed + +```lua +Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed(arg1) +``` + +Источник: [Lua, строка 1079](../../luasense_decompiled.lua#L1079). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagMinimumPlayersRequired + +```lua +Game.Player.GetPlayerSpawnTagMinimumPlayersRequired(arg1) +``` + +Источник: [Lua, строка 1081](../../luasense_decompiled.lua#L1081). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagNationCheckPassed + +```lua +Game.Player.GetPlayerSpawnTagNationCheckPassed(arg1, arg2) +``` + +Источник: [Lua, строка 1083](../../luasense_decompiled.lua#L1083). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagSpawnLocation + +```lua +Game.Player.GetPlayerSpawnTagSpawnLocation(arg1) +``` + +Источник: [Lua, строка 1085](../../luasense_decompiled.lua#L1085). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTagSpawnRotation + +```lua +Game.Player.GetPlayerSpawnTagSpawnRotation(arg1) +``` + +Источник: [Lua, строка 1087](../../luasense_decompiled.lua#L1087). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPlayerSpawnTemplateIndex + +```lua +Game.Player.GetPlayerSpawnTemplateIndex(arg1) +``` + +Источник: [Lua, строка 1089](../../luasense_decompiled.lua#L1089). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPossessingPlayerIndex + +```lua +Game.Player.GetPossessingPlayerIndex(arg1) +``` + +Источник: [Lua, строка 1091](../../luasense_decompiled.lua#L1091). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetPossessionDelay + +```lua +Game.Player.GetPossessionDelay(arg1) +``` + +Источник: [Lua, строка 1093](../../luasense_decompiled.lua#L1093). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.GetValidSpawnTagObjects + +```lua +Game.Player.GetValidSpawnTagObjects(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1095](../../luasense_decompiled.lua#L1095). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.HasPlayerCollectedObject + +```lua +Game.Player.HasPlayerCollectedObject(arg1, arg2) +``` + +Источник: [Lua, строка 1097](../../luasense_decompiled.lua#L1097). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.InhibitCurrentPossessionEnding + +```lua +Game.Player.InhibitCurrentPossessionEnding(arg1, arg2) +``` + +Источник: [Lua, строка 1099](../../luasense_decompiled.lua#L1099). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.IsActivePlayer + +```lua +Game.Player.IsActivePlayer(arg1) +``` + +Источник: [Lua, строка 1101](../../luasense_decompiled.lua#L1101). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.IsLocalPlayer + +```lua +Game.Player.IsLocalPlayer(arg1) +``` + +Источник: [Lua, строка 1103](../../luasense_decompiled.lua#L1103). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.IsPlayerControlled + +```lua +Game.Player.IsPlayerControlled(arg1) +``` + +Источник: [Lua, строка 1105](../../luasense_decompiled.lua#L1105). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.IsPlayerFlashlightOn + +```lua +Game.Player.IsPlayerFlashlightOn(arg1) +``` + +Источник: [Lua, строка 1107](../../luasense_decompiled.lua#L1107). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.IsPlayerInState + +```lua +Game.Player.IsPlayerInState(arg1, arg2) +``` + +Источник: [Lua, строка 1109](../../luasense_decompiled.lua#L1109). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.PauseCurrentPossession + +```lua +Game.Player.PauseCurrentPossession(arg1, arg2) +``` + +Источник: [Lua, строка 1111](../../luasense_decompiled.lua#L1111). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.ResetPossessionTimer + +```lua +Game.Player.ResetPossessionTimer(arg1) +``` + +Источник: [Lua, строка 1113](../../luasense_decompiled.lua#L1113). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.RevivePlayer + +```lua +Game.Player.RevivePlayer(arg1) +``` + +Источник: [Lua, строка 1115](../../luasense_decompiled.lua#L1115). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.RevivePlayerInstant + +```lua +Game.Player.RevivePlayerInstant(arg1) +``` + +Источник: [Lua, строка 1117](../../luasense_decompiled.lua#L1117). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetCheckpointLoad + +```lua +Game.Player.SetCheckpointLoad(arg1, arg2) +``` + +Источник: [Lua, строка 1119](../../luasense_decompiled.lua#L1119). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetCrouch + +```lua +Game.Player.SetCrouch(arg1, arg2) +``` + +Источник: [Lua, строка 1121](../../luasense_decompiled.lua#L1121). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetFailedOnRespawn + +```lua +Game.Player.SetFailedOnRespawn(arg1, arg2) +``` + +Источник: [Lua, строка 1123](../../luasense_decompiled.lua#L1123). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetLocalTetherTimeoutPeriod + +```lua +Game.Player.SetLocalTetherTimeoutPeriod(arg1, arg2) +``` + +Источник: [Lua, строка 1125](../../luasense_decompiled.lua#L1125). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetLocalTetherWarningPct + +```lua +Game.Player.SetLocalTetherWarningPct(arg1, arg2) +``` + +Источник: [Lua, строка 1127](../../luasense_decompiled.lua#L1127). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetLocalTetherZone + +```lua +Game.Player.SetLocalTetherZone(arg1, arg2) +``` + +Источник: [Lua, строка 1129](../../luasense_decompiled.lua#L1129). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetMaxPossessionTime + +```lua +Game.Player.SetMaxPossessionTime(arg1, arg2) +``` + +Источник: [Lua, строка 1131](../../luasense_decompiled.lua#L1131). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetPlayerGameComplete + +```lua +Game.Player.SetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 1133](../../luasense_decompiled.lua#L1133). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetPlayerIndestructible + +```lua +Game.Player.SetPlayerIndestructible(arg1, arg2) +``` + +Источник: [Lua, строка 1135](../../luasense_decompiled.lua#L1135). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetPlayerRespawnTagIndexResponse + +```lua +Game.Player.SetPlayerRespawnTagIndexResponse(arg1, arg2) +``` + +Источник: [Lua, строка 1137](../../luasense_decompiled.lua#L1137). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetPlayerSpawnTemplateIndex + +```lua +Game.Player.SetPlayerSpawnTemplateIndex(arg1, arg2) +``` + +Источник: [Lua, строка 1139](../../luasense_decompiled.lua#L1139). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetPossessionDelay + +```lua +Game.Player.SetPossessionDelay(arg1, arg2) +``` + +Источник: [Lua, строка 1141](../../luasense_decompiled.lua#L1141). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetTetherSafeRadiusOverride + +```lua +Game.Player.SetTetherSafeRadiusOverride(arg1, arg2) +``` + +Источник: [Lua, строка 1143](../../luasense_decompiled.lua#L1143). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.SetVelocityScale + +```lua +Game.Player.SetVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 1145](../../luasense_decompiled.lua#L1145). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.TetherPlayer + +```lua +Game.Player.TetherPlayer(arg1) +``` + +Источник: [Lua, строка 1147](../../luasense_decompiled.lua#L1147). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Player.TransferPlayerControl + +```lua +Game.Player.TransferPlayerControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1149](../../luasense_decompiled.lua#L1149). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Regions.md b/docs/reference/Game.Regions.md new file mode 100644 index 0000000..2e1bfd8 --- /dev/null +++ b/docs/reference/Game.Regions.md @@ -0,0 +1,83 @@ +# Game.Regions + +[Индекс](../API.md) + +## Game.Regions.DistanceToEnd + +```lua +Game.Regions.DistanceToEnd(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1151](../../luasense_decompiled.lua#L1151). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.GetNumberOfObjectsInRegionMonitor + +```lua +Game.Regions.GetNumberOfObjectsInRegionMonitor(arg1) +``` + +Источник: [Lua, строка 1153](../../luasense_decompiled.lua#L1153). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.GetObjectsInRegion + +```lua +Game.Regions.GetObjectsInRegion(arg1) +``` + +Источник: [Lua, строка 1155](../../luasense_decompiled.lua#L1155). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.GetObjectsInRegionWithTag + +```lua +Game.Regions.GetObjectsInRegionWithTag(arg1, arg2) +``` + +Источник: [Lua, строка 1157](../../luasense_decompiled.lua#L1157). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.GetRegionInfo + +```lua +Game.Regions.GetRegionInfo(arg1) +``` + +Источник: [Lua, строка 1159](../../luasense_decompiled.lua#L1159). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.IsBoneInRegion + +```lua +Game.Regions.IsBoneInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1161](../../luasense_decompiled.lua#L1161). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.IsCenterOfMassInRegion + +```lua +Game.Regions.IsCenterOfMassInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 1163](../../luasense_decompiled.lua#L1163). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Regions.IsInRegion + +```lua +Game.Regions.IsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 1165](../../luasense_decompiled.lua#L1165). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.Sets.md b/docs/reference/Game.Sets.md new file mode 100644 index 0000000..5ff09e9 --- /dev/null +++ b/docs/reference/Game.Sets.md @@ -0,0 +1,63 @@ +# Game.Sets + +[Индекс](../API.md) + +## Game.Sets.AddObjectToSet + +```lua +Game.Sets.AddObjectToSet(arg1, arg2) +``` + +Источник: [Lua, строка 1237](../../luasense_decompiled.lua#L1237). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Sets.DoesSetContainsObject + +```lua +Game.Sets.DoesSetContainsObject(arg1, arg2) +``` + +Источник: [Lua, строка 1239](../../luasense_decompiled.lua#L1239). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Sets.GetNumObjectsInSet + +```lua +Game.Sets.GetNumObjectsInSet(arg1) +``` + +Источник: [Lua, строка 1241](../../luasense_decompiled.lua#L1241). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Sets.GetObjectsInSet + +```lua +Game.Sets.GetObjectsInSet(arg1) +``` + +Источник: [Lua, строка 1243](../../luasense_decompiled.lua#L1243). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Sets.HasSetComponent + +```lua +Game.Sets.HasSetComponent(arg1) +``` + +Источник: [Lua, строка 1245](../../luasense_decompiled.lua#L1245). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Sets.RemoveObjectFromSet + +```lua +Game.Sets.RemoveObjectFromSet(arg1, arg2) +``` + +Источник: [Lua, строка 1247](../../luasense_decompiled.lua#L1247). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Game.md b/docs/reference/Game.md new file mode 100644 index 0000000..769f57b --- /dev/null +++ b/docs/reference/Game.md @@ -0,0 +1,1613 @@ +# Game + +[Индекс](../API.md) + +## Game.AdjustPossessionVisionModeForCinema + +```lua +Game.AdjustPossessionVisionModeForCinema() +``` + +Источник: [Lua, строка 513](../../luasense_decompiled.lua#L513). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ApplyStatusEffect + +```lua +Game.ApplyStatusEffect(arg1, arg2) +``` + +Источник: [Lua, строка 515](../../luasense_decompiled.lua#L515). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AreAllRequiredWorldsSynchronized + +```lua +Game.AreAllRequiredWorldsSynchronized() +``` + +Источник: [Lua, строка 517](../../luasense_decompiled.lua#L517). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AreAllies + +```lua +Game.AreAllies(arg1, arg2) +``` + +Источник: [Lua, строка 519](../../luasense_decompiled.lua#L519). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AreEnemies + +```lua +Game.AreEnemies(arg1, arg2) +``` + +Источник: [Lua, строка 521](../../luasense_decompiled.lua#L521). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AreWorldsSynchronized + +```lua +Game.AreWorldsSynchronized(arg1) +``` + +Источник: [Lua, строка 523](../../luasense_decompiled.lua#L523). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AttachToObject + +```lua +Game.AttachToObject(arg1, arg2) +``` + +Источник: [Lua, строка 525](../../luasense_decompiled.lua#L525). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AttachToRigidBody + +```lua +Game.AttachToRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 527](../../luasense_decompiled.lua#L527). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AttachToSceneNode + +```lua +Game.AttachToSceneNode(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 529](../../luasense_decompiled.lua#L529). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.AwardAchievementOccurrence + +```lua +Game.AwardAchievementOccurrence(arg1, arg2) +``` + +Источник: [Lua, строка 531](../../luasense_decompiled.lua#L531). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.BroadcastMissionEventMessage + +```lua +Game.BroadcastMissionEventMessage(arg1, arg2) +``` + +Источник: [Lua, строка 533](../../luasense_decompiled.lua#L533). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.CompleteCurrentLevel + +```lua +Game.CompleteCurrentLevel(arg1) +``` + +Источник: [Lua, строка 579](../../luasense_decompiled.lua#L579). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.CopyNation + +```lua +Game.CopyNation(arg1, arg2) +``` + +Источник: [Lua, строка 581](../../luasense_decompiled.lua#L581). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Damage + +```lua +Game.Damage(arg1, arg2) +``` + +Источник: [Lua, строка 583](../../luasense_decompiled.lua#L583). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.DamageWithInfo + +```lua +Game.DamageWithInfo(arg1, arg2) +``` + +Источник: [Lua, строка 585](../../luasense_decompiled.lua#L585). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.DataMinerCheckpoint + +```lua +Game.DataMinerCheckpoint() +``` + +Источник: [Lua, строка 587](../../luasense_decompiled.lua#L587). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Detach + +```lua +Game.Detach(arg1) +``` + +Источник: [Lua, строка 605](../../luasense_decompiled.lua#L605). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.DisplayText + +```lua +Game.DisplayText(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 607](../../luasense_decompiled.lua#L607). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.DoesPosRotExist + +```lua +Game.DoesPosRotExist(arg1) +``` + +Источник: [Lua, строка 609](../../luasense_decompiled.lua#L609). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.DoesSceneNodeExist + +```lua +Game.DoesSceneNodeExist(arg1, arg2) +``` + +Источник: [Lua, строка 611](../../luasense_decompiled.lua#L611). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Drop + +```lua +Game.Drop(arg1) +``` + +Источник: [Lua, строка 633](../../luasense_decompiled.lua#L633). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableAllEnableables + +```lua +Game.EnableAllEnableables(arg1, arg2) +``` + +Источник: [Lua, строка 635](../../luasense_decompiled.lua#L635). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableAllUsables + +```lua +Game.EnableAllUsables(arg1, arg2) +``` + +Источник: [Lua, строка 637](../../luasense_decompiled.lua#L637). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableComponent + +```lua +Game.EnableComponent(arg1, arg2) +``` + +Источник: [Lua, строка 639](../../luasense_decompiled.lua#L639). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableGlowRendering + +```lua +Game.EnableGlowRendering(arg1, arg2) +``` + +Источник: [Lua, строка 641](../../luasense_decompiled.lua#L641). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableHitPointPriority + +```lua +Game.EnableHitPointPriority(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 643](../../luasense_decompiled.lua#L643). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableInput + +```lua +Game.EnableInput(arg1) +``` + +Источник: [Lua, строка 645](../../luasense_decompiled.lua#L645). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableObjectInput + +```lua +Game.EnableObjectInput(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 647](../../luasense_decompiled.lua#L647). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.EnableVFXAnchor + +```lua +Game.EnableVFXAnchor(arg1, arg2) +``` + +Источник: [Lua, строка 649](../../luasense_decompiled.lua#L649). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ForceRiderIntoVehicle + +```lua +Game.ForceRiderIntoVehicle(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 677](../../luasense_decompiled.lua#L677). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ForceRiderOutOfVehicle + +```lua +Game.ForceRiderOutOfVehicle(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 679](../../luasense_decompiled.lua#L679). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ForceRiderVehicleState + +```lua +Game.ForceRiderVehicleState(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 681](../../luasense_decompiled.lua#L681). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ForceStopRiding + +```lua +Game.ForceStopRiding(arg1, arg2) +``` + +Источник: [Lua, строка 683](../../luasense_decompiled.lua#L683). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetActiveDestructibleObject + +```lua +Game.GetActiveDestructibleObject(arg1) +``` + +Источник: [Lua, строка 685](../../luasense_decompiled.lua#L685). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetAllDestructibleObjects + +```lua +Game.GetAllDestructibleObjects(arg1) +``` + +Источник: [Lua, строка 687](../../luasense_decompiled.lua#L687). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetAnimationVariable + +```lua +Game.GetAnimationVariable(arg1, arg2) +``` + +Источник: [Lua, строка 689](../../luasense_decompiled.lua#L689). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDamageHistory + +```lua +Game.GetDamageHistory(arg1) +``` + +Источник: [Lua, строка 691](../../luasense_decompiled.lua#L691). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDestructibleCurrentState + +```lua +Game.GetDestructibleCurrentState(arg1) +``` + +Источник: [Lua, строка 693](../../luasense_decompiled.lua#L693). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDestructibleFinalState + +```lua +Game.GetDestructibleFinalState(arg1) +``` + +Источник: [Lua, строка 695](../../luasense_decompiled.lua#L695). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDestructibleInitialState + +```lua +Game.GetDestructibleInitialState(arg1) +``` + +Источник: [Lua, строка 697](../../luasense_decompiled.lua#L697). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDestructibleObjectHealthPercent + +```lua +Game.GetDestructibleObjectHealthPercent(arg1) +``` + +Источник: [Lua, строка 699](../../luasense_decompiled.lua#L699). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetDifficulty + +```lua +Game.GetDifficulty() +``` + +Источник: [Lua, строка 701](../../luasense_decompiled.lua#L701). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetEnergyLevelPercent + +```lua +Game.GetEnergyLevelPercent(arg1) +``` + +Источник: [Lua, строка 703](../../luasense_decompiled.lua#L703). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetEnvironmentalEffectObjects + +```lua +Game.GetEnvironmentalEffectObjects(arg1) +``` + +Источник: [Lua, строка 705](../../luasense_decompiled.lua#L705). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetForward + +```lua +Game.GetForward(arg1) +``` + +Источник: [Lua, строка 707](../../luasense_decompiled.lua#L707). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetHitPointPercent + +```lua +Game.GetHitPointPercent(arg1) +``` + +Источник: [Lua, строка 709](../../luasense_decompiled.lua#L709). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetInteractionObjects + +```lua +Game.GetInteractionObjects(arg1) +``` + +Источник: [Lua, строка 711](../../luasense_decompiled.lua#L711). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetInteractionUser + +```lua +Game.GetInteractionUser(arg1) +``` + +Источник: [Lua, строка 713](../../luasense_decompiled.lua#L713). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetInventoryItems + +```lua +Game.GetInventoryItems(arg1, arg2) +``` + +Источник: [Lua, строка 715](../../luasense_decompiled.lua#L715). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetInventoryItemsByTypeAndName + +```lua +Game.GetInventoryItemsByTypeAndName(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 717](../../luasense_decompiled.lua#L717). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetInventoryOwner + +```lua +Game.GetInventoryOwner(arg1) +``` + +Источник: [Lua, строка 719](../../luasense_decompiled.lua#L719). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetLastMeleeAttack + +```lua +Game.GetLastMeleeAttack(arg1) +``` + +Источник: [Lua, строка 721](../../luasense_decompiled.lua#L721). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetMyObject + +```lua +Game.GetMyObject() +``` + +Источник: [Lua, строка 723](../../luasense_decompiled.lua#L723). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetName + +```lua +Game.GetName(arg1) +``` + +Источник: [Lua, строка 725](../../luasense_decompiled.lua#L725). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetNumDesiredWorldsPending + +```lua +Game.GetNumDesiredWorldsPending() +``` + +Источник: [Lua, строка 727](../../luasense_decompiled.lua#L727). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetObjectAttachedTo + +```lua +Game.GetObjectAttachedTo(arg1) +``` + +Источник: [Lua, строка 729](../../luasense_decompiled.lua#L729). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetOwnerObjectChangeHandlingObject + +```lua +Game.GetOwnerObjectChangeHandlingObject(arg1) +``` + +Источник: [Lua, строка 731](../../luasense_decompiled.lua#L731). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetPosition + +```lua +Game.GetPosition(arg1) +``` + +Источник: [Lua, строка 733](../../luasense_decompiled.lua#L733). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetProjectileTarget + +```lua +Game.GetProjectileTarget(arg1) +``` + +Источник: [Lua, строка 735](../../luasense_decompiled.lua#L735). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetRandomVectorInCone + +```lua +Game.GetRandomVectorInCone(arg1, arg2) +``` + +Источник: [Lua, строка 737](../../luasense_decompiled.lua#L737). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetRotateSceneObjectSpeed + +```lua +Game.GetRotateSceneObjectSpeed(arg1) +``` + +Источник: [Lua, строка 739](../../luasense_decompiled.lua#L739). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetRotation + +```lua +Game.GetRotation(arg1) +``` + +Источник: [Lua, строка 741](../../luasense_decompiled.lua#L741). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSceneNodePosition + +```lua +Game.GetSceneNodePosition(arg1, arg2) +``` + +Источник: [Lua, строка 743](../../luasense_decompiled.lua#L743). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSceneNodeRotation + +```lua +Game.GetSceneNodeRotation(arg1, arg2) +``` + +Источник: [Lua, строка 745](../../luasense_decompiled.lua#L745). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSide + +```lua +Game.GetSide(arg1) +``` + +Источник: [Lua, строка 747](../../luasense_decompiled.lua#L747). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSpawnLocationsFromSpawner + +```lua +Game.GetSpawnLocationsFromSpawner(arg1) +``` + +Источник: [Lua, строка 749](../../luasense_decompiled.lua#L749). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSpecificHitPointPercent + +```lua +Game.GetSpecificHitPointPercent(arg1, arg2) +``` + +Источник: [Lua, строка 751](../../luasense_decompiled.lua#L751). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetSuspendingObject + +```lua +Game.GetSuspendingObject(arg1) +``` + +Источник: [Lua, строка 753](../../luasense_decompiled.lua#L753). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetUp + +```lua +Game.GetUp(arg1) +``` + +Источник: [Lua, строка 755](../../luasense_decompiled.lua#L755). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.GetWorldName + +```lua +Game.GetWorldName(arg1) +``` + +Источник: [Lua, строка 757](../../luasense_decompiled.lua#L757). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HasAchievementBeenAchieved + +```lua +Game.HasAchievementBeenAchieved(arg1, arg2) +``` + +Источник: [Lua, строка 821](../../luasense_decompiled.lua#L821). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HasHitPoints + +```lua +Game.HasHitPoints(arg1) +``` + +Источник: [Lua, строка 823](../../luasense_decompiled.lua#L823). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HasPlayerStartedLevel + +```lua +Game.HasPlayerStartedLevel(arg1) +``` + +Источник: [Lua, строка 825](../../luasense_decompiled.lua#L825). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Heal + +```lua +Game.Heal(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 827](../../luasense_decompiled.lua#L827). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HideAllHUD + +```lua +Game.HideAllHUD() +``` + +Источник: [Lua, строка 829](../../luasense_decompiled.lua#L829). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HideObject + +```lua +Game.HideObject(arg1, arg2) +``` + +Источник: [Lua, строка 831](../../luasense_decompiled.lua#L831). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.HidePlayerView + +```lua +Game.HidePlayerView() +``` + +Источник: [Lua, строка 833](../../luasense_decompiled.lua#L833). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsActiveCoverOn + +```lua +Game.IsActiveCoverOn(arg1) +``` + +Источник: [Lua, строка 835](../../luasense_decompiled.lua#L835). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsAirborne + +```lua +Game.IsAirborne(arg1) +``` + +Источник: [Lua, строка 837](../../luasense_decompiled.lua#L837). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsCrouched + +```lua +Game.IsCrouched(arg1) +``` + +Источник: [Lua, строка 839](../../luasense_decompiled.lua#L839). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsDestructibleInFinalState + +```lua +Game.IsDestructibleInFinalState(arg1) +``` + +Источник: [Lua, строка 841](../../luasense_decompiled.lua#L841). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsDestructibleInInitialState + +```lua +Game.IsDestructibleInInitialState(arg1) +``` + +Источник: [Lua, строка 843](../../luasense_decompiled.lua#L843). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsEnabled + +```lua +Game.IsEnabled(arg1) +``` + +Источник: [Lua, строка 845](../../luasense_decompiled.lua#L845). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsJumping + +```lua +Game.IsJumping(arg1) +``` + +Источник: [Lua, строка 847](../../luasense_decompiled.lua#L847). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsLoaded + +```lua +Game.IsLoaded(arg1) +``` + +Источник: [Lua, строка 849](../../luasense_decompiled.lua#L849). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsNeutral + +```lua +Game.IsNeutral(arg1) +``` + +Источник: [Lua, строка 851](../../luasense_decompiled.lua#L851). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsObjectInState + +```lua +Game.IsObjectInState(arg1, arg2) +``` + +Источник: [Lua, строка 853](../../luasense_decompiled.lua#L853). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsPauseMenuShowing + +```lua +Game.IsPauseMenuShowing() +``` + +Источник: [Lua, строка 855](../../luasense_decompiled.lua#L855). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsPlayerLookRotFacingObject + +```lua +Game.IsPlayerLookRotFacingObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 857](../../luasense_decompiled.lua#L857). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsPossessed + +```lua +Game.IsPossessed(arg1) +``` + +Источник: [Lua, строка 859](../../luasense_decompiled.lua#L859). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsRiding + +```lua +Game.IsRiding(arg1) +``` + +Источник: [Lua, строка 861](../../luasense_decompiled.lua#L861). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.IsSuspended + +```lua +Game.IsSuspended(arg1) +``` + +Источник: [Lua, строка 863](../../luasense_decompiled.lua#L863). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Kill + +```lua +Game.Kill(arg1, arg2) +``` + +Источник: [Lua, строка 865](../../luasense_decompiled.lua#L865). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.KillAllObjectsInWeaponInventory + +```lua +Game.KillAllObjectsInWeaponInventory() +``` + +Источник: [Lua, строка 867](../../luasense_decompiled.lua#L867). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.OverRideRotateSceneObjectComponent + +```lua +Game.OverRideRotateSceneObjectComponent(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 943](../../luasense_decompiled.lua#L943). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RemoveAnimationGraphResource + +```lua +Game.RemoveAnimationGraphResource(arg1) +``` + +Источник: [Lua, строка 1167](../../luasense_decompiled.lua#L1167). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RemoveAnimationGraphResourceOverTime + +```lua +Game.RemoveAnimationGraphResourceOverTime(arg1, arg2) +``` + +Источник: [Lua, строка 1169](../../luasense_decompiled.lua#L1169). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RemoveStatusEffect + +```lua +Game.RemoveStatusEffect(arg1, arg2) +``` + +Источник: [Lua, строка 1171](../../luasense_decompiled.lua#L1171). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RestoreCheckpointAnimGraph + +```lua +Game.RestoreCheckpointAnimGraph(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1173](../../luasense_decompiled.lua#L1173). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RippleWater + +```lua +Game.RippleWater(arg1, arg2) +``` + +Источник: [Lua, строка 1175](../../luasense_decompiled.lua#L1175). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RippleWaterAtNode + +```lua +Game.RippleWaterAtNode(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1177](../../luasense_decompiled.lua#L1177). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.RunCutscene + +```lua +Game.RunCutscene(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1179](../../luasense_decompiled.lua#L1179). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SaveGame + +```lua +Game.SaveGame() +``` + +Источник: [Lua, строка 1181](../../luasense_decompiled.lua#L1181). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SelectInventory + +```lua +Game.SelectInventory(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1183](../../luasense_decompiled.lua#L1183). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SendCutsceneStopLoopMessage + +```lua +Game.SendCutsceneStopLoopMessage(arg1) +``` + +Источник: [Lua, строка 1185](../../luasense_decompiled.lua#L1185). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SendGameEventMessage + +```lua +Game.SendGameEventMessage(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1187](../../luasense_decompiled.lua#L1187). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SendKillMessage + +```lua +Game.SendKillMessage(arg1, arg2) +``` + +Источник: [Lua, строка 1189](../../luasense_decompiled.lua#L1189). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SendMissionEventMessage + +```lua +Game.SendMissionEventMessage(arg1, arg2) +``` + +Источник: [Lua, строка 1191](../../luasense_decompiled.lua#L1191). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SendTextMessage + +```lua +Game.SendTextMessage(arg1, arg2) +``` + +Источник: [Lua, строка 1193](../../luasense_decompiled.lua#L1193). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetAnimGraphResource + +```lua +Game.SetAnimGraphResource(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1195](../../luasense_decompiled.lua#L1195). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetAnimVarWeaponTypeFromInventory + +```lua +Game.SetAnimVarWeaponTypeFromInventory(arg1) +``` + +Источник: [Lua, строка 1197](../../luasense_decompiled.lua#L1197). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetAnimationGraphResource + +```lua +Game.SetAnimationGraphResource(arg1, arg2) +``` + +Источник: [Lua, строка 1199](../../luasense_decompiled.lua#L1199). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetAnimationGraphResourceOverTime + +```lua +Game.SetAnimationGraphResourceOverTime(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1201](../../luasense_decompiled.lua#L1201). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetAnimationVariable + +```lua +Game.SetAnimationVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1203](../../luasense_decompiled.lua#L1203). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetCurrentLevel + +```lua +Game.SetCurrentLevel(arg1) +``` + +Источник: [Lua, строка 1205](../../luasense_decompiled.lua#L1205). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetCurrentLevelId + +```lua +Game.SetCurrentLevelId(arg1) +``` + +Источник: [Lua, строка 1207](../../luasense_decompiled.lua#L1207). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetCurrentTotalAmmoPercent + +```lua +Game.SetCurrentTotalAmmoPercent(arg1, arg2) +``` + +Источник: [Lua, строка 1209](../../luasense_decompiled.lua#L1209). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetGameFailed + +```lua +Game.SetGameFailed() +``` + +Источник: [Lua, строка 1211](../../luasense_decompiled.lua#L1211). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetGameWon + +```lua +Game.SetGameWon() +``` + +Источник: [Lua, строка 1213](../../luasense_decompiled.lua#L1213). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetHitPointPercent + +```lua +Game.SetHitPointPercent(arg1, arg2) +``` + +Источник: [Lua, строка 1215](../../luasense_decompiled.lua#L1215). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetHitPointPriorityInvulnerable + +```lua +Game.SetHitPointPriorityInvulnerable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1217](../../luasense_decompiled.lua#L1217). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetLookDirection + +```lua +Game.SetLookDirection(arg1, arg2) +``` + +Источник: [Lua, строка 1219](../../luasense_decompiled.lua#L1219). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetNeutral + +```lua +Game.SetNeutral(arg1, arg2) +``` + +Источник: [Lua, строка 1221](../../luasense_decompiled.lua#L1221). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetOwnerObject + +```lua +Game.SetOwnerObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1223](../../luasense_decompiled.lua#L1223). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetPersonMaxSpeed + +```lua +Game.SetPersonMaxSpeed(arg1, arg2) +``` + +Источник: [Lua, строка 1225](../../luasense_decompiled.lua#L1225). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetPlayerSpawnIndex + +```lua +Game.SetPlayerSpawnIndex(arg1, arg2) +``` + +Источник: [Lua, строка 1227](../../luasense_decompiled.lua#L1227). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetPlayersStartedLevel + +```lua +Game.SetPlayersStartedLevel() +``` + +Источник: [Lua, строка 1229](../../luasense_decompiled.lua#L1229). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetRegeneratingHPDelay + +```lua +Game.SetRegeneratingHPDelay(arg1, arg2) +``` + +Источник: [Lua, строка 1231](../../luasense_decompiled.lua#L1231). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetSprint + +```lua +Game.SetSprint(arg1, arg2) +``` + +Источник: [Lua, строка 1233](../../luasense_decompiled.lua#L1233). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SetWorldsAsSavable + +```lua +Game.SetWorldsAsSavable(arg1) +``` + +Источник: [Lua, строка 1235](../../luasense_decompiled.lua#L1235). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowChallengeSummaryScreen + +```lua +Game.ShowChallengeSummaryScreen() +``` + +Источник: [Lua, строка 1249](../../luasense_decompiled.lua#L1249). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowFullscreenMovie + +```lua +Game.ShowFullscreenMovie(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1251](../../luasense_decompiled.lua#L1251). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowFullscreenMovieWithMenu + +```lua +Game.ShowFullscreenMovieWithMenu(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1253](../../luasense_decompiled.lua#L1253). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowFullscreenMovieWithMenuAndNode + +```lua +Game.ShowFullscreenMovieWithMenuAndNode(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 1255](../../luasense_decompiled.lua#L1255). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowGenericMenuScreen + +```lua +Game.ShowGenericMenuScreen(arg1) +``` + +Источник: [Lua, строка 1257](../../luasense_decompiled.lua#L1257). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowIntroLoadingMovieAndStream + +```lua +Game.ShowIntroLoadingMovieAndStream(arg1) +``` + +Источник: [Lua, строка 1259](../../luasense_decompiled.lua#L1259). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowIntroLoadingMovieAndStreamWithMenu + +```lua +Game.ShowIntroLoadingMovieAndStreamWithMenu(arg1, arg2) +``` + +Источник: [Lua, строка 1261](../../luasense_decompiled.lua#L1261). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowLoadingScreenMovie + +```lua +Game.ShowLoadingScreenMovie(arg1, arg2) +``` + +Источник: [Lua, строка 1263](../../luasense_decompiled.lua#L1263). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowLoadingScreenMovieStreamHint + +```lua +Game.ShowLoadingScreenMovieStreamHint() +``` + +Источник: [Lua, строка 1265](../../luasense_decompiled.lua#L1265). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowLoadingScreenMovieStreamHintWithMenu + +```lua +Game.ShowLoadingScreenMovieStreamHintWithMenu() +``` + +Источник: [Lua, строка 1267](../../luasense_decompiled.lua#L1267). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowLoadingScreenMovieWithMenu + +```lua +Game.ShowLoadingScreenMovieWithMenu(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1269](../../luasense_decompiled.lua#L1269). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowMissionSummaryScreen + +```lua +Game.ShowMissionSummaryScreen() +``` + +Источник: [Lua, строка 1271](../../luasense_decompiled.lua#L1271). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowMissionSummaryScreenEx + +```lua +Game.ShowMissionSummaryScreenEx(arg1, arg2) +``` + +Источник: [Lua, строка 1273](../../luasense_decompiled.lua#L1273). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowMissionSummaryScreenNoPause + +```lua +Game.ShowMissionSummaryScreenNoPause() +``` + +Источник: [Lua, строка 1275](../../luasense_decompiled.lua#L1275). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowMovie + +```lua +Game.ShowMovie(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1277](../../luasense_decompiled.lua#L1277). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.ShowPlayerView + +```lua +Game.ShowPlayerView() +``` + +Источник: [Lua, строка 1279](../../luasense_decompiled.lua#L1279). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.Spawn + +```lua +Game.Spawn(arg1, arg2) +``` + +Источник: [Lua, строка 1281](../../luasense_decompiled.lua#L1281). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SpawnIntoInventory + +```lua +Game.SpawnIntoInventory(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 1283](../../luasense_decompiled.lua#L1283). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SpawnWithRotation + +```lua +Game.SpawnWithRotation(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1285](../../luasense_decompiled.lua#L1285). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.SpawnerFinishedSpawning + +```lua +Game.SpawnerFinishedSpawning(arg1) +``` + +Источник: [Lua, строка 1287](../../luasense_decompiled.lua#L1287). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StartInteraction + +```lua +Game.StartInteraction(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1289](../../luasense_decompiled.lua#L1289). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StartMultiUserInteraction + +```lua +Game.StartMultiUserInteraction(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 1291](../../luasense_decompiled.lua#L1291). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StartScriptEvent + +```lua +Game.StartScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 1293](../../luasense_decompiled.lua#L1293). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StartScriptEventTarget + +```lua +Game.StartScriptEventTarget(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1295](../../luasense_decompiled.lua#L1295). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StopInteraction + +```lua +Game.StopInteraction(arg1, arg2) +``` + +Источник: [Lua, строка 1297](../../luasense_decompiled.lua#L1297). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StopMultiUserInteraction + +```lua +Game.StopMultiUserInteraction(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1299](../../luasense_decompiled.lua#L1299). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StreamWorlds + +```lua +Game.StreamWorlds(arg1, arg2) +``` + +Источник: [Lua, строка 1301](../../luasense_decompiled.lua#L1301). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.StreamWorldsWithSaveOverride + +```lua +Game.StreamWorldsWithSaveOverride(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1303](../../luasense_decompiled.lua#L1303). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.TeleportObjectToPosition + +```lua +Game.TeleportObjectToPosition(arg1, arg2) +``` + +Источник: [Lua, строка 1305](../../luasense_decompiled.lua#L1305). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.TeleportObjectWithRotation + +```lua +Game.TeleportObjectWithRotation(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1307](../../luasense_decompiled.lua#L1307). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Game.UnhideAllHUD + +```lua +Game.UnhideAllHUD() +``` + +Источник: [Lua, строка 1309](../../luasense_decompiled.lua#L1309). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/GameScript.Audio.md b/docs/reference/GameScript.Audio.md new file mode 100644 index 0000000..8b1a92c --- /dev/null +++ b/docs/reference/GameScript.Audio.md @@ -0,0 +1,441 @@ +# GameScript.Audio + +[Индекс](../API.md) + +## GameScript.Audio.ApplyEPA + +```lua +GameScript.Audio.ApplyEPA(arg1, arg2) +``` + +Источник: [Lua, строка 1312](../../luasense_decompiled.lua#L1312). Имена `argN` — placeholders реконструкции. + +Enable or disable EPA effects for the local player over specified duration. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enabled | Whether to enable or disable EPA effects. | +| 2.0 | FadeDuration | Time over which to fade the EPA effects in or out. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "Whether to enable or disable EPA effects." + }, + "2.0": { + "@K[209]": "FadeDuration", + "@K[211]": "Time over which to fade the EPA effects in or out." + } + }, + "@K[203]": "Enable or disable EPA effects for the local player over specified duration." +} +``` + +
+ +## GameScript.Audio.ApplyLowHP + +```lua +GameScript.Audio.ApplyLowHP(arg1) +``` + +Источник: [Lua, строка 1315](../../luasense_decompiled.lua#L1315). Имена `argN` — placeholders реконструкции. + +Enable or disable low HP effects for the local player. If related effects are already active, e.g. tinnitus, the result will be a logic mix. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enabled | Whether to enable or disable low HP effects. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enabled", + "@K[211]": "Whether to enable or disable low HP effects." + } + }, + "@K[203]": "Enable or disable low HP effects for the local player. If related effects are already active, e.g. tinnitus, the result will be a logic mix." +} +``` + +
+ +## GameScript.Audio.ApplyTinnitus + +```lua +GameScript.Audio.ApplyTinnitus(arg1) +``` + +Источник: [Lua, строка 1318](../../luasense_decompiled.lua#L1318). Имена `argN` — placeholders реконструкции. + +Apply an amount of tinnitus to the local player. If tinnitus is already active, the new amount will be mixed with the existing amount in a logical way. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Amount | Amount of tinnitus to apply. This value affects duration and volume of tinnitus sound and filtering of other sounds | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Amount", + "@K[211]": "Amount of tinnitus to apply. This value affects duration and volume of tinnitus sound and filtering of other sounds" + } + }, + "@K[203]": "Apply an amount of tinnitus to the local player. If tinnitus is already active, the new amount will be mixed with the existing amount in a logical way." +} +``` + +
+ +## GameScript.Audio.GetBusVolume + +```lua +GameScript.Audio.GetBusVolume(arg1) +``` + +Источник: [Lua, строка 1321](../../luasense_decompiled.lua#L1321). Имена `argN` — placeholders реконструкции. + +Get the volume of a bus by name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | BusName | Name of the bus to get the volume of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to get the volume of" + } + }, + "@K[203]": "Get the volume of a bus by name." +} +``` + +
+ +## GameScript.Audio.GetEffectParam + +```lua +GameScript.Audio.GetEffectParam(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1324](../../luasense_decompiled.lua#L1324). Имена `argN` — placeholders реконструкции. + +Get the value of an effect param by name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | BusName | Name of the bus to get the effect of | +| 2.0 | EffectName | Name of the effect to get the param of | +| 3.0 | ParamIndex | Index of the param to get the value of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to get the effect of" + }, + "2.0": { + "@K[209]": "EffectName", + "@K[211]": "Name of the effect to get the param of" + }, + "3.0": { + "@K[209]": "ParamIndex", + "@K[211]": "Index of the param to get the value of" + } + }, + "@K[203]": "Get the value of an effect param by name." +} +``` + +
+ +## GameScript.Audio.MuteMusic + +```lua +GameScript.Audio.MuteMusic(arg1, arg2) +``` + +Источник: [Lua, строка 1326](../../luasense_decompiled.lua#L1326). Имена `argN` — placeholders реконструкции. + +@K[219] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MusicName | @K[219] | +| 2.0 | Muted | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" +} +``` + +
+ +## GameScript.Audio.MuteMusicWithFade + +```lua +GameScript.Audio.MuteMusicWithFade(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1328](../../luasense_decompiled.lua#L1328). Имена `argN` — placeholders реконструкции. + +@K[219] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MusicName | @K[219] | +| 2.0 | Muted | @K[219] | +| 3.0 | FadeTime | Time, in seconds, over which to fade music volume | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "FadeTime", + "@K[211]": "Time, in seconds, over which to fade music volume" + } + }, + "@K[203]": "@K[219]" +} +``` + +
+ +## GameScript.Audio.RegisterMusic + +```lua +GameScript.Audio.RegisterMusic(arg1, arg2) +``` + +Источник: [Lua, строка 1330](../../luasense_decompiled.lua#L1330). Имена `argN` — placeholders реконструкции. + +@K[219] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MusicName | @K[219] | +| 2.0 | EmpireObject | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" +} +``` + +
+ +## GameScript.Audio.SetBusVolume + +```lua +GameScript.Audio.SetBusVolume(arg1, arg2) +``` + +Источник: [Lua, строка 1333](../../luasense_decompiled.lua#L1333). Имена `argN` — placeholders реконструкции. + +Set the volume of a bus by name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | BusName | Name of the bus to set the volume of | +| 2.0 | Volume | Volume to set on the bus | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to set the volume of" + }, + "2.0": { + "@K[209]": "Volume", + "@K[211]": "Volume to set on the bus" + } + }, + "@K[203]": "Set the volume of a bus by name." +} +``` + +
+ +## GameScript.Audio.SetEffectParam + +```lua +GameScript.Audio.SetEffectParam(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1336](../../luasense_decompiled.lua#L1336). Имена `argN` — placeholders реконструкции. + +Set the value of an effect param by name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | BusName | Name of the bus to set the effect of | +| 2.0 | EffectName | Name of the effect to set the param of | +| 3.0 | ParamIndex | Index of the param to set the value of | +| 4.0 | Value | Value to set on the param | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "BusName", + "@K[211]": "Name of the bus to set the effect of" + }, + "2.0": { + "@K[209]": "EffectName", + "@K[211]": "Name of the effect to set the param of" + }, + "3.0": { + "@K[209]": "ParamIndex", + "@K[211]": "Index of the param to set the value of" + }, + "4.0": { + "@K[209]": "Value", + "@K[211]": "Value to set on the param" + } + }, + "@K[203]": "Set the value of an effect param by name." +} +``` + +
+ +## GameScript.Audio.StartMusic + +```lua +GameScript.Audio.StartMusic(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1338](../../luasense_decompiled.lua#L1338). Имена `argN` — placeholders реконструкции. + +@K[219] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MusicName | @K[219] | +| 2.0 | Muted | @K[219] | +| 3.0 | StopOtherMusic | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MusicName", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "Muted", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "StopOtherMusic", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[219]" +} +``` + +
+ +## GameScript.Audio.StopMusic + +```lua +GameScript.Audio.StopMusic() +``` + +Источник: [Lua, строка 1340](../../luasense_decompiled.lua#L1340). Имена `argN` — placeholders реконструкции. + +@K[219] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[219]" +} +``` + +
diff --git a/docs/reference/GameScript.Callbacks.md b/docs/reference/GameScript.Callbacks.md new file mode 100644 index 0000000..0be928b --- /dev/null +++ b/docs/reference/GameScript.Callbacks.md @@ -0,0 +1,1199 @@ +# GameScript.Callbacks + +[Индекс](../API.md) + +## GameScript.Callbacks.RegisterAIEnterExitRegion + +```lua +GameScript.Callbacks.RegisterAIEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1343](../../luasense_decompiled.lua#L1343). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an AI enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 3.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an AI enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterForDeathSequenceNetFixupCallback + +```lua +GameScript.Callbacks.RegisterForDeathSequenceNetFixupCallback(arg1) +``` + +Источник: [Lua, строка 1346](../../luasense_decompiled.lua#L1346). Имена `argN` — placeholders реконструкции. + +Registers a function to be called when this object's Death Choreographer needs to possibly fix up a death sequence to be triggered over the network do to gore setting on the client. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Registers a function to be called when this object's Death Choreographer needs to possibly fix up a death sequence to be triggered over the network do to gore setting on the client." +} +``` + +
+ +## GameScript.Callbacks.RegisterForDeathSequenceSelectCallback + +```lua +GameScript.Callbacks.RegisterForDeathSequenceSelectCallback(arg1) +``` + +Источник: [Lua, строка 1349](../../luasense_decompiled.lua#L1349). Имена `argN` — placeholders реконструкции. + +Registers a function to be called when this object's Death Choreographer Component needs to determine which death sequence to use. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Registers a function to be called when this object's Death Choreographer Component needs to determine which death sequence to use." +} +``` + +
+ +## GameScript.Callbacks.RegisterForDisable + +```lua +GameScript.Callbacks.RegisterForDisable(arg1) +``` + +Источник: [Lua, строка 1352](../../luasense_decompiled.lua#L1352). Имена `argN` — placeholders реконструкции. + +Register the function to be called on object that owns this script when the 'Disable' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script when the 'Disable' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component." +} +``` + +
+ +## GameScript.Callbacks.RegisterForGlobalTimer + +```lua +GameScript.Callbacks.RegisterForGlobalTimer(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1355](../../luasense_decompiled.lua#L1355). Имена `argN` — placeholders реконструкции. + +Register the function to be called on "ScriptObject" every "TimeInSeconds" seconds in global time (i.e. not subject to time-altering game effects). In most cases, you do NOT want to use this function. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | +| 2.0 | TimeInSeconds | The time in seconds between callbacks | +| 3.0 | IsPeriodic | If we repeat the call every "TimeInSeconds" seconds. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + }, + "2.0": { + "@K[209]": "TimeInSeconds", + "@K[211]": "The time in seconds between callbacks" + }, + "3.0": { + "@K[209]": "IsPeriodic", + "@K[211]": "If we repeat the call every \"TimeInSeconds\" seconds." + } + }, + "@K[203]": "Register the function to be called on \"ScriptObject\" every \"TimeInSeconds\" seconds in global time (i.e. not subject to time-altering game effects). In most cases, you do NOT want to use this function." +} +``` + +
+ +## GameScript.Callbacks.RegisterForMsg + +```lua +GameScript.Callbacks.RegisterForMsg(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1358](../../luasense_decompiled.lua#L1358). Имена `argN` — placeholders реконструкции. + +Register for a callback on "pScriptObject" when "pMessageObject" receives a message of "type", and call function "callbackFunctionName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MessageType | The type of message for which we are waiting. | +| 2.0 | MessageObject | The object that we are watching for a message | +| 3.0 | FunctionName | The name of the callback function. The only function argument is the object that received the message. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MessageType", + "@K[211]": "The type of message for which we are waiting." + }, + "2.0": { + "@K[209]": "MessageObject", + "@K[211]": "The object that we are watching for a message" + }, + "3.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Register for a callback on \"pScriptObject\" when \"pMessageObject\" receives a message of \"type\", and call function \"callbackFunctionName\"." +} +``` + +
+ +## GameScript.Callbacks.RegisterForPostCheckpointActivation + +```lua +GameScript.Callbacks.RegisterForPostCheckpointActivation(arg1) +``` + +Источник: [Lua, строка 1361](../../luasense_decompiled.lua#L1361). Имена `argN` — placeholders реконструкции. + +This callback does nothing during the initial run of a script, However on checkpoint reload, it waits until the object has been activated(which includes the network connection for this object). Then after all of the callbacks from the checkpoint have been restored, this callback is used so that any other checkpoint issues can be fixed up. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "This callback does nothing during the initial run of a script, However on checkpoint reload, it waits until the object has been activated(which includes the network connection for this object). Then after all of the callbacks from the checkpoint have been restored, this callback is used so that any other checkpoint issues can be fixed up." +} +``` + +
+ +## GameScript.Callbacks.RegisterForScriptValueUpdated + +```lua +GameScript.Callbacks.RegisterForScriptValueUpdated(arg1) +``` + +Источник: [Lua, строка 1364](../../luasense_decompiled.lua#L1364). Имена `argN` — placeholders реконструкции. + +Register the function to be called on object that owns this script whenever a value is pushed from the game into the script.For instance, if a variable is synced across the network from the host and then pushed into the client script his will execute 'FunctionName' so that the value can be handled locally on the client. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script whenever a value is pushed from the game into the script.For instance, if a variable is synced across the network from the host and then pushed into the client script his will execute 'FunctionName' so that the value can be handled locally on the client." +} +``` + +
+ +## GameScript.Callbacks.RegisterForStopCondition + +```lua +GameScript.Callbacks.RegisterForStopCondition(arg1) +``` + +Источник: [Lua, строка 1367](../../luasense_decompiled.lua#L1367). Имена `argN` — placeholders реконструкции. + +Register the function to be called on object that owns this script when the 'StopCondition' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script when the 'StopCondition' for the script component occurs. This will execute 'FunctionName' immediately before turning off the script component." +} +``` + +
+ +## GameScript.Callbacks.RegisterForTimer + +```lua +GameScript.Callbacks.RegisterForTimer(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1370](../../luasense_decompiled.lua#L1370). Имена `argN` — placeholders реконструкции. + +Register the function to be called on "ScriptObject" every "TimeInSeconds" seconds in game time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | +| 2.0 | TimeInSeconds | The time in seconds between callbacks | +| 3.0 | IsPeriodic | If we repeat the call every "TimeInSeconds" seconds. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + }, + "2.0": { + "@K[209]": "TimeInSeconds", + "@K[211]": "The time in seconds between callbacks" + }, + "3.0": { + "@K[209]": "IsPeriodic", + "@K[211]": "If we repeat the call every \"TimeInSeconds\" seconds." + } + }, + "@K[203]": "Register the function to be called on \"ScriptObject\" every \"TimeInSeconds\" seconds in game time." +} +``` + +
+ +## GameScript.Callbacks.RegisterForUpdateEveryFrame + +```lua +GameScript.Callbacks.RegisterForUpdateEveryFrame(arg1) +``` + +Источник: [Lua, строка 1373](../../luasense_decompiled.lua#L1373). Имена `argN` — placeholders реконструкции. + +Register the function to be called on object that owns this script every game frame.Only one function can be registered per object. If you try to register a new function it will unregister the original callback. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Register the function to be called on object that owns this script every game frame.Only one function can be registered per object. If you try to register a new function it will unregister the original callback." +} +``` + +
+ +## GameScript.Callbacks.RegisterForWatchVariableChange + +```lua +GameScript.Callbacks.RegisterForWatchVariableChange(arg1, arg2) +``` + +Источник: [Lua, строка 1376](../../luasense_decompiled.lua#L1376). Имена `argN` — placeholders реконструкции. + +When the watch variable change send a callback with argument msg that has a field "oldValue" and "newValue". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we are watching for change. | +| 2.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we are watching for change." + }, + "2.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "When the watch variable change send a callback with argument msg that has a field \"oldValue\" and \"newValue\"." +} +``` + +
+ +## GameScript.Callbacks.RegisterObjectInSetEnterExitRegion + +```lua +GameScript.Callbacks.RegisterObjectInSetEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1379](../../luasense_decompiled.lua#L1379). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | SetObject | The Set whose objects we are checking | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SetObject", + "@K[211]": "The Set whose objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterObjectTagEnterExitRegion + +```lua +GameScript.Callbacks.RegisterObjectTagEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1382](../../luasense_decompiled.lua#L1382). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an object with the specified tag enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | ObjectTag | Integer representation of the Object Tag. | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "Integer representation of the Object Tag." + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object with the specified tag enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterPlayerEnterExitRegion + +```lua +GameScript.Callbacks.RegisterPlayerEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1385](../../luasense_decompiled.lua#L1385). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever a player enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 3.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever a player enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterPlayerHeadEnterExitRegion + +```lua +GameScript.Callbacks.RegisterPlayerHeadEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1388](../../luasense_decompiled.lua#L1388). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever a player's head enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 3.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever a player's head enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterSetTracker + +```lua +GameScript.Callbacks.RegisterSetTracker(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1391](../../luasense_decompiled.lua#L1391). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an object is added or removed from a set. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Set | The Set to monitor. | +| 2.0 | OnAddFunctionName | The name of the callback function when an object is added to the set. | +| 3.0 | OnRemoveFunctionName | The name of the callback function when an object is removed to the set. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Set", + "@K[211]": "The Set to monitor." + }, + "2.0": { + "@K[209]": "OnAddFunctionName", + "@K[211]": "The name of the callback function when an object is added to the set." + }, + "3.0": { + "@K[209]": "OnRemoveFunctionName", + "@K[211]": "The name of the callback function when an object is removed to the set." + } + }, + "@K[203]": "Register to get a callback whenever an object is added or removed from a set. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.RegisterSpecificObjectEnterExitRegion + +```lua +GameScript.Callbacks.RegisterSpecificObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1394](../../luasense_decompiled.lua#L1394). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | SpecificObject | The specific object we are checking | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SpecificObject", + "@K[211]": "The specific object we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an object from a specified set enters or exits the specified region. You can specify an enter AND exit function or just the enter OR exit." +} +``` + +
+ +## GameScript.Callbacks.UnregisterAIEnterExitRegion + +```lua +GameScript.Callbacks.UnregisterAIEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1397](../../luasense_decompiled.lua#L1397). Имена `argN` — placeholders реконструкции. + +Register to get a callback whenever an AI enters or exits the specified region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 3.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Register to get a callback whenever an AI enters or exits the specified region." +} +``` + +
+ +## GameScript.Callbacks.UnregisterAllMsgCallbacks + +```lua +GameScript.Callbacks.UnregisterAllMsgCallbacks() +``` + +Источник: [Lua, строка 1400](../../luasense_decompiled.lua#L1400). Имена `argN` — placeholders реконструкции. + +Unregister for any callbacks that were previously registered by "RegisterForMsg", or automatically during checkpoint load + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unregister for any callbacks that were previously registered by \"RegisterForMsg\", or automatically during checkpoint load" +} +``` + +
+ +## GameScript.Callbacks.UnregisterForDeathSequenceNetFixupCallback + +```lua +GameScript.Callbacks.UnregisterForDeathSequenceNetFixupCallback(arg1) +``` + +Источник: [Lua, строка 1403](../../luasense_decompiled.lua#L1403). Имена `argN` — placeholders реконструкции. + +Unregisters a function that has been registered to select a death sequence for an object to fix up the synced death sequence + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregisters a function that has been registered to select a death sequence for an object to fix up the synced death sequence" +} +``` + +
+ +## GameScript.Callbacks.UnregisterForDeathSequenceSelectCallback + +```lua +GameScript.Callbacks.UnregisterForDeathSequenceSelectCallback(arg1) +``` + +Источник: [Lua, строка 1406](../../luasense_decompiled.lua#L1406). Имена `argN` — placeholders реконструкции. + +Unregisters a function that has been registered to select a death sequence for an object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregisters a function that has been registered to select a death sequence for an object" +} +``` + +
+ +## GameScript.Callbacks.UnregisterForDisable + +```lua +GameScript.Callbacks.UnregisterForDisable() +``` + +Источник: [Lua, строка 1409](../../luasense_decompiled.lua#L1409). Имена `argN` — placeholders реконструкции. + +Unregister the function that is called when the object that owns this script is disabled + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when the object that owns this script is disabled" +} +``` + +
+ +## GameScript.Callbacks.UnregisterForMsg + +```lua +GameScript.Callbacks.UnregisterForMsg(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1412](../../luasense_decompiled.lua#L1412). Имена `argN` — placeholders реконструкции. + +Unregister callback for message of "type" named "callbackFunctionName" on "pScriptObject" from "pMessageObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MessageType | The type of message for which we are waiting. | +| 2.0 | MessageObject | The object that we are watching for a message | +| 3.0 | FunctionName | The name of the callback function. The only function argument is the object that received the message. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MessageType", + "@K[211]": "The type of message for which we are waiting." + }, + "2.0": { + "@K[209]": "MessageObject", + "@K[211]": "The object that we are watching for a message" + }, + "3.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Unregister callback for message of \"type\" named \"callbackFunctionName\" on \"pScriptObject\" from \"pMessageObject\"" +} +``` + +
+ +## GameScript.Callbacks.UnregisterForScriptValueUpdated + +```lua +GameScript.Callbacks.UnregisterForScriptValueUpdated() +``` + +Источник: [Lua, строка 1415](../../luasense_decompiled.lua#L1415). Имена `argN` — placeholders реконструкции. + +Unregister the function that is called when a value if pushed from the game into the script. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when a value if pushed from the game into the script." +} +``` + +
+ +## GameScript.Callbacks.UnregisterForStopCondition + +```lua +GameScript.Callbacks.UnregisterForStopCondition() +``` + +Источник: [Lua, строка 1418](../../luasense_decompiled.lua#L1418). Имена `argN` — placeholders реконструкции. + +Unregister the function that is called when the object that owns this script meets the condition set in the script component. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unregister the function that is called when the object that owns this script meets the condition set in the script component." +} +``` + +
+ +## GameScript.Callbacks.UnregisterForTimer + +```lua +GameScript.Callbacks.UnregisterForTimer(arg1) +``` + +Источник: [Lua, строка 1421](../../luasense_decompiled.lua#L1421). Имена `argN` — placeholders реконструкции. + +Unregister the timer callback function. Note that only periodic callbacks can but unregistered. Since Periodic callbacks are limited to one per callback name, it is obvious which one is meant. For one-time timer callbacks there can be multiples, so we can not determine which callback is to be unregistered. Once you register for a one-time callback, it will happen, it is too late to try to unregister. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function." + } + }, + "@K[203]": "Unregister the timer callback function. Note that only periodic callbacks can but unregistered. Since Periodic callbacks are limited to one per callback name, it is obvious which one is meant. For one-time timer callbacks there can be multiples, so we can not determine which callback is to be unregistered. Once you register for a one-time callback, it will happen, it is too late to try to unregister." +} +``` + +
+ +## GameScript.Callbacks.UnregisterForUpdateEveryFrame + +```lua +GameScript.Callbacks.UnregisterForUpdateEveryFrame() +``` + +Источник: [Lua, строка 1424](../../luasense_decompiled.lua#L1424). Имена `argN` — placeholders реконструкции. + +Unregister the function that is called every frame on the object that owns this script. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unregister the function that is called every frame on the object that owns this script." +} +``` + +
+ +## GameScript.Callbacks.UnregisterObjectEnterExitRegion + +```lua +GameScript.Callbacks.UnregisterObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1427](../../luasense_decompiled.lua#L1427). Имена `argN` — placeholders реконструкции. + +Unregisters callbacks made whenever an object with the specified tag enters or exits the specified region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region being monitored. | +| 2.0 | ObjectTag | Integer representation of the Object Tag. | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region being monitored." + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "Integer representation of the Object Tag." + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object with the specified tag enters or exits the specified region." +} +``` + +
+ +## GameScript.Callbacks.UnregisterObjectInSetEnterExitRegion + +```lua +GameScript.Callbacks.UnregisterObjectInSetEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1430](../../luasense_decompiled.lua#L1430). Имена `argN` — placeholders реконструкции. + +Unregisters callbacks made whenever an object from a specified set enters or exits the specified region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | SetObject | The Set whose objects we are checking | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SetObject", + "@K[211]": "The Set whose objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object from a specified set enters or exits the specified region." +} +``` + +
+ +## GameScript.Callbacks.UnregisterPlayerEnterExitRegion + +```lua +GameScript.Callbacks.UnregisterPlayerEnterExitRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1433](../../luasense_decompiled.lua#L1433). Имена `argN` — placeholders реконструкции. + +Unregisters callbacks made whenever a player enters or exits the specified region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region being monitored. | +| 2.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 3.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region being monitored." + }, + "2.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "3.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever a player enters or exits the specified region." +} +``` + +
+ +## GameScript.Callbacks.UnregisterSetTracker + +```lua +GameScript.Callbacks.UnregisterSetTracker(arg1) +``` + +Источник: [Lua, строка 1436](../../luasense_decompiled.lua#L1436). Имена `argN` — placeholders реконструкции. + +Unregisters callbacks made whenever an object is added or removed from the specified set. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Set | The Set to stop monitoring. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Set", + "@K[211]": "The Set to stop monitoring." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object is added or removed from the specified set." +} +``` + +
+ +## GameScript.Callbacks.UnregisterSpecificObjectEnterExitRegion + +```lua +GameScript.Callbacks.UnregisterSpecificObjectEnterExitRegion(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1439](../../luasense_decompiled.lua#L1439). Имена `argN` — placeholders реконструкции. + +Unregisters callbacks made whenever an object from a specified set enters or exits the specified region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Region | The Region to monitor. | +| 2.0 | SpecificObject | The specific objects we are checking | +| 3.0 | FunctionEnterName | The name of the enter callback function. Use "" empty quotes to not specify a enter callback. | +| 4.0 | FunctionExitName | The name of the exit callback function. Use "" empty quotes to not specify a exit callback. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Region", + "@K[211]": "The Region to monitor." + }, + "2.0": { + "@K[209]": "SpecificObject", + "@K[211]": "The specific objects we are checking" + }, + "3.0": { + "@K[209]": "FunctionEnterName", + "@K[211]": "The name of the enter callback function. Use \"\" empty quotes to not specify a enter callback." + }, + "4.0": { + "@K[209]": "FunctionExitName", + "@K[211]": "The name of the exit callback function. Use \"\" empty quotes to not specify a exit callback." + } + }, + "@K[203]": "Unregisters callbacks made whenever an object from a specified set enters or exits the specified region." +} +``` + +
diff --git a/docs/reference/GameScript.Debug.md b/docs/reference/GameScript.Debug.md new file mode 100644 index 0000000..e559753 --- /dev/null +++ b/docs/reference/GameScript.Debug.md @@ -0,0 +1,939 @@ +# GameScript.Debug + +[Индекс](../API.md) + +## GameScript.Debug.CallRegistryCommand + +```lua +GameScript.Debug.CallRegistryCommand(arg1) +``` + +Источник: [Lua, строка 1442](../../luasense_decompiled.lua#L1442). Имена `argN` — placeholders реконструкции. + +Call a registry command or set a registry object's value. Examples: CallRegistryCommand("/Audio/Debug/showSoundTable true") +"/Audio/Debug/StopAllSoundCueInstance") + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Command | Registry object path and Command, or field | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Command", + "@K[211]": "Registry object path and Command, or field" + } + }, + "@K[203]": "Call a registry command or set a registry object's value. Examples: CallRegistryCommand(\"/Audio/Debug/showSoundTable true\")\n\"/Audio/Debug/StopAllSoundCueInstance\")" +} +``` + +
+ +## GameScript.Debug.DataMinerAddFieldFloat + +```lua +GameScript.Debug.DataMinerAddFieldFloat(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1445](../../luasense_decompiled.lua#L1445). Имена `argN` — placeholders реконструкции. + +Adds a float value into a row + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | Name of table to insert the row into | +| 2.0 | FieldName | Name of field to add a value | +| 3.0 | value | float value to place in field | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "float value to place in field" + } + }, + "@K[203]": "Adds a float value into a row" +} +``` + +
+ +## GameScript.Debug.DataMinerAddFieldInt + +```lua +GameScript.Debug.DataMinerAddFieldInt(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1448](../../luasense_decompiled.lua#L1448). Имена `argN` — placeholders реконструкции. + +Adds a integer value into a row + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | Name of table to insert the row into | +| 2.0 | FieldName | Name of field to add a value | +| 3.0 | value | integer value to place in field | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "integer value to place in field" + } + }, + "@K[203]": "Adds a integer value into a row" +} +``` + +
+ +## GameScript.Debug.DataMinerAddFieldString + +```lua +GameScript.Debug.DataMinerAddFieldString(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1451](../../luasense_decompiled.lua#L1451). Имена `argN` — placeholders реконструкции. + +Adds a string value into a row + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | Name of table to insert the row into | +| 2.0 | FieldName | Name of field to add a value | +| 3.0 | value | float value to place in field | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + }, + "2.0": { + "@K[209]": "FieldName", + "@K[211]": "Name of field to add a value" + }, + "3.0": { + "@K[209]": "value", + "@K[211]": "float value to place in field" + } + }, + "@K[203]": "Adds a string value into a row" +} +``` + +
+ +## GameScript.Debug.DataMinerCreateRow + +```lua +GameScript.Debug.DataMinerCreateRow(arg1) +``` + +Источник: [Lua, строка 1454](../../luasense_decompiled.lua#L1454). Имена `argN` — placeholders реконструкции. + +Creates a row to be inserted into a dataminer table + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | Name of table to create a new row | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to create a new row" + } + }, + "@K[203]": "Creates a row to be inserted into a dataminer table" +} +``` + +
+ +## GameScript.Debug.DataMinerSessionBegin + +```lua +GameScript.Debug.DataMinerSessionBegin() +``` + +Источник: [Lua, строка 1457](../../luasense_decompiled.lua#L1457). Имена `argN` — placeholders реконструкции. + +Creates a session so that data my be recorded and tied to the session id + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Creates a session so that data my be recorded and tied to the session id" +} +``` + +
+ +## GameScript.Debug.DataMinerSessionEnd + +```lua +GameScript.Debug.DataMinerSessionEnd() +``` + +Источник: [Lua, строка 1460](../../luasense_decompiled.lua#L1460). Имена `argN` — placeholders реконструкции. + +Ends a session and uploads files to the database + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Ends a session and uploads files to the database" +} +``` + +
+ +## GameScript.Debug.DataMinerSetNoSessionRequired + +```lua +GameScript.Debug.DataMinerSetNoSessionRequired() +``` + +Источник: [Lua, строка 1463](../../luasense_decompiled.lua#L1463). Имена `argN` — placeholders реконструкции. + +Enables recording data without a session + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Enables recording data without a session" +} +``` + +
+ +## GameScript.Debug.DataMinerSubmitRow + +```lua +GameScript.Debug.DataMinerSubmitRow(arg1) +``` + +Источник: [Lua, строка 1466](../../luasense_decompiled.lua#L1466). Имена `argN` — placeholders реконструкции. + +Inserts a row into the desired dataminer table + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | Name of table to insert the row into | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "Name of table to insert the row into" + } + }, + "@K[203]": "Inserts a row into the desired dataminer table" +} +``` + +
+ +## GameScript.Debug.DrawArrow + +```lua +GameScript.Debug.DrawArrow(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1469](../../luasense_decompiled.lua#L1469). Имена `argN` — placeholders реконструкции. + +Draws an arrow + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Origin | The arrow's origin | +| 2.0 | EndPoint | The arrow's origin | +| 3.0 | Radius | The arrow's radius | +| 4.0 | Color | The color of the arrow, with fields "r", "g", "b", and "a" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Origin", + "@K[211]": "The arrow's origin" + }, + "2.0": { + "@K[209]": "EndPoint", + "@K[211]": "The arrow's origin" + }, + "3.0": { + "@K[209]": "Radius", + "@K[211]": "The arrow's radius" + }, + "4.0": { + "@K[209]": "Color", + "@K[211]": "The color of the arrow, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws an arrow" +} +``` + +
+ +## GameScript.Debug.DrawLine + +```lua +GameScript.Debug.DrawLine(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1472](../../luasense_decompiled.lua#L1472). Имена `argN` — placeholders реконструкции. + +Draws a line + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Point1 | One end-point of the line | +| 2.0 | Point2 | The other end-point of the line | +| 3.0 | Color | The color of the line, with fields "r", "g", "b", and "a" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Point1", + "@K[211]": "One end-point of the line" + }, + "2.0": { + "@K[209]": "Point2", + "@K[211]": "The other end-point of the line" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The color of the line, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws a line" +} +``` + +
+ +## GameScript.Debug.DrawSphere + +```lua +GameScript.Debug.DrawSphere(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1475](../../luasense_decompiled.lua#L1475). Имена `argN` — placeholders реконструкции. + +Draws a sphere + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Origin | The sphere's origin | +| 2.0 | Radius | The sphere's radius | +| 3.0 | Color | The color of the sphere, with fields "r", "g", "b", and "a" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Origin", + "@K[211]": "The sphere's origin" + }, + "2.0": { + "@K[209]": "Radius", + "@K[211]": "The sphere's radius" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The color of the sphere, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Draws a sphere" +} +``` + +
+ +## GameScript.Debug.ExitGame + +```lua +GameScript.Debug.ExitGame() +``` + +Источник: [Lua, строка 1478](../../luasense_decompiled.lua#L1478). Имена `argN` — placeholders реконструкции. + +Exit the game entirely, shout down all the managers and stop the executable + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Exit the game entirely, shout down all the managers and stop the executable" +} +``` + +
+ +## GameScript.Debug.GetProfileCounter + +```lua +GameScript.Debug.GetProfileCounter(arg1) +``` + +Источник: [Lua, строка 1481](../../luasense_decompiled.lua#L1481). Имена `argN` — placeholders реконструкции. + +Returns the current frame's value of a particular profile counter. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the profile counter. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the profile counter." + } + }, + "@K[203]": "Returns the current frame's value of a particular profile counter." +} +``` + +
+ +## GameScript.Debug.GetProfileTimer + +```lua +GameScript.Debug.GetProfileTimer(arg1) +``` + +Источник: [Lua, строка 1484](../../luasense_decompiled.lua#L1484). Имена `argN` — placeholders реконструкции. + +Returns the current frame's time in seconds of a particular profile timer. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[209] | Name of the profile timer. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[209]", + "@K[211]": "Name of the profile timer." + } + }, + "@K[203]": "Returns the current frame's time in seconds of a particular profile timer." +} +``` + +
+ +## GameScript.Debug.GetSystemMemoryAvailable + +```lua +GameScript.Debug.GetSystemMemoryAvailable() +``` + +Источник: [Lua, строка 1487](../../luasense_decompiled.lua#L1487). Имена `argN` — placeholders реконструкции. + +Returns the number of bytes available in system memory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the number of bytes available in system memory." +} +``` + +
+ +## GameScript.Debug.MemoryLogMark + +```lua +GameScript.Debug.MemoryLogMark(arg1) +``` + +Источник: [Lua, строка 1490](../../luasense_decompiled.lua#L1490). Имена `argN` — placeholders реконструкции. + +Creates a custom mark in the memory debug log. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Text | Text for memory mark. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Text", + "@K[211]": "Text for memory mark." + } + }, + "@K[203]": "Creates a custom mark in the memory debug log." +} +``` + +
+ +## GameScript.Debug.MessageLog + +```lua +GameScript.Debug.MessageLog(arg1, arg2) +``` + +Источник: [Lua, строка 1493](../../luasense_decompiled.lua#L1493). Имена `argN` — placeholders реконструкции. + +Print a log of all the messages received by an object if on. If try to turn on when on or off while off, returns false + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectToLog | Object to watch for messages | +| 2.0 | TurnOn | If true turn on log, if false, turn off | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectToLog", + "@K[211]": "Object to watch for messages" + }, + "2.0": { + "@K[209]": "TurnOn", + "@K[211]": "If true turn on log, if false, turn off" + } + }, + "@K[203]": "Print a log of all the messages received by an object if on. If try to turn on when on or off while off, returns false" +} +``` + +
+ +## GameScript.Debug.PrintCallstack + +```lua +GameScript.Debug.PrintCallstack() +``` + +Источник: [Lua, строка 1496](../../luasense_decompiled.lua#L1496). Имена `argN` — placeholders реконструкции. + +Prints the current callstack of the script. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Prints the current callstack of the script." +} +``` + +
+ +## GameScript.Debug.PrintError + +```lua +GameScript.Debug.PrintError(arg1) +``` + +Источник: [Lua, строка 1499](../../luasense_decompiled.lua#L1499). Имена `argN` — placeholders реконструкции. + +Print a string describing an error with the script. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Error message | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Error message" + } + }, + "@K[203]": "Print a string describing an error with the script." +} +``` + +
+ +## GameScript.Debug.PrintInfo + +```lua +GameScript.Debug.PrintInfo(arg1) +``` + +Источник: [Lua, строка 1502](../../luasense_decompiled.lua#L1502). Имена `argN` — placeholders реконструкции. + +Print a string of information from the script. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Info message | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Info message" + } + }, + "@K[203]": "Print a string of information from the script." +} +``` + +
+ +## GameScript.Debug.PrintToBottomOfScreen + +```lua +GameScript.Debug.PrintToBottomOfScreen(arg1) +``` + +Источник: [Lua, строка 1505](../../luasense_decompiled.lua#L1505). Имена `argN` — placeholders реконструкции. + +Print a string to the lowest position of the screen that fits on-screen . If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to display on screen | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + } + }, + "@K[203]": "Print a string to the lowest position of the screen that fits on-screen . If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer." +} +``` + +
+ +## GameScript.Debug.PrintToScreen + +```lua +GameScript.Debug.PrintToScreen(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1508](../../luasense_decompiled.lua#L1508). Имена `argN` — placeholders реконструкции. + +Print a string to the screen for this frame. If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to display on screen | +| 2.0 | ScreenPosX | Position to start the text on the screen (0.0 to 1.0) where 0 is the left side of screen. | +| 3.0 | ScreenPosY | Position to start the text on the screen (0.0 to 1.0) where 0 is the top side of screen. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + }, + "2.0": { + "@K[209]": "ScreenPosX", + "@K[211]": "Position to start the text on the screen (0.0 to 1.0) where 0 is the left side of screen." + }, + "3.0": { + "@K[209]": "ScreenPosY", + "@K[211]": "Position to start the text on the screen (0.0 to 1.0) where 0 is the top side of screen." + } + }, + "@K[203]": "Print a string to the screen for this frame. If you want to continue to see the text you need to make this call every frame. SeeAlso:PrintToScreenWithTimer." +} +``` + +
+ +## GameScript.Debug.PrintToScreenWithTimer + +```lua +GameScript.Debug.PrintToScreenWithTimer(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1511](../../luasense_decompiled.lua#L1511). Имена `argN` — placeholders реконструкции. + +Print a string to the screen and leave it up for "time" seconds. Note that this command collects the messages from several scripts so it manages the placement so that they do not overlap, which means you have no control over placement up/down. for those cases use PrintToScreen and manage send the call every frame + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Message to display on screen | +| 2.0 | Time | Time in seconds to leave on the screen | +| 3.0 | Color | Color Table with an r,g,b field range 0 to 255 | +| 4.0 | IsCentered | Should the text be centered left/right | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Message to display on screen" + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "Time in seconds to leave on the screen" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "Color Table with an r,g,b field range 0 to 255" + }, + "4.0": { + "@K[209]": "IsCentered", + "@K[211]": "Should the text be centered left/right" + } + }, + "@K[203]": "Print a string to the screen and leave it up for \"time\" seconds. Note that this command collects the messages from several scripts so it manages the placement so that they do not overlap, which means you have no control over placement up/down. for those cases use PrintToScreen and manage send the call every frame" +} +``` + +
+ +## GameScript.Debug.PrintWarning + +```lua +GameScript.Debug.PrintWarning(arg1) +``` + +Источник: [Lua, строка 1514](../../luasense_decompiled.lua#L1514). Имена `argN` — placeholders реконструкции. + +Print a string warning of potential problem with the script. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | Warning message | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "Warning message" + } + }, + "@K[203]": "Print a string warning of potential problem with the script." +} +``` + +
+ +## GameScript.Debug.SetOnScreenTextColor + +```lua +GameScript.Debug.SetOnScreenTextColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1517](../../luasense_decompiled.lua#L1517). Имена `argN` — placeholders реконструкции. + +Set the RGB color for the future text that is printed to the screen. This is only used with "PrintToScreen" and "PrintToBottomOfScreen" not "PrintToScreenWithTimer" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Red | Amount of Red, 0 to 255 | +| 2.0 | Green | Amount of Blue, 0 to 255 | +| 3.0 | Blue | Amount of Green, 0 to 255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Red", + "@K[211]": "Amount of Red, 0 to 255" + }, + "2.0": { + "@K[209]": "Green", + "@K[211]": "Amount of Blue, 0 to 255" + }, + "3.0": { + "@K[209]": "Blue", + "@K[211]": "Amount of Green, 0 to 255" + } + }, + "@K[203]": "Set the RGB color for the future text that is printed to the screen. This is only used with \"PrintToScreen\" and \"PrintToBottomOfScreen\" not \"PrintToScreenWithTimer\"" +} +``` + +
+ +## GameScript.Debug.SetOnScreenTimerTextMode + +```lua +GameScript.Debug.SetOnScreenTimerTextMode(arg1) +``` + +Источник: [Lua, строка 1520](../../luasense_decompiled.lua#L1520). Имена `argN` — placeholders реконструкции. + +Set vertical placement mode for "PrintToScreenWithTimer" commands + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | Mode for text placement 0 from top, 1 centered, 2 from bottom | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "Mode for text placement 0 from top, 1 centered, 2 from bottom" + } + }, + "@K[203]": "Set vertical placement mode for \"PrintToScreenWithTimer\" commands" +} +``` + +
+ +## GameScript.Debug.VerifyOnce + +```lua +GameScript.Debug.VerifyOnce(arg1) +``` + +Источник: [Lua, строка 1523](../../luasense_decompiled.lua#L1523). Имена `argN` — placeholders реконструкции. + +Triggers a VerifySilentEx call. This can only be done once per ScriptComponent. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ErrorString | String to send to the verify macro | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ErrorString", + "@K[211]": "String to send to the verify macro" + } + }, + "@K[203]": "Triggers a VerifySilentEx call. This can only be done once per ScriptComponent." +} +``` + +
diff --git a/docs/reference/GameScript.FEAR.md b/docs/reference/GameScript.FEAR.md new file mode 100644 index 0000000..303c4c5 --- /dev/null +++ b/docs/reference/GameScript.FEAR.md @@ -0,0 +1,1624 @@ +# GameScript.FEAR + +[Индекс](../API.md) + +## GameScript.FEAR.AddNumberValueToAnnouncementPacket + +```lua +GameScript.FEAR.AddNumberValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 1529](../../luasense_decompiled.lua#L1529). Имена `argN` — placeholders реконструкции. + +Adds a number value to the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet which the number will be added to. | +| 2.0 | Number | The number value added to the packet. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the number will be added to." + }, + "2.0": { + "@K[209]": "Number", + "@K[211]": "The number value added to the packet." + } + }, + "@K[203]": "Adds a number value to the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.AddStaticTextValueToAnnouncementPacket + +```lua +GameScript.FEAR.AddStaticTextValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 1532](../../luasense_decompiled.lua#L1532). Имена `argN` — placeholders реконструкции. + +Adds a string value to the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet which the string will be added to. | +| 2.0 | StaticTextID | The string value added to the packet. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the string will be added to." + }, + "2.0": { + "@K[209]": "StaticTextID", + "@K[211]": "The string value added to the packet." + } + }, + "@K[203]": "Adds a string value to the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.AddStringValueToAnnouncementPacket + +```lua +GameScript.FEAR.AddStringValueToAnnouncementPacket(arg1, arg2) +``` + +Источник: [Lua, строка 1535](../../luasense_decompiled.lua#L1535). Имена `argN` — placeholders реконструкции. + +Adds a string value to the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet which the string will be added to. | +| 2.0 | String | The string value added to the packet. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet which the string will be added to." + }, + "2.0": { + "@K[209]": "String", + "@K[211]": "The string value added to the packet." + } + }, + "@K[203]": "Adds a string value to the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.BroadcastAnnoucementPacket + +```lua +GameScript.FEAR.BroadcastAnnoucementPacket(arg1) +``` + +Источник: [Lua, строка 1538](../../luasense_decompiled.lua#L1538). Имена `argN` — placeholders реконструкции. + +Sends the announcement display packet to the message queue of every local player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet to display. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet to display." + } + }, + "@K[203]": "Sends the announcement display packet to the message queue of every local player." +} +``` + +
+ +## GameScript.FEAR.CreateAnnoucementPacket + +```lua +GameScript.FEAR.CreateAnnoucementPacket(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1541](../../luasense_decompiled.lua#L1541). Имена `argN` — placeholders реконструкции. + +Creates an announcement display packet and returns the id of the packet. If packet was not created, -1 is returned. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player who the announcement should be displayed for. | +| 2.0 | Destination | Used to indicate where the announcement should be displayed. | +| 3.0 | Announcement | The name of the announcement as defined in global data. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player who the announcement should be displayed for." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Used to indicate where the announcement should be displayed." + }, + "3.0": { + "@K[209]": "Announcement", + "@K[211]": "The name of the announcement as defined in global data." + } + }, + "@K[203]": "Creates an announcement display packet and returns the id of the packet. If packet was not created, -1 is returned." +} +``` + +
+ +## GameScript.FEAR.CreepBossAction + +```lua +GameScript.FEAR.CreepBossAction(arg1, arg2) +``` + +Источник: [Lua, строка 1544](../../luasense_decompiled.lua#L1544). Имена `argN` — placeholders реконструкции. + +Sets various settings on the given enemy such that he attacks very aggressively + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | Creep object | +| 2.0 | Attack | Type of attack to perform | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Creep object" + }, + "2.0": { + "@K[209]": "Attack", + "@K[211]": "Type of attack to perform" + } + }, + "@K[203]": "Sets various settings on the given enemy such that he attacks very aggressively" +} +``` + +
+ +## GameScript.FEAR.DismemberObject + +```lua +GameScript.FEAR.DismemberObject(arg1, arg2) +``` + +Источник: [Lua, строка 1547](../../luasense_decompiled.lua#L1547). Имена `argN` — placeholders реконструкции. + +Uses the DismembermentComponent in an object, and will attempt to cause a dismemberment of the specified type + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DismemberTarget | The object that is going to be dismembered. | +| 2.0 | DismemberTypeName | The type of dismemberment to attempt. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DismemberTarget", + "@K[211]": "The object that is going to be dismembered." + }, + "2.0": { + "@K[209]": "DismemberTypeName", + "@K[211]": "The type of dismemberment to attempt." + } + }, + "@K[203]": "Uses the DismembermentComponent in an object, and will attempt to cause a dismemberment of the specified type" +} +``` + +
+ +## GameScript.FEAR.DoScavengerEPALeap + +```lua +GameScript.FEAR.DoScavengerEPALeap(arg1, arg2) +``` + +Источник: [Lua, строка 1550](../../luasense_decompiled.lua#L1550). Имена `argN` — placeholders реконструкции. + +Orders the scavenger to leap onto an EPA at a specified location. Assumes EPA is already the AI's target. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The scavenger AI object we are ordering to leap. | +| 2.0 | LeapLocationIndex | Index into AI Attach Locations component for where AI is to leap to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The scavenger AI object we are ordering to leap." + }, + "2.0": { + "@K[209]": "LeapLocationIndex", + "@K[211]": "Index into AI Attach Locations component for where AI is to leap to." + } + }, + "@K[203]": "Orders the scavenger to leap onto an EPA at a specified location. Assumes EPA is already the AI's target." +} +``` + +
+ +## GameScript.FEAR.EnableSlowMo + +```lua +GameScript.FEAR.EnableSlowMo(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1553](../../luasense_decompiled.lua#L1553). Имена `argN` — placeholders реконструкции. + +Enable SlowMotion Control for player at a rate controled by the curve + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player who goes into slowMo | +| 2.0 | Enable | A bool to enable or disable the slowMo | +| 3.0 | SlowMoCurveName | The name in the ScriptComponent curve template list that refers to the slowMo curve | +| 4.0 | VoiceCurveName | The name in the ScriptComponent curve template list that refers to the Voice curve | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player who goes into slowMo" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "A bool to enable or disable the slowMo" + }, + "3.0": { + "@K[209]": "SlowMoCurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the slowMo curve" + }, + "4.0": { + "@K[209]": "VoiceCurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the Voice curve" + } + }, + "@K[203]": "Enable SlowMotion Control for player at a rate controled by the curve" +} +``` + +
+ +## GameScript.FEAR.FlickerPlayerFlashlight + +```lua +GameScript.FEAR.FlickerPlayerFlashlight(arg1, arg2) +``` + +Источник: [Lua, строка 1556](../../luasense_decompiled.lua#L1556). Имена `argN` — placeholders реконструкции. + +Flickers a player's flashlight following a specific curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose flashlight we are flickering | +| 2.0 | FlickerInfo | A table containing information on the flicker. The only required field is "curve", which is the script name of an imported curve template. Optional fields include:
"flickerTime" - the number of seconds to flicker the flashlight. Default value is 1.
"turnOffAtCompletion" - if true, the flashlight will be turned off when the flicker ends. Default value is true.
"allowTurnOn" - if true, the flashlight can be turned on/off during the flicker. Default value is true.
"forceFlashlightOn" - if true, the flashlight will be forcibly turned on when the flicker starts. Default value is true. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose flashlight we are flickering" + }, + "2.0": { + "@K[209]": "FlickerInfo", + "@K[211]": "A table containing information on the flicker. The only required field is \"curve\", which is the script name of an imported curve template. Optional fields include:\n\"flickerTime\" - the number of seconds to flicker the flashlight. Default value is 1.\n\"turnOffAtCompletion\" - if true, the flashlight will be turned off when the flicker ends. Default value is true.\n\"allowTurnOn\" - if true, the flashlight can be turned on/off during the flicker. Default value is true.\n\"forceFlashlightOn\" - if true, the flashlight will be forcibly turned on when the flicker starts. Default value is true." + } + }, + "@K[203]": "Flickers a player's flashlight following a specific curve." +} +``` + +
+ +## GameScript.FEAR.FlickerPlayerHUD + +```lua +GameScript.FEAR.FlickerPlayerHUD(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1559](../../luasense_decompiled.lua#L1559). Имена `argN` — placeholders реконструкции. + +Flickers a player's flashlight following a specific curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose HUD we are flickering | +| 2.0 | FlickerName | The name of the flicker in the HUD | +| 3.0 | DurationOverride | An override for the duration of the flicker. Use -1 for the defaults set in the flicker. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose HUD we are flickering" + }, + "2.0": { + "@K[209]": "FlickerName", + "@K[211]": "The name of the flicker in the HUD" + }, + "3.0": { + "@K[209]": "DurationOverride", + "@K[211]": "An override for the duration of the flicker. Use -1 for the defaults set in the flicker." + } + }, + "@K[203]": "Flickers a player's flashlight following a specific curve." +} +``` + +
+ +## GameScript.FEAR.GameDebugDump + +```lua +GameScript.FEAR.GameDebugDump(arg1) +``` + +Источник: [Lua, строка 1562](../../luasense_decompiled.lua#L1562). Имена `argN` — placeholders реконструкции. + +Dumps a whole whack of debug data to the hard drive. +Example: GameScript.FEAR.GameDebugDump("DebugDumps\") + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DirectoryPrefix | The name of the directory to place dumps under. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DirectoryPrefix", + "@K[211]": "The name of the directory to place dumps under." + } + }, + "@K[203]": "Dumps a whole whack of debug data to the hard drive.\nExample: GameScript.FEAR.GameDebugDump(\"DebugDumps\\\")" +} +``` + +
+ +## GameScript.FEAR.GetGenericCounter + +```lua +GameScript.FEAR.GetGenericCounter() +``` + +Источник: [Lua, строка 1565](../../luasense_decompiled.lua#L1565). Имена `argN` — placeholders реконструкции. + +Returns the current value of the generic counter + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the current value of the generic counter" +} +``` + +
+ +## GameScript.FEAR.GetGenericTimer + +```lua +GameScript.FEAR.GetGenericTimer() +``` + +Источник: [Lua, строка 1568](../../luasense_decompiled.lua#L1568). Имена `argN` — placeholders реконструкции. + +Returns the current value of the generic timer. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the current value of the generic timer." +} +``` + +
+ +## GameScript.FEAR.GetMaxTimeBetweenAmbientEvents + +```lua +GameScript.FEAR.GetMaxTimeBetweenAmbientEvents() +``` + +Источник: [Lua, строка 1571](../../luasense_decompiled.lua#L1571). Имена `argN` — placeholders реконструкции. + +Return the maximum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the maximum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" +} +``` + +
+ +## GameScript.FEAR.GetMaxTimeBetweenTensionEvents + +```lua +GameScript.FEAR.GetMaxTimeBetweenTensionEvents() +``` + +Источник: [Lua, строка 1574](../../luasense_decompiled.lua#L1574). Имена `argN` — placeholders реконструкции. + +Return the maximum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the maximum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" +} +``` + +
+ +## GameScript.FEAR.GetMinTimeBetweenAmbientEvents + +```lua +GameScript.FEAR.GetMinTimeBetweenAmbientEvents() +``` + +Источник: [Lua, строка 1577](../../luasense_decompiled.lua#L1577). Имена `argN` — placeholders реконструкции. + +Return the minimum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the minimum amount of time between ambient events (events that do NOT affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" +} +``` + +
+ +## GameScript.FEAR.GetMinTimeBetweenTensionEvents + +```lua +GameScript.FEAR.GetMinTimeBetweenTensionEvents() +``` + +Источник: [Lua, строка 1580](../../luasense_decompiled.lua#L1580). Имена `argN` — placeholders реконструкции. + +Return the minimum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the minimum amount of time between generative scares (events that DO affect player tension), as set in the Ambient Event Manager Component in the Global Data Object" +} +``` + +
+ +## GameScript.FEAR.GetPlayerColor + +```lua +GameScript.FEAR.GetPlayerColor(arg1) +``` + +Источник: [Lua, строка 1583](../../luasense_decompiled.lua#L1583). Имена `argN` — placeholders реконструкции. + +Returns the value of the color associated with the global player index in 32 bit argb format + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global player index of the player whose color you want. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index of the player whose color you want." + } + }, + "@K[203]": "Returns the value of the color associated with the global player index in 32 bit argb format" +} +``` + +
+ +## GameScript.FEAR.GetProbabilityOfFakeEventForCategory + +```lua +GameScript.FEAR.GetProbabilityOfFakeEventForCategory(arg1) +``` + +Источник: [Lua, строка 1586](../../luasense_decompiled.lua#L1586). Имена `argN` — placeholders реконструкции. + +Returns the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Category | The name of the affected Ambient Event Category | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The name of the affected Ambient Event Category" + } + }, + "@K[203]": "Returns the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had." +} +``` + +
+ +## GameScript.FEAR.GetSlowMoPercentRemaining + +```lua +GameScript.FEAR.GetSlowMoPercentRemaining(arg1) +``` + +Источник: [Lua, строка 1589](../../luasense_decompiled.lua#L1589). Имена `argN` — placeholders реконструкции. + +Checks the object for a Slow Mo Component and returns how much slow mo is remaining, as a percent [0, 1] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with a Slow Mo Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with a Slow Mo Component" + } + }, + "@K[203]": "Checks the object for a Slow Mo Component and returns how much slow mo is remaining, as a percent [0, 1]" +} +``` + +
+ +## GameScript.FEAR.GetTimeSinceLastAmbientEvent + +```lua +GameScript.FEAR.GetTimeSinceLastAmbientEvent() +``` + +Источник: [Lua, строка 1592](../../luasense_decompiled.lua#L1592). Имена `argN` — placeholders реконструкции. + +Returns the time (in seconds) since the last ambient event (events which do not affect player tension) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the time (in seconds) since the last ambient event (events which do not affect player tension)" +} +``` + +
+ +## GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategory + +```lua +GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategory(arg1) +``` + +Источник: [Lua, строка 1595](../../luasense_decompiled.lua#L1595). Имена `argN` — placeholders реконструкции. + +Returns the time (in seconds) since the last ambient event started for the given category + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Category | The ambient event category we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The ambient event category we are checking" + } + }, + "@K[203]": "Returns the time (in seconds) since the last ambient event started for the given category" +} +``` + +
+ +## GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup + +```lua +GameScript.FEAR.GetTimeSinceLastAmbientEventStartedForCategoryGroup(arg1) +``` + +Источник: [Lua, строка 1598](../../luasense_decompiled.lua#L1598). Имена `argN` — placeholders реконструкции. + +Returns the time (in seconds) since the last ambient event started for the given category group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CategoryGroup | The ambient event category group we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CategoryGroup", + "@K[211]": "The ambient event category group we are checking" + } + }, + "@K[203]": "Returns the time (in seconds) since the last ambient event started for the given category group" +} +``` + +
+ +## GameScript.FEAR.GetTimeSinceLastTensionEvent + +```lua +GameScript.FEAR.GetTimeSinceLastTensionEvent() +``` + +Источник: [Lua, строка 1601](../../luasense_decompiled.lua#L1601). Имена `argN` — placeholders реконструкции. + +Returns the time (in seconds) since the last generative scare event (events which do affect player tension) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the time (in seconds) since the last generative scare event (events which do affect player tension)" +} +``` + +
+ +## GameScript.FEAR.IncrementCurrentPlayerTensionLevel + +```lua +GameScript.FEAR.IncrementCurrentPlayerTensionLevel(arg1, arg2) +``` + +Источник: [Lua, строка 1604](../../luasense_decompiled.lua#L1604). Имена `argN` — placeholders реконструкции. + +Adds the "Increment" amount to the player's tension level. The Increment amount can be negative to lower the tension + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose tension level we are altering. | +| 2.0 | Increment | The amount to add to the player's tension, can be negative. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension level we are altering." + }, + "2.0": { + "@K[209]": "Increment", + "@K[211]": "The amount to add to the player's tension, can be negative." + } + }, + "@K[203]": "Adds the \"Increment\" amount to the player's tension level. The Increment amount can be negative to lower the tension" +} +``` + +
+ +## GameScript.FEAR.IsPhasing + +```lua +GameScript.FEAR.IsPhasing(arg1) +``` + +Источник: [Lua, строка 1607](../../luasense_decompiled.lua#L1607). Имена `argN` — placeholders реконструкции. + +This method pertains to the AI notion of phasing, which is essentially a teleport - rather than existing in another world temporarily. This method will tell whether the AI in the midst of a phase behavior or not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The AI object to check for phasing | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The AI object to check for phasing" + } + }, + "@K[203]": "This method pertains to the AI notion of phasing, which is essentially a teleport - rather than existing in another world temporarily. This method will tell whether the AI in the midst of a phase behavior or not." +} +``` + +
+ +## GameScript.FEAR.IsPlayerFlashlightOn + +```lua +GameScript.FEAR.IsPlayerFlashlightOn(arg1) +``` + +Источник: [Lua, строка 1610](../../luasense_decompiled.lua#L1610). Имена `argN` — placeholders реконструкции. + +Return if the player's flashlight is currently on. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global player index for which we are checking flashlight status. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index for which we are checking flashlight status." + } + }, + "@K[203]": "Return if the player's flashlight is currently on." +} +``` + +
+ +## GameScript.FEAR.NotifyOfExternalEvent + +```lua +GameScript.FEAR.NotifyOfExternalEvent() +``` + +Источник: [Lua, строка 1613](../../luasense_decompiled.lua#L1613). Имена `argN` — placeholders реконструкции. + +Notifies the Ambient Event/Generative Scare system that an external event has occurred + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Notifies the Ambient Event/Generative Scare system that an external event has occurred" +} +``` + +
+ +## GameScript.FEAR.RefillSlowMo + +```lua +GameScript.FEAR.RefillSlowMo(arg1) +``` + +Источник: [Lua, строка 1616](../../luasense_decompiled.lua#L1616). Имена `argN` — placeholders реконструкции. + +Checks the object for a Slow Mo Component and sets its current duration to its maximum value + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with a Slow Mo Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with a Slow Mo Component" + } + }, + "@K[203]": "Checks the object for a Slow Mo Component and sets its current duration to its maximum value" +} +``` + +
+ +## GameScript.FEAR.RegisterAmbientEvent + +```lua +GameScript.FEAR.RegisterAmbientEvent(arg1, arg2) +``` + +Источник: [Lua, строка 1619](../../luasense_decompiled.lua#L1619). Имена `argN` — placeholders реконструкции. + +Register/Unregister ambient event object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are (un)registering | +| 2.0 | bRegister | Register(true) or unregister(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are (un)registering" + }, + "2.0": { + "@K[209]": "bRegister", + "@K[211]": "Register(true) or unregister(false)" + } + }, + "@K[203]": "Register/Unregister ambient event object" +} +``` + +
+ +## GameScript.FEAR.SendAnnoucementPacket + +```lua +GameScript.FEAR.SendAnnoucementPacket(arg1) +``` + +Источник: [Lua, строка 1622](../../luasense_decompiled.lua#L1622). Имена `argN` — placeholders реконструкции. + +Sends the announcement display packet to the message queue for one particular local player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet to display. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet to display." + } + }, + "@K[203]": "Sends the announcement display packet to the message queue for one particular local player." +} +``` + +
+ +## GameScript.FEAR.SetAnnoucementPacketDestination + +```lua +GameScript.FEAR.SetAnnoucementPacketDestination(arg1, arg2) +``` + +Источник: [Lua, строка 1625](../../luasense_decompiled.lua#L1625). Имена `argN` — placeholders реконструкции. + +Sets the display destination of the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet. | +| 2.0 | Destination | Used to indicate where the announcement should be displayed. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Destination", + "@K[211]": "Used to indicate where the announcement should be displayed." + } + }, + "@K[203]": "Sets the display destination of the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.SetAnnoucementPacketPriority + +```lua +GameScript.FEAR.SetAnnoucementPacketPriority(arg1, arg2) +``` + +Источник: [Lua, строка 1628](../../luasense_decompiled.lua#L1628). Имена `argN` — placeholders реконструкции. + +Sets the display priority of the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet. | +| 2.0 | Priority | Used to indicate the display priority of the announcement. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "Used to indicate the display priority of the announcement." + } + }, + "@K[203]": "Sets the display priority of the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.SetAnnoucementPacketTime + +```lua +GameScript.FEAR.SetAnnoucementPacketTime(arg1, arg2) +``` + +Источник: [Lua, строка 1631](../../luasense_decompiled.lua#L1631). Имена `argN` — placeholders реконструкции. + +Sets the display time of the specified announcement display packet. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PacketId | The id of the packet. | +| 2.0 | Time | Used to indicate the display time of the announcement. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PacketId", + "@K[211]": "The id of the packet." + }, + "2.0": { + "@K[209]": "Time", + "@K[211]": "Used to indicate the display time of the announcement." + } + }, + "@K[203]": "Sets the display time of the specified announcement display packet." +} +``` + +
+ +## GameScript.FEAR.SetCurrentPlayerTensionLevel + +```lua +GameScript.FEAR.SetCurrentPlayerTensionLevel(arg1, arg2) +``` + +Источник: [Lua, строка 1634](../../luasense_decompiled.lua#L1634). Имена `argN` — placeholders реконструкции. + +Sets the current tension level for the specified player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose tension level we are setting. | +| 2.0 | Tension | The player's new tension level. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension level we are setting." + }, + "2.0": { + "@K[209]": "Tension", + "@K[211]": "The player's new tension level." + } + }, + "@K[203]": "Sets the current tension level for the specified player." +} +``` + +
+ +## GameScript.FEAR.SetDLCInventoryGroupOption + +```lua +GameScript.FEAR.SetDLCInventoryGroupOption() +``` + +Источник: [Lua, строка 1637](../../luasense_decompiled.lua#L1637). Имена `argN` — placeholders реконструкции. + +Highly specialized script that should be called on local player avatar objects. Grabs the script-owning object and sets all state-enabled primary weapon inventories to the group as defined in that player's profile's DLC inventory option. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Highly specialized script that should be called on local player avatar objects. Grabs the script-owning object and sets all state-enabled primary weapon inventories to the group as defined in that player's profile's DLC inventory option." +} +``` + +
+ +## GameScript.FEAR.SetGenericCounter + +```lua +GameScript.FEAR.SetGenericCounter(arg1) +``` + +Источник: [Lua, строка 1640](../../luasense_decompiled.lua#L1640). Имена `argN` — placeholders реконструкции. + +Sets the current value of the generic counter + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Count | The new value of the generic counter. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Count", + "@K[211]": "The new value of the generic counter." + } + }, + "@K[203]": "Sets the current value of the generic counter" +} +``` + +
+ +## GameScript.FEAR.SetGenericTimer + +```lua +GameScript.FEAR.SetGenericTimer(arg1) +``` + +Источник: [Lua, строка 1643](../../luasense_decompiled.lua#L1643). Имена `argN` — placeholders реконструкции. + +Sets the current value of the generic timer + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Time | The new value of the generic timer. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Time", + "@K[211]": "The new value of the generic timer." + } + }, + "@K[203]": "Sets the current value of the generic timer" +} +``` + +
+ +## GameScript.FEAR.SetGlobalPerformanceValue + +```lua +GameScript.FEAR.SetGlobalPerformanceValue(arg1) +``` + +Источник: [Lua, строка 1646](../../luasense_decompiled.lua#L1646). Имена `argN` — placeholders реконструкции. + +Changes global values to adjust performance for different play environments. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PerfCmd | A command for setting global performance values | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PerfCmd", + "@K[211]": "A command for setting global performance values" + } + }, + "@K[203]": "Changes global values to adjust performance for different play environments." +} +``` + +
+ +## GameScript.FEAR.SetMaxTimeBetweenAmbientEvents + +```lua +GameScript.FEAR.SetMaxTimeBetweenAmbientEvents(arg1) +``` + +Источник: [Lua, строка 1649](../../luasense_decompiled.lua#L1649). Имена `argN` — placeholders реконструкции. + +Sets the maximum time between ambient events (events that do NOT affect player tension) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MaxTime | The new maximum time between ambient events | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MaxTime", + "@K[211]": "The new maximum time between ambient events" + } + }, + "@K[203]": "Sets the maximum time between ambient events (events that do NOT affect player tension)" +} +``` + +
+ +## GameScript.FEAR.SetMaxTimeBetweenTensionEvents + +```lua +GameScript.FEAR.SetMaxTimeBetweenTensionEvents(arg1) +``` + +Источник: [Lua, строка 1652](../../luasense_decompiled.lua#L1652). Имена `argN` — placeholders реконструкции. + +Sets the maximum time between generative scares (events that DO affect player tension) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MaxTime | The new maximum time between generative scares | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MaxTime", + "@K[211]": "The new maximum time between generative scares" + } + }, + "@K[203]": "Sets the maximum time between generative scares (events that DO affect player tension)" +} +``` + +
+ +## GameScript.FEAR.SetMinMaxPlayerTensionLevel + +```lua +GameScript.FEAR.SetMinMaxPlayerTensionLevel(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1655](../../luasense_decompiled.lua#L1655). Имена `argN` — placeholders реконструкции. + +Sets the minimum and maximum tension levels for the specified player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose tension range we are setting. | +| 2.0 | MinTension | The player's new minimum tension level. | +| 3.0 | MaxTension | The player's new maximum tension level. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose tension range we are setting." + }, + "2.0": { + "@K[209]": "MinTension", + "@K[211]": "The player's new minimum tension level." + }, + "3.0": { + "@K[209]": "MaxTension", + "@K[211]": "The player's new maximum tension level." + } + }, + "@K[203]": "Sets the minimum and maximum tension levels for the specified player." +} +``` + +
+ +## GameScript.FEAR.SetMinTimeBetweenAmbientEvents + +```lua +GameScript.FEAR.SetMinTimeBetweenAmbientEvents(arg1) +``` + +Источник: [Lua, строка 1658](../../luasense_decompiled.lua#L1658). Имена `argN` — placeholders реконструкции. + +Sets the minimum time between ambient events (events that do NOT affect player tension) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MinTime | The new minimum time between ambient events that do NOT affect tension | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MinTime", + "@K[211]": "The new minimum time between ambient events that do NOT affect tension" + } + }, + "@K[203]": "Sets the minimum time between ambient events (events that do NOT affect player tension)" +} +``` + +
+ +## GameScript.FEAR.SetMinTimeBetweenTensionEvents + +```lua +GameScript.FEAR.SetMinTimeBetweenTensionEvents(arg1) +``` + +Источник: [Lua, строка 1661](../../luasense_decompiled.lua#L1661). Имена `argN` — placeholders реконструкции. + +Sets the minimum time between generative scares (events that DO affect player tension) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MinTime | The new minimum time between generative scares | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MinTime", + "@K[211]": "The new minimum time between generative scares" + } + }, + "@K[203]": "Sets the minimum time between generative scares (events that DO affect player tension)" +} +``` + +
+ +## GameScript.FEAR.SetProbabilityOfFakeEventForCategory + +```lua +GameScript.FEAR.SetProbabilityOfFakeEventForCategory(arg1, arg2) +``` + +Источник: [Lua, строка 1664](../../luasense_decompiled.lua#L1664). Имена `argN` — placeholders реконструкции. + +Sets the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Category | The name of the affected Ambient Event Category | +| 2.0 | Probability | The probability that any given event for the category will be a fake, on a scale of [0.0, 1.0] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The name of the affected Ambient Event Category" + }, + "2.0": { + "@K[209]": "Probability", + "@K[211]": "The probability that any given event for the category will be a fake, on a scale of [0.0, 1.0]" + } + }, + "@K[203]": "Sets the probability (on a scale of 0.0 to 1.0) that any given Ambient Event for the specified category will be a fake (i.e. it will not fire, though it will update the internal timers as though it had." +} +``` + +
+ +## GameScript.FEAR.TurnOnAmbientEvent + +```lua +GameScript.FEAR.TurnOnAmbientEvent(arg1, arg2) +``` + +Источник: [Lua, строка 1667](../../luasense_decompiled.lua#L1667). Имена `argN` — placeholders реконструкции. + +Turns an individual Ambient Event on/off. This should be used rarely; if you want a specifically scripted ambient event, then it should probably be handled via cutscenes. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The ambient event object we are turning on/off | +| 2.0 | bTurnOn | Turns the ambient event on (true) or off (false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The ambient event object we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turns the ambient event on (true) or off (false)" + } + }, + "@K[203]": "Turns an individual Ambient Event on/off. This should be used rarely; if you want a specifically scripted ambient event, then it should probably be handled via cutscenes." +} +``` + +
+ +## GameScript.FEAR.TurnOnAmbientEventCategory + +```lua +GameScript.FEAR.TurnOnAmbientEventCategory(arg1, arg2) +``` + +Источник: [Lua, строка 1670](../../luasense_decompiled.lua#L1670). Имена `argN` — placeholders реконструкции. + +Turns a category of Ambient Events on/off. Categories are also considered "off" if they belong to a Category Group that has been turned off + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Category | The ambient event category we are turning on/off | +| 2.0 | bTurnOn | Turn the category on(true) or off(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Category", + "@K[211]": "The ambient event category we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turn the category on(true) or off(false)" + } + }, + "@K[203]": "Turns a category of Ambient Events on/off. Categories are also considered \"off\" if they belong to a Category Group that has been turned off" +} +``` + +
+ +## GameScript.FEAR.TurnOnAmbientEventCategoryGroup + +```lua +GameScript.FEAR.TurnOnAmbientEventCategoryGroup(arg1, arg2) +``` + +Источник: [Lua, строка 1673](../../luasense_decompiled.lua#L1673). Имена `argN` — placeholders реконструкции. + +Turns a category group of Ambient Events on/off. Ambient Events will not play if their Category belongs to any Group that has been turned off + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CategoryGroup | The ambient event category group we are turning on/off | +| 2.0 | bTurnOn | Turn the category on(true) or off(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CategoryGroup", + "@K[211]": "The ambient event category group we are turning on/off" + }, + "2.0": { + "@K[209]": "bTurnOn", + "@K[211]": "Turn the category on(true) or off(false)" + } + }, + "@K[203]": "Turns a category group of Ambient Events on/off. Ambient Events will not play if their Category belongs to any Group that has been turned off" +} +``` + +
+ +## GameScript.FEAR.UpdateAISettingsForAggressiveAttack + +```lua +GameScript.FEAR.UpdateAISettingsForAggressiveAttack(arg1) +``` + +Источник: [Lua, строка 1676](../../luasense_decompiled.lua#L1676). Имена `argN` — placeholders реконструкции. + +Sets various settings on the given enemy such that he attacks very aggressively + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The enemy whose being set to attack aggressively. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The enemy whose being set to attack aggressively." + } + }, + "@K[203]": "Sets various settings on the given enemy such that he attacks very aggressively" +} +``` + +
diff --git a/docs/reference/GameScript.FEARScore.md b/docs/reference/GameScript.FEARScore.md new file mode 100644 index 0000000..56887be --- /dev/null +++ b/docs/reference/GameScript.FEARScore.md @@ -0,0 +1,773 @@ +# GameScript.FEARScore + +[Индекс](../API.md) + +## GameScript.FEARScore.AwardBoostRequirement + +```lua +GameScript.FEARScore.AwardBoostRequirement() +``` + +Источник: [Lua, строка 1678](../../luasense_decompiled.lua#L1678). Имена `argN` — placeholders реконструкции. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## GameScript.FEARScore.AwardChallengeRequirement + +```lua +GameScript.FEARScore.AwardChallengeRequirement(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1681](../../luasense_decompiled.lua#L1681). Имена `argN` — placeholders реконструкции. + +Add a number of requirements towards the goal, for instance if there is 1 new kill in a kill 30 enemies requirement, we add 1, e.g. for an additional melee kill: Score.AwardBoostRequirement(killerIndex,GameScript.BoostChallenge.Melee,1); + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player that will receive points | +| 2.0 | BoostChallengeIndex | The index of the boost challenge that we are progressing towards, from the table GameScript.BoostChallenge | +| 3.0 | NumRequirements | The number of requirements that will be added | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points" + }, + "2.0": { + "@K[209]": "BoostChallengeIndex", + "@K[211]": "The index of the boost challenge that we are progressing towards, from the table GameScript.BoostChallenge" + }, + "3.0": { + "@K[209]": "NumRequirements", + "@K[211]": "The number of requirements that will be added" + } + }, + "@K[203]": "Add a number of requirements towards the goal, for instance if there is 1 new kill in a kill 30 enemies requirement, we add 1, e.g. for an additional melee kill: Score.AwardBoostRequirement(killerIndex,GameScript.BoostChallenge.Melee,1);" +} +``` + +
+ +## GameScript.FEARScore.AwardMissionPointOccurences + +```lua +GameScript.FEARScore.AwardMissionPointOccurences(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1684](../../luasense_decompiled.lua#L1684). Имена `argN` — placeholders реконструкции. + +Add occurrences of Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.AwardMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill, 1) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player that will receive points | +| 2.0 | MissionCategoryIndex | The index of the category that will receive points, from the table GameScript.MissionScoreCategory | +| 3.0 | NumOccurrences | The number of times the player has fulfilled the mission point action | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will receive points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumOccurrences", + "@K[211]": "The number of times the player has fulfilled the mission point action" + } + }, + "@K[203]": "Add occurrences of Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.AwardMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill, 1)" +} +``` + +
+ +## GameScript.FEARScore.AwardMissionPoints + +```lua +GameScript.FEARScore.AwardMissionPoints(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1687](../../luasense_decompiled.lua#L1687). Имена `argN` — placeholders реконструкции. + +Add Mission points to player identified by GlobalPlayerIndex to their current total in the requested category (e.g. Score.AwardMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints). If GameScript.PlayerIndex.kNotAGlobalPlayer is passed in, then it will award points only to the team score and not to any individual player's score. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player that will receive points. Use GameScript.PlayerIndex.kNotAGlobalPlayer to only award points to team score instead of any individual player. | +| 2.0 | MissionCategoryIndex | The index of the category that will receive points, from the table GameScript.MissionScoreCategory | +| 3.0 | NumPoints | The number of Combat Experience Points (CP) added to the player | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will receive points. Use GameScript.PlayerIndex.kNotAGlobalPlayer to only award points to team score instead of any individual player." + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will receive points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumPoints", + "@K[211]": "The number of Combat Experience Points (CP) added to the player" + } + }, + "@K[203]": "Add Mission points to player identified by GlobalPlayerIndex to their current total in the requested category (e.g. Score.AwardMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints). If GameScript.PlayerIndex.kNotAGlobalPlayer is passed in, then it will award points only to the team score and not to any individual player's score." +} +``` + +
+ +## GameScript.FEARScore.CalculateMissionScore + +```lua +GameScript.FEARScore.CalculateMissionScore() +``` + +Источник: [Lua, строка 1690](../../luasense_decompiled.lua#L1690). Имена `argN` — placeholders реконструкции. + +Calculates the total mission score and updates profiles accordingly. This should be called at the very end of a mission + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Calculates the total mission score and updates profiles accordingly. This should be called at the very end of a mission" +} +``` + +
+ +## GameScript.FEARScore.GetCumulativeMissionScore + +```lua +GameScript.FEARScore.GetCumulativeMissionScore(arg1) +``` + +Источник: [Lua, строка 1693](../../luasense_decompiled.lua#L1693). Имена `argN` — placeholders реконструкции. + +Gets the cumulative mission score for the given player, returning 0 if the player does not exist. Note that if a player loads a checkpoint with a different co-op player than who they saved it with, the cumulative mission scores will be reset to 0 for BOTH players. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player whose cumulative score we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose cumulative score we are checking" + } + }, + "@K[203]": "Gets the cumulative mission score for the given player, returning 0 if the player does not exist. Note that if a player loads a checkpoint with a different co-op player than who they saved it with, the cumulative mission scores will be reset to 0 for BOTH players." +} +``` + +
+ +## GameScript.FEARScore.GetCurrentMissionPoints + +```lua +GameScript.FEARScore.GetCurrentMissionPoints(arg1, arg2) +``` + +Источник: [Lua, строка 1696](../../luasense_decompiled.lua#L1696). Имена `argN` — placeholders реконструкции. + +Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player we are checking the points of | +| 2.0 | MissionCategoryIndex | The index of the category that of points, from the table GameScript.MissionScoreCategory | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.MissionScoreCategory" + } + }, + "@K[203]": "Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" +} +``` + +
+ +## GameScript.FEARScore.GetCurrentRoundPoints + +```lua +GameScript.FEARScore.GetCurrentRoundPoints(arg1, arg2) +``` + +Источник: [Lua, строка 1699](../../luasense_decompiled.lua#L1699). Имена `argN` — placeholders реконструкции. + +Queries Round points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentRoundPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player we are checking the points of | +| 2.0 | MissionCategoryIndex | The index of the category that of points, from the table GameScript.MissionScoreCategory | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.MissionScoreCategory" + } + }, + "@K[203]": "Queries Round points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentRoundPoints(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" +} +``` + +
+ +## GameScript.FEARScore.GetGameLoadedSinceMissionStarted + +```lua +GameScript.FEARScore.GetGameLoadedSinceMissionStarted() +``` + +Источник: [Lua, строка 1702](../../luasense_decompiled.lua#L1702). Имена `argN` — placeholders реконструкции. + +Returns whether or not we have loaded the game since the mission started. You must call ResetMissionPoints to clear this flag at the start of a level. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns whether or not we have loaded the game since the mission started. You must call ResetMissionPoints to clear this flag at the start of a level." +} +``` + +
+ +## GameScript.FEARScore.GetLowestDifficultyUsed + +```lua +GameScript.FEARScore.GetLowestDifficultyUsed() +``` + +Источник: [Lua, строка 1705](../../luasense_decompiled.lua#L1705). Имена `argN` — placeholders реконструкции. + +Returns the lowest difficulty setting used to play this mission, starting from 1. The value is initially set when ResetMissionPoints is called, and is re-evaluated when a checkpoint finishes loading. Returns 0 if ResetMissionPoints was never called or there is no Difficulty Component in the Global Data object. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the lowest difficulty setting used to play this mission, starting from 1. The value is initially set when ResetMissionPoints is called, and is re-evaluated when a checkpoint finishes loading. Returns 0 if ResetMissionPoints was never called or there is no Difficulty Component in the Global Data object." +} +``` + +
+ +## GameScript.FEARScore.GetMissionPointOccurences + +```lua +GameScript.FEARScore.GetMissionPointOccurences(arg1, arg2) +``` + +Источник: [Lua, строка 1708](../../luasense_decompiled.lua#L1708). Имена `argN` — placeholders реконструкции. + +Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player we are checking the points of | +| 2.0 | MissionCategoryIndex | The index of the category that of points, from the table GameScript.GetCurrentMissionPointOccurrences | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking the points of" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that of points, from the table GameScript.GetCurrentMissionPointOccurrences" + } + }, + "@K[203]": "Queries Mission points from player identified by GlobalPlayerIndex of the requested category. e.g. Score.GetCurrentMissionPointOccurrences(killerIndex, GameScript.MissionScoreCategory.MeleeKill)" +} +``` + +
+ +## GameScript.FEARScore.GetMissionTime + +```lua +GameScript.FEARScore.GetMissionTime() +``` + +Источник: [Lua, строка 1711](../../luasense_decompiled.lua#L1711). Имена `argN` — placeholders реконструкции. + +Returns the current mission time in seconds + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the current mission time in seconds" +} +``` + +
+ +## GameScript.FEARScore.GetParTime + +```lua +GameScript.FEARScore.GetParTime() +``` + +Источник: [Lua, строка 1714](../../luasense_decompiled.lua#L1714). Имена `argN` — placeholders реконструкции. + +Returns the par time of the current mission in seconds. Use SetParTime() to set the par time for the mission, value stays until the next SetParTime call. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the par time of the current mission in seconds. Use SetParTime() to set the par time for the mission, value stays until the next SetParTime call." +} +``` + +
+ +## GameScript.FEARScore.GetPlayerRank + +```lua +GameScript.FEARScore.GetPlayerRank(arg1) +``` + +Источник: [Lua, строка 1717](../../luasense_decompiled.lua#L1717). Имена `argN` — placeholders реконструкции. + +Returns the rank of the given player. Returns 0 if the player isn't found + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player whose rank we are retrieving | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose rank we are retrieving" + } + }, + "@K[203]": "Returns the rank of the given player. Returns 0 if the player isn't found" +} +``` + +
+ +## GameScript.FEARScore.GetScoreMultiplier + +```lua +GameScript.FEARScore.GetScoreMultiplier() +``` + +Источник: [Lua, строка 1720](../../luasense_decompiled.lua#L1720). Имена `argN` — placeholders реконструкции. + +Returns the current score multiplier. DO NOT USE THIS FOR SCORE CALCULATIONS. The score system already applies the multiplier as points are awarded. This is really only to be used for our script-based announcement system which doesn't know about that math going on behind its back. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the current score multiplier. DO NOT USE THIS FOR SCORE CALCULATIONS. The score system already applies the multiplier as points are awarded. This is really only to be used for our script-based announcement system which doesn't know about that math going on behind its back." +} +``` + +
+ +## GameScript.FEARScore.GetTotalChallengeCategoryPoints + +```lua +GameScript.FEARScore.GetTotalChallengeCategoryPoints(arg1, arg2) +``` + +Источник: [Lua, строка 1723](../../luasense_decompiled.lua#L1723). Имена `argN` — placeholders реконструкции. + +Returns the number of points a player has earned over their entire game session in a particular challenge category. This value gets reset if a player starts a new game, restarts a chapter, or is joined by a friend who was not in the last checkpoint save. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player we are checking | +| 2.0 | ChallengeCategory | The challenge category index that we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking" + }, + "2.0": { + "@K[209]": "ChallengeCategory", + "@K[211]": "The challenge category index that we are checking" + } + }, + "@K[203]": "Returns the number of points a player has earned over their entire game session in a particular challenge category. This value gets reset if a player starts a new game, restarts a chapter, or is joined by a friend who was not in the last checkpoint save." +} +``` + +
+ +## GameScript.FEARScore.HasPlayerAchievedChallenge + +```lua +GameScript.FEARScore.HasPlayerAchievedChallenge(arg1, arg2) +``` + +Источник: [Lua, строка 1726](../../luasense_decompiled.lua#L1726). Имена `argN` — placeholders реконструкции. + +Returns whether the given player has achieved the specified challenge + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player we are checking | +| 2.0 | ChallengeIndex | The index of the challenge that we are checking, from the table GameScript.BoostChallenge | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player we are checking" + }, + "2.0": { + "@K[209]": "ChallengeIndex", + "@K[211]": "The index of the challenge that we are checking, from the table GameScript.BoostChallenge" + } + }, + "@K[203]": "Returns whether the given player has achieved the specified challenge" +} +``` + +
+ +## GameScript.FEARScore.RegisterForDeath + +```lua +GameScript.FEARScore.RegisterForDeath(arg1) +``` + +Источник: [Lua, строка 1729](../../luasense_decompiled.lua#L1729). Имена `argN` — placeholders реконструкции. + +Register for a callback for when ever an "Actor" is killed. The callback has a table argument that consists of fields: deathType,killerPlayerIndex,mostDamagingPlayerIndex. If you suspect this documentation is out of date try function OnDeath(argTable) Debug.PrintTable(argTable) end to see contents. The death type is matched up to the types in GameScript.ScoreDeathType.Unspecific,Melee,Headshot,Grenade + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FunctionName | The name of the callback function. The only function argument is the object that received the message. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FunctionName", + "@K[211]": "The name of the callback function. The only function argument is the object that received the message." + } + }, + "@K[203]": "Register for a callback for when ever an \"Actor\" is killed. The callback has a table argument that consists of fields: deathType,killerPlayerIndex,mostDamagingPlayerIndex. If you suspect this documentation is out of date try function OnDeath(argTable) Debug.PrintTable(argTable) end to see contents. The death type is matched up to the types in GameScript.ScoreDeathType.Unspecific,Melee,Headshot,Grenade" +} +``` + +
+ +## GameScript.FEARScore.ResetBoostProgress + +```lua +GameScript.FEARScore.ResetBoostProgress() +``` + +Источник: [Lua, строка 1731](../../luasense_decompiled.lua#L1731). Имена `argN` — placeholders реконструкции. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## GameScript.FEARScore.ResetChallengeProgress + +```lua +GameScript.FEARScore.ResetChallengeProgress(arg1, arg2) +``` + +Источник: [Lua, строка 1734](../../luasense_decompiled.lua#L1734). Имена `argN` — placeholders реконструкции. + +Resets a player's progress towards a specific challenge + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player whose boost progress will be reset | +| 2.0 | BoostChallengeIndex | The index of the boost challenge that we are resetting, from the table GameScript.BoostChallenge | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player whose boost progress will be reset" + }, + "2.0": { + "@K[209]": "BoostChallengeIndex", + "@K[211]": "The index of the boost challenge that we are resetting, from the table GameScript.BoostChallenge" + } + }, + "@K[203]": "Resets a player's progress towards a specific challenge" +} +``` + +
+ +## GameScript.FEARScore.ResetMissionPoints + +```lua +GameScript.FEARScore.ResetMissionPoints() +``` + +Источник: [Lua, строка 1737](../../luasense_decompiled.lua#L1737). Имена `argN` — placeholders реконструкции. + +Resets all points and occurrences for all players across all Mission Point categories. Call this function at the start of each level. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Resets all points and occurrences for all players across all Mission Point categories. Call this function at the start of each level." +} +``` + +
+ +## GameScript.FEARScore.ResetMissionTimer + +```lua +GameScript.FEARScore.ResetMissionTimer() +``` + +Источник: [Lua, строка 1740](../../luasense_decompiled.lua#L1740). Имена `argN` — placeholders реконструкции. + +Resets the Mission Timer. Will cause a warning if the timer is currently running. This should be called at the very beginning of a level, just before calling StartMissionTimer() + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Resets the Mission Timer. Will cause a warning if the timer is currently running. This should be called at the very beginning of a level, just before calling StartMissionTimer()" +} +``` + +
+ +## GameScript.FEARScore.ResetRoundPoints + +```lua +GameScript.FEARScore.ResetRoundPoints() +``` + +Источник: [Lua, строка 1743](../../luasense_decompiled.lua#L1743). Имена `argN` — placeholders реконструкции. + +Resets all points for all players for the current round. This does not affect their mission score, or accumulated totals for any mission score category. Call this function at the beginning of each round in an MP game. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Resets all points for all players for the current round. This does not affect their mission score, or accumulated totals for any mission score category. Call this function at the beginning of each round in an MP game." +} +``` + +
+ +## GameScript.FEARScore.SetParTime + +```lua +GameScript.FEARScore.SetParTime() +``` + +Источник: [Lua, строка 1746](../../luasense_decompiled.lua#L1746). Имена `argN` — placeholders реконструкции. + +Sets the par time of the current mission in seconds. Value stays until the next SetParTime() call + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the par time of the current mission in seconds. Value stays until the next SetParTime() call" +} +``` + +
+ +## GameScript.FEARScore.StartMissionTimer + +```lua +GameScript.FEARScore.StartMissionTimer() +``` + +Источник: [Lua, строка 1749](../../luasense_decompiled.lua#L1749). Имена `argN` — placeholders реконструкции. + +Starts the Mission Timer. Will cause a red screen if the timer has already been started. This should be called at the very beginning of a level, right after calling ResetMissionTimer() + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Starts the Mission Timer. Will cause a red screen if the timer has already been started. This should be called at the very beginning of a level, right after calling ResetMissionTimer()" +} +``` + +
+ +## GameScript.FEARScore.StopMissionTimer + +```lua +GameScript.FEARScore.StopMissionTimer() +``` + +Источник: [Lua, строка 1752](../../luasense_decompiled.lua#L1752). Имена `argN` — placeholders реконструкции. + +Stops the Mission Timer. Will cause a red screen if the timer has already stopped. This should be called at the very end of a level, just before calling CalculateMissionScore() + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Stops the Mission Timer. Will cause a red screen if the timer has already stopped. This should be called at the very end of a level, just before calling CalculateMissionScore()" +} +``` + +
+ +## GameScript.FEARScore.SubtractMissionPoints + +```lua +GameScript.FEARScore.SubtractMissionPoints(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1755](../../luasense_decompiled.lua#L1755). Имена `argN` — placeholders реконструкции. + +Subtract Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.SubtractMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player that will subtract points | +| 2.0 | MissionCategoryIndex | The index of the category that will subtract points, from the table GameScript.MissionScoreCategory | +| 3.0 | NumPoints | The number of Combat Experience Points (CP) subtracted from the player | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player that will subtract points" + }, + "2.0": { + "@K[209]": "MissionCategoryIndex", + "@K[211]": "The index of the category that will subtract points, from the table GameScript.MissionScoreCategory" + }, + "3.0": { + "@K[209]": "NumPoints", + "@K[211]": "The number of Combat Experience Points (CP) subtracted from the player" + } + }, + "@K[203]": "Subtract Mission points to player identified by GlobalPlayerIndex to their current total in the requested category. e.g. Score.SubtractMissionPoints(killerIndex,GameScript.MissionScoreCategory.MeleeKill,meleeMissionPoints)" +} +``` + +
diff --git a/docs/reference/GameScript.Game.AI.md b/docs/reference/GameScript.Game.AI.md new file mode 100644 index 0000000..65ed25d --- /dev/null +++ b/docs/reference/GameScript.Game.AI.md @@ -0,0 +1,363 @@ +# GameScript.Game.AI + +[Индекс](../API.md) + +## GameScript.Game.AI.AssignExternalAIOrder + +```lua +GameScript.Game.AI.AssignExternalAIOrder(arg1, arg2) +``` + +Источник: [Lua, строка 1758](../../luasense_decompiled.lua#L1758). Имена `argN` — placeholders реконструкции. + +Assigns an AI Order from an object to an AI or Squad + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | OrderObject | The empireObject containing the order to be assigned | +| 2.0 | AssigneeObject | The AI or Squad that receives the order | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "OrderObject", + "@K[211]": "The empireObject containing the order to be assigned" + }, + "2.0": { + "@K[209]": "AssigneeObject", + "@K[211]": "The AI or Squad that receives the order" + } + }, + "@K[203]": "Assigns an AI Order from an object to an AI or Squad" +} +``` + +
+ +## GameScript.Game.AI.EnableAIObject + +```lua +GameScript.Game.AI.EnableAIObject(arg1, arg2) +``` + +Источник: [Lua, строка 1761](../../luasense_decompiled.lua#L1761). Имена `argN` — placeholders реконструкции. + +Enables or disables the AI component within the specified object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | AI | The specific AI object we are enabling/disabling | +| 2.0 | bEnable | Whether we are enabling (1) or disabling (0) the AI | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "AI", + "@K[211]": "The specific AI object we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (1) or disabling (0) the AI" + } + }, + "@K[203]": "Enables or disables the AI component within the specified object" +} +``` + +
+ +## GameScript.Game.AI.EnableNodeMapInRegion + +```lua +GameScript.Game.AI.EnableNodeMapInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1764](../../luasense_decompiled.lua#L1764). Имена `argN` — placeholders реконструкции. + +Enables or disables the specified node map + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | NodeMapName | The specific node map name name we are enabling/disabling | +| 2.0 | EmpireObject | The region to enable/disable nodes in | +| 3.0 | bEnable | Whether we are enabling (1) or disabling (0) the node map | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "NodeMapName", + "@K[211]": "The specific node map name name we are enabling/disabling" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "3.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (1) or disabling (0) the node map" + } + }, + "@K[203]": "Enables or disables the specified node map" +} +``` + +
+ +## GameScript.Game.AI.EnableNodesInRegion + +```lua +GameScript.Game.AI.EnableNodesInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1767](../../luasense_decompiled.lua#L1767). Имена `argN` — placeholders реконструкции. + +Enables or disables nodes in the specified node map + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | NodeMapEmpireObject | The ai node map to enable/disable nodes | +| 2.0 | RegionObject | The region to enable/disable nodes in | +| 3.0 | bEnable | Whether we are enabling (true) or disabling (false) the nodes | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "NodeMapEmpireObject", + "@K[211]": "The ai node map to enable/disable nodes" + }, + "2.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "3.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (true) or disabling (false) the nodes" + } + }, + "@K[203]": "Enables or disables nodes in the specified node map" +} +``` + +
+ +## GameScript.Game.AI.EnableSmartMapsInRegion + +```lua +GameScript.Game.AI.EnableSmartMapsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 1770](../../luasense_decompiled.lua#L1770). Имена `argN` — placeholders реконструкции. + +Enables or disables all smart nodes in the specified region + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RegionObject | The region to enable/disable nodes in | +| 2.0 | bEnable | Whether we are enabling (true) or disabling (false) the nodes | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to enable/disable nodes in" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Whether we are enabling (true) or disabling (false) the nodes" + } + }, + "@K[203]": "Enables or disables all smart nodes in the specified region" +} +``` + +
+ +## GameScript.Game.AI.GetAIIdentityType + +```lua +GameScript.Game.AI.GetAIIdentityType(arg1) +``` + +Источник: [Lua, строка 1773](../../luasense_decompiled.lua#L1773). Имена `argN` — placeholders реконструкции. + +Returns the AIIdentityType of the passed in object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The EmpireObject of the AI | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject of the AI" + } + }, + "@K[203]": "Returns the AIIdentityType of the passed in object" +} +``` + +
+ +## GameScript.Game.AI.GetAITargetInfo + +```lua +GameScript.Game.AI.GetAITargetInfo(arg1) +``` + +Источник: [Lua, строка 1776](../../luasense_decompiled.lua#L1776). Имена `argN` — placeholders реконструкции. + +Returns AITarget information + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Object | The empireObject of the AI | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject of the AI" + } + }, + "@K[203]": "Returns AITarget information" +} +``` + +
+ +## GameScript.Game.AI.GetDistanceToClosestEnemy + +```lua +GameScript.Game.AI.GetDistanceToClosestEnemy(arg1) +``` + +Источник: [Lua, строка 1779](../../luasense_decompiled.lua#L1779). Имена `argN` — placeholders реконструкции. + +Returns the distance to enemy closest to the passed-in object. The object requires Nation and Pos/Rot Components. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The Empire Object whose enemies we are getting the distance to. Requires a Nation Component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The Empire Object whose enemies we are getting the distance to. Requires a Nation Component." + } + }, + "@K[203]": "Returns the distance to enemy closest to the passed-in object. The object requires Nation and Pos/Rot Components." +} +``` + +
+ +## GameScript.Game.AI.InhibitPossession + +```lua +GameScript.Game.AI.InhibitPossession(arg1, arg2) +``` + +Источник: [Lua, строка 1782](../../luasense_decompiled.lua#L1782). Имена `argN` — placeholders реконструкции. + +AI is prevented from being possessed when bInhibit is true + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The EmpireObject of the AI | +| 2.0 | bInhibit | Whether possession should be inhibited | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject of the AI" + }, + "2.0": { + "@K[209]": "bInhibit", + "@K[211]": "Whether possession should be inhibited" + } + }, + "@K[203]": "AI is prevented from being possessed when bInhibit is true" +} +``` + +
+ +## GameScript.Game.AI.IsAIControlled + +```lua +GameScript.Game.AI.IsAIControlled(arg1) +``` + +Источник: [Lua, строка 1785](../../luasense_decompiled.lua#L1785). Имена `argN` — placeholders реконструкции. + +Return if the object is currently being controlled by the ai. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are checking if ai controlled | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are checking if ai controlled" + } + }, + "@K[203]": "Return if the object is currently being controlled by the ai." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Camera.md b/docs/reference/GameScript.Game.Camera.md new file mode 100644 index 0000000..8424edb --- /dev/null +++ b/docs/reference/GameScript.Game.Camera.md @@ -0,0 +1,802 @@ +# GameScript.Game.Camera + +[Индекс](../API.md) + +## GameScript.Game.Camera.AddCameraFilterGroupByNameToPlayer + +```lua +GameScript.Game.Camera.AddCameraFilterGroupByNameToPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 1821](../../luasense_decompiled.lua#L1821). Имена `argN` — placeholders реконструкции. + +Create a filter set object from "TemplateObjectKey" and attach to camera for player "globalPlayerIndex" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global index of the player to which filters should be added | +| 2.0 | TemplateObjectKey | Object Template Path | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global index of the player to which filters should be added" + }, + "2.0": { + "@K[209]": "TemplateObjectKey", + "@K[211]": "Object Template Path" + } + }, + "@K[203]": "Create a filter set object from \"TemplateObjectKey\" and attach to camera for player \"globalPlayerIndex\"" +} +``` + +
+ +## GameScript.Game.Camera.DoesFilterSetHaveCameraComponent + +```lua +GameScript.Game.Camera.DoesFilterSetHaveCameraComponent(arg1, arg2) +``` + +Источник: [Lua, строка 1824](../../luasense_decompiled.lua#L1824). Имена `argN` — placeholders реконструкции. + +Return if the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex' actually has a camera component attached. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | +| 2.0 | SetIndex | Which index we are using from the PlayerCameraFilterComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "SetIndex", + "@K[211]": "Which index we are using from the PlayerCameraFilterComponent" + } + }, + "@K[203]": "Return if the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex' actually has a camera component attached." +} +``` + +
+ +## GameScript.Game.Camera.GetCameraFOV + +```lua +GameScript.Game.Camera.GetCameraFOV(arg1) +``` + +Источник: [Lua, строка 1827](../../luasense_decompiled.lua#L1827). Имена `argN` — placeholders реконструкции. + +Get the current FOV in degrees from camera object "CameraObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose FOV should be returned. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV should be returned." + } + }, + "@K[203]": "Get the current FOV in degrees from camera object \"CameraObject\"" +} +``` + +
+ +## GameScript.Game.Camera.GetCameraFarDist + +```lua +GameScript.Game.Camera.GetCameraFarDist(arg1) +``` + +Источник: [Lua, строка 1830](../../luasense_decompiled.lua#L1830). Имена `argN` — placeholders реконструкции. + +Get the current far plane distance from camera object "CameraObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose far distance should be returned. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose far distance should be returned." + } + }, + "@K[203]": "Get the current far plane distance from camera object \"CameraObject\"" +} +``` + +
+ +## GameScript.Game.Camera.GetCameraNearDist + +```lua +GameScript.Game.Camera.GetCameraNearDist(arg1) +``` + +Источник: [Lua, строка 1833](../../luasense_decompiled.lua#L1833). Имена `argN` — placeholders реконструкции. + +Get the current near plane distance for camera object "CameraObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose near distance should be returned. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose near distance should be returned." + } + }, + "@K[203]": "Get the current near plane distance for camera object \"CameraObject\"" +} +``` + +
+ +## GameScript.Game.Camera.GetCameraObjectForPlayer + +```lua +GameScript.Game.Camera.GetCameraObjectForPlayer(arg1) +``` + +Источник: [Lua, строка 1836](../../luasense_decompiled.lua#L1836). Имена `argN` — placeholders реконструкции. + +Return the camera object for the player 'GlobalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The player for which you want to get the camera object | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The player for which you want to get the camera object" + } + }, + "@K[203]": "Return the camera object for the player 'GlobalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Camera.GetCameraViewportAspectRatio + +```lua +GameScript.Game.Camera.GetCameraViewportAspectRatio(arg1) +``` + +Источник: [Lua, строка 1839](../../luasense_decompiled.lua#L1839). Имена `argN` — placeholders реконструкции. + +Get the current viewport aspect ratio from camera object "CameraObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose aspect ratio should be returned. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose aspect ratio should be returned." + } + }, + "@K[203]": "Get the current viewport aspect ratio from camera object \"CameraObject\"" +} +``` + +
+ +## GameScript.Game.Camera.GetFilterGroupForPlayer + +```lua +GameScript.Game.Camera.GetFilterGroupForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 1842](../../luasense_decompiled.lua#L1842). Имена `argN` — placeholders реконструкции. + +Return the filter group object for the player 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player for which you want to get the filter group | +| 2.0 | categoryIndex | The desired filter group category. Typically should be 0. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player for which you want to get the filter group" + }, + "2.0": { + "@K[209]": "categoryIndex", + "@K[211]": "The desired filter group category. Typically should be 0." + } + }, + "@K[203]": "Return the filter group object for the player 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Camera.GetNumPlayerCameraFilterSet + +```lua +GameScript.Game.Camera.GetNumPlayerCameraFilterSet(arg1) +``` + +Источник: [Lua, строка 1845](../../luasense_decompiled.lua#L1845). Имена `argN` — placeholders реконструкции. + +Return the number of camera filter sets used by the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the number of camera filter sets used by the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Camera.GetPlayerCameraFilterSetAlpha + +```lua +GameScript.Game.Camera.GetPlayerCameraFilterSetAlpha(arg1, arg2) +``` + +Источник: [Lua, строка 1848](../../luasense_decompiled.lua#L1848). Имена `argN` — placeholders реконструкции. + +Return the alpha of the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | +| 2.0 | SetIndex | Which index we are using from the PlayerCameraFilterComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "SetIndex", + "@K[211]": "Which index we are using from the PlayerCameraFilterComponent" + } + }, + "@K[203]": "Return the alpha of the camera filter set of index 'SetIndex', used by the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Camera.GetPlayerIndexFromCameraId + +```lua +GameScript.Game.Camera.GetPlayerIndexFromCameraId(arg1) +``` + +Источник: [Lua, строка 1851](../../luasense_decompiled.lua#L1851). Имена `argN` — placeholders реконструкции. + +Return the index of the global player index current controlling the camera with the index 'cameraId'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | cameraId | The camera id for which you want to get the controlling player index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "cameraId", + "@K[211]": "The camera id for which you want to get the controlling player index" + } + }, + "@K[203]": "Return the index of the global player index current controlling the camera with the index 'cameraId'." +} +``` + +
+ +## GameScript.Game.Camera.GetUnadjustedCameraFOV + +```lua +GameScript.Game.Camera.GetUnadjustedCameraFOV(arg1) +``` + +Источник: [Lua, строка 1854](../../luasense_decompiled.lua#L1854). Имена `argN` — placeholders реконструкции. + +Get the current FOV in degrees from camera object "CameraObject". This value is not adjusted for split screen. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose FOV should be returned. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV should be returned." + } + }, + "@K[203]": "Get the current FOV in degrees from camera object \"CameraObject\". This value is not adjusted for split screen." +} +``` + +
+ +## GameScript.Game.Camera.IsInPlayerCameraView + +```lua +GameScript.Game.Camera.IsInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 1857](../../luasense_decompiled.lua#L1857). Имена `argN` — placeholders реконструкции. + +Returns whether or not the target object is in the specified player's camera view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | Index for player's camera being tested for target in view. | +| 2.0 | TargetObject | The empireObject for which we are checking in player view | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." +} +``` + +
+ +## GameScript.Game.Camera.IsInPlayerCameraViewRange + +```lua +GameScript.Game.Camera.IsInPlayerCameraViewRange(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1860](../../luasense_decompiled.lua#L1860). Имена `argN` — placeholders реконструкции. + +Returns whether or not the target object is in the specified player's camera view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | Index for player's camera being tested for target in view. | +| 2.0 | TargetObject | The empireObject for which we are checking in player view | +| 3.0 | MinAngle | The minimum angle between the camera forward and object position | +| 4.0 | MaxAngle | The maximum angle between the camera forward and object position | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + }, + "3.0": { + "@K[209]": "MinAngle", + "@K[211]": "The minimum angle between the camera forward and object position" + }, + "4.0": { + "@K[209]": "MaxAngle", + "@K[211]": "The maximum angle between the camera forward and object position" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." +} +``` + +
+ +## GameScript.Game.Camera.IsPointInPlayerCameraView + +```lua +GameScript.Game.Camera.IsPointInPlayerCameraView(arg1, arg2) +``` + +Источник: [Lua, строка 1863](../../luasense_decompiled.lua#L1863). Имена `argN` — placeholders реконструкции. + +Returns whether or not the target object is in the specified player's camera view. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | Index for player's camera being tested for target in view. | +| 2.0 | PointPosition | The position that we are checking, table containing x,y,z | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player's camera being tested for target in view." + }, + "2.0": { + "@K[209]": "PointPosition", + "@K[211]": "The position that we are checking, table containing x,y,z" + } + }, + "@K[203]": "Returns whether or not the target object is in the specified player's camera view." +} +``` + +
+ +## GameScript.Game.Camera.RemoveCameraFilterGroupByNameFromPlayer + +```lua +GameScript.Game.Camera.RemoveCameraFilterGroupByNameFromPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 1866](../../luasense_decompiled.lua#L1866). Имена `argN` — placeholders реконструкции. + +Remove filter set object "TemplateObjectKey" from player "PlayerIndex" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player from which the filter should be removed | +| 2.0 | TemplateObjectKey | Object Template Path | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player from which the filter should be removed" + }, + "2.0": { + "@K[209]": "TemplateObjectKey", + "@K[211]": "Object Template Path" + } + }, + "@K[203]": "Remove filter set object \"TemplateObjectKey\" from player \"PlayerIndex\"" +} +``` + +
+ +## GameScript.Game.Camera.SetAdjustedCameraFOV + +```lua +GameScript.Game.Camera.SetAdjustedCameraFOV(arg1, arg2) +``` + +Источник: [Lua, строка 1869](../../luasense_decompiled.lua#L1869). Имена `argN` — placeholders реконструкции. + +Adjust the current field of view on camera object "CameraObject" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CameraObject | The camera object whose FOV we want to adjust. | +| 2.0 | FOV | The new FOV to set on "CameraObject" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CameraObject", + "@K[211]": "The camera object whose FOV we want to adjust." + }, + "2.0": { + "@K[209]": "FOV", + "@K[211]": "The new FOV to set on \"CameraObject\"" + } + }, + "@K[203]": "Adjust the current field of view on camera object \"CameraObject\"" +} +``` + +
+ +## GameScript.Game.Camera.SetCameraFilterColor + +```lua +GameScript.Game.Camera.SetCameraFilterColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1872](../../luasense_decompiled.lua#L1872). Имена `argN` — placeholders реконструкции. + +Set a color into the camera filter material for the specified player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing. | +| 2.0 | MaterialVariable | The name of the color material variable that we are setting. | +| 3.0 | TextureResourceName | The color to set in the filter material, with fields "r", "g", "b", and "a" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the color material variable that we are setting." + }, + "3.0": { + "@K[209]": "TextureResourceName", + "@K[211]": "The color to set in the filter material, with fields \"r\", \"g\", \"b\", and \"a\"" + } + }, + "@K[203]": "Set a color into the camera filter material for the specified player." +} +``` + +
+ +## GameScript.Game.Camera.SetCameraFilterNamedTexture + +```lua +GameScript.Game.Camera.SetCameraFilterNamedTexture(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1875](../../luasense_decompiled.lua#L1875). Имена `argN` — placeholders реконструкции. + +Set a named texture into the camera filter material for the specified player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing. | +| 2.0 | MaterialVariable | The name of the texture material variable that we are setting. | +| 3.0 | TextureResourceName | The name of the texture resource to set in the filter material | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the texture material variable that we are setting." + }, + "3.0": { + "@K[209]": "TextureResourceName", + "@K[211]": "The name of the texture resource to set in the filter material" + } + }, + "@K[203]": "Set a named texture into the camera filter material for the specified player." +} +``` + +
+ +## GameScript.Game.Camera.SetCameraFilterScalar + +```lua +GameScript.Game.Camera.SetCameraFilterScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1878](../../luasense_decompiled.lua#L1878). Имена `argN` — placeholders реконструкции. + +Set the value for a named scalar material variable by name inside all camera filters of the given player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing. | +| 2.0 | MaterialVariable | The name of the scalar material variable that we are setting. | +| 3.0 | ScalarValue | The value that we are setting for the scalar material variable. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "MaterialVariable", + "@K[211]": "The name of the scalar material variable that we are setting." + }, + "3.0": { + "@K[209]": "ScalarValue", + "@K[211]": "The value that we are setting for the scalar material variable." + } + }, + "@K[203]": "Set the value for a named scalar material variable by name inside all camera filters of the given player." +} +``` + +
+ +## GameScript.Game.Camera.SetCameraMotionBlurEnabled + +```lua +GameScript.Game.Camera.SetCameraMotionBlurEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 1881](../../luasense_decompiled.lua#L1881). Имена `argN` — placeholders реконструкции. + +Enable or disable motion blur on the camera for player "globalPlayerIndex" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global index of the player whose motion blur filter should be changed | +| 2.0 | enabled | Whether or not the motion blur should be enabled | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global index of the player whose motion blur filter should be changed" + }, + "2.0": { + "@K[209]": "enabled", + "@K[211]": "Whether or not the motion blur should be enabled" + } + }, + "@K[203]": "Enable or disable motion blur on the camera for player \"globalPlayerIndex\"" +} +``` + +
+ +## GameScript.Game.Camera.SetPlayerCameraFilterSet + +```lua +GameScript.Game.Camera.SetPlayerCameraFilterSet(arg1, arg2) +``` + +Источник: [Lua, строка 1884](../../luasense_decompiled.lua#L1884). Имена `argN` — placeholders реконструкции. + +Transitions the current camera filter set for the given player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing. | +| 2.0 | FilterValues | The new filter values, described in a table with the following fields:
"newSet" - integer - the new set group to transition to
"alpha" - float - the alpha value of the new filter set in the range [0, 1]. Not all filters use alpha values.
"transitionTime" - float - how many seconds the transition takes
"turnAllOff" - bool - whether we turn off all other filters before transitioning to the new set
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player whose camera filter we are affecting. If the player is not local, then this function will do nothing." + }, + "2.0": { + "@K[209]": "FilterValues", + "@K[211]": "The new filter values, described in a table with the following fields:\n\"newSet\" - integer - the new set group to transition to\n\"alpha\" - float - the alpha value of the new filter set in the range [0, 1]. Not all filters use alpha values.\n\"transitionTime\" - float - how many seconds the transition takes\n\"turnAllOff\" - bool - whether we turn off all other filters before transitioning to the new set\n" + } + }, + "@K[203]": "Transitions the current camera filter set for the given player." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Death.md b/docs/reference/GameScript.Game.Death.md new file mode 100644 index 0000000..051bd1a --- /dev/null +++ b/docs/reference/GameScript.Game.Death.md @@ -0,0 +1,226 @@ +# GameScript.Game.Death + +[Индекс](../API.md) + +## GameScript.Game.Death.GetDeathChoreographerSequence + +```lua +GameScript.Game.Death.GetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 1902](../../luasense_decompiled.lua#L1902). Имена `argN` — placeholders реконструкции. + +Finds the death choreographer in a recently killed object and returns the name of the death sequence used. This function returns an empty string on error. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | KilledObject | The recently killed object | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "KilledObject", + "@K[211]": "The recently killed object" + } + }, + "@K[203]": "Finds the death choreographer in a recently killed object and returns the name of the death sequence used. This function returns an empty string on error." +} +``` + +
+ +## GameScript.Game.Death.GetLastDamageInfo + +```lua +GameScript.Game.Death.GetLastDamageInfo() +``` + +Источник: [Lua, строка 1905](../../luasense_decompiled.lua#L1905). Имена `argN` — placeholders реконструкции. + +Returns information about the last unit of damage delivered to the script's object + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns information about the last unit of damage delivered to the script's object" +} +``` + +
+ +## GameScript.Game.Death.GetLastDamageInfoFromObject + +```lua +GameScript.Game.Death.GetLastDamageInfoFromObject(arg1) +``` + +Источник: [Lua, строка 1908](../../luasense_decompiled.lua#L1908). Имена `argN` — placeholders реконструкции. + +Returns information about the last unit of damage delivered to the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DamagedObject | The object from which we are retrieving damage info | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DamagedObject", + "@K[211]": "The object from which we are retrieving damage info" + } + }, + "@K[203]": "Returns information about the last unit of damage delivered to the object" +} +``` + +
+ +## GameScript.Game.Death.GetLastDamagePlayerIndexFromObject + +```lua +GameScript.Game.Death.GetLastDamagePlayerIndexFromObject(arg1) +``` + +Источник: [Lua, строка 1911](../../luasense_decompiled.lua#L1911). Имена `argN` — placeholders реконструкции. + +Returns the player index of whoever last damaged the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DamagedObject | The object from which we are retrieving damage info | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DamagedObject", + "@K[211]": "The object from which we are retrieving damage info" + } + }, + "@K[203]": "Returns the player index of whoever last damaged the object" +} +``` + +
+ +## GameScript.Game.Death.IsBloodEnabled + +```lua +GameScript.Game.Death.IsBloodEnabled() +``` + +Источник: [Lua, строка 1914](../../luasense_decompiled.lua#L1914). Имена `argN` — placeholders реконструкции. + +Returns whether blood is enabled in the current game, as determined by the active player profiles. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns whether blood is enabled in the current game, as determined by the active player profiles." +} +``` + +
+ +## GameScript.Game.Death.IsDamagePinning + +```lua +GameScript.Game.Death.IsDamagePinning(arg1) +``` + +Источник: [Lua, строка 1917](../../luasense_decompiled.lua#L1917). Имена `argN` — placeholders реконструкции. + +Returns whether specific damage (as returned by GetLastDamageInfo) was pinning damage. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DamageInfo | The damage info to check, as returned by GetLastDamageInfo | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DamageInfo", + "@K[211]": "The damage info to check, as returned by GetLastDamageInfo" + } + }, + "@K[203]": "Returns whether specific damage (as returned by GetLastDamageInfo) was pinning damage." +} +``` + +
+ +## GameScript.Game.Death.IsGoreEnabled + +```lua +GameScript.Game.Death.IsGoreEnabled() +``` + +Источник: [Lua, строка 1920](../../luasense_decompiled.lua#L1920). Имена `argN` — placeholders реконструкции. + +Returns whether gore is enabled in the current game, as determined by the active player profiles. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns whether gore is enabled in the current game, as determined by the active player profiles." +} +``` + +
+ +## GameScript.Game.Death.SetDeathChoreographerSequence + +```lua +GameScript.Game.Death.SetDeathChoreographerSequence(arg1) +``` + +Источник: [Lua, строка 1923](../../luasense_decompiled.lua#L1923). Имена `argN` — placeholders реконструкции. + +Instructs the death choreographer for the script's component to use the specified death death sequence. If a Death Choreographer Component is not available in the object, then a red screen will occur. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SequenceName | The name of the death sequence to select | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SequenceName", + "@K[211]": "The name of the death sequence to select" + } + }, + "@K[203]": "Instructs the death choreographer for the script's component to use the specified death death sequence. If a Death Choreographer Component is not available in the object, then a red screen will occur." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Door.md b/docs/reference/GameScript.Game.Door.md new file mode 100644 index 0000000..97e21c4 --- /dev/null +++ b/docs/reference/GameScript.Game.Door.md @@ -0,0 +1,373 @@ +# GameScript.Game.Door + +[Индекс](../API.md) + +## GameScript.Game.Door.Enable + +```lua +GameScript.Game.Door.Enable(arg1, arg2) +``` + +Источник: [Lua, строка 1938](../../luasense_decompiled.lua#L1938). Имена `argN` — placeholders реконструкции. + +Enables or disables the door functionality of the given object. This is different than the EnableAllEnableables function + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be enabled (requires a Door Object Component) | +| 2.0 | bEnable | If true, then the door will be enabled. If false, then the door will be disabled. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be enabled (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be enabled. If false, then the door will be disabled." + } + }, + "@K[203]": "Enables or disables the door functionality of the given object. This is different than the EnableAllEnableables function" +} +``` + +
+ +## GameScript.Game.Door.GetPosition + +```lua +GameScript.Game.Door.GetPosition(arg1) +``` + +Источник: [Lua, строка 1941](../../luasense_decompiled.lua#L1941). Имена `argN` — placeholders реконструкции. + +Returns the position of the door: 0 if it is closed, 1 if it is open, -1 if it is open in the opposite direction (if it swings both ways). This function is only applicable for "Simple Doors", i.e. those that have the "Advanced Controls" setting set to false. Otherwise, it will always return 0. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to check | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to check" + } + }, + "@K[203]": "Returns the position of the door: 0 if it is closed, 1 if it is open, -1 if it is open in the opposite direction (if it swings both ways). This function is only applicable for \"Simple Doors\", i.e. those that have the \"Advanced Controls\" setting set to false. Otherwise, it will always return 0." +} +``` + +
+ +## GameScript.Game.Door.GetStatus + +```lua +GameScript.Game.Door.GetStatus(arg1) +``` + +Источник: [Lua, строка 1944](../../luasense_decompiled.lua#L1944). Имена `argN` — placeholders реконструкции. + +Get a table of info about the door status with fields: +.state = GameScript.DoorState.kLoose, GameScript.DoorState.kOpen, GameScript.DoorState.kClosed +.bLocked = true,false +.bEnabled = true,false +.bActive = true,false + + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object from which we get the door status (requires a Door Object Component) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object from which we get the door status (requires a Door Object Component)" + } + }, + "@K[203]": "Get a table of info about the door status with fields:\n.state = GameScript.DoorState.kLoose, GameScript.DoorState.kOpen, GameScript.DoorState.kClosed\n.bLocked = true,false\n.bEnabled = true,false\n.bActive = true,false\n" +} +``` + +
+ +## GameScript.Game.Door.Lock + +```lua +GameScript.Game.Door.Lock(arg1, arg2) +``` + +Источник: [Lua, строка 1947](../../luasense_decompiled.lua#L1947). Имена `argN` — placeholders реконструкции. + +Locks or unlocks the given door object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be locked/unlocked (requires a Door Object Component) | +| 2.0 | bEnable | If true, then the door will be locked. If false, then the door will be unlocked. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be locked/unlocked (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be locked. If false, then the door will be unlocked." + } + }, + "@K[203]": "Locks or unlocks the given door object." +} +``` + +
+ +## GameScript.Game.Door.LockSilent + +```lua +GameScript.Game.Door.LockSilent(arg1, arg2) +``` + +Источник: [Lua, строка 1950](../../luasense_decompiled.lua#L1950). Имена `argN` — placeholders реконструкции. + +Locks or unlocks the given door object silently. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be locked/unlocked (requires a Door Object Component) | +| 2.0 | bEnable | If true, then the door will be locked. If false, then the door will be unlocked. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be locked/unlocked (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "If true, then the door will be locked. If false, then the door will be unlocked." + } + }, + "@K[203]": "Locks or unlocks the given door object silently." +} +``` + +
+ +## GameScript.Game.Door.MoveToNextPosition + +```lua +GameScript.Game.Door.MoveToNextPosition(arg1) +``` + +Источник: [Lua, строка 1953](../../luasense_decompiled.lua#L1953). Имена `argN` — placeholders реконструкции. + +Moves the door its next preset position. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be moved (requires a Door Object Component) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + } + }, + "@K[203]": "Moves the door its next preset position." +} +``` + +
+ +## GameScript.Game.Door.MoveToPercentPosition + +```lua +GameScript.Game.Door.MoveToPercentPosition(arg1, arg2) +``` + +Источник: [Lua, строка 1956](../../luasense_decompiled.lua#L1956). Имена `argN` — placeholders реконструкции. + +Moves the door to a particular percent of its full movement range. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be moved (requires a Door Object Component) | +| 2.0 | fPercent | How far open the door should be, on a scale of [0, 1]. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range." +} +``` + +
+ +## GameScript.Game.Door.MoveToPercentPositionSilent + +```lua +GameScript.Game.Door.MoveToPercentPositionSilent(arg1, arg2) +``` + +Источник: [Lua, строка 1959](../../luasense_decompiled.lua#L1959). Имена `argN` — placeholders реконструкции. + +Moves the door to a particular percent of its full movement range silently. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be moved (requires a Door Object Component) | +| 2.0 | fPercent | How far open the door should be, on a scale of [0, 1]. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range silently." +} +``` + +
+ +## GameScript.Game.Door.MoveToPercentPositionWithSpeedAndAcceleration + +```lua +GameScript.Game.Door.MoveToPercentPositionWithSpeedAndAcceleration(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1962](../../luasense_decompiled.lua#L1962). Имена `argN` — placeholders реконструкции. + +Moves the door to a particular percent of its full movement range. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be moved (requires a Door Object Component) | +| 2.0 | fPercent | How far open the door should be, on a scale of [0, 1]. | +| 3.0 | fSpeed | How fast the door should open deg/s or m/s. | +| 4.0 | fAcceleration | Acceleration override [0 = use default from hinge] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "fPercent", + "@K[211]": "How far open the door should be, on a scale of [0, 1]." + }, + "3.0": { + "@K[209]": "fSpeed", + "@K[211]": "How fast the door should open deg/s or m/s." + }, + "4.0": { + "@K[209]": "fAcceleration", + "@K[211]": "Acceleration override [0 = use default from hinge]" + } + }, + "@K[203]": "Moves the door to a particular percent of its full movement range." +} +``` + +
+ +## GameScript.Game.Door.MoveToPresetPosition + +```lua +GameScript.Game.Door.MoveToPresetPosition(arg1, arg2) +``` + +Источник: [Lua, строка 1965](../../luasense_decompiled.lua#L1965). Имена `argN` — placeholders реконструкции. + +Moves the door to one of its preset positions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DoorObject | The Door Object to be moved (requires a Door Object Component) | +| 2.0 | nPosition | Which preset position should we move the door to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DoorObject", + "@K[211]": "The Door Object to be moved (requires a Door Object Component)" + }, + "2.0": { + "@K[209]": "nPosition", + "@K[211]": "Which preset position should we move the door to." + } + }, + "@K[203]": "Moves the door to one of its preset positions." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Energy.md b/docs/reference/GameScript.Game.Energy.md new file mode 100644 index 0000000..b243696 --- /dev/null +++ b/docs/reference/GameScript.Game.Energy.md @@ -0,0 +1,459 @@ +# GameScript.Game.Energy + +[Индекс](../API.md) + +## GameScript.Game.Energy.AdjustEnergyLevel + +```lua +GameScript.Game.Energy.AdjustEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 1995](../../luasense_decompiled.lua#L1995). Имена `argN` — placeholders реконструкции. + +Moves energy level up or down by the set amount. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | EnergyChange | Units to adjust current energy level by | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "EnergyChange", + "@K[211]": "Units to adjust current energy level by" + } + }, + "@K[203]": "Moves energy level up or down by the set amount. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.EnableAutoFill + +```lua +GameScript.Game.Energy.EnableAutoFill(arg1, arg2) +``` + +Источник: [Lua, строка 1998](../../luasense_decompiled.lua#L1998). Имена `argN` — placeholders реконструкции. + +Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | Enable | Whether the Energy Component should currently engage its auto-fill mechanism | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "Whether the Energy Component should currently engage its auto-fill mechanism" + } + }, + "@K[203]": "Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.GetEnergyFillRate + +```lua +GameScript.Game.Energy.GetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 2001](../../luasense_decompiled.lua#L2001). Имена `argN` — placeholders реконструкции. + +Gets the fill rate from the component. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Gets the fill rate from the component. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.GetEnergyLevel + +```lua +GameScript.Game.Energy.GetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 2004](../../luasense_decompiled.lua#L2004). Имена `argN` — placeholders реконструкции. + +Checks an object for its current energy level (absolute value, NOT percentage), returning 0 if there is no Energy Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with an Energy Component | +| 2.0 | ComponentName | The name of the Energy Component to fetch the value from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with an Energy Component" + }, + "2.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the Energy Component to fetch the value from" + } + }, + "@K[203]": "Checks an object for its current energy level (absolute value, NOT percentage), returning 0 if there is no Energy Component" +} +``` + +
+ +## GameScript.Game.Energy.ResetEnergyDrainRate + +```lua +GameScript.Game.Energy.ResetEnergyDrainRate(arg1) +``` + +Источник: [Lua, строка 2007](../../luasense_decompiled.lua#L2007). Имена `argN` — placeholders реконструкции. + +Resets drain rate to Forge setting. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Resets drain rate to Forge setting. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.ResetEnergyFillRate + +```lua +GameScript.Game.Energy.ResetEnergyFillRate(arg1) +``` + +Источник: [Lua, строка 2010](../../luasense_decompiled.lua#L2010). Имена `argN` — placeholders реконструкции. + +Resets fill rate to Forge setting. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Resets fill rate to Forge setting. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.SetEnergyDrainRate + +```lua +GameScript.Game.Energy.SetEnergyDrainRate(arg1, arg2) +``` + +Источник: [Lua, строка 2013](../../luasense_decompiled.lua#L2013). Имена `argN` — placeholders реконструкции. + +Change the speed at which Draining occurs. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | DrainRate | Units per second that draining should result in | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "DrainRate", + "@K[211]": "Units per second that draining should result in" + } + }, + "@K[203]": "Change the speed at which Draining occurs. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.SetEnergyFillRate + +```lua +GameScript.Game.Energy.SetEnergyFillRate(arg1, arg2) +``` + +Источник: [Lua, строка 2016](../../luasense_decompiled.lua#L2016). Имена `argN` — placeholders реконструкции. + +Change the speed at which Filling occurs. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | FillRate | Units per second that filling should result in | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "FillRate", + "@K[211]": "Units per second that filling should result in" + } + }, + "@K[203]": "Change the speed at which Filling occurs. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.SetEnergyLevel + +```lua +GameScript.Game.Energy.SetEnergyLevel(arg1, arg2) +``` + +Источник: [Lua, строка 2019](../../luasense_decompiled.lua#L2019). Имена `argN` — placeholders реконструкции. + +Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | EnergyLevel | Energy level to jump to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "EnergyLevel", + "@K[211]": "Energy level to jump to" + } + }, + "@K[203]": "Moves energy level to the set amount. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.SetEnergyLevelOnObject + +```lua +GameScript.Game.Energy.SetEnergyLevelOnObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2022](../../luasense_decompiled.lua#L2022). Имена `argN` — placeholders реконструкции. + +Moves energy level to the set amount. If there is no Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are overriding the energy level on | +| 2.0 | ComponentName | Name of the energy component to overwrite | +| 3.0 | EnergyLevel | Energy level to jump to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are overriding the energy level on" + }, + "2.0": { + "@K[209]": "ComponentName", + "@K[211]": "Name of the energy component to overwrite" + }, + "3.0": { + "@K[209]": "EnergyLevel", + "@K[211]": "Energy level to jump to" + } + }, + "@K[203]": "Moves energy level to the set amount. If there is no Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.StartDrainingEnergy + +```lua +GameScript.Game.Energy.StartDrainingEnergy(arg1) +``` + +Источник: [Lua, строка 2025](../../luasense_decompiled.lua#L2025). Имена `argN` — placeholders реконструкции. + +Cause the energy meter to start draining to 0. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Cause the energy meter to start draining to 0. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.StartFillingEnergy + +```lua +GameScript.Game.Energy.StartFillingEnergy(arg1) +``` + +Источник: [Lua, строка 2028](../../luasense_decompiled.lua#L2028). Имена `argN` — placeholders реконструкции. + +Cause the energy meter to start filling towards full. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Cause the energy meter to start filling towards full. If the component is not an Energy Component, there will be a red screen" +} +``` + +
+ +## GameScript.Game.Energy.StopEnergyRateChange + +```lua +GameScript.Game.Energy.StopEnergyRateChange(arg1) +``` + +Источник: [Lua, строка 2031](../../luasense_decompiled.lua#L2031). Имена `argN` — placeholders реконструкции. + +Halts all filling and draining. If the component is not an Energy Component, there will be a red screen + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Halts all filling and draining. If the component is not an Energy Component, there will be a red screen" +} +``` + +
diff --git a/docs/reference/GameScript.Game.Graphics.md b/docs/reference/GameScript.Game.Graphics.md new file mode 100644 index 0000000..68d3aeb --- /dev/null +++ b/docs/reference/GameScript.Game.Graphics.md @@ -0,0 +1,1232 @@ +# GameScript.Game.Graphics + +[Индекс](../API.md) + +## GameScript.Game.Graphics.GetColor + +```lua +GameScript.Game.Graphics.GetColor(arg1) +``` + +Источник: [Lua, строка 2157](../../luasense_decompiled.lua#L2157). Имена `argN` — placeholders реконструкции. + +Get the object's hardware light's color. Note only returns the color for the first light found Expressed as a table with values for "r", "g", "b", "a" values 0 to 255 + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + } + }, + "@K[203]": "Get the object's hardware light's color. Note only returns the color for the first light found Expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" +} +``` + +
+ +## GameScript.Game.Graphics.GetEnvironmentLight + +```lua +GameScript.Game.Graphics.GetEnvironmentLight() +``` + +Источник: [Lua, строка 2160](../../luasense_decompiled.lua#L2160). Имена `argN` — placeholders реконструкции. + +Returns basic environment light information in a table with the following fields: +["red"] - the amount of red in the sun color, on a scale of [0, 255] +["green"] - the amount of green in the sun color, on a scale of [0, 255] +["blue"] - the amount of blue in the sun color, on a scale of [0, 255] +["alpha"] - the amount of alpha (multiplier) in the sun color, on a scale of [0, 255] +["theta"] - the direction where the sun comes from in degrees +["phi"] - the sun's angle from the horizon in degrees + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns basic environment light information in a table with the following fields:\n[\"red\"] - the amount of red in the sun color, on a scale of [0, 255]\n[\"green\"] - the amount of green in the sun color, on a scale of [0, 255]\n[\"blue\"] - the amount of blue in the sun color, on a scale of [0, 255]\n[\"alpha\"] - the amount of alpha (multiplier) in the sun color, on a scale of [0, 255]\n[\"theta\"] - the direction where the sun comes from in degrees\n[\"phi\"] - the sun's angle from the horizon in degrees" +} +``` + +
+ +## GameScript.Game.Graphics.GetPortalOpen + +```lua +GameScript.Game.Graphics.GetPortalOpen(arg1) +``` + +Источник: [Lua, строка 2163](../../luasense_decompiled.lua#L2163). Имена `argN` — placeholders реконструкции. + +Gets whether a portal is open or closed. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Object | The object with a portal | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The object with a portal" + } + }, + "@K[203]": "Gets whether a portal is open or closed." +} +``` + +
+ +## GameScript.Game.Graphics.SetAlphaBlend + +```lua +GameScript.Game.Graphics.SetAlphaBlend(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2166](../../luasense_decompiled.lua#L2166). Имена `argN` — placeholders реконструкции. + +Sets the alpha for an object with an AlphaBlendComponent to the requested level, blending to that level in "BlendTime" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose alpha we are changing | +| 2.0 | AlphaLevel | The alpha level to which we are setting. 0 is transparent, 1 is opaque | +| 3.0 | BlendTime | The time in seconds over which the blend occurs | +| 4.0 | IsAdditive | Whether or not to use an additive blend | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose alpha we are changing" + }, + "2.0": { + "@K[209]": "AlphaLevel", + "@K[211]": "The alpha level to which we are setting. 0 is transparent, 1 is opaque" + }, + "3.0": { + "@K[209]": "BlendTime", + "@K[211]": "The time in seconds over which the blend occurs" + }, + "4.0": { + "@K[209]": "IsAdditive", + "@K[211]": "Whether or not to use an additive blend" + } + }, + "@K[203]": "Sets the alpha for an object with an AlphaBlendComponent to the requested level, blending to that level in \"BlendTime\"" +} +``` + +
+ +## GameScript.Game.Graphics.SetAmbientLightIntensity + +```lua +GameScript.Game.Graphics.SetAmbientLightIntensity(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2169](../../luasense_decompiled.lua#L2169). Имена `argN` — placeholders реконструкции. + +Transitions the sun's intensity from its current values to the ones specified over a given time and transition curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the sun's current values to the ones specified | +| 4.0 | FinalIntensity | The sun's final intensity | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the sun's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FinalIntensity", + "@K[211]": "The sun's final intensity" + } + }, + "@K[203]": "Transitions the sun's intensity from its current values to the ones specified over a given time and transition curve." +} +``` + +
+ +## GameScript.Game.Graphics.SetAmbientLightSpecularity + +```lua +GameScript.Game.Graphics.SetAmbientLightSpecularity(arg1, arg2) +``` + +Источник: [Lua, строка 2172](../../luasense_decompiled.lua#L2172). Имена `argN` — placeholders реконструкции. + +Changes the sun's specularity. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | FinalSpecularity | The sun's final specularity | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "FinalSpecularity", + "@K[211]": "The sun's final specularity" + } + }, + "@K[203]": "Changes the sun's specularity." +} +``` + +
+ +## GameScript.Game.Graphics.SetCastsShadows + +```lua +GameScript.Game.Graphics.SetCastsShadows(arg1, arg2) +``` + +Источник: [Lua, строка 2175](../../luasense_decompiled.lua#L2175). Имена `argN` — placeholders реконструкции. + +Enable(or disable) shadows from a hardware light + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | Enable | If true, shadows are enabled, if false, they are diabled | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "If true, shadows are enabled, if false, they are diabled" + } + }, + "@K[203]": "Enable(or disable) shadows from a hardware light" +} +``` + +
+ +## GameScript.Game.Graphics.SetColor + +```lua +GameScript.Game.Graphics.SetColor(arg1, arg2) +``` + +Источник: [Lua, строка 2178](../../luasense_decompiled.lua#L2178). Имена `argN` — placeholders реконструкции. + +Transitions the object's hardware light's color and direction from its current values to the ones specified over a given time and transition curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | Color | The hardware light's final color, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The hardware light's final color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Transitions the object's hardware light's color and direction from its current values to the ones specified over a given time and transition curve." +} +``` + +
+ +## GameScript.Game.Graphics.SetContractionsFogColors + +```lua +GameScript.Game.Graphics.SetContractionsFogColors(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 2181](../../luasense_decompiled.lua#L2181). Имена `argN` — placeholders реконструкции. + +Set the fog color with a transition over time + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the fog's current values to the ones specified | +| 4.0 | DepthFogColor | The depth fog's color, expressed as a table with values for "r", "g", "b", "a" values 0 to 1 | +| 5.0 | HeightFogColor | The height fog's color, expressed as a table with values for "r", "g", "b", "a" values 0 to 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "DepthFogColor", + "@K[211]": "The depth fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + }, + "5.0": { + "@K[209]": "HeightFogColor", + "@K[211]": "The height fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + } + }, + "@K[203]": "Set the fog color with a transition over time" +} +``` + +
+ +## GameScript.Game.Graphics.SetContractionsFogValues + +```lua +GameScript.Game.Graphics.SetContractionsFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2184](../../luasense_decompiled.lua#L2184). Имена `argN` — placeholders реконструкции. + +Set the fog to a new set of values with a transition over time + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the fog's current values to the ones specified | +| 4.0 | FogValues | The fog's values and direction, expressed as a table with values for "depthNear", "depthFar", "depthMax", "heightNear", "heightFar", "heightTop", "heightBottom", and "heightMax" | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogValues", + "@K[211]": "The fog's values and direction, expressed as a table with values for \"depthNear\", \"depthFar\", \"depthMax\", \"heightNear\", \"heightFar\", \"heightTop\", \"heightBottom\", and \"heightMax\"" + } + }, + "@K[203]": "Set the fog to a new set of values with a transition over time" +} +``` + +
+ +## GameScript.Game.Graphics.SetDiffuseAmbientCubeMap + +```lua +GameScript.Game.Graphics.SetDiffuseAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 2187](../../luasense_decompiled.lua#L2187). Имена `argN` — placeholders реконструкции. + +Changes the diffuse ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | TextureName | The name of the texture variable defined in the script | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name of the texture variable defined in the script" + } + }, + "@K[203]": "Changes the diffuse ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change." +} +``` + +
+ +## GameScript.Game.Graphics.SetDistantObjectsShadowed + +```lua +GameScript.Game.Graphics.SetDistantObjectsShadowed(arg1, arg2) +``` + +Источник: [Lua, строка 2190](../../luasense_decompiled.lua#L2190). Имена `argN` — placeholders реконструкции. + +Should objects beyond the outer shadow distance be shadowed? + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | Shadowed | Should objects beyond the outer shadow distance be shadowed? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Shadowed", + "@K[211]": "Should objects beyond the outer shadow distance be shadowed?" + } + }, + "@K[203]": "Should objects beyond the outer shadow distance be shadowed?" +} +``` + +
+ +## GameScript.Game.Graphics.SetEnvironmentLight + +```lua +GameScript.Game.Graphics.SetEnvironmentLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2193](../../luasense_decompiled.lua#L2193). Имена `argN` — placeholders реконструкции. + +Transitions the sun's color and direction from its current values to the ones specified over a given time and transition curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the sun's current values to the ones specified | +| 4.0 | EnvLightValues | The sun's final color and direction, expressed as a table with values for "red", "green", "blue", "alpha", "theta" (direction, in degrees), and "phi" (angle from the horizon, in degrees) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the sun's current values to the ones specified" + }, + "4.0": { + "@K[209]": "EnvLightValues", + "@K[211]": "The sun's final color and direction, expressed as a table with values for \"red\", \"green\", \"blue\", \"alpha\", \"theta\" (direction, in degrees), and \"phi\" (angle from the horizon, in degrees)" + } + }, + "@K[203]": "Transitions the sun's color and direction from its current values to the ones specified over a given time and transition curve." +} +``` + +
+ +## GameScript.Game.Graphics.SetFogColor + +```lua +GameScript.Game.Graphics.SetFogColor(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2196](../../luasense_decompiled.lua#L2196). Имена `argN` — placeholders реконструкции. + +Set the fog color with a transition over time + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the fog's current values to the ones specified | +| 4.0 | FogColor | The fog's color, expressed as a table with values for "r", "g", "b", "a" values 0 to 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogColor", + "@K[211]": "The fog's color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 1" + } + }, + "@K[203]": "Set the fog color with a transition over time" +} +``` + +
+ +## GameScript.Game.Graphics.SetFogCubeMap + +```lua +GameScript.Game.Graphics.SetFogCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 2199](../../luasense_decompiled.lua#L2199). Имена `argN` — placeholders реконструкции. + +Set the fog cube map to a new texture. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light/Fog component cannot safely save this resource-based change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | TextureName | The name in the ScriptComponent texture list that refers to the new fog cube map texture | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name in the ScriptComponent texture list that refers to the new fog cube map texture" + } + }, + "@K[203]": "Set the fog cube map to a new texture. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light/Fog component cannot safely save this resource-based change." +} +``` + +
+ +## GameScript.Game.Graphics.SetFogValues + +```lua +GameScript.Game.Graphics.SetFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2202](../../luasense_decompiled.lua#L2202). Имена `argN` — placeholders реконструкции. + +Set the fog to a new set of values with a transition over time + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | +| 3.0 | TransitionTime | The number of seconds needed to make the transition from the fog's current values to the ones specified | +| 4.0 | FogValues | The fog's values and direction, expressed as a table with values for "near", "far", "max", "top", "bottom" and "type" which is 0=NoFog, 1=DepthFog, 2=HeightFog and "source" which is 0=constant, 1 = cubeMap | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "The number of seconds needed to make the transition from the fog's current values to the ones specified" + }, + "4.0": { + "@K[209]": "FogValues", + "@K[211]": "The fog's values and direction, expressed as a table with values for \"near\", \"far\", \"max\", \"top\", \"bottom\" and \"type\" which is 0=NoFog, 1=DepthFog, 2=HeightFog and \"source\" which is 0=constant, 1 = cubeMap " + } + }, + "@K[203]": "Set the fog to a new set of values with a transition over time" +} +``` + +
+ +## GameScript.Game.Graphics.SetGlobalSunDirection + +```lua +GameScript.Game.Graphics.SetGlobalSunDirection() +``` + +Источник: [Lua, строка 2205](../../luasense_decompiled.lua#L2205). Имена `argN` — placeholders реконструкции. + +Sets the direction of the global shadow map used for multiple LightProbeRegionComponents. +["theta"] - theta angle of the shadow direction +["phi"] - phi angle of the shadow direction + + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the direction of the global shadow map used for multiple LightProbeRegionComponents.\n[\"theta\"] - theta angle of the shadow direction\n[\"phi\"] - phi angle of the shadow direction\n" +} +``` + +
+ +## GameScript.Game.Graphics.SetLightControl + +```lua +GameScript.Game.Graphics.SetLightControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2208](../../luasense_decompiled.lua#L2208). Имена `argN` — placeholders реконструкции. + +Change the light control component's color values. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | ColorA | ColorA for the Light Control Component, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | +| 3.0 | ColorB | ColorB for the Light Control Component, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "ColorA", + "@K[211]": "ColorA for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "3.0": { + "@K[209]": "ColorB", + "@K[211]": "ColorB for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Change the light control component's color values." +} +``` + +
+ +## GameScript.Game.Graphics.SetLightControlAndCurve + +```lua +GameScript.Game.Graphics.SetLightControlAndCurve(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2211](../../luasense_decompiled.lua#L2211). Имена `argN` — placeholders реконструкции. + +Change the light control component's color values and timed curve. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | ColorA | ColorA for the Light Control Component, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | +| 3.0 | ColorB | ColorB for the Light Control Component, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | +| 4.0 | CurveName | The name in the ScriptComponent curve template list that refers to the transition curve | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "ColorA", + "@K[211]": "ColorA for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "3.0": { + "@K[209]": "ColorB", + "@K[211]": "ColorB for the Light Control Component, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + }, + "4.0": { + "@K[209]": "CurveName", + "@K[211]": "The name in the ScriptComponent curve template list that refers to the transition curve" + } + }, + "@K[203]": "Change the light control component's color values and timed curve." +} +``` + +
+ +## GameScript.Game.Graphics.SetLightIntensity + +```lua +GameScript.Game.Graphics.SetLightIntensity(arg1, arg2) +``` + +Источник: [Lua, строка 2214](../../luasense_decompiled.lua#L2214). Имена `argN` — placeholders реконструкции. + +Set the intensity of the light. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The light holder object | +| 2.0 | Intensity | The light's intensity, 0 to 1 is normal range | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The light holder object" + }, + "2.0": { + "@K[209]": "Intensity", + "@K[211]": "The light's intensity, 0 to 1 is normal range" + } + }, + "@K[203]": "Set the intensity of the light." +} +``` + +
+ +## GameScript.Game.Graphics.SetLightProbeRegionAmbientColor + +```lua +GameScript.Game.Graphics.SetLightProbeRegionAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 2217](../../luasense_decompiled.lua#L2217). Имена `argN` — placeholders реконструкции. + +Set the ambient contribution of a light probe region. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a light probe region | +| 2.0 | Color | The light probe region's ambient contribution, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a light probe region" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The light probe region's ambient contribution, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "Set the ambient contribution of a light probe region." +} +``` + +
+ +## GameScript.Game.Graphics.SetLightRadius + +```lua +GameScript.Game.Graphics.SetLightRadius(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2220](../../luasense_decompiled.lua#L2220). Имена `argN` — placeholders реконструкции. + +Set the inner and outer radius of an object with a hardware light. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | InnerRadius | Inner radius in meters of the light | +| 3.0 | OuterRadius | Outer radius in meters of the light | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerRadius", + "@K[211]": "Inner radius in meters of the light" + }, + "3.0": { + "@K[209]": "OuterRadius", + "@K[211]": "Outer radius in meters of the light" + } + }, + "@K[203]": "Set the inner and outer radius of an object with a hardware light." +} +``` + +
+ +## GameScript.Game.Graphics.SetMaterialSortMode + +```lua +GameScript.Game.Graphics.SetMaterialSortMode(arg1, arg2) +``` + +Источник: [Lua, строка 2223](../../luasense_decompiled.lua#L2223). Имена `argN` — placeholders реконструкции. + +Set this object materials to the specified sort mode + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose material we are changing | +| 2.0 | SortMode | The SortMode we are changing to. SORT_NOTSPECIFIED = 0, SORT_DEPTH = 1, SORT_DECAL = 2, SORT_SKY = 3, SORT_SHADOW = 4, SORT_LAST = 5 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose material we are changing" + }, + "2.0": { + "@K[209]": "SortMode", + "@K[211]": "The SortMode we are changing to. SORT_NOTSPECIFIED = 0, SORT_DEPTH = 1, SORT_DECAL = 2, SORT_SKY = 3, SORT_SHADOW = 4, SORT_LAST = 5" + } + }, + "@K[203]": "Set this object materials to the specified sort mode" +} +``` + +
+ +## GameScript.Game.Graphics.SetNamedMaterialColor + +```lua +GameScript.Game.Graphics.SetNamedMaterialColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2226](../../luasense_decompiled.lua#L2226). Имена `argN` — placeholders реконструкции. + +Sets the color of the first named parameter with name inside a material in the given object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose material we are changing | +| 2.0 | ParameterName | The name of the material parameter we are changing | +| 3.0 | Color | The new color for the variable, expressed as a table with fields "r", "g", "b", and "a", each are 0->255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose material we are changing" + }, + "2.0": { + "@K[209]": "ParameterName", + "@K[211]": "The name of the material parameter we are changing" + }, + "3.0": { + "@K[209]": "Color", + "@K[211]": "The new color for the variable, expressed as a table with fields \"r\", \"g\", \"b\", and \"a\", each are 0->255" + } + }, + "@K[203]": "Sets the color of the first named parameter with name inside a material in the given object" +} +``` + +
+ +## GameScript.Game.Graphics.SetNamedMaterialScalar + +```lua +GameScript.Game.Graphics.SetNamedMaterialScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2229](../../luasense_decompiled.lua#L2229). Имена `argN` — placeholders реконструкции. + +Sets the value of the first named parameter with name inside a material in the given object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose alpha blend we are adjusting. | +| 2.0 | ParameterName | The name of the material parameter we are changing | +| 3.0 | Value | The new value for the variable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose alpha blend we are adjusting." + }, + "2.0": { + "@K[209]": "ParameterName", + "@K[211]": "The name of the material parameter we are changing" + }, + "3.0": { + "@K[209]": "Value", + "@K[211]": "The new value for the variable" + } + }, + "@K[203]": "Sets the value of the first named parameter with name inside a material in the given object" +} +``` + +
+ +## GameScript.Game.Graphics.SetParticleAmbientColor + +```lua +GameScript.Game.Graphics.SetParticleAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 2231](../../luasense_decompiled.lua#L2231). Имена `argN` — placeholders реконструкции. + +@K[219] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | Color | The ambient particle's final color, expressed as a table with values for "r", "g", "b", "a" values 0 to 255 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "Color", + "@K[211]": "The ambient particle's final color, expressed as a table with values for \"r\", \"g\", \"b\", \"a\" values 0 to 255" + } + }, + "@K[203]": "@K[219]" +} +``` + +
+ +## GameScript.Game.Graphics.SetPortalOpen + +```lua +GameScript.Game.Graphics.SetPortalOpen(arg1, arg2) +``` + +Источник: [Lua, строка 2234](../../luasense_decompiled.lua#L2234). Имена `argN` — placeholders реконструкции. + +Sets whether a portal is open or closed. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Object | The object with a portal | +| 2.0 | @K[77] | Whether this portal should be open | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Object", + "@K[211]": "The object with a portal" + }, + "2.0": { + "@K[209]": "@K[77]", + "@K[211]": "Whether this portal should be open" + } + }, + "@K[203]": "Sets whether a portal is open or closed." +} +``` + +
+ +## GameScript.Game.Graphics.SetShadowDistances + +```lua +GameScript.Game.Graphics.SetShadowDistances(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2237](../../luasense_decompiled.lua#L2237). Имена `argN` — placeholders реконструкции. + +Adjust the shadow near and far planes. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | InnerDistance | Inner shadow distance, any shadows that are this distance from the camera or less will use the highest resolution | +| 3.0 | OuterDistance | Outer shadow distance, any shadows that are this distance from the camera or greater will use the lowest resolution. This value should be tunes as small as possible, but large enough to cover all important shadows in view. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerDistance", + "@K[211]": "Inner shadow distance, any shadows that are this distance from the camera or less will use the highest resolution" + }, + "3.0": { + "@K[209]": "OuterDistance", + "@K[211]": "Outer shadow distance, any shadows that are this distance from the camera or greater will use the lowest resolution. This value should be tunes as small as possible, but large enough to cover all important shadows in view." + } + }, + "@K[203]": "Adjust the shadow near and far planes." +} +``` + +
+ +## GameScript.Game.Graphics.SetShadowQuality + +```lua +GameScript.Game.Graphics.SetShadowQuality(arg1) +``` + +Источник: [Lua, строка 2240](../../luasense_decompiled.lua#L2240). Имена `argN` — placeholders реконструкции. + +Sets the quality level for shadows. Low quality shadows are a little faster on the GPU and 20-30% faster on the CPU. However, they may consume more memory than high quality shadows. Low quality shadows should use a larger inner shadow distance (typically 2-3 times larger than high quality shadows). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ShadowQuality | Shadow quality. 0 = High. 1 = Low. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ShadowQuality", + "@K[211]": "Shadow quality. 0 = High. 1 = Low." + } + }, + "@K[203]": "Sets the quality level for shadows. Low quality shadows are a little faster on the GPU and 20-30% faster on the CPU. However, they may consume more memory than high quality shadows. Low quality shadows should use a larger inner shadow distance (typically 2-3 times larger than high quality shadows)." +} +``` + +
+ +## GameScript.Game.Graphics.SetSpecularAmbientCubeMap + +```lua +GameScript.Game.Graphics.SetSpecularAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 2243](../../luasense_decompiled.lua#L2243). Имена `argN` — placeholders реконструкции. + +Changes the specular ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The Environmental Light object | +| 2.0 | TextureName | The name of the texture variable defined in the script | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The Environmental Light object" + }, + "2.0": { + "@K[209]": "TextureName", + "@K[211]": "The name of the texture variable defined in the script" + } + }, + "@K[203]": "Changes the specular ambient cube map to use the texture of the specified variable. NOTE: This must be called by script again when reloading a checkpoint, as the Environmental Light component cannot safely save this resource-based change." +} +``` + +
+ +## GameScript.Game.Graphics.SetSpotLight + +```lua +GameScript.Game.Graphics.SetSpotLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2246](../../luasense_decompiled.lua#L2246). Имена `argN` — placeholders реконструкции. + +Change the spotlight characteristics of the hardware light. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LightObject | The object with a hardware light | +| 2.0 | InnerAngle | Inner angle in degrees of the spotLight | +| 3.0 | OuterAngle | Outer angle in degrees of the spotLight | +| 4.0 | AspectRatio | Aspect ratio of the spotLight | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LightObject", + "@K[211]": "The object with a hardware light" + }, + "2.0": { + "@K[209]": "InnerAngle", + "@K[211]": "Inner angle in degrees of the spotLight" + }, + "3.0": { + "@K[209]": "OuterAngle", + "@K[211]": "Outer angle in degrees of the spotLight" + }, + "4.0": { + "@K[209]": "AspectRatio", + "@K[211]": "Aspect ratio of the spotLight" + } + }, + "@K[203]": "Change the spotlight characteristics of the hardware light." +} +``` + +
diff --git a/docs/reference/GameScript.Game.MP.md b/docs/reference/GameScript.Game.MP.md new file mode 100644 index 0000000..cab4b57 --- /dev/null +++ b/docs/reference/GameScript.Game.MP.md @@ -0,0 +1,780 @@ +# GameScript.Game.MP + +[Индекс](../API.md) + +## GameScript.Game.MP.AddSpecialSpawnPlayer + +```lua +GameScript.Game.MP.AddSpecialSpawnPlayer(arg1) +``` + +Источник: [Lua, строка 2320](../../luasense_decompiled.lua#L2320). Имена `argN` — placeholders реконструкции. + +Adds the specified player to the special spawn list. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The player which which are adding as a special spawn player | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player which which are adding as a special spawn player" + } + }, + "@K[203]": "Adds the specified player to the special spawn list." +} +``` + +
+ +## GameScript.Game.MP.AwardPlayerPoints + +```lua +GameScript.Game.MP.AwardPlayerPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2323](../../luasense_decompiled.lua#L2323). Имена `argN` — placeholders реконструкции. + +Updates a player's points based on the type of award being given. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The player to which we are awarding points | +| 2.0 | AwardType | The type of award for which points are being given | +| 3.0 | PointsAwarded | If explicit points award, how many to give. | +| 4.0 | PointCategory | The point category to award points for. If an empty string is passed in and the "AwardType" is explicit points, then no points will be awarded for any category. If the "AwardType" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include "Kills", "Deaths", "Suicides", "Team Kills", "VIP Kills", "Multi-Kills", "Kill Assists", "Headshots", "Flag Captures", "Flag Retursn", "King Region", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player to which we are awarding points" + }, + "2.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award for which points are being given" + }, + "3.0": { + "@K[209]": "PointsAwarded", + "@K[211]": "If explicit points award, how many to give." + }, + "4.0": { + "@K[209]": "PointCategory", + "@K[211]": "The point category to award points for. If an empty string is passed in and the \"AwardType\" is explicit points, then no points will be awarded for any category. If the \"AwardType\" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include \"Kills\", \"Deaths\", \"Suicides\", \"Team Kills\", \"VIP Kills\", \"Multi-Kills\", \"Kill Assists\", \"Headshots\", \"Flag Captures\", \"Flag Retursn\", \"King Region\", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly." + } + }, + "@K[203]": "Updates a player's points based on the type of award being given." +} +``` + +
+ +## GameScript.Game.MP.AwardTeamPoints + +```lua +GameScript.Game.MP.AwardTeamPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2326](../../luasense_decompiled.lua#L2326). Имена `argN` — placeholders реконструкции. + +Updates a team's points based on the type of award being given. NOTE: This function CAN NOT award points for multi-kill bonuses. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TeamIndex | The team to which we are awarding points | +| 2.0 | AwardType | The type of award for which points are being given | +| 3.0 | PointsAwarded | If explicit points award, how many to give. | +| 4.0 | PointCategory | The point category to award points for. If an empty string is passed in and the "AwardType" is explicit points, then no points will be awarded for any category. If the "AwardType" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include "Kills", "Deaths", "Suicides", "Team Kills", "VIP Kills", "Multi-Kills", "Kill Assists", "Headshots", "Flag Captures", "Flag Retursn", "King Region", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TeamIndex", + "@K[211]": "The team to which we are awarding points" + }, + "2.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award for which points are being given" + }, + "3.0": { + "@K[209]": "PointsAwarded", + "@K[211]": "If explicit points award, how many to give." + }, + "4.0": { + "@K[209]": "PointCategory", + "@K[211]": "The point category to award points for. If an empty string is passed in and the \"AwardType\" is explicit points, then no points will be awarded for any category. If the \"AwardType\" is not explicit points, then the points will automatically be given for the correct category. If the category is not an empty string, then points will be assigned to the specified category regardless of the award type, if that category exists. Categories include \"Kills\", \"Deaths\", \"Suicides\", \"Team Kills\", \"VIP Kills\", \"Multi-Kills\", \"Kill Assists\", \"Headshots\", \"Flag Captures\", \"Flag Retursn\", \"King Region\", and user-defined types in the Multiplayer Global Data Component. Category strings are case-sensitive and must match exactly." + } + }, + "@K[203]": "Updates a team's points based on the type of award being given. NOTE: This function CAN NOT award points for multi-kill bonuses." +} +``` + +
+ +## GameScript.Game.MP.ClearNetworkSaveData + +```lua +GameScript.Game.MP.ClearNetworkSaveData() +``` + +Источник: [Lua, строка 2329](../../luasense_decompiled.lua#L2329). Имена `argN` — placeholders реконструкции. + +Clears out the network save from the bulk transfer directory. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Clears out the network save from the bulk transfer directory." +} +``` + +
+ +## GameScript.Game.MP.DisableMPManagerMatchTimeLimit + +```lua +GameScript.Game.MP.DisableMPManagerMatchTimeLimit() +``` + +Источник: [Lua, строка 2332](../../luasense_decompiled.lua#L2332). Имена `argN` — placeholders реконструкции. + +Turns off the MP manager time limit code to keep it from ending a match after the time limit is up. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Turns off the MP manager time limit code to keep it from ending a match after the time limit is up." +} +``` + +
+ +## GameScript.Game.MP.GetCurrentPlayerStatistic + +```lua +GameScript.Game.MP.GetCurrentPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 2335](../../luasense_decompiled.lua#L2335). Имена `argN` — placeholders реконструкции. + +Returns the statistic of the specified player for their current lifetime. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose stat we are getting | +| 2.0 | PlayerStatistic | The statistic we are getting. Valid stats are:
PlayerStatistic.kDeaths
PlayerStatistic.kSuicides
PlayerStatistic.kTimesKilled
PlayerStatistic.kKills
PlayerStatistic.kKillAssists
PlayerStatistic.kTeamKills
PlayerStatistic.kVIPKills
PlayerStatistic.kKilledByAI
PlayerStatistic.kPoints
PlayerStatistic.kShotsFired
PlayerStatistic.kEnemyHits
PlayerStatistic.kSecondsInKingRegion
PlayerStatistic.kFlagCaptures
PlayerStatistic.kFlagReturns
PlayerStatistic.kLethality
PlayerStatistic.kTotalLifeTime
PlayerStatistic.kAvgLifeTime
PlayerStatistic.kFavoriteWeapon
PlayerStatistic.kHeadshots
PlayerStatistic.kAccuracy
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kLethality\nPlayerStatistic.kTotalLifeTime\nPlayerStatistic.kAvgLifeTime\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic of the specified player for their current lifetime." +} +``` + +
+ +## GameScript.Game.MP.GetDifficultyLevel + +```lua +GameScript.Game.MP.GetDifficultyLevel() +``` + +Источник: [Lua, строка 2338](../../luasense_decompiled.lua#L2338). Имена `argN` — placeholders реконструкции. + +Returns the difficulty level. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the difficulty level." +} +``` + +
+ +## GameScript.Game.MP.GetGameMode + +```lua +GameScript.Game.MP.GetGameMode() +``` + +Источник: [Lua, строка 2341](../../luasense_decompiled.lua#L2341). Имена `argN` — placeholders реконструкции. + +Returns the GameMode type set in MPGlobalData. Valid values are: +MPGameMode.kAssault +MPGameMode.kSlaughter +MPGameMode.kBrothersVersusOthers +MPGameMode.kDeathMatch +MPGameMode.kTeamDeathMatch +MPGameMode.kCoop +MPGameMode.kGameType7 +MPGameMode.kGameType8 +MPGameMode.kGameType9 +MPGameMode.kGameType10 +MPGameMode.kGameType11 +MPGameMode.kGameType12 +MPGameMode.kGameType13 +MPGameMode.kGameType14 +MPGameMode.kGameType15 +MPGameMode.kGameType16 + + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the GameMode type set in MPGlobalData. Valid values are:\nMPGameMode.kAssault\nMPGameMode.kSlaughter\nMPGameMode.kBrothersVersusOthers\nMPGameMode.kDeathMatch\nMPGameMode.kTeamDeathMatch\nMPGameMode.kCoop\nMPGameMode.kGameType7\nMPGameMode.kGameType8\nMPGameMode.kGameType9\nMPGameMode.kGameType10\nMPGameMode.kGameType11\nMPGameMode.kGameType12\nMPGameMode.kGameType13\nMPGameMode.kGameType14\nMPGameMode.kGameType15\nMPGameMode.kGameType16\n" +} +``` + +
+ +## GameScript.Game.MP.GetGameTypeFlag + +```lua +GameScript.Game.MP.GetGameTypeFlag(arg1) +``` + +Источник: [Lua, строка 2344](../../luasense_decompiled.lua#L2344). Имена `argN` — placeholders реконструкции. + +Returns the value (true/false) of the given game type flag. +0 = Competitive Multiplayer Type +1 = Team-based game +2 = "Points While Contested" (King-of-the-Hill game types) +3 = "Force Of Numbers" (King-of-the-Hill game types) +4 = CTF Classic Rules +5 = King regions can move (King-of-the-Hill game types) +6 = Auto-balance teams +7 = Allow team changing +8 = Augs on map +9 = Private Match + + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Flag | The game type flag whose value we want to retrieve | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Flag", + "@K[211]": "The game type flag whose value we want to retrieve" + } + }, + "@K[203]": "Returns the value (true/false) of the given game type flag.\n0 = Competitive Multiplayer Type\n1 = Team-based game\n2 = \"Points While Contested\" (King-of-the-Hill game types)\n3 = \"Force Of Numbers\" (King-of-the-Hill game types)\n4 = CTF Classic Rules\n5 = King regions can move (King-of-the-Hill game types)\n6 = Auto-balance teams\n7 = Allow team changing\n8 = Augs on map\n9 = Private Match\n" +} +``` + +
+ +## GameScript.Game.MP.GetMultiplayerTime + +```lua +GameScript.Game.MP.GetMultiplayerTime() +``` + +Источник: [Lua, строка 2347](../../luasense_decompiled.lua#L2347). Имена `argN` — placeholders реконструкции. + +Returns the currently synced network multiplayer time. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the currently synced network multiplayer time." +} +``` + +
+ +## GameScript.Game.MP.GetNetworkLookRotForward + +```lua +GameScript.Game.MP.GetNetworkLookRotForward(arg1) +``` + +Источник: [Lua, строка 2350](../../luasense_decompiled.lua#L2350). Имена `argN` — placeholders реконструкции. + +Returns the forward vector of the LookRot for the object as stored in the network sync handler. This is not refreshed at a guaranteed rate, and there may be some interpolation involved, but it should reflect a reasonable approximation of where the object was looking recently. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object which we are checking for a lookRot | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object which we are checking for a lookRot" + } + }, + "@K[203]": "Returns the forward vector of the LookRot for the object as stored in the network sync handler. This is not refreshed at a guaranteed rate, and there may be some interpolation involved, but it should reflect a reasonable approximation of where the object was looking recently." +} +``` + +
+ +## GameScript.Game.MP.GetNumberOfActivePlayers + +```lua +GameScript.Game.MP.GetNumberOfActivePlayers() +``` + +Источник: [Lua, строка 2353](../../luasense_decompiled.lua#L2353). Имена `argN` — placeholders реконструкции. + +Returns the number of active players in the multiplayer session. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the number of active players in the multiplayer session." +} +``` + +
+ +## GameScript.Game.MP.GetNumberOfRounds + +```lua +GameScript.Game.MP.GetNumberOfRounds() +``` + +Источник: [Lua, строка 2356](../../luasense_decompiled.lua#L2356). Имена `argN` — placeholders реконструкции. + +Returns the number of rounds for this match. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the number of rounds for this match." +} +``` + +
+ +## GameScript.Game.MP.GetNumberOfRoundsInAContinuousSession + +```lua +GameScript.Game.MP.GetNumberOfRoundsInAContinuousSession() +``` + +Источник: [Lua, строка 2359](../../luasense_decompiled.lua#L2359). Имена `argN` — placeholders реконструкции. + +Returns the number of rounds for a continuous session. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the number of rounds for a continuous session." +} +``` + +
+ +## GameScript.Game.MP.GetPlayerName + +```lua +GameScript.Game.MP.GetPlayerName() +``` + +Источник: [Lua, строка 2362](../../luasense_decompiled.lua#L2362). Имена `argN` — placeholders реконструкции. + +Returns the gamer tag name of the supplied player ID. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the gamer tag name of the supplied player ID." +} +``` + +
+ +## GameScript.Game.MP.GetPointAward + +```lua +GameScript.Game.MP.GetPointAward(arg1) +``` + +Источник: [Lua, строка 2365](../../luasense_decompiled.lua#L2365). Имена `argN` — placeholders реконструкции. + +Returns the number of points awarded for the given award type. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | AwardType | The type of award. Valid values are:
MPAwardType.kKill
MPAwardType.kDeath
MPAwardType.kTeamKill
MPAwardType.kSuicide
MPAwardType.kInKingRegion
MPAwardType.kFlagCapture
MPAwardType.kFlagReturn
MPAwardType.kVIPKill
MPAwardType.kKillAssist
MPAwardType.kHeadshot
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "AwardType", + "@K[211]": "The type of award. Valid values are:\nMPAwardType.kKill\nMPAwardType.kDeath\nMPAwardType.kTeamKill\nMPAwardType.kSuicide\nMPAwardType.kInKingRegion\nMPAwardType.kFlagCapture\nMPAwardType.kFlagReturn\nMPAwardType.kVIPKill\nMPAwardType.kKillAssist\nMPAwardType.kHeadshot\n" + } + }, + "@K[203]": "Returns the number of points awarded for the given award type." +} +``` + +
+ +## GameScript.Game.MP.GetTeamForPlayer + +```lua +GameScript.Game.MP.GetTeamForPlayer(arg1) +``` + +Источник: [Lua, строка 2368](../../luasense_decompiled.lua#L2368). Имена `argN` — placeholders реконструкции. + +Returns the team of the player of the specified index. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The player index for which we are retrieving their team. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player index for which we are retrieving their team." + } + }, + "@K[203]": "Returns the team of the player of the specified index." +} +``` + +
+ +## GameScript.Game.MP.GetTeamStatistic + +```lua +GameScript.Game.MP.GetTeamStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 2371](../../luasense_decompiled.lua#L2371). Имена `argN` — placeholders реконструкции. + +Returns the statistic for the specified team. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TeamIndex | The index of the team whose stat we are getting | +| 2.0 | PlayerStatistic | The statistic we are getting. Valid stats are:
PlayerStatistic.kDeaths
PlayerStatistic.kSuicides
PlayerStatistic.kTimesKilled
PlayerStatistic.kKills
PlayerStatistic.kKillAssists
PlayerStatistic.kTeamKills
PlayerStatistic.kVIPKills
PlayerStatistic.kKilledByAI
PlayerStatistic.kPoints
PlayerStatistic.kShotsFired
PlayerStatistic.kEnemyHits
PlayerStatistic.kSecondsInKingRegion
PlayerStatistic.kFlagCaptures
PlayerStatistic.kFlagReturns
PlayerStatistic.kFavoriteWeapon
PlayerStatistic.kHeadshots
PlayerStatistic.kAccuracy
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TeamIndex", + "@K[211]": "The index of the team whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic for the specified team." +} +``` + +
+ +## GameScript.Game.MP.GetTimeElapsed + +```lua +GameScript.Game.MP.GetTimeElapsed() +``` + +Источник: [Lua, строка 2374](../../luasense_decompiled.lua#L2374). Имена `argN` — placeholders реконструкции. + +Returns the amount of time elapsed in the current multiplayer round, in seconds. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the amount of time elapsed in the current multiplayer round, in seconds." +} +``` + +
+ +## GameScript.Game.MP.GetTimeLimit + +```lua +GameScript.Game.MP.GetTimeLimit() +``` + +Источник: [Lua, строка 2377](../../luasense_decompiled.lua#L2377). Имена `argN` — placeholders реконструкции. + +Returns the time limit for this match. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the time limit for this match." +} +``` + +
+ +## GameScript.Game.MP.GetTimeRemaining + +```lua +GameScript.Game.MP.GetTimeRemaining() +``` + +Источник: [Lua, строка 2380](../../luasense_decompiled.lua#L2380). Имена `argN` — placeholders реконструкции. + +Returns the amount of time remaining in the current multiplayer round, in seconds. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the amount of time remaining in the current multiplayer round, in seconds." +} +``` + +
+ +## GameScript.Game.MP.GetTotalPlayerStatistic + +```lua +GameScript.Game.MP.GetTotalPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 2383](../../luasense_decompiled.lua#L2383). Имена `argN` — placeholders реконструкции. + +Returns the statistic of the specified player for the current MP game. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The index of the player whose stat we are getting | +| 2.0 | PlayerStatistic | The statistic we are getting. Valid stats are:
PlayerStatistic.kDeaths
PlayerStatistic.kSuicides
PlayerStatistic.kTimesKilled
PlayerStatistic.kKills
PlayerStatistic.kKillAssists
PlayerStatistic.kTeamKills
PlayerStatistic.kVIPKills
PlayerStatistic.kKilledByAI
PlayerStatistic.kPoints
PlayerStatistic.kShotsFired
PlayerStatistic.kEnemyHits
PlayerStatistic.kSecondsInKingRegion
PlayerStatistic.kFlagCaptures
PlayerStatistic.kFlagReturns
PlayerStatistic.kLethality
PlayerStatistic.kTotalLifeTime
PlayerStatistic.kAvgLifeTime
PlayerStatistic.kFavoriteWeapon
PlayerStatistic.kHeadshots
PlayerStatistic.kAccuracy
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The index of the player whose stat we are getting" + }, + "2.0": { + "@K[209]": "PlayerStatistic", + "@K[211]": "The statistic we are getting. Valid stats are:\nPlayerStatistic.kDeaths\nPlayerStatistic.kSuicides\nPlayerStatistic.kTimesKilled\nPlayerStatistic.kKills\nPlayerStatistic.kKillAssists\nPlayerStatistic.kTeamKills\nPlayerStatistic.kVIPKills\nPlayerStatistic.kKilledByAI\nPlayerStatistic.kPoints\nPlayerStatistic.kShotsFired\nPlayerStatistic.kEnemyHits\nPlayerStatistic.kSecondsInKingRegion\nPlayerStatistic.kFlagCaptures\nPlayerStatistic.kFlagReturns\nPlayerStatistic.kLethality\nPlayerStatistic.kTotalLifeTime\nPlayerStatistic.kAvgLifeTime\nPlayerStatistic.kFavoriteWeapon\nPlayerStatistic.kHeadshots\nPlayerStatistic.kAccuracy\n" + } + }, + "@K[203]": "Returns the statistic of the specified player for the current MP game." +} +``` + +
+ +## GameScript.Game.MP.IsClient + +```lua +GameScript.Game.MP.IsClient() +``` + +Источник: [Lua, строка 2386](../../luasense_decompiled.lua#L2386). Имена `argN` — placeholders реконструкции. + +Returns whether or not the script is currently running on a client object. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns whether or not the script is currently running on a client object." +} +``` + +
+ +## GameScript.Game.MP.IsNetworkGame + +```lua +GameScript.Game.MP.IsNetworkGame() +``` + +Источник: [Lua, строка 2389](../../luasense_decompiled.lua#L2389). Имена `argN` — placeholders реконструкции. + +Returns whether or not the script is currently running on a machine that is actively networked to another machine. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns whether or not the script is currently running on a machine that is actively networked to another machine." +} +``` + +
+ +## GameScript.Game.MP.IsRemoteScript + +```lua +GameScript.Game.MP.IsRemoteScript() +``` + +Источник: [Lua, строка 2392](../../luasense_decompiled.lua#L2392). Имена `argN` — placeholders реконструкции. + +Check if the script that we are currently running is in an object that is owned by a remote machine + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Check if the script that we are currently running is in an object that is owned by a remote machine" +} +``` + +
+ +## GameScript.Game.MP.ModifyTimeRemaining + +```lua +GameScript.Game.MP.ModifyTimeRemaining(arg1) +``` + +Источник: [Lua, строка 2395](../../luasense_decompiled.lua#L2395). Имена `argN` — placeholders реконструкции. + +Modifies the amount of time remaining in the current multiplayer round, in seconds. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Seconds | The amount of time in seconds to modify the remaining time by. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Seconds", + "@K[211]": "The amount of time in seconds to modify the remaining time by." + } + }, + "@K[203]": "Modifies the amount of time remaining in the current multiplayer round, in seconds." +} +``` + +
+ +## GameScript.Game.MP.SetTeamForPlayer + +```lua +GameScript.Game.MP.SetTeamForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 2398](../../luasense_decompiled.lua#L2398). Имена `argN` — placeholders реконструкции. + +Sets the given player's team number. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The player index for which we are setting their team. | +| 2.0 | Team | The team number we are setting. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The player index for which we are setting their team." + }, + "2.0": { + "@K[209]": "Team", + "@K[211]": "The team number we are setting." + } + }, + "@K[203]": "Sets the given player's team number." +} +``` + +
diff --git a/docs/reference/GameScript.Game.ObjectTags.md b/docs/reference/GameScript.Game.ObjectTags.md new file mode 100644 index 0000000..8ebbfa5 --- /dev/null +++ b/docs/reference/GameScript.Game.ObjectTags.md @@ -0,0 +1,136 @@ +# GameScript.Game.ObjectTags + +[Индекс](../API.md) + +## GameScript.Game.ObjectTags.DoesObjectHaveTag + +```lua +GameScript.Game.ObjectTags.DoesObjectHaveTag(arg1, arg2) +``` + +Источник: [Lua, строка 2401](../../luasense_decompiled.lua#L2401). Имена `argN` — placeholders реконструкции. + +Check if "EmpireObject" has a Tag that matches "TagName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are examining for a Object Tag | +| 2.0 | TagName | The tag that we are trying to match | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a Object Tag" + }, + "2.0": { + "@K[209]": "TagName", + "@K[211]": "The tag that we are trying to match" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Tag that matches \"TagName\"." +} +``` + +
+ +## GameScript.Game.ObjectTags.GetObjectTagName + +```lua +GameScript.Game.ObjectTags.GetObjectTagName(arg1) +``` + +Источник: [Lua, строка 2404](../../luasense_decompiled.lua#L2404). Имена `argN` — placeholders реконструкции. + +Get the Tag name that matches "TagID". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TagID | The tag id that we are looking up | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TagID", + "@K[211]": "The tag id that we are looking up" + } + }, + "@K[203]": "Get the Tag name that matches \"TagID\"." +} +``` + +
+ +## GameScript.Game.ObjectTags.GetObjectTagUID + +```lua +GameScript.Game.ObjectTags.GetObjectTagUID(arg1) +``` + +Источник: [Lua, строка 2407](../../luasense_decompiled.lua#L2407). Имена `argN` — placeholders реконструкции. + +Get the Tag name that matches "TagName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TagName | The tag name that we are looking up | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TagName", + "@K[211]": "The tag name that we are looking up" + } + }, + "@K[203]": "Get the Tag name that matches \"TagName\"." +} +``` + +
+ +## GameScript.Game.ObjectTags.GetObjectsWithTag + +```lua +GameScript.Game.ObjectTags.GetObjectsWithTag(arg1) +``` + +Источник: [Lua, строка 2410](../../luasense_decompiled.lua#L2410). Имена `argN` — placeholders реконструкции. + +Check if "EmpireObject" has a Tag that matches "TagName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TagName | The tag that we are trying to match | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TagName", + "@K[211]": "The tag that we are trying to match" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Tag that matches \"TagName\"." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Objectives.md b/docs/reference/GameScript.Game.Objectives.md new file mode 100644 index 0000000..cae9907 --- /dev/null +++ b/docs/reference/GameScript.Game.Objectives.md @@ -0,0 +1,240 @@ +# GameScript.Game.Objectives + +[Индекс](../API.md) + +## GameScript.Game.Objectives.Add + +```lua +GameScript.Game.Objectives.Add(arg1, arg2) +``` + +Источник: [Lua, строка 2413](../../luasense_decompiled.lua#L2413). Имена `argN` — placeholders реконструкции. + +Adds an objective identified by the given pair + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier | +| 2.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Adds an objective identified by the given pair" +} +``` + +
+ +## GameScript.Game.Objectives.AddObject + +```lua +GameScript.Game.Objectives.AddObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2416](../../luasense_decompiled.lua#L2416). Имена `argN` — placeholders реконструкции. + +Finds the objective identified by the given pair and adds the specified object to its object list + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to be added as an objective | +| 2.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier | +| 3.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be added as an objective" + }, + "2.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Finds the objective identified by the given pair and adds the specified object to its object list" +} +``` + +
+ +## GameScript.Game.Objectives.GetStatus + +```lua +GameScript.Game.Objectives.GetStatus(arg1, arg2) +``` + +Источник: [Lua, строка 2419](../../luasense_decompiled.lua#L2419). Имена `argN` — placeholders реконструкции. + +Returns the status of the objective identified by the given pair (ObjectiveStatus.Active, ObjectiveStatus.Inactive, ObjectiveStatus.Completed, ObjectiveStatus.Failed) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier (ObjectiveType.kWaypoint, ObjectiveType.Destroy, ObjectiveType.kProtect, ObjectiveType.kVIP, ObjectiveType.kTextOnly) | +| 2.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier (ObjectiveType.kWaypoint, ObjectiveType.Destroy, ObjectiveType.kProtect, ObjectiveType.kVIP, ObjectiveType.kTextOnly)" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Returns the status of the objective identified by the given pair (ObjectiveStatus.Active, ObjectiveStatus.Inactive, ObjectiveStatus.Completed, ObjectiveStatus.Failed)" +} +``` + +
+ +## GameScript.Game.Objectives.Remove + +```lua +GameScript.Game.Objectives.Remove(arg1, arg2) +``` + +Источник: [Lua, строка 2422](../../luasense_decompiled.lua#L2422). Имена `argN` — placeholders реконструкции. + +Removes the objective identified by the given pair + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier | +| 2.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Removes the objective identified by the given pair" +} +``` + +
+ +## GameScript.Game.Objectives.RemoveObject + +```lua +GameScript.Game.Objectives.RemoveObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2425](../../luasense_decompiled.lua#L2425). Имена `argN` — placeholders реконструкции. + +Finds the objective identified by the given pair and removes the specified object from its object list + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to be removed from the objective | +| 2.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier | +| 3.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be removed from the objective" + }, + "2.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + } + }, + "@K[203]": "Finds the objective identified by the given pair and removes the specified object from its object list" +} +``` + +
+ +## GameScript.Game.Objectives.SetStatus + +```lua +GameScript.Game.Objectives.SetStatus(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2428](../../luasense_decompiled.lua#L2428). Имена `argN` — placeholders реконструкции. + +Sets the status of the objective identified by the given pair + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectiveType | The type of objective, forms one half an objective's unique identifier | +| 2.0 | ObjectiveTextID | The text ID description of the objective, forms the other half of an objective's unique identifier | +| 3.0 | ObjectiveStatus | The objective's new status (0 = Active, 1 = Inactive, 2 = Completed, 3 = Failed) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectiveType", + "@K[211]": "The type of objective, forms one half an objective's unique identifier" + }, + "2.0": { + "@K[209]": "ObjectiveTextID", + "@K[211]": "The text ID description of the objective, forms the other half of an objective's unique identifier" + }, + "3.0": { + "@K[209]": "ObjectiveStatus", + "@K[211]": "The objective's new status (0 = Active, 1 = Inactive, 2 = Completed, 3 = Failed)" + } + }, + "@K[203]": "Sets the status of the objective identified by the given pair" +} +``` + +
diff --git a/docs/reference/GameScript.Game.Physics.md b/docs/reference/GameScript.Game.Physics.md new file mode 100644 index 0000000..dfcb9fa --- /dev/null +++ b/docs/reference/GameScript.Game.Physics.md @@ -0,0 +1,1653 @@ +# GameScript.Game.Physics + +[Индекс](../API.md) + +## GameScript.Game.Physics.ApplyAngularImpulse + +```lua +GameScript.Game.Physics.ApplyAngularImpulse(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2434](../../luasense_decompiled.lua#L2434). Имена `argN` — placeholders реконструкции. + +Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are applying angular force | +| 2.0 | RotationAxisVector | Axis around which we are rotating | +| 3.0 | Impulse | Force in newton to which the object is being subjected | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying angular force" + }, + "2.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "3.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in newton to which the object is being subjected" + } + }, + "@K[203]": "Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.ApplyAngularImpulseToRigidBody + +```lua +GameScript.Game.Physics.ApplyAngularImpulseToRigidBody(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2437](../../luasense_decompiled.lua#L2437). Имена `argN` — placeholders реконструкции. + +Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are applying angular force | +| 2.0 | RigidBodyName | The rigid body in the object that we are applying force. | +| 3.0 | RotationAxisVector | Axis around which we are rotating | +| 4.0 | Impulse | Force in newton to which the object is being subjected | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying angular force" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are applying force." + }, + "3.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "4.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in newton to which the object is being subjected" + } + }, + "@K[203]": "Apply angular force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.ApplyImpulse + +```lua +GameScript.Game.Physics.ApplyImpulse(arg1, arg2) +``` + +Источник: [Lua, строка 2440](../../luasense_decompiled.lua#L2440). Имена `argN` — placeholders реконструкции. + +Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are applying force | +| 2.0 | Force | Force in Newtons to which the is being subjected | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying force" + }, + "2.0": { + "@K[209]": "Force", + "@K[211]": "Force in Newtons to which the is being subjected" + } + }, + "@K[203]": "Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.ApplyImpulseToCloth + +```lua +GameScript.Game.Physics.ApplyImpulseToCloth(arg1, arg2) +``` + +Источник: [Lua, строка 2443](../../luasense_decompiled.lua#L2443). Имена `argN` — placeholders реконструкции. + +Apply force to cloth. An error message will be output if no Simulation Component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to which the impulse will be applied | +| 2.0 | Impulse | Force in Newtons to which the cloth is being subjected | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which the impulse will be applied" + }, + "2.0": { + "@K[209]": "Impulse", + "@K[211]": "Force in Newtons to which the cloth is being subjected" + } + }, + "@K[203]": "Apply force to cloth. An error message will be output if no Simulation Component." +} +``` + +
+ +## GameScript.Game.Physics.ApplyImpulseToRigidBody + +```lua +GameScript.Game.Physics.ApplyImpulseToRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2446](../../luasense_decompiled.lua#L2446). Имена `argN` — placeholders реконструкции. + +Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are applying force | +| 2.0 | RigidBodyName | The rigid body in the object that we are apply force. | +| 3.0 | Force | Force in Newtons to which the is being subjected | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are applying force" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are apply force." + }, + "3.0": { + "@K[209]": "Force", + "@K[211]": "Force in Newtons to which the is being subjected" + } + }, + "@K[203]": "Apply force for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.DoesHavePhysics + +```lua +GameScript.Game.Physics.DoesHavePhysics(arg1) +``` + +Источник: [Lua, строка 2449](../../luasense_decompiled.lua#L2449). Имена `argN` — placeholders реконструкции. + +Returns whether or not the EmpireObject has physics. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns whether or not the EmpireObject has physics." +} +``` + +
+ +## GameScript.Game.Physics.DoesRigidBodyExist + +```lua +GameScript.Game.Physics.DoesRigidBodyExist(arg1, arg2) +``` + +Источник: [Lua, строка 2452](../../luasense_decompiled.lua#L2452). Имена `argN` — placeholders реконструкции. + +Returns if a scene node named "RigidBodyName" exists in this object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking." + } + }, + "@K[203]": "Returns if a scene node named \"RigidBodyName\" exists in this object." +} +``` + +
+ +## GameScript.Game.Physics.GetAABB + +```lua +GameScript.Game.Physics.GetAABB(arg1) +``` + +Источник: [Lua, строка 2455](../../luasense_decompiled.lua#L2455). Имена `argN` — placeholders реконструкции. + +Returns the AABB of the physics for an object in a table with minX,minY,minZ,maxX,maxY,maxZ + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns the AABB of the physics for an object in a table with minX,minY,minZ,maxX,maxY,maxZ" +} +``` + +
+ +## GameScript.Game.Physics.GetAngularVelocity + +```lua +GameScript.Game.Physics.GetAngularVelocity(arg1) +``` + +Источник: [Lua, строка 2458](../../luasense_decompiled.lua#L2458). Имена `argN` — placeholders реконструкции. + +Get the angular velocity of an object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are getting it's angular velocity | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are getting it's angular velocity" + } + }, + "@K[203]": "Get the angular velocity of an object." +} +``` + +
+ +## GameScript.Game.Physics.GetCollisionGroup + +```lua +GameScript.Game.Physics.GetCollisionGroup(arg1) +``` + +Источник: [Lua, строка 2461](../../luasense_decompiled.lua#L2461). Имена `argN` — placeholders реконструкции. + +Returns collision group of the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting the collision group | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting the collision group" + } + }, + "@K[203]": "Returns collision group of the object" +} +``` + +
+ +## GameScript.Game.Physics.GetLinearVelocity + +```lua +GameScript.Game.Physics.GetLinearVelocity(arg1) +``` + +Источник: [Lua, строка 2464](../../luasense_decompiled.lua#L2464). Имена `argN` — placeholders реконструкции. + +Get the linear velocity of an object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are getting it's linear velocity | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are getting it's linear velocity" + } + }, + "@K[203]": "Get the linear velocity of an object." +} +``` + +
+ +## GameScript.Game.Physics.GetMass + +```lua +GameScript.Game.Physics.GetMass(arg1) +``` + +Источник: [Lua, строка 2467](../../luasense_decompiled.lua#L2467). Имена `argN` — placeholders реконструкции. + +Get mass of object if it has a physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Get mass of object if it has a physics component." +} +``` + +
+ +## GameScript.Game.Physics.GetRigidBodyFriction + +```lua +GameScript.Game.Physics.GetRigidBodyFriction(arg1, arg2) +``` + +Источник: [Lua, строка 2470](../../luasense_decompiled.lua#L2470). Имена `argN` — placeholders реконструкции. + +Returns friction of the rigid body of the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting friction | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting friction" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns friction of the rigid body of the object" +} +``` + +
+ +## GameScript.Game.Physics.GetRigidBodyMass + +```lua +GameScript.Game.Physics.GetRigidBodyMass(arg1, arg2) +``` + +Источник: [Lua, строка 2473](../../luasense_decompiled.lua#L2473). Имена `argN` — placeholders реконструкции. + +Returns mass of the rigid body of the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting mass | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting mass" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns mass of the rigid body of the object" +} +``` + +
+ +## GameScript.Game.Physics.GetRigidBodyPosition + +```lua +GameScript.Game.Physics.GetRigidBodyPosition(arg1, arg2) +``` + +Источник: [Lua, строка 2476](../../luasense_decompiled.lua#L2476). Имена `argN` — placeholders реконструкции. + +Returns vector3D with position of the rigid body of the object in fields x,y,z of the table, if no position exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting position | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns vector3D with position of the rigid body of the object in fields x,y,z of the table, if no position exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.Physics.GetRigidBodyRestitution + +```lua +GameScript.Game.Physics.GetRigidBodyRestitution(arg1, arg2) +``` + +Источник: [Lua, строка 2479](../../luasense_decompiled.lua#L2479). Имена `argN` — placeholders реконструкции. + +Returns restitution of the rigid body of the object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting restitution | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting restitution" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns restitution of the rigid body of the object" +} +``` + +
+ +## GameScript.Game.Physics.GetRigidBodyRotation + +```lua +GameScript.Game.Physics.GetRigidBodyRotation(arg1, arg2) +``` + +Источник: [Lua, строка 2482](../../luasense_decompiled.lua#L2482). Имена `argN` — placeholders реконструкции. + +Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH["r"], etc + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting roll, pitch and heading vector | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" +} +``` + +
+ +## GameScript.Game.Physics.IsClothWindEnabled + +```lua +GameScript.Game.Physics.IsClothWindEnabled(arg1) +``` + +Источник: [Lua, строка 2485](../../luasense_decompiled.lua#L2485). Имена `argN` — placeholders реконструкции. + +Returns true of the given object has a Simulation Component that has the wind setting enabled. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | An object with a Simulation Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + } + }, + "@K[203]": "Returns true of the given object has a Simulation Component that has the wind setting enabled." +} +``` + +
+ +## GameScript.Game.Physics.IsDynamic + +```lua +GameScript.Game.Physics.IsDynamic(arg1) +``` + +Источник: [Lua, строка 2488](../../luasense_decompiled.lua#L2488). Имена `argN` — placeholders реконструкции. + +Check if the object has a dynamic physics . + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a dynamic physics ." +} +``` + +
+ +## GameScript.Game.Physics.IsKeyframed + +```lua +GameScript.Game.Physics.IsKeyframed(arg1) +``` + +Источник: [Lua, строка 2491](../../luasense_decompiled.lua#L2491). Имена `argN` — placeholders реконструкции. + +Check if the object has a keyframed physics. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a keyframed physics." +} +``` + +
+ +## GameScript.Game.Physics.IsRigidBodyDynamic + +```lua +GameScript.Game.Physics.IsRigidBodyDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 2494](../../luasense_decompiled.lua#L2494). Имена `argN` — placeholders реконструкции. + +Check if the rigid body of the object has a dynamic physics + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a dynamic physics" +} +``` + +
+ +## GameScript.Game.Physics.IsRigidBodyKeyframed + +```lua +GameScript.Game.Physics.IsRigidBodyKeyframed(arg1, arg2) +``` + +Источник: [Lua, строка 2497](../../luasense_decompiled.lua#L2497). Имена `argN` — placeholders реконструкции. + +Check if the rigid body of the object has a keyframed physics + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a keyframed physics" +} +``` + +
+ +## GameScript.Game.Physics.IsRigidBodyStatic + +```lua +GameScript.Game.Physics.IsRigidBodyStatic(arg1, arg2) +``` + +Источник: [Lua, строка 2500](../../luasense_decompiled.lua#L2500). Имена `argN` — placeholders реконструкции. + +Check if the rigid body of the object has a static physics + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | +| 2.0 | RigidBodyName | The rigid body in the object that we are checking.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are checking.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Check if the rigid body of the object has a static physics" +} +``` + +
+ +## GameScript.Game.Physics.IsStatic + +```lua +GameScript.Game.Physics.IsStatic(arg1) +``` + +Источник: [Lua, строка 2503](../../luasense_decompiled.lua#L2503). Имена `argN` — placeholders реконструкции. + +Check if the object has a static physics. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Check if the object has a static physics." +} +``` + +
+ +## GameScript.Game.Physics.OverRideConstraintMaxSpeed + +```lua +GameScript.Game.Physics.OverRideConstraintMaxSpeed(arg1, arg2) +``` + +Источник: [Lua, строка 2506](../../luasense_decompiled.lua#L2506). Имена `argN` — placeholders реконструкции. + +OverRide the max speed for all constraints on the input object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to set the constraint max speed for | +| 2.0 | ConstraintSpeed | The new constraint max speed m/sec if prismatic, degrees/sec if hinge | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to set the constraint max speed for" + }, + "2.0": { + "@K[209]": "ConstraintSpeed", + "@K[211]": "The new constraint max speed m/sec if prismatic, degrees/sec if hinge" + } + }, + "@K[203]": "OverRide the max speed for all constraints on the input object." +} +``` + +
+ +## GameScript.Game.Physics.RestoreConstraintMaxSpeed + +```lua +GameScript.Game.Physics.RestoreConstraintMaxSpeed(arg1) +``` + +Источник: [Lua, строка 2509](../../luasense_decompiled.lua#L2509). Имена `argN` — placeholders реконструкции. + +Restore the max speed for all constraints on the input object, assuming it has been overRiding by 'OverRideConstraintMaxSpeed' or some other method. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to restore the constraint max speed for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to restore the constraint max speed for" + } + }, + "@K[203]": "Restore the max speed for all constraints on the input object, assuming it has been overRiding by 'OverRideConstraintMaxSpeed' or some other method." +} +``` + +
+ +## GameScript.Game.Physics.SetAngularVelocity + +```lua +GameScript.Game.Physics.SetAngularVelocity(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2512](../../luasense_decompiled.lua#L2512). Имена `argN` — placeholders реконструкции. + +Set angular velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are setting angular velocity | +| 2.0 | RotationAxisVector | Axis around which we are rotating | +| 3.0 | Speed | Speed in degrees/sec to which the object is being set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting angular velocity" + }, + "2.0": { + "@K[209]": "RotationAxisVector", + "@K[211]": "Axis around which we are rotating" + }, + "3.0": { + "@K[209]": "Speed", + "@K[211]": "Speed in degrees/sec to which the object is being set" + } + }, + "@K[203]": "Set angular velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.SetClothWindDirection + +```lua +GameScript.Game.Physics.SetClothWindDirection(arg1, arg2) +``` + +Источник: [Lua, строка 2515](../../luasense_decompiled.lua#L2515). Имена `argN` — placeholders реконструкции. + +Set the direction that the wind should blow + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | An object with a Simulation Component | +| 2.0 | Direction | The direction in world space | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Direction", + "@K[211]": "The direction in world space" + } + }, + "@K[203]": "Set the direction that the wind should blow" +} +``` + +
+ +## GameScript.Game.Physics.SetClothWindEnabled + +```lua +GameScript.Game.Physics.SetClothWindEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 2518](../../luasense_decompiled.lua#L2518). Имена `argN` — placeholders реконструкции. + +Enables or disables the wind forces on a cloth object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | An object with a Simulation Component | +| 2.0 | Enabled | True or False | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Enabled", + "@K[211]": "True or False" + } + }, + "@K[203]": "Enables or disables the wind forces on a cloth object" +} +``` + +
+ +## GameScript.Game.Physics.SetClothWindInterval + +```lua +GameScript.Game.Physics.SetClothWindInterval(arg1, arg2) +``` + +Источник: [Lua, строка 2521](../../luasense_decompiled.lua#L2521). Имена `argN` — placeholders реконструкции. + +The time it takes (in seconds) for the wind force to cycle from minimum strength to maximum strength and back + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | An object with a Simulation Component | +| 2.0 | Interval | The time to cycle through weak->strong->weak | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "Interval", + "@K[211]": "The time to cycle through weak->strong->weak" + } + }, + "@K[203]": "The time it takes (in seconds) for the wind force to cycle from minimum strength to maximum strength and back" +} +``` + +
+ +## GameScript.Game.Physics.SetClothWindStrength + +```lua +GameScript.Game.Physics.SetClothWindStrength(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2524](../../luasense_decompiled.lua#L2524). Имена `argN` — placeholders реконструкции. + +Set the min and max strength of the wind + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | An object with a Simulation Component | +| 2.0 | MinForce | The minimum strength of the wind | +| 3.0 | MaxForce | The maximum strength of the wind | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "An object with a Simulation Component" + }, + "2.0": { + "@K[209]": "MinForce", + "@K[211]": "The minimum strength of the wind" + }, + "3.0": { + "@K[209]": "MaxForce", + "@K[211]": "The maximum strength of the wind" + } + }, + "@K[203]": "Set the min and max strength of the wind" +} +``` + +
+ +## GameScript.Game.Physics.SetCollisionGroup + +```lua +GameScript.Game.Physics.SetCollisionGroup(arg1, arg2) +``` + +Источник: [Lua, строка 2527](../../luasense_decompiled.lua#L2527). Имена `argN` — placeholders реконструкции. + +Sets the collision group for the specified object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting the collision group | +| 2.0 | CollisionGroup | The collision group to set for this object | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting the collision group" + }, + "2.0": { + "@K[209]": "CollisionGroup", + "@K[211]": "The collision group to set for this object" + } + }, + "@K[203]": "Sets the collision group for the specified object" +} +``` + +
+ +## GameScript.Game.Physics.SetConstraintPosition + +```lua +GameScript.Game.Physics.SetConstraintPosition(arg1, arg2) +``` + +Источник: [Lua, строка 2530](../../luasense_decompiled.lua#L2530). Имена `argN` — placeholders реконструкции. + +Sets the position for all constraints on the input object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to set the constraint position of | +| 2.0 | ConstraintPosition | The new constraint position as a percentage of the total range, 0 to 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to set the constraint position of" + }, + "2.0": { + "@K[209]": "ConstraintPosition", + "@K[211]": "The new constraint position as a percentage of the total range, 0 to 1" + } + }, + "@K[203]": "Sets the position for all constraints on the input object." +} +``` + +
+ +## GameScript.Game.Physics.SetLinearVelocityOfRigidBody + +```lua +GameScript.Game.Physics.SetLinearVelocityOfRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2533](../../luasense_decompiled.lua#L2533). Имена `argN` — placeholders реконструкции. + +Set the linear velocity for a specific rigid body works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are setting velocity | +| 2.0 | RigidBodyName | The rigid body in the object that we setting velocity. | +| 3.0 | Velocity | Velocity in m/s to which the rigid body is being set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting velocity" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we setting velocity." + }, + "3.0": { + "@K[209]": "Velocity", + "@K[211]": "Velocity in m/s to which the rigid body is being set" + } + }, + "@K[203]": "Set the linear velocity for a specific rigid body works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
+ +## GameScript.Game.Physics.SetRigidBodyFriction + +```lua +GameScript.Game.Physics.SetRigidBodyFriction(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2536](../../luasense_decompiled.lua#L2536). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and a rigid body named "RigidBodyName", and set its friction to a new value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | +| 2.0 | RigidBodyName | The rigid body in the object that we are changing.If an empty string "" is passed in the root rigid body will be used | +| 3.0 | Friction | The new value for the rigid body | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Friction", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its friction to a new value." +} +``` + +
+ +## GameScript.Game.Physics.SetRigidBodyMass + +```lua +GameScript.Game.Physics.SetRigidBodyMass(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2539](../../luasense_decompiled.lua#L2539). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and a rigid body named "RigidBodyName", and set its mass to a new value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | +| 2.0 | RigidBodyName | The rigid body in the object that we are changing.If an empty string "" is passed in the root rigid body will be used | +| 3.0 | Mass | The new value for the rigid body | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Mass", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its mass to a new value." +} +``` + +
+ +## GameScript.Game.Physics.SetRigidBodyRestitution + +```lua +GameScript.Game.Physics.SetRigidBodyRestitution(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2542](../../luasense_decompiled.lua#L2542). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and a rigid body named "RigidBodyName", and set its restitution to a new value. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | +| 2.0 | RigidBodyName | The rigid body in the object that we are changing.If an empty string "" is passed in the root rigid body will be used | +| 3.0 | Restitution | The new value for the rigid body | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + }, + "3.0": { + "@K[209]": "Restitution", + "@K[211]": "The new value for the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and set its restitution to a new value." +} +``` + +
+ +## GameScript.Game.Physics.SetRigidBodyToDynamic + +```lua +GameScript.Game.Physics.SetRigidBodyToDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 2545](../../luasense_decompiled.lua#L2545). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and a rigid body named "RigidBodyName", and make it dynamic, as opposed to keyframed or static. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | +| 2.0 | RigidBodyName | The rigid body in the object that we are changing.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and make it dynamic, as opposed to keyframed or static." +} +``` + +
+ +## GameScript.Game.Physics.SetRigidBodyToStatic + +```lua +GameScript.Game.Physics.SetRigidBodyToStatic(arg1, arg2) +``` + +Источник: [Lua, строка 2548](../../luasense_decompiled.lua#L2548). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and a rigid body named "RigidBodyName", and make it static, as opposed to keyframed or dynamic. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | +| 2.0 | RigidBodyName | The rigid body in the object that we are changing.If an empty string "" is passed in the root rigid body will be used | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + }, + "2.0": { + "@K[209]": "RigidBodyName", + "@K[211]": "The rigid body in the object that we are changing.If an empty string \"\" is passed in the root rigid body will be used" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and a rigid body named \"RigidBodyName\", and make it static, as opposed to keyframed or dynamic." +} +``` + +
+ +## GameScript.Game.Physics.SetSurfaceVelocityAccelerationScale + +```lua +GameScript.Game.Physics.SetSurfaceVelocityAccelerationScale(arg1, arg2) +``` + +Источник: [Lua, строка 2551](../../luasense_decompiled.lua#L2551). Имена `argN` — placeholders реконструкции. + +Takes an object with a "Surface Velocity Modifier" component and scales the acceleration, the current speed will change to match the desired based on the acceleration + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the "Surface Velocity Modifier" component | +| 2.0 | AccelerationScale | Amount to scale the acceleration for how quickly to move from current to desired | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "AccelerationScale", + "@K[211]": "Amount to scale the acceleration for how quickly to move from current to desired" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the acceleration, the current speed will change to match the desired based on the acceleration" +} +``` + +
+ +## GameScript.Game.Physics.SetSurfaceVelocityDesiredScale + +```lua +GameScript.Game.Physics.SetSurfaceVelocityDesiredScale(arg1, arg2) +``` + +Источник: [Lua, строка 2554](../../luasense_decompiled.lua#L2554). Имена `argN` — placeholders реконструкции. + +Takes an object with a "Surface Velocity Modifier" component and scales the desired speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the "Surface Velocity Modifier" component | +| 2.0 | VelocityScale | Amount to scale the desired velocity, if negative will reverse the direction | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "Amount to scale the desired velocity, if negative will reverse the direction" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the desired speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component" +} +``` + +
+ +## GameScript.Game.Physics.SetSurfaceVelocityScale + +```lua +GameScript.Game.Physics.SetSurfaceVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 2557](../../luasense_decompiled.lua#L2557). Имена `argN` — placeholders реконструкции. + +Takes an object with a "Surface Velocity Modifier" component and scales the current speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the "Surface Velocity Modifier" component | +| 2.0 | VelocityScale | Amount to scale the velocity, if negative will reverse the direction | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the \"Surface Velocity Modifier\" component" + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "Amount to scale the velocity, if negative will reverse the direction" + } + }, + "@K[203]": "Takes an object with a \"Surface Velocity Modifier\" component and scales the current speed of the surface velocity, the current speed will change to match the desired based on the acceleration in the component" +} +``` + +
+ +## GameScript.Game.Physics.SetToDynamic + +```lua +GameScript.Game.Physics.SetToDynamic(arg1) +``` + +Источник: [Lua, строка 2560](../../luasense_decompiled.lua#L2560). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and make it dynamic, as opposed to static or keyframed. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and make it dynamic, as opposed to static or keyframed." +} +``` + +
+ +## GameScript.Game.Physics.SetToStatic + +```lua +GameScript.Game.Physics.SetToStatic(arg1) +``` + +Источник: [Lua, строка 2563](../../luasense_decompiled.lua#L2563). Имена `argN` — placeholders реконструкции. + +Take an object that has a physics component "EmpireObject" and make it static, as opposed to keyframed or dynamic. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the rigid body | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the rigid body" + } + }, + "@K[203]": "Take an object that has a physics component \"EmpireObject\" and make it static, as opposed to keyframed or dynamic." +} +``` + +
+ +## GameScript.Game.Physics.SetVelocity + +```lua +GameScript.Game.Physics.SetVelocity(arg1, arg2) +``` + +Источник: [Lua, строка 2566](../../luasense_decompiled.lua#L2566). Имена `argN` — placeholders реконструкции. + +Set a velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that for which we are setting velocity | +| 2.0 | Velocity | Velocity in meters/sec to which the object is being set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that for which we are setting velocity" + }, + "2.0": { + "@K[209]": "Velocity", + "@K[211]": "Velocity in meters/sec to which the object is being set" + } + }, + "@K[203]": "Set a velocity for an object, note that currently this only works for objects with standard physics components, other things such as people or AnimatedPhysics set the velocity every frame, so this will be ignored.An error message will be output if not physics component." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Player.md b/docs/reference/GameScript.Game.Player.md new file mode 100644 index 0000000..4c35aab --- /dev/null +++ b/docs/reference/GameScript.Game.Player.md @@ -0,0 +1,1977 @@ +# GameScript.Game.Player + +[Индекс](../API.md) + +## GameScript.Game.Player.AreAllPlayersInState + +```lua +GameScript.Game.Player.AreAllPlayersInState(arg1) +``` + +Источник: [Lua, строка 2569](../../luasense_decompiled.lua#L2569). Имена `argN` — placeholders реконструкции. + +Checks to see if all players are in a particular state + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | State | Global state index that is being checked against | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "State", + "@K[211]": "Global state index that is being checked against" + } + }, + "@K[203]": "Checks to see if all players are in a particular state" +} +``` + +
+ +## GameScript.Game.Player.CanPlayerPossess + +```lua +GameScript.Game.Player.CanPlayerPossess(arg1) +``` + +Источник: [Lua, строка 2572](../../luasense_decompiled.lua#L2572). Имена `argN` — placeholders реконструкции. + +Will return true when the component is uninhibited from initiating a possession attempt by its watch variable list, by being Object State disabled, or because already engaging in possession + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Will return true when the component is uninhibited from initiating a possession attempt by its watch variable list, by being Object State disabled, or because already engaging in possession" +} +``` + +
+ +## GameScript.Game.Player.ClearTetherBreadcrumbs + +```lua +GameScript.Game.Player.ClearTetherBreadcrumbs(arg1) +``` + +Источник: [Lua, строка 2575](../../luasense_decompiled.lua#L2575). Имена `argN` — placeholders реконструкции. + +Marks all existing tether breadcrumbs as invalid. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player containing a Tether Anchor component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player containing a Tether Anchor component." + } + }, + "@K[203]": "Marks all existing tether breadcrumbs as invalid." +} +``` + +
+ +## GameScript.Game.Player.ClearTetherSafeRadiusOverride + +```lua +GameScript.Game.Player.ClearTetherSafeRadiusOverride(arg1) +``` + +Источник: [Lua, строка 2578](../../luasense_decompiled.lua#L2578). Имена `argN` — placeholders реконструкции. + +Clears out any previous calls to "SetTEtherSafeRadiusOverride" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player being tethered. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player being tethered." + } + }, + "@K[203]": "Clears out any previous calls to \"SetTEtherSafeRadiusOverride\"" +} +``` + +
+ +## GameScript.Game.Player.DisableTetherSpawnTagSet + +```lua +GameScript.Game.Player.DisableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 2581](../../luasense_decompiled.lua#L2581). Имена `argN` — placeholders реконструкции. + +Removes a previously enabled set of spawn tags as the current tether destination group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The object containing a SetComponent, expected to have a set of player spawn tag objects. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The object containing a SetComponent, expected to have a set of player spawn tag objects." + } + }, + "@K[203]": "Removes a previously enabled set of spawn tags as the current tether destination group" +} +``` + +
+ +## GameScript.Game.Player.DoesPlayerHaveLineOfSightToPosition + +```lua +GameScript.Game.Player.DoesPlayerHaveLineOfSightToPosition(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2584](../../luasense_decompiled.lua#L2584). Имена `argN` — placeholders реконструкции. + +Return whether or not the player with index 'globalPlayerIndex' has line of sight to the position. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | targetPosition | The position were are checking for Line of Sight. A Table with fields x,y,z | +| 2.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | +| 3.0 | useHeadPosition | If 'useHeadPosition' is true we do line of sight from the head, else from the base of the capsule | +| 4.0 | defaultReturn | If player doesn't exist what do youu want this function to return | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for Line of Sight. A Table with fields x,y,z" + }, + "2.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "3.0": { + "@K[209]": "useHeadPosition", + "@K[211]": "If 'useHeadPosition' is true we do line of sight from the head, else from the base of the capsule" + }, + "4.0": { + "@K[209]": "defaultReturn", + "@K[211]": "If player doesn't exist what do youu want this function to return" + } + }, + "@K[203]": "Return whether or not the player with index 'globalPlayerIndex' has line of sight to the position." +} +``` + +
+ +## GameScript.Game.Player.EnableTetherSpawnTagSet + +```lua +GameScript.Game.Player.EnableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 2587](../../luasense_decompiled.lua#L2587). Имена `argN` — placeholders реконструкции. + +Assigns a set of spawn tags as the current tether destination group + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The object containing a SetComponent, expected to have a set of player spawn tag objects. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The object containing a SetComponent, expected to have a set of player spawn tag objects." + } + }, + "@K[203]": "Assigns a set of spawn tags as the current tether destination group" +} +``` + +
+ +## GameScript.Game.Player.GetAllPlayerControlledObjectsByIndex + +```lua +GameScript.Game.Player.GetAllPlayerControlledObjectsByIndex(arg1) +``` + +Источник: [Lua, строка 2590](../../luasense_decompiled.lua#L2590). Имена `argN` — placeholders реконструкции. + +Return every object controlled (directly or indirectly) by the player at the moment. Ex: If the player is a ghost (avatar) in a body in a vehicle, all three objects will be returned. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return every object controlled (directly or indirectly) by the player at the moment. Ex: If the player is a ghost (avatar) in a body in a vehicle, all three objects will be returned." +} +``` + +
+ +## GameScript.Game.Player.GetGlobalIndexFromLocalIndex + +```lua +GameScript.Game.Player.GetGlobalIndexFromLocalIndex(arg1) +``` + +Источник: [Lua, строка 2593](../../luasense_decompiled.lua#L2593). Имена `argN` — placeholders реконструкции. + +Return the global index of the local player with the given local index, will return GameScript.PlayerIndex.kNotAGlobalPlayer if the local index is invalid or unused. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | localPlayerIndex | The index of the local player whose global index we want. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "localPlayerIndex", + "@K[211]": "The index of the local player whose global index we want." + } + }, + "@K[203]": "Return the global index of the local player with the given local index, will return GameScript.PlayerIndex.kNotAGlobalPlayer if the local index is invalid or unused." +} +``` + +
+ +## GameScript.Game.Player.GetLastTimePlayerSpawnTagUsed + +```lua +GameScript.Game.Player.GetLastTimePlayerSpawnTagUsed(arg1) +``` + +Источник: [Lua, строка 2596](../../luasense_decompiled.lua#L2596). Имена `argN` — placeholders реконструкции. + +Gets the last time that the spawn tag was used. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting the last time used from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the last time used from" + } + }, + "@K[203]": "Gets the last time that the spawn tag was used." +} +``` + +
+ +## GameScript.Game.Player.GetMaxPossessionTime + +```lua +GameScript.Game.Player.GetMaxPossessionTime(arg1) +``` + +Источник: [Lua, строка 2599](../../luasense_decompiled.lua#L2599). Имена `argN` — placeholders реконструкции. + +Gets the possession time for the possessed vehicle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Gets the possession time for the possessed vehicle." +} +``` + +
+ +## GameScript.Game.Player.GetNumLocalPlayers + +```lua +GameScript.Game.Player.GetNumLocalPlayers() +``` + +Источник: [Lua, строка 2602](../../luasense_decompiled.lua#L2602). Имена `argN` — placeholders реконструкции. + +Get the number of local players in the game. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get the number of local players in the game." +} +``` + +
+ +## GameScript.Game.Player.GetNumPlayers + +```lua +GameScript.Game.Player.GetNumPlayers() +``` + +Источник: [Lua, строка 2605](../../luasense_decompiled.lua#L2605). Имена `argN` — placeholders реконструкции. + +Get the number of players in the game. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get the number of players in the game." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerAvatarObjectByIndex + +```lua +GameScript.Game.Player.GetPlayerAvatarObjectByIndex(arg1) +``` + +Источник: [Lua, строка 2608](../../luasense_decompiled.lua#L2608). Имена `argN` — placeholders реконструкции. + +Return the main avatar of the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the main avatar of the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerAvatarPositionByIndex + +```lua +GameScript.Game.Player.GetPlayerAvatarPositionByIndex(arg1) +``` + +Источник: [Lua, строка 2611](../../luasense_decompiled.lua#L2611). Имена `argN` — placeholders реконструкции. + +Return the position of the main avatar of the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The 'globalPlayerIndex' for the player | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The 'globalPlayerIndex' for the player" + } + }, + "@K[203]": "Return the position of the main avatar of the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerControlledObjectByIndex + +```lua +GameScript.Game.Player.GetPlayerControlledObjectByIndex(arg1) +``` + +Источник: [Lua, строка 2614](../../luasense_decompiled.lua#L2614). Имена `argN` — placeholders реконструкции. + +Return the object currently controlled by the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the object currently controlled by the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerDistanceToPosition + +```lua +GameScript.Game.Player.GetPlayerDistanceToPosition(arg1, arg2) +``` + +Источник: [Lua, строка 2617](../../luasense_decompiled.lua#L2617). Имена `argN` — placeholders реконструкции. + +Return distance of the player with index 'globalPlayerIndex' to the position. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | +| 2.0 | targetPosition | The position were are checking for distance. A Table with fields x,y,z | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for distance. A Table with fields x,y,z" + } + }, + "@K[203]": "Return distance of the player with index 'globalPlayerIndex' to the position." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerGameComplete + +```lua +GameScript.Game.Player.GetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 2620](../../luasense_decompiled.lua#L2620). Имена `argN` — placeholders реконструкции. + +Returns whether the player has successfully completed the game. This function only works on local players, other cases will always return false. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player we want to check. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player we want to check." + } + }, + "@K[203]": "Returns whether the player has successfully completed the game. This function only works on local players, other cases will always return false." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerIndexByObject + +```lua +GameScript.Game.Player.GetPlayerIndexByObject(arg1) +``` + +Источник: [Lua, строка 2623](../../luasense_decompiled.lua#L2623). Имена `argN` — placeholders реконструкции. + +Return the player index of the object if owned by the player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting the global player index for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the global player index for" + } + }, + "@K[203]": "Return the player index of the object if owned by the player." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerObjectByIndex + +```lua +GameScript.Game.Player.GetPlayerObjectByIndex(arg1) +``` + +Источник: [Lua, строка 2626](../../luasense_decompiled.lua#L2626). Имена `argN` — placeholders реконструкции. + +Return the player object for the player with index 'globalPlayerIndex'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + } + }, + "@K[203]": "Return the player object for the player with index 'globalPlayerIndex'." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerPlaneDistance + +```lua +GameScript.Game.Player.GetPlayerPlaneDistance(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2629](../../luasense_decompiled.lua#L2629). Имена `argN` — placeholders реконструкции. + +Return distance of the player with index 'globalPlayerIndex' from the plane with normal 'targetNormal' that contains the point 'targetPosition'. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The empireObject for 'globalPlayerIndex' global index | +| 2.0 | targetPosition | The position were are checking for distance. A Table with fields x,y,z | +| 3.0 | targetNormal | The normal of the plane were are checking for distance. A Table with fields x,y,z | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The empireObject for 'globalPlayerIndex' global index" + }, + "2.0": { + "@K[209]": "targetPosition", + "@K[211]": "The position were are checking for distance. A Table with fields x,y,z" + }, + "3.0": { + "@K[209]": "targetNormal", + "@K[211]": "The normal of the plane were are checking for distance. A Table with fields x,y,z" + } + }, + "@K[203]": "Return distance of the player with index 'globalPlayerIndex' from the plane with normal 'targetNormal' that contains the point 'targetPosition'." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagIndex + +```lua +GameScript.Game.Player.GetPlayerSpawnTagIndex(arg1) +``` + +Источник: [Lua, строка 2632](../../luasense_decompiled.lua#L2632). Имена `argN` — placeholders реконструкции. + +Gets the spawn tag index from an object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting a spawn tag index from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn tag index from" + } + }, + "@K[203]": "Gets the spawn tag index from an object." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed + +```lua +GameScript.Game.Player.GetPlayerSpawnTagMaximumPlayersAllowed(arg1) +``` + +Источник: [Lua, строка 2635](../../luasense_decompiled.lua#L2635). Имена `argN` — placeholders реконструкции. + +Gets the maximum number of players allowed to be active for this spawn tag to be used. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting the max players requirement from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the max players requirement from" + } + }, + "@K[203]": "Gets the maximum number of players allowed to be active for this spawn tag to be used." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagMinimumPlayersRequired + +```lua +GameScript.Game.Player.GetPlayerSpawnTagMinimumPlayersRequired(arg1) +``` + +Источник: [Lua, строка 2638](../../luasense_decompiled.lua#L2638). Имена `argN` — placeholders реконструкции. + +Gets the minimum number of players required to be active for this spawn tag to be used. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting the min players requirement from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the min players requirement from" + } + }, + "@K[203]": "Gets the minimum number of players required to be active for this spawn tag to be used." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagNationCheckPassed + +```lua +GameScript.Game.Player.GetPlayerSpawnTagNationCheckPassed(arg1, arg2) +``` + +Источник: [Lua, строка 2641](../../luasense_decompiled.lua#L2641). Имена `argN` — placeholders реконструкции. + +Returns if the global player index referenced passes the nation check criteria in the spawn tag object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index which we are doing a nation comparison with | +| 2.0 | EmpireObject | The empireObject which we are doing a spawn tag nation comparison to | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index which we are doing a nation comparison with" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are doing a spawn tag nation comparison to" + } + }, + "@K[203]": "Returns if the global player index referenced passes the nation check criteria in the spawn tag object." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagSpawnLocation + +```lua +GameScript.Game.Player.GetPlayerSpawnTagSpawnLocation(arg1) +``` + +Источник: [Lua, строка 2644](../../luasense_decompiled.lua#L2644). Имена `argN` — placeholders реконструкции. + +Returns the location that a player will be spawned at from this spawn tag object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting a spawn location from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn location from" + } + }, + "@K[203]": "Returns the location that a player will be spawned at from this spawn tag object." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTagSpawnRotation + +```lua +GameScript.Game.Player.GetPlayerSpawnTagSpawnRotation(arg1) +``` + +Источник: [Lua, строка 2647](../../luasense_decompiled.lua#L2647). Имена `argN` — placeholders реконструкции. + +Returns the rotation that a player will be spawned at from this spawn tag object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting a spawn rotation from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting a spawn rotation from" + } + }, + "@K[203]": "Returns the rotation that a player will be spawned at from this spawn tag object." +} +``` + +
+ +## GameScript.Game.Player.GetPlayerSpawnTemplateIndex + +```lua +GameScript.Game.Player.GetPlayerSpawnTemplateIndex(arg1) +``` + +Источник: [Lua, строка 2650](../../luasense_decompiled.lua#L2650). Имена `argN` — placeholders реконструкции. + +Returns the index (starting from 1) in the Player Spawn Info of the current spawn template for the given player + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index for whose spawn template index we are getting | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are getting" + } + }, + "@K[203]": "Returns the index (starting from 1) in the Player Spawn Info of the current spawn template for the given player" +} +``` + +
+ +## GameScript.Game.Player.GetPossessingPlayerIndex + +```lua +GameScript.Game.Player.GetPossessingPlayerIndex(arg1) +``` + +Источник: [Lua, строка 2653](../../luasense_decompiled.lua#L2653). Имена `argN` — placeholders реконструкции. + +Return the player index of the player possessing the object if possessed by a player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are getting the possing player global player index for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are getting the possing player global player index for" + } + }, + "@K[203]": "Return the player index of the player possessing the object if possessed by a player." +} +``` + +
+ +## GameScript.Game.Player.GetPossessionDelay + +```lua +GameScript.Game.Player.GetPossessionDelay(arg1) +``` + +Источник: [Lua, строка 2656](../../luasense_decompiled.lua#L2656). Имена `argN` — placeholders реконструкции. + +Returns the possession delay that is set up for the possessed vehicle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Returns the possession delay that is set up for the possessed vehicle." +} +``` + +
+ +## GameScript.Game.Player.GetValidSpawnTagObjects + +```lua +GameScript.Game.Player.GetValidSpawnTagObjects(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2659](../../luasense_decompiled.lua#L2659). Имена `argN` — placeholders реконструкции. + +Gets the list of spawn tag objects that are valid for the player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index for which we're looking for valid spawn tags | +| 2.0 | numberOfPlayers | The number of players currently in the game | +| 3.0 | reuseExclusionDelta | How long must we wait before looking to reuse a spawn tag | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for which we're looking for valid spawn tags" + }, + "2.0": { + "@K[209]": "numberOfPlayers", + "@K[211]": "The number of players currently in the game" + }, + "3.0": { + "@K[209]": "reuseExclusionDelta", + "@K[211]": "How long must we wait before looking to reuse a spawn tag" + } + }, + "@K[203]": "Gets the list of spawn tag objects that are valid for the player." +} +``` + +
+ +## GameScript.Game.Player.HasPlayerCollectedObject + +```lua +GameScript.Game.Player.HasPlayerCollectedObject(arg1, arg2) +``` + +Источник: [Lua, строка 2662](../../luasense_decompiled.lua#L2662). Имена `argN` — placeholders реконструкции. + +Will return true if the local player has collected the collectible object in question. This function can only ever work on local players, as we do not have that kind of profile access on remote players. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | LocalPlayerIndex | The local player index of the player to check. | +| 2.0 | CollectibleID | The ID of the collectible object in question, as defined in global data | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "LocalPlayerIndex", + "@K[211]": "The local player index of the player to check." + }, + "2.0": { + "@K[209]": "CollectibleID", + "@K[211]": "The ID of the collectible object in question, as defined in global data" + } + }, + "@K[203]": "Will return true if the local player has collected the collectible object in question. This function can only ever work on local players, as we do not have that kind of profile access on remote players." +} +``` + +
+ +## GameScript.Game.Player.InhibitCurrentPossessionEnding + +```lua +GameScript.Game.Player.InhibitCurrentPossessionEnding(arg1, arg2) +``` + +Источник: [Lua, строка 2665](../../luasense_decompiled.lua#L2665). Имена `argN` — placeholders реконструкции. + +Inhibits ending possession for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a InhibitCurrentPossessionEnding(index, true) with a InhibitCurrentPossessionEnding(index, false). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | +| 2.0 | Inhibit | Whether we are inhibiting (true) or uninhibiting (false) ending the current possession | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "Inhibit", + "@K[211]": "Whether we are inhibiting (true) or uninhibiting (false) ending the current possession" + } + }, + "@K[203]": "Inhibits ending possession for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a InhibitCurrentPossessionEnding(index, true) with a InhibitCurrentPossessionEnding(index, false)." +} +``` + +
+ +## GameScript.Game.Player.IsActivePlayer + +```lua +GameScript.Game.Player.IsActivePlayer(arg1) +``` + +Источник: [Lua, строка 2668](../../luasense_decompiled.lua#L2668). Имена `argN` — placeholders реконструкции. + +Return if the player is currently active in a multiplayer game. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global player index which we are checking is active | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index which we are checking is active" + } + }, + "@K[203]": "Return if the player is currently active in a multiplayer game." +} +``` + +
+ +## GameScript.Game.Player.IsLocalPlayer + +```lua +GameScript.Game.Player.IsLocalPlayer(arg1) +``` + +Источник: [Lua, строка 2671](../../luasense_decompiled.lua#L2671). Имена `argN` — placeholders реконструкции. + +Return if the object is currently being controlled on this machine locally. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global player index which we are checking if controlled on local machine | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index which we are checking if controlled on local machine" + } + }, + "@K[203]": "Return if the object is currently being controlled on this machine locally." +} +``` + +
+ +## GameScript.Game.Player.IsPlayerControlled + +```lua +GameScript.Game.Player.IsPlayerControlled(arg1) +``` + +Источник: [Lua, строка 2674](../../luasense_decompiled.lua#L2674). Имена `argN` — placeholders реконструкции. + +Return if the object is currently being controlled by the player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are checking if player controlled | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are checking if player controlled" + } + }, + "@K[203]": "Return if the object is currently being controlled by the player." +} +``` + +
+ +## GameScript.Game.Player.IsPlayerFlashlightOn + +```lua +GameScript.Game.Player.IsPlayerFlashlightOn(arg1) +``` + +Источник: [Lua, строка 2677](../../luasense_decompiled.lua#L2677). Имена `argN` — placeholders реконструкции. + +Return if the player's flashlight is currently on. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global player index for which we are checking flashlight status. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global player index for which we are checking flashlight status." + } + }, + "@K[203]": "Return if the player's flashlight is currently on." +} +``` + +
+ +## GameScript.Game.Player.IsPlayerInState + +```lua +GameScript.Game.Player.IsPlayerInState(arg1, arg2) +``` + +Источник: [Lua, строка 2680](../../luasense_decompiled.lua#L2680). Имена `argN` — placeholders реконструкции. + +Checks to see if specified player is in a particular state + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index to check state | +| 2.0 | State | Global state index that is being checked against | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index to check state" + }, + "2.0": { + "@K[209]": "State", + "@K[211]": "Global state index that is being checked against" + } + }, + "@K[203]": "Checks to see if specified player is in a particular state" +} +``` + +
+ +## GameScript.Game.Player.PauseCurrentPossession + +```lua +GameScript.Game.Player.PauseCurrentPossession(arg1, arg2) +``` + +Источник: [Lua, строка 2683](../../luasense_decompiled.lua#L2683). Имена `argN` — placeholders реконструкции. + +Pauses the possession timer for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a PauseCurrentPossession(index, true) with a PauseCurrentPossessiong(index, false). Keep in mind that it is possible for the possession timer to pause from several different sources (scripts, entering vehicles, etc) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | +| 2.0 | Pause | Whether we are pausing (true) or resuming (false) the current possession timer | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "Pause", + "@K[211]": "Whether we are pausing (true) or resuming (false) the current possession timer" + } + }, + "@K[203]": "Pauses the possession timer for the given player, if they are actually possessing another object at the time. This function will silently fail if the player is not currently possessing something. It is important to write scripts that pair a PauseCurrentPossession(index, true) with a PauseCurrentPossessiong(index, false). Keep in mind that it is possible for the possession timer to pause from several different sources (scripts, entering vehicles, etc)" +} +``` + +
+ +## GameScript.Game.Player.ResetPossessionTimer + +```lua +GameScript.Game.Player.ResetPossessionTimer(arg1) +``` + +Источник: [Lua, строка 2686](../../luasense_decompiled.lua#L2686). Имена `argN` — placeholders реконструкции. + +Will give a player back their full possession timeout meter, if currently in possession of a body + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + } + }, + "@K[203]": "Will give a player back their full possession timeout meter, if currently in possession of a body" +} +``` + +
+ +## GameScript.Game.Player.RevivePlayer + +```lua +GameScript.Game.Player.RevivePlayer(arg1) +``` + +Источник: [Lua, строка 2689](../../luasense_decompiled.lua#L2689). Имена `argN` — placeholders реконструкции. + +Revives the given player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to revive. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to revive." + } + }, + "@K[203]": "Revives the given player." +} +``` + +
+ +## GameScript.Game.Player.RevivePlayerInstant + +```lua +GameScript.Game.Player.RevivePlayerInstant(arg1) +``` + +Источник: [Lua, строка 2692](../../luasense_decompiled.lua#L2692). Имена `argN` — placeholders реконструкции. + +Revives the given player without going through the 'Use' system. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to revive. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to revive." + } + }, + "@K[203]": "Revives the given player without going through the 'Use' system." +} +``` + +
+ +## GameScript.Game.Player.SetCheckpointLoad + +```lua +GameScript.Game.Player.SetCheckpointLoad(arg1, arg2) +``` + +Источник: [Lua, строка 2695](../../luasense_decompiled.lua#L2695). Имена `argN` — placeholders реконструкции. + +Changes the game behavior when the player presses A to respawn in campaign mode. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject on which we are changing this setting | +| 2.0 | bFail | Reload(true) or Respawn(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject on which we are changing this setting" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "Reload(true) or Respawn(false)" + } + }, + "@K[203]": "Changes the game behavior when the player presses A to respawn in campaign mode." +} +``` + +
+ +## GameScript.Game.Player.SetCrouch + +```lua +GameScript.Game.Player.SetCrouch(arg1, arg2) +``` + +Источник: [Lua, строка 2698](../../luasense_decompiled.lua#L2698). Имена `argN` — placeholders реконструкции. + +Forces the player to crouch. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerObject | The player object which that will crouch. | +| 2.0 | Crouch | Unused. Somebody please delete me. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerObject", + "@K[211]": "The player object which that will crouch." + }, + "2.0": { + "@K[209]": "Crouch", + "@K[211]": "Unused. Somebody please delete me." + } + }, + "@K[203]": "Forces the player to crouch." +} +``` + +
+ +## GameScript.Game.Player.SetFailedOnRespawn + +```lua +GameScript.Game.Player.SetFailedOnRespawn(arg1, arg2) +``` + +Источник: [Lua, строка 2701](../../luasense_decompiled.lua#L2701). Имена `argN` — placeholders реконструкции. + +Changes the game behavior when the player presses A to respawn in campaign mode. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject on which we are changing this setting | +| 2.0 | bFail | Reload(true) or Respawn(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject on which we are changing this setting" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "Reload(true) or Respawn(false)" + } + }, + "@K[203]": "Changes the game behavior when the player presses A to respawn in campaign mode." +} +``` + +
+ +## GameScript.Game.Player.SetLocalTetherTimeoutPeriod + +```lua +GameScript.Game.Player.SetLocalTetherTimeoutPeriod(arg1, arg2) +``` + +Источник: [Lua, строка 2704](../../luasense_decompiled.lua#L2704). Имена `argN` — placeholders реконструкции. + +Sets how long the timeout period is before tethering + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to tether. | +| 2.0 | Period | Number of seconds before tethering | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "Period", + "@K[211]": "Number of seconds before tethering" + } + }, + "@K[203]": "Sets how long the timeout period is before tethering" +} +``` + +
+ +## GameScript.Game.Player.SetLocalTetherWarningPct + +```lua +GameScript.Game.Player.SetLocalTetherWarningPct(arg1, arg2) +``` + +Источник: [Lua, строка 2707](../../luasense_decompiled.lua#L2707). Имена `argN` — placeholders реконструкции. + +Sets how high the warning level intensity is. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to tether. | +| 2.0 | Percent | Percentage from 0 to 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "Percent", + "@K[211]": "Percentage from 0 to 1" + } + }, + "@K[203]": "Sets how high the warning level intensity is." +} +``` + +
+ +## GameScript.Game.Player.SetLocalTetherZone + +```lua +GameScript.Game.Player.SetLocalTetherZone(arg1, arg2) +``` + +Источник: [Lua, строка 2710](../../luasense_decompiled.lua#L2710). Имена `argN` — placeholders реконструкции. + +Sets the tether zone in the player's tether component to allow the associated FX to be played. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to tether. | +| 2.0 | TetherZone | Use GameScript.TetherZone.XXXX | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + }, + "2.0": { + "@K[209]": "TetherZone", + "@K[211]": "Use GameScript.TetherZone.XXXX" + } + }, + "@K[203]": "Sets the tether zone in the player's tether component to allow the associated FX to be played." +} +``` + +
+ +## GameScript.Game.Player.SetMaxPossessionTime + +```lua +GameScript.Game.Player.SetMaxPossessionTime(arg1, arg2) +``` + +Источник: [Lua, строка 2713](../../luasense_decompiled.lua#L2713). Имена `argN` — placeholders реконструкции. + +Sets the possession time for the possessed vehicle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the possessing player. | +| 2.0 | InMaxPossessionTime | The New Maximum possession time for a vehicle. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the possessing player." + }, + "2.0": { + "@K[209]": "InMaxPossessionTime", + "@K[211]": "The New Maximum possession time for a vehicle." + } + }, + "@K[203]": "Sets the possession time for the possessed vehicle." +} +``` + +
+ +## GameScript.Game.Player.SetPlayerGameComplete + +```lua +GameScript.Game.Player.SetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 2716](../../luasense_decompiled.lua#L2716). Имена `argN` — placeholders реконструкции. + +Sets the "Game Completed" flag in the profile of the player. This function only works on local players. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player we want to set the "Game completed" flag on. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player we want to set the \"Game completed\" flag on." + } + }, + "@K[203]": "Sets the \"Game Completed\" flag in the profile of the player. This function only works on local players." +} +``` + +
+ +## GameScript.Game.Player.SetPlayerIndestructible + +```lua +GameScript.Game.Player.SetPlayerIndestructible(arg1, arg2) +``` + +Источник: [Lua, строка 2719](../../luasense_decompiled.lua#L2719). Имена `argN` — placeholders реконструкции. + +Sets the player to be indestructible or not + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index for whose spawn template index we are setting | +| 2.0 | indestructible | Is the player indestructible or not | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are setting" + }, + "2.0": { + "@K[209]": "indestructible", + "@K[211]": "Is the player indestructible or not" + } + }, + "@K[203]": "Sets the player to be indestructible or not" +} +``` + +
+ +## GameScript.Game.Player.SetPlayerRespawnTagIndexResponse + +```lua +GameScript.Game.Player.SetPlayerRespawnTagIndexResponse(arg1, arg2) +``` + +Источник: [Lua, строка 2722](../../luasense_decompiled.lua#L2722). Имена `argN` — placeholders реконструкции. + +Sets the spawn tag index that a player can use to respawn from after a request has been received to do so. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index which we are assigned a spawn tag index for | +| 2.0 | bFail | The spawn tag index assigned to respawn from | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index which we are assigned a spawn tag index for" + }, + "2.0": { + "@K[209]": "bFail", + "@K[211]": "The spawn tag index assigned to respawn from" + } + }, + "@K[203]": "Sets the spawn tag index that a player can use to respawn from after a request has been received to do so." +} +``` + +
+ +## GameScript.Game.Player.SetPlayerSpawnTemplateIndex + +```lua +GameScript.Game.Player.SetPlayerSpawnTemplateIndex(arg1, arg2) +``` + +Источник: [Lua, строка 2725](../../luasense_decompiled.lua#L2725). Имена `argN` — placeholders реконструкции. + +Returns the index in the Player Spawn Info of the current spawn template for the given player + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | globalPlayerIndex | The global player index for whose spawn template index we are setting | +| 2.0 | newIndex | The new spawn template index, starting from 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "globalPlayerIndex", + "@K[211]": "The global player index for whose spawn template index we are setting" + }, + "2.0": { + "@K[209]": "newIndex", + "@K[211]": "The new spawn template index, starting from 1" + } + }, + "@K[203]": "Returns the index in the Player Spawn Info of the current spawn template for the given player" +} +``` + +
+ +## GameScript.Game.Player.SetPossessionDelay + +```lua +GameScript.Game.Player.SetPossessionDelay(arg1, arg2) +``` + +Источник: [Lua, строка 2728](../../luasense_decompiled.lua#L2728). Имена `argN` — placeholders реконструкции. + +Sets the body to body delay for when you possess a body. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The player index of the player to change the delay on. | +| 2.0 | NewDelay | The New Body to Body possess delay. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The player index of the player to change the delay on." + }, + "2.0": { + "@K[209]": "NewDelay", + "@K[211]": "The New Body to Body possess delay." + } + }, + "@K[203]": "Sets the body to body delay for when you possess a body." +} +``` + +
+ +## GameScript.Game.Player.SetTetherSafeRadiusOverride + +```lua +GameScript.Game.Player.SetTetherSafeRadiusOverride(arg1, arg2) +``` + +Источник: [Lua, строка 2731](../../luasense_decompiled.lua#L2731). Имена `argN` — placeholders реконструкции. + +Overrides the normal radius based "Safe" distance for the current area + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player being tethered. | +| 2.0 | SafeRadius | The radius being set for the current area | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player being tethered." + }, + "2.0": { + "@K[209]": "SafeRadius", + "@K[211]": "The radius being set for the current area" + } + }, + "@K[203]": "Overrides the normal radius based \"Safe\" distance for the current area" +} +``` + +
+ +## GameScript.Game.Player.SetVelocityScale + +```lua +GameScript.Game.Player.SetVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 2734](../../luasense_decompiled.lua#L2734). Имена `argN` — placeholders реконструкции. + +Sets the velocity scale on the players region velocity scale component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerObject | The player object which that will have its velocity scaled. | +| 2.0 | VelocityScale | The amount to scale the player's velocity by. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerObject", + "@K[211]": "The player object which that will have its velocity scaled." + }, + "2.0": { + "@K[209]": "VelocityScale", + "@K[211]": "The amount to scale the player's velocity by." + } + }, + "@K[203]": "Sets the velocity scale on the players region velocity scale component." +} +``` + +
+ +## GameScript.Game.Player.TetherPlayer + +```lua +GameScript.Game.Player.TetherPlayer(arg1) +``` + +Источник: [Lua, строка 2737](../../luasense_decompiled.lua#L2737). Имена `argN` — placeholders реконструкции. + +Triggers the tether component the given player. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The global player index of the player to tether. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index of the player to tether." + } + }, + "@K[203]": "Triggers the tether component the given player." +} +``` + +
+ +## GameScript.Game.Player.TransferPlayerControl + +```lua +GameScript.Game.Player.TransferPlayerControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2740](../../luasense_decompiled.lua#L2740). Имена `argN` — placeholders реконструкции. + +Transfers player control from one object to another. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FromObject | The game object that currently has player control | +| 2.0 | ToObject | The game object that will receive player control | +| 3.0 | DeleteOldFromObject | Delete (true) or leave alone (false) old avatar | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FromObject", + "@K[211]": "The game object that currently has player control" + }, + "2.0": { + "@K[209]": "ToObject", + "@K[211]": "The game object that will receive player control" + }, + "3.0": { + "@K[209]": "DeleteOldFromObject", + "@K[211]": "Delete (true) or leave alone (false) old avatar" + } + }, + "@K[203]": "Transfers player control from one object to another." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Regions.md b/docs/reference/GameScript.Game.Regions.md new file mode 100644 index 0000000..51bb53e --- /dev/null +++ b/docs/reference/GameScript.Game.Regions.md @@ -0,0 +1,294 @@ +# GameScript.Game.Regions + +[Индекс](../API.md) + +## GameScript.Game.Regions.DistanceToEnd + +```lua +GameScript.Game.Regions.DistanceToEnd(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2743](../../luasense_decompiled.lua#L2743). Имена `argN` — placeholders реконструкции. + +Return distance from "TestObject" to the end plane of "TestRegion". Currently only valid for box regions. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RegionObject | Region to test against | +| 2.0 | TestObject | Object to calculate distance | +| 3.0 | Relative | If true the return value is 0-1 relative to the length of the region. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "Region to test against" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "Object to calculate distance" + }, + "3.0": { + "@K[209]": "Relative", + "@K[211]": "If true the return value is 0-1 relative to the length of the region." + } + }, + "@K[203]": "Return distance from \"TestObject\" to the end plane of \"TestRegion\". Currently only valid for box regions." +} +``` + +
+ +## GameScript.Game.Regions.GetNumberOfObjectsInRegionMonitor + +```lua +GameScript.Game.Regions.GetNumberOfObjectsInRegionMonitor(arg1) +``` + +Источник: [Lua, строка 2746](../../luasense_decompiled.lua#L2746). Имена `argN` — placeholders реконструкции. + +Return number of specified objects in region monitored by component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RegionMonitorObject | The object containing the region monitor to test | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RegionMonitorObject", + "@K[211]": "The object containing the region monitor to test" + } + }, + "@K[203]": "Return number of specified objects in region monitored by component." +} +``` + +
+ +## GameScript.Game.Regions.GetObjectsInRegion + +```lua +GameScript.Game.Regions.GetObjectsInRegion(arg1) +``` + +Источник: [Lua, строка 2749](../../luasense_decompiled.lua#L2749). Имена `argN` — placeholders реконструкции. + +Return a list of objects in a region + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The region for which we are checking contents | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region for which we are checking contents" + } + }, + "@K[203]": "Return a list of objects in a region" +} +``` + +
+ +## GameScript.Game.Regions.GetObjectsInRegionWithTag + +```lua +GameScript.Game.Regions.GetObjectsInRegionWithTag(arg1, arg2) +``` + +Источник: [Lua, строка 2752](../../luasense_decompiled.lua#L2752). Имена `argN` — placeholders реконструкции. + +Return a list of objects in a region with a particular tag + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The region for which we are checking contents | +| 2.0 | ObjectTag | The tag that for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The region for which we are checking contents" + }, + "2.0": { + "@K[209]": "ObjectTag", + "@K[211]": "The tag that for which we are checking" + } + }, + "@K[203]": "Return a list of objects in a region with a particular tag" +} +``` + +
+ +## GameScript.Game.Regions.GetRegionInfo + +```lua +GameScript.Game.Regions.GetRegionInfo(arg1) +``` + +Источник: [Lua, строка 2755](../../luasense_decompiled.lua#L2755). Имена `argN` — placeholders реконструкции. + +Return a table containing info on a region if the object has a region component. There is a type that matches the enum in GameScript.RegionType, GameScript.RegionType.Box or .Sphere or .Cylinder. Then based on the type you know to check regionInfo.height or .width or .depth or .radius + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object for which we are requesting region info | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object for which we are requesting region info" + } + }, + "@K[203]": "Return a table containing info on a region if the object has a region component. There is a type that matches the enum in GameScript.RegionType, GameScript.RegionType.Box or .Sphere or .Cylinder. Then based on the type you know to check regionInfo.height or .width or .depth or .radius" +} +``` + +
+ +## GameScript.Game.Regions.IsBoneInRegion + +```lua +GameScript.Game.Regions.IsBoneInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2758](../../luasense_decompiled.lua#L2758). Имена `argN` — placeholders реконструкции. + +Returns true or false based on whether the bone specified inside TestObject is inside region of the RegionObject. This is the slowest region test. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TestObject | The object we are testing | +| 2.0 | BoneName | The name of the bone inside the object | +| 3.0 | RegionObject | The region in question | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TestObject", + "@K[211]": "The object we are testing" + }, + "2.0": { + "@K[209]": "BoneName", + "@K[211]": "The name of the bone inside the object" + }, + "3.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region in question" + } + }, + "@K[203]": "Returns true or false based on whether the bone specified inside TestObject is inside region of the RegionObject. This is the slowest region test." +} +``` + +
+ +## GameScript.Game.Regions.IsCenterOfMassInRegion + +```lua +GameScript.Game.Regions.IsCenterOfMassInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 2761](../../luasense_decompiled.lua#L2761). Имена `argN` — placeholders реконструкции. + +Returns true or false based on whether the TestObject's center-of-mass is inside region of the RegionObject. This is one of the slower region tests. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TestObject | The object we are testing | +| 2.0 | RegionObject | The region in question | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TestObject", + "@K[211]": "The object we are testing" + }, + "2.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region in question" + } + }, + "@K[203]": "Returns true or false based on whether the TestObject's center-of-mass is inside region of the RegionObject. This is one of the slower region tests." +} +``` + +
+ +## GameScript.Game.Regions.IsInRegion + +```lua +GameScript.Game.Regions.IsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 2764](../../luasense_decompiled.lua#L2764). Имена `argN` — placeholders реконструкции. + +Return whether "TestObject" is in "TestRegion". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RegionObject | The region to test against | +| 2.0 | TestObject | The object to test against the region | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RegionObject", + "@K[211]": "The region to test against" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "The object to test against the region" + } + }, + "@K[203]": "Return whether \"TestObject\" is in \"TestRegion\"." +} +``` + +
diff --git a/docs/reference/GameScript.Game.Sets.md b/docs/reference/GameScript.Game.Sets.md new file mode 100644 index 0000000..01411a8 --- /dev/null +++ b/docs/reference/GameScript.Game.Sets.md @@ -0,0 +1,210 @@ +# GameScript.Game.Sets + +[Индекс](../API.md) + +## GameScript.Game.Sets.AddObjectToSet + +```lua +GameScript.Game.Sets.AddObjectToSet(arg1, arg2) +``` + +Источник: [Lua, строка 2872](../../luasense_decompiled.lua#L2872). Имена `argN` — placeholders реконструкции. + +Check if "SetObject" has a Set Component, and if so, add "Object". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The empireObject for which we are examining for a Set Component | +| 2.0 | Object | The empireObject which we are adding to the set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject which we are adding to the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, add \"Object\"." +} +``` + +
+ +## GameScript.Game.Sets.DoesSetContainsObject + +```lua +GameScript.Game.Sets.DoesSetContainsObject(arg1, arg2) +``` + +Источник: [Lua, строка 2875](../../luasense_decompiled.lua#L2875). Имена `argN` — placeholders реконструкции. + +Check if "SetObject" has a Set Component, and if so, does it contain "TestObject". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The empireObject for which we are examining for a Set Component | +| 2.0 | TestObject | The empireObject which we are seeing if it is in the set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "TestObject", + "@K[211]": "The empireObject which we are seeing if it is in the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, does it contain \"TestObject\"." +} +``` + +
+ +## GameScript.Game.Sets.GetNumObjectsInSet + +```lua +GameScript.Game.Sets.GetNumObjectsInSet(arg1) +``` + +Источник: [Lua, строка 2878](../../luasense_decompiled.lua#L2878). Имена `argN` — placeholders реконструкции. + +If "SetObject" has a Set Component, get the number of objects in the set. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The empireObject for which we are examining for a Set Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "If \"SetObject\" has a Set Component, get the number of objects in the set." +} +``` + +
+ +## GameScript.Game.Sets.GetObjectsInSet + +```lua +GameScript.Game.Sets.GetObjectsInSet(arg1) +``` + +Источник: [Lua, строка 2881](../../luasense_decompiled.lua#L2881). Имена `argN` — placeholders реконструкции. + +Check if "SetObject" has a Set Component, and if so, get a list of objects in that set. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The empireObject for which we are examining for a Set Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, get a list of objects in that set." +} +``` + +
+ +## GameScript.Game.Sets.HasSetComponent + +```lua +GameScript.Game.Sets.HasSetComponent(arg1) +``` + +Источник: [Lua, строка 2884](../../luasense_decompiled.lua#L2884). Имена `argN` — placeholders реконструкции. + +Check if "EmpireObject" has a Set Component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are examining for a Set Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + } + }, + "@K[203]": "Check if \"EmpireObject\" has a Set Component." +} +``` + +
+ +## GameScript.Game.Sets.RemoveObjectFromSet + +```lua +GameScript.Game.Sets.RemoveObjectFromSet(arg1, arg2) +``` + +Источник: [Lua, строка 2887](../../luasense_decompiled.lua#L2887). Имена `argN` — placeholders реконструкции. + +Check if "SetObject" has a Set Component, and if so, remove "Object". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SetObject | The empireObject for which we are examining for a Set Component | +| 2.0 | Object | The empireObject which we are removing from the set | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SetObject", + "@K[211]": "The empireObject for which we are examining for a Set Component" + }, + "2.0": { + "@K[209]": "Object", + "@K[211]": "The empireObject which we are removing from the set" + } + }, + "@K[203]": "Check if \"SetObject\" has a Set Component, and if so, remove \"Object\"." +} +``` + +
diff --git a/docs/reference/GameScript.Game.md b/docs/reference/GameScript.Game.md new file mode 100644 index 0000000..f55d64c --- /dev/null +++ b/docs/reference/GameScript.Game.md @@ -0,0 +1,5604 @@ +# GameScript.Game + +[Индекс](../API.md) + +## GameScript.Game.AdjustPossessionVisionModeForCinema + +```lua +GameScript.Game.AdjustPossessionVisionModeForCinema() +``` + +Источник: [Lua, строка 1788](../../luasense_decompiled.lua#L1788). Имена `argN` — placeholders реконструкции. + +Allows adjustment of the currently controlled object's camera vision mode + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Allows adjustment of the currently controlled object's camera vision mode" +} +``` + +
+ +## GameScript.Game.ApplyStatusEffect + +```lua +GameScript.Game.ApplyStatusEffect(arg1, arg2) +``` + +Источник: [Lua, строка 1791](../../luasense_decompiled.lua#L1791). Имена `argN` — placeholders реконструкции. + +Applies a status effect to a specific object in the world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EffectObject | The object with the status to apple to the other object. | +| 2.0 | ObjectToAffect | The object have the status affect applied to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EffectObject", + "@K[211]": "The object with the status to apple to the other object." + }, + "2.0": { + "@K[209]": "ObjectToAffect", + "@K[211]": "The object have the status affect applied to." + } + }, + "@K[203]": "Applies a status effect to a specific object in the world." +} +``` + +
+ +## GameScript.Game.AreAllRequiredWorldsSynchronized + +```lua +GameScript.Game.AreAllRequiredWorldsSynchronized() +``` + +Источник: [Lua, строка 1794](../../luasense_decompiled.lua#L1794). Имена `argN` — placeholders реконструкции. + +Returns true if all of the worlds required by the last streaming trigger have been synchronized across all machines in the game and are ready to be fully used. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if all of the worlds required by the last streaming trigger have been synchronized across all machines in the game and are ready to be fully used." +} +``` + +
+ +## GameScript.Game.AreAllies + +```lua +GameScript.Game.AreAllies(arg1, arg2) +``` + +Источник: [Lua, строка 1797](../../luasense_decompiled.lua#L1797). Имена `argN` — placeholders реконструкции. + +Checks nation settings if the two objects are alliesSee also: IsNeutral(), AreEnemies(), CopyNation() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Object1 | First Object we are comparing | +| 2.0 | Object2 | Second Object we are comparing | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Object1", + "@K[211]": "First Object we are comparing" + }, + "2.0": { + "@K[209]": "Object2", + "@K[211]": "Second Object we are comparing" + } + }, + "@K[203]": "Checks nation settings if the two objects are alliesSee also: IsNeutral(), AreEnemies(), CopyNation()" +} +``` + +
+ +## GameScript.Game.AreEnemies + +```lua +GameScript.Game.AreEnemies(arg1, arg2) +``` + +Источник: [Lua, строка 1800](../../luasense_decompiled.lua#L1800). Имена `argN` — placeholders реконструкции. + +Checks nation settings to if the two objects are enemies. See also: AreAllies(),IsNeutral(), CopyNation() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Object1 | First Object we are comparing | +| 2.0 | Object2 | Second Object we are comparing | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Object1", + "@K[211]": "First Object we are comparing" + }, + "2.0": { + "@K[209]": "Object2", + "@K[211]": "Second Object we are comparing" + } + }, + "@K[203]": "Checks nation settings to if the two objects are enemies. See also: AreAllies(),IsNeutral(), CopyNation()" +} +``` + +
+ +## GameScript.Game.AreWorldsSynchronized + +```lua +GameScript.Game.AreWorldsSynchronized(arg1) +``` + +Источник: [Lua, строка 1803](../../luasense_decompiled.lua#L1803). Имена `argN` — placeholders реконструкции. + +Returns true if all of the worlds specified have been required and have been synchronized across all machines in the game and are ready to be fully used. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WorldsToCheck | The list of worlds (by their script variable name) to check if synchronized | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WorldsToCheck", + "@K[211]": "The list of worlds (by their script variable name) to check if synchronized" + } + }, + "@K[203]": "Returns true if all of the worlds specified have been required and have been synchronized across all machines in the game and are ready to be fully used." +} +``` + +
+ +## GameScript.Game.AttachToObject + +```lua +GameScript.Game.AttachToObject(arg1, arg2) +``` + +Источник: [Lua, строка 1806](../../luasense_decompiled.lua#L1806). Имена `argN` — placeholders реконструкции. + +Take an object that has an attachment component, "ObjectToAttach" and attach it "EmpireObject". The relative position and rotation between the two objects at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in "Queries" to obtain the position of the objects, sceneNodes or rigid bodies. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to which we are attaching | +| 2.0 | ObjectToAttach | The object that is being attached. Needs an attachment component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the two objects at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." +} +``` + +
+ +## GameScript.Game.AttachToRigidBody + +```lua +GameScript.Game.AttachToRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1809](../../luasense_decompiled.lua#L1809). Имена `argN` — placeholders реконструкции. + +Take an object that has an attachment component, "ObjectToAttach" and attach it "EmpireObject". The relative position and rotation between the object to attach and the rigid body at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in "Queries" to obtain the position of the objects, sceneNodes or rigid bodies. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to which we are attaching | +| 2.0 | SceneNodeName | The scene node in the object to which we are attaching | +| 3.0 | ObjectToAttach | The object that is being attached. Needs an attachment component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object to which we are attaching" + }, + "3.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the object to attach and the rigid body at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." +} +``` + +
+ +## GameScript.Game.AttachToSceneNode + +```lua +GameScript.Game.AttachToSceneNode(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1812](../../luasense_decompiled.lua#L1812). Имена `argN` — placeholders реконструкции. + +Take an object that has an attachment component, "ObjectToAttach" and attach it "EmpireObject". The relative position and rotation between the object to attach and the scene node at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in "Queries" to obtain the position of the objects, sceneNodes or rigid bodies. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to which we are attaching | +| 2.0 | SceneNodeName | The scene node in the object to which we are attaching | +| 3.0 | ObjectToAttach | The object that is being attached. Needs an attachment component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are attaching" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object to which we are attaching" + }, + "3.0": { + "@K[209]": "ObjectToAttach", + "@K[211]": "The object that is being attached. Needs an attachment component." + } + }, + "@K[203]": "Take an object that has an attachment component, \"ObjectToAttach\" and attach it \"EmpireObject\". The relative position and rotation between the object to attach and the scene node at the time of this call is maintained until detached. It is appropriate to spawn or teleport the object to attach to the proper position in the world. There are calls in \"Queries\" to obtain the position of the objects, sceneNodes or rigid bodies." +} +``` + +
+ +## GameScript.Game.AwardAchievementOccurrence + +```lua +GameScript.Game.AwardAchievementOccurrence(arg1, arg2) +``` + +Источник: [Lua, строка 1815](../../luasense_decompiled.lua#L1815). Имена `argN` — placeholders реконструкции. + +Rewards the given player an occurrence of the given achievement. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1. This function should only be called on the host, and will be synced to clients. It will do nothing if called directly on the client. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global index of the player that is being rewarded | +| 2.0 | ScriptAchievementIndex | The index of the achievement that is being rewarded | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player that is being rewarded" + }, + "2.0": { + "@K[209]": "ScriptAchievementIndex", + "@K[211]": "The index of the achievement that is being rewarded" + } + }, + "@K[203]": "Rewards the given player an occurrence of the given achievement. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1. This function should only be called on the host, and will be synced to clients. It will do nothing if called directly on the client." +} +``` + +
+ +## GameScript.Game.BroadcastMissionEventMessage + +```lua +GameScript.Game.BroadcastMissionEventMessage(arg1, arg2) +``` + +Источник: [Lua, строка 1818](../../luasense_decompiled.lua#L1818). Имена `argN` — placeholders реконструкции. + +Broadcast a mission-specific event message. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the message to. | +| 2.0 | TextId | The text ID of the message. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "TextId", + "@K[211]": "The text ID of the message." + } + }, + "@K[203]": "Broadcast a mission-specific event message." +} +``` + +
+ +## GameScript.Game.CompleteCurrentLevel + +```lua +GameScript.Game.CompleteCurrentLevel(arg1) +``` + +Источник: [Lua, строка 1887](../../luasense_decompiled.lua#L1887). Имена `argN` — placeholders реконструкции. + +Marks the current level as completed, used for awarding achievements. This function must be called on host and clients. See also: SetCurrentLevel() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | GlobalPlayerIndex | The index of the player who has completed the current level | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The index of the player who has completed the current level" + } + }, + "@K[203]": "Marks the current level as completed, used for awarding achievements. This function must be called on host and clients. See also: SetCurrentLevel()" +} +``` + +
+ +## GameScript.Game.CopyNation + +```lua +GameScript.Game.CopyNation(arg1, arg2) +``` + +Источник: [Lua, строка 1890](../../luasense_decompiled.lua#L1890). Имена `argN` — placeholders реконструкции. + +Copy Nation from "SourceObject" to "DestinationObject".See also: IsNeutral(), AreAllies(), AreEnemies() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SourceObject | The object whose nation we are copying | +| 2.0 | DestinationObject | The object to which we are copying a nation | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SourceObject", + "@K[211]": "The object whose nation we are copying" + }, + "2.0": { + "@K[209]": "DestinationObject", + "@K[211]": "The object to which we are copying a nation" + } + }, + "@K[203]": "Copy Nation from \"SourceObject\" to \"DestinationObject\".See also: IsNeutral(), AreAllies(), AreEnemies()" +} +``` + +
+ +## GameScript.Game.Damage + +```lua +GameScript.Game.Damage(arg1, arg2) +``` + +Источник: [Lua, строка 1893](../../luasense_decompiled.lua#L1893). Имена `argN` — placeholders реконструкции. + +Send a message to damage the object. See also DamageWithInfo() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are damaging | +| 2.0 | DamageAmount | How much damage to attempt. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are damaging" + }, + "2.0": { + "@K[209]": "DamageAmount", + "@K[211]": "How much damage to attempt." + } + }, + "@K[203]": "Send a message to damage the object. See also DamageWithInfo()" +} +``` + +
+ +## GameScript.Game.DamageWithInfo + +```lua +GameScript.Game.DamageWithInfo(arg1, arg2) +``` + +Источник: [Lua, строка 1896](../../luasense_decompiled.lua#L1896). Имена `argN` — placeholders реконструкции. + +Send a message to damage the object. See also Damage() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are damaging | +| 2.0 | DamageInfo | Table with a variety of info options for damaging:
"damage" - amount of damage to cause
"impactX", "impactY", "impactZ" - position of the "impact" of the damage
"sourceX", "sourceY", "sourceZ" - position of the "source" of the damage
"type" - the damage type
"weaponType" - the weapon type of the damage
"hitReactionProbability" - the probability [0,1] of a hit reaction by the target. May require setting a damage or weapon type
"sourceObject" - object that is the source of the damage
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are damaging" + }, + "2.0": { + "@K[209]": "DamageInfo", + "@K[211]": "Table with a variety of info options for damaging:\n\"damage\" - amount of damage to cause\n\"impactX\", \"impactY\", \"impactZ\" - position of the \"impact\" of the damage\n\"sourceX\", \"sourceY\", \"sourceZ\" - position of the \"source\" of the damage\n\"type\" - the damage type\n\"weaponType\" - the weapon type of the damage\n\"hitReactionProbability\" - the probability [0,1] of a hit reaction by the target. May require setting a damage or weapon type\n\"sourceObject\" - object that is the source of the damage\n" + } + }, + "@K[203]": "Send a message to damage the object. See also Damage()" +} +``` + +
+ +## GameScript.Game.DataMinerCheckpoint + +```lua +GameScript.Game.DataMinerCheckpoint() +``` + +Источник: [Lua, строка 1899](../../luasense_decompiled.lua#L1899). Имена `argN` — placeholders реконструкции. + +Sends a dataminer checkpoint message with the given name + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends a dataminer checkpoint message with the given name" +} +``` + +
+ +## GameScript.Game.Detach + +```lua +GameScript.Game.Detach(arg1) +``` + +Источник: [Lua, строка 1926](../../luasense_decompiled.lua#L1926). Имена `argN` — placeholders реконструкции. + +Detaches the specified object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to detach | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to detach" + } + }, + "@K[203]": "Detaches the specified object." +} +``` + +
+ +## GameScript.Game.DisplayText + +```lua +GameScript.Game.DisplayText(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 1929](../../luasense_decompiled.lua#L1929). Имена `argN` — placeholders реконструкции. + +Display text in the UI. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TextDisplayInfo | Information about the text to be displayed | +| 2.0 | GlobalPlayerIndex | The global player index for the local player to show the text | +| 3.0 | ExcusivelyOwned | Is this display request exclusively controlled? | +| 4.0 | EmpireObject | The empireObject for which it is exclusively owned by | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TextDisplayInfo", + "@K[211]": "Information about the text to be displayed" + }, + "2.0": { + "@K[209]": "GlobalPlayerIndex", + "@K[211]": "The global player index for the local player to show the text" + }, + "3.0": { + "@K[209]": "ExcusivelyOwned", + "@K[211]": "Is this display request exclusively controlled?" + }, + "4.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which it is exclusively owned by" + } + }, + "@K[203]": "Display text in the UI." +} +``` + +
+ +## GameScript.Game.DoesPosRotExist + +```lua +GameScript.Game.DoesPosRotExist(arg1) +``` + +Источник: [Lua, строка 1932](../../luasense_decompiled.lua#L1932). Имена `argN` — placeholders реконструкции. + +Returns if an object has a posRot Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + } + }, + "@K[203]": "Returns if an object has a posRot Component" +} +``` + +
+ +## GameScript.Game.DoesSceneNodeExist + +```lua +GameScript.Game.DoesSceneNodeExist(arg1, arg2) +``` + +Источник: [Lua, строка 1935](../../luasense_decompiled.lua#L1935). Имена `argN` — placeholders реконструкции. + +Returns if a scene node named "SceneNodeName" exists in this object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking | +| 2.0 | SceneNodeName | The name of the scene node for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are checking" + } + }, + "@K[203]": "Returns if a scene node named \"SceneNodeName\" exists in this object." +} +``` + +
+ +## GameScript.Game.Drop + +```lua +GameScript.Game.Drop(arg1) +``` + +Источник: [Lua, строка 1968](../../luasense_decompiled.lua#L1968). Имена `argN` — placeholders реконструкции. + +Drops the given object from its respective inventory. NOTE: due to some wackiness in how we handle inventories in multiplayer, DO NOT write scripts/logics that rely on the existence of an object that is dropped using this function. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ObjectToDrop | The object to drop | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ObjectToDrop", + "@K[211]": "The object to drop" + } + }, + "@K[203]": "Drops the given object from its respective inventory. NOTE: due to some wackiness in how we handle inventories in multiplayer, DO NOT write scripts/logics that rely on the existence of an object that is dropped using this function." +} +``` + +
+ +## GameScript.Game.EnableAllEnableables + +```lua +GameScript.Game.EnableAllEnableables(arg1, arg2) +``` + +Источник: [Lua, строка 1971](../../luasense_decompiled.lua#L1971). Имена `argN` — placeholders реконструкции. + +Enable or disable components in this object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are enabling/disabling | +| 2.0 | bEnable | Enable(true) or disable(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable components in this object" +} +``` + +
+ +## GameScript.Game.EnableAllUsables + +```lua +GameScript.Game.EnableAllUsables(arg1, arg2) +``` + +Источник: [Lua, строка 1974](../../luasense_decompiled.lua#L1974). Имена `argN` — placeholders реконструкции. + +Enable or disable Usable components in this object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are enabling/disabling | +| 2.0 | bEnable | Enable(true) or disable(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are enabling/disabling" + }, + "2.0": { + "@K[209]": "bEnable", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable Usable components in this object" +} +``` + +
+ +## GameScript.Game.EnableComponent + +```lua +GameScript.Game.EnableComponent(arg1, arg2) +``` + +Источник: [Lua, строка 1977](../../luasense_decompiled.lua#L1977). Имена `argN` — placeholders реконструкции. + +Does the same type of enable or disable as Enable/Disable Component does + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | Enable | True - enables this component, False - disables | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "True - enables this component, False - disables" + } + }, + "@K[203]": "Does the same type of enable or disable as Enable/Disable Component does" +} +``` + +
+ +## GameScript.Game.EnableGlowRendering + +```lua +GameScript.Game.EnableGlowRendering(arg1, arg2) +``` + +Источник: [Lua, строка 1980](../../luasense_decompiled.lua#L1980). Имена `argN` — placeholders реконструкции. + +Enables or disables controller input. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | Set to true to enable glow rendering input; set to false to disable it. | +| 2.0 | PlayerIndex | Index of the player whose glow rendering we want to enable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "Set to true to enable glow rendering input; set to false to disable it." + }, + "2.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index of the player whose glow rendering we want to enable" + } + }, + "@K[203]": "Enables or disables controller input." +} +``` + +
+ +## GameScript.Game.EnableHitPointPriority + +```lua +GameScript.Game.EnableHitPointPriority(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 1983](../../luasense_decompiled.lua#L1983). Имена `argN` — placeholders реконструкции. + +Disable a Hit Point component to remove it from the active list + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are searching for a CreateObjectComponent. | +| 2.0 | Priority | The slot number as defined in HitPointControllerComponent | +| 3.0 | Enable | False - stops this level from being considered as part of the total hit points | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a CreateObjectComponent." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "The slot number as defined in HitPointControllerComponent" + }, + "3.0": { + "@K[209]": "Enable", + "@K[211]": "False - stops this level from being considered as part of the total hit points" + } + }, + "@K[203]": "Disable a Hit Point component to remove it from the active list" +} +``` + +
+ +## GameScript.Game.EnableInput + +```lua +GameScript.Game.EnableInput(arg1) +``` + +Источник: [Lua, строка 1986](../../luasense_decompiled.lua#L1986). Имена `argN` — placeholders реконструкции. + +Enables or disables controller input. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Enable | Set to true to enable controller input; set to false to disable it. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Enable", + "@K[211]": "Set to true to enable controller input; set to false to disable it." + } + }, + "@K[203]": "Enables or disables controller input." +} +``` + +
+ +## GameScript.Game.EnableObjectInput + +```lua +GameScript.Game.EnableObjectInput(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 1989](../../luasense_decompiled.lua#L1989). Имена `argN` — placeholders реконструкции. + +Enables or disables controller input. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing IPlayerComponent | +| 2.0 | EnableHeading | Set to true to enable heading input; set to false to disable it. | +| 3.0 | EnablePitch | Set to true to enable pitch input; set to false to disable it. | +| 4.0 | EnableMovement | Set to true to enable movement input; set to false to disable it. | +| 5.0 | EnableOther | Set to true to enable other input; set to false to disable it. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing IPlayerComponent" + }, + "2.0": { + "@K[209]": "EnableHeading", + "@K[211]": "Set to true to enable heading input; set to false to disable it." + }, + "3.0": { + "@K[209]": "EnablePitch", + "@K[211]": "Set to true to enable pitch input; set to false to disable it." + }, + "4.0": { + "@K[209]": "EnableMovement", + "@K[211]": "Set to true to enable movement input; set to false to disable it." + }, + "5.0": { + "@K[209]": "EnableOther", + "@K[211]": "Set to true to enable other input; set to false to disable it." + } + }, + "@K[203]": "Enables or disables controller input." +} +``` + +
+ +## GameScript.Game.EnableVFXAnchor + +```lua +GameScript.Game.EnableVFXAnchor(arg1, arg2) +``` + +Источник: [Lua, строка 1992](../../luasense_decompiled.lua#L1992). Имена `argN` — placeholders реконструкции. + +Start/Stops a VFXAnchorComponent from emitting + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are searching for a VFXAnchor Component. | +| 2.0 | Enable | True - Causes a VFXAnchorComponent to start emitting | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a VFXAnchor Component." + }, + "2.0": { + "@K[209]": "Enable", + "@K[211]": "True - Causes a VFXAnchorComponent to start emitting" + } + }, + "@K[203]": "Start/Stops a VFXAnchorComponent from emitting" +} +``` + +
+ +## GameScript.Game.ForceRiderIntoVehicle + +```lua +GameScript.Game.ForceRiderIntoVehicle(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2034](../../luasense_decompiled.lua#L2034). Имена `argN` — placeholders реконструкции. + +Forces an rider object to ride a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RiderObject | The object that we are forcing to ride the vehicle | +| 2.0 | VehicleObject | The object that we are forcing the rider to ride | +| 3.0 | nInvGroup | Inventory group to force the rider into, defaults to zero. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "nInvGroup", + "@K[211]": "Inventory group to force the rider into, defaults to zero." + } + }, + "@K[203]": "Forces an rider object to ride a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component" +} +``` + +
+ +## GameScript.Game.ForceRiderOutOfVehicle + +```lua +GameScript.Game.ForceRiderOutOfVehicle(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2037](../../luasense_decompiled.lua#L2037). Имена `argN` — placeholders реконструкции. + +Forces an rider object to exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RiderObject | The object that we are forcing to ride the vehicle | +| 2.0 | VehicleObject | The object that we are forcing the rider to ride | +| 3.0 | bSkipExitAnim | Skip entry/exit animation (true) or play them (false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "bSkipExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component" +} +``` + +
+ +## GameScript.Game.ForceRiderVehicleState + +```lua +GameScript.Game.ForceRiderVehicleState(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2040](../../luasense_decompiled.lua#L2040). Имена `argN` — placeholders реконструкции. + +Forces an rider object to ride or exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component. Includes parameters to start/stop riding and skip entry/exit animations. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RiderObject | The object that we are forcing to ride the vehicle | +| 2.0 | VehicleObject | The object that we are forcing the rider to ride | +| 3.0 | bStartRiding | Start riding (true) or stop riding (false) | +| 4.0 | bSkipEnterExitAnim | Skip entry/exit animation (true) or play them (false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "VehicleObject", + "@K[211]": "The object that we are forcing the rider to ride" + }, + "3.0": { + "@K[209]": "bStartRiding", + "@K[211]": "Start riding (true) or stop riding (false)" + }, + "4.0": { + "@K[209]": "bSkipEnterExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to ride or exit a vehicle object, assuming that the rider has a Rider Component and the vehicle has a Rider Inventory Component. Includes parameters to start/stop riding and skip entry/exit animations." +} +``` + +
+ +## GameScript.Game.ForceStopRiding + +```lua +GameScript.Game.ForceStopRiding(arg1, arg2) +``` + +Источник: [Lua, строка 2043](../../luasense_decompiled.lua#L2043). Имена `argN` — placeholders реконструкции. + +Forces an rider object to exit its vehicle. Does the same thing as ForceRiderOutOfVehicle, but does not require a vehicle object handle. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | RiderObject | The object that we are forcing to ride the vehicle | +| 2.0 | bSkipExitAnim | Skip entry/exit animation (true) or play them (false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "RiderObject", + "@K[211]": "The object that we are forcing to ride the vehicle" + }, + "2.0": { + "@K[209]": "bSkipExitAnim", + "@K[211]": "Skip entry/exit animation (true) or play them (false)" + } + }, + "@K[203]": "Forces an rider object to exit its vehicle. Does the same thing as ForceRiderOutOfVehicle, but does not require a vehicle object handle." +} +``` + +
+ +## GameScript.Game.GetActiveDestructibleObject + +```lua +GameScript.Game.GetActiveDestructibleObject(arg1) +``` + +Источник: [Lua, строка 2046](../../luasense_decompiled.lua#L2046). Имена `argN` — placeholders реконструкции. + +Returns the current object active in the destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the current object active in the destructible" +} +``` + +
+ +## GameScript.Game.GetAllDestructibleObjects + +```lua +GameScript.Game.GetAllDestructibleObjects(arg1) +``` + +Источник: [Lua, строка 2049](../../luasense_decompiled.lua#L2049). Имена `argN` — placeholders реконструкции. + +Returns all the objects part of a destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns all the objects part of a destructible" +} +``` + +
+ +## GameScript.Game.GetAnimationVariable + +```lua +GameScript.Game.GetAnimationVariable(arg1, arg2) +``` + +Источник: [Lua, строка 2052](../../luasense_decompiled.lua#L2052). Имена `argN` — placeholders реконструкции. + +Return the value of the animation variable that matches "AnimationVariable" + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are querying for the animation variable | +| 2.0 | AnimationVariable | The name of animation variable of which we want the value | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are querying for the animation variable" + }, + "2.0": { + "@K[209]": "AnimationVariable", + "@K[211]": "The name of animation variable of which we want the value" + } + }, + "@K[203]": "Return the value of the animation variable that matches \"AnimationVariable\"" +} +``` + +
+ +## GameScript.Game.GetDamageHistory + +```lua +GameScript.Game.GetDamageHistory(arg1) +``` + +Источник: [Lua, строка 2055](../../luasense_decompiled.lua#L2055). Имена `argN` — placeholders реконструкции. + +Returns a table of the object's damage history, where entry in the table is a table itself with two fields: "playerIndex" (the index of the player that has damaged the object) and "damage" (the amount of damage dealt by the player). Damage history can only be grabbed from objects that have Hit Point Controller components. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose damage history we are retrieving. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose damage history we are retrieving." + } + }, + "@K[203]": "Returns a table of the object's damage history, where entry in the table is a table itself with two fields: \"playerIndex\" (the index of the player that has damaged the object) and \"damage\" (the amount of damage dealt by the player). Damage history can only be grabbed from objects that have Hit Point Controller components." +} +``` + +
+ +## GameScript.Game.GetDestructibleCurrentState + +```lua +GameScript.Game.GetDestructibleCurrentState(arg1) +``` + +Источник: [Lua, строка 2058](../../luasense_decompiled.lua#L2058). Имена `argN` — placeholders реконструкции. + +Returns the current state of the destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the current state of the destructible" +} +``` + +
+ +## GameScript.Game.GetDestructibleFinalState + +```lua +GameScript.Game.GetDestructibleFinalState(arg1) +``` + +Источник: [Lua, строка 2061](../../luasense_decompiled.lua#L2061). Имена `argN` — placeholders реконструкции. + +Returns the final state of the destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the final state of the destructible" +} +``` + +
+ +## GameScript.Game.GetDestructibleInitialState + +```lua +GameScript.Game.GetDestructibleInitialState(arg1) +``` + +Источник: [Lua, строка 2064](../../luasense_decompiled.lua#L2064). Имена `argN` — placeholders реконструкции. + +Returns the initial of the destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the initial of the destructible" +} +``` + +
+ +## GameScript.Game.GetDestructibleObjectHealthPercent + +```lua +GameScript.Game.GetDestructibleObjectHealthPercent(arg1) +``` + +Источник: [Lua, строка 2067](../../luasense_decompiled.lua#L2067). Имена `argN` — placeholders реконструкции. + +Returns the health percent of the destructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns the health percent of the destructible" +} +``` + +
+ +## GameScript.Game.GetDifficulty + +```lua +GameScript.Game.GetDifficulty() +``` + +Источник: [Lua, строка 2070](../../luasense_decompiled.lua#L2070). Имена `argN` — placeholders реконструкции. + +Returns the game's current difficulty level, starting from 1. If there is no Difficulty Component in the Global Data object, then this function will throw a red screen and return 0 + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns the game's current difficulty level, starting from 1. If there is no Difficulty Component in the Global Data object, then this function will throw a red screen and return 0" +} +``` + +
+ +## GameScript.Game.GetEnergyLevelPercent + +```lua +GameScript.Game.GetEnergyLevelPercent(arg1) +``` + +Источник: [Lua, строка 2073](../../luasense_decompiled.lua#L2073). Имена `argN` — placeholders реконструкции. + +Checks an object for its current energy level percent [0,1], returning 0 if there is no Energy Component. WARNING: If there's more than one energy component (as on Fettel), the 'first' one will be returned, which isn't specifically defined. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with an Energy Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with an Energy Component" + } + }, + "@K[203]": "Checks an object for its current energy level percent [0,1], returning 0 if there is no Energy Component. WARNING: If there's more than one energy component (as on Fettel), the 'first' one will be returned, which isn't specifically defined." +} +``` + +
+ +## GameScript.Game.GetEnvironmentalEffectObjects + +```lua +GameScript.Game.GetEnvironmentalEffectObjects(arg1) +``` + +Источник: [Lua, строка 2076](../../luasense_decompiled.lua#L2076). Имена `argN` — placeholders реконструкции. + +Check if "EnvironmentalEffectObject" has a Environmental Effect Component, and if so, get a list of Effect objects in the world. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EnvironmentalEffectObject | The empireObject for which we are examining for an Environmental Effect Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EnvironmentalEffectObject", + "@K[211]": "The empireObject for which we are examining for an Environmental Effect Component" + } + }, + "@K[203]": "Check if \"EnvironmentalEffectObject\" has a Environmental Effect Component, and if so, get a list of Effect objects in the world." +} +``` + +
+ +## GameScript.Game.GetForward + +```lua +GameScript.Game.GetForward(arg1) +``` + +Источник: [Lua, строка 2079](../../luasense_decompiled.lua#L2079). Имена `argN` — placeholders реконструкции. + +Returns vector3D with forward heading of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting forward | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting forward" + } + }, + "@K[203]": "Returns vector3D with forward heading of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.GetHitPointPercent + +```lua +GameScript.Game.GetHitPointPercent(arg1) +``` + +Источник: [Lua, строка 2082](../../luasense_decompiled.lua#L2082). Имена `argN` — placeholders реконструкции. + +Return the hit points percentage of the empireObject, returns 1.0 if no indestructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are searching for hit points | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + } + }, + "@K[203]": "Return the hit points percentage of the empireObject, returns 1.0 if no indestructible" +} +``` + +
+ +## GameScript.Game.GetInteractionObjects + +```lua +GameScript.Game.GetInteractionObjects(arg1) +``` + +Источник: [Lua, строка 2085](../../luasense_decompiled.lua#L2085). Имена `argN` — placeholders реконструкции. + +Return all objects currently being interacted with. + + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject whose interactions we are retrieving | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose interactions we are retrieving" + } + }, + "@K[203]": "Return all objects currently being interacted with.\n" +} +``` + +
+ +## GameScript.Game.GetInteractionUser + +```lua +GameScript.Game.GetInteractionUser(arg1) +``` + +Источник: [Lua, строка 2088](../../luasense_decompiled.lua#L2088). Имена `argN` — placeholders реконструкции. + +Return the user currently interacting with the object. + + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject whose interactions we are retrieving | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose interactions we are retrieving" + } + }, + "@K[203]": "Return the user currently interacting with the object.\n" +} +``` + +
+ +## GameScript.Game.GetInventoryItems + +```lua +GameScript.Game.GetInventoryItems(arg1, arg2) +``` + +Источник: [Lua, строка 2091](../../luasense_decompiled.lua#L2091). Имена `argN` — placeholders реконструкции. + +Return all objects carried by empireObject of the given inventory type. +0 = All inventory lists +1 = Primary Weapon inventory lists +2 = Grenade inventory lists +3 = Augmentation inventory lists +4 = Rider inventory lists +5 = Power-up inventory lists + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject whose inventory we are searching | +| 2.0 | InventoryType | The type of inventory we want to search. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose inventory we are searching" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to search." + } + }, + "@K[203]": "Return all objects carried by empireObject of the given inventory type.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists\n5 = Power-up inventory lists" +} +``` + +
+ +## GameScript.Game.GetInventoryItemsByTypeAndName + +```lua +GameScript.Game.GetInventoryItemsByTypeAndName(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2094](../../luasense_decompiled.lua#L2094). Имена `argN` — placeholders реконструкции. + +Return all objects carried by empireObject of the given inventory type. +0 = All inventory lists +1 = Primary Weapon inventory lists +2 = Grenade inventory lists +3 = Augmentation inventory lists +4 = Rider inventory lists +5 = Power-up inventory lists + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject whose inventory we are searching | +| 2.0 | InventoryType | The type of inventory we want to search. | +| 3.0 | InventoryName | The name of the inventory we want to search. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject whose inventory we are searching" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to search." + }, + "3.0": { + "@K[209]": "InventoryName", + "@K[211]": "The name of the inventory we want to search." + } + }, + "@K[203]": "Return all objects carried by empireObject of the given inventory type.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists\n5 = Power-up inventory lists" +} +``` + +
+ +## GameScript.Game.GetInventoryOwner + +```lua +GameScript.Game.GetInventoryOwner(arg1) +``` + +Источник: [Lua, строка 2097](../../luasense_decompiled.lua#L2097). Имена `argN` — placeholders реконструкции. + +Return the object that is carrying the given empireObject + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject that is being carried | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject that is being carried" + } + }, + "@K[203]": "Return the object that is carrying the given empireObject" +} +``` + +
+ +## GameScript.Game.GetLastMeleeAttack + +```lua +GameScript.Game.GetLastMeleeAttack(arg1) +``` + +Источник: [Lua, строка 2100](../../luasense_decompiled.lua#L2100). Имена `argN` — placeholders реконструкции. + +Returns the index (starting from 1) of the last melee attack made by the given object. Returns 0 if the object has not attacked yet, or does not have a Melee Component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that recently made a melee attack. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that recently made a melee attack." + } + }, + "@K[203]": "Returns the index (starting from 1) of the last melee attack made by the given object. Returns 0 if the object has not attacked yet, or does not have a Melee Component" +} +``` + +
+ +## GameScript.Game.GetMyObject + +```lua +GameScript.Game.GetMyObject() +``` + +Источник: [Lua, строка 2103](../../luasense_decompiled.lua#L2103). Имена `argN` — placeholders реконструкции. + +Return the object that owns the script that is running. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the object that owns the script that is running." +} +``` + +
+ +## GameScript.Game.GetName + +```lua +GameScript.Game.GetName(arg1) +``` + +Источник: [Lua, строка 2106](../../luasense_decompiled.lua#L2106). Имена `argN` — placeholders реконструкции. + +Return the name of the empireObject + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are searching for name | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for name" + } + }, + "@K[203]": "Return the name of the empireObject" +} +``` + +
+ +## GameScript.Game.GetNumDesiredWorldsPending + +```lua +GameScript.Game.GetNumDesiredWorldsPending() +``` + +Источник: [Lua, строка 2109](../../luasense_decompiled.lua#L2109). Имена `argN` — placeholders реконструкции. + +Get number of desired worlds that are currently being streamed into memory, and are not yet ready + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get number of desired worlds that are currently being streamed into memory, and are not yet ready" +} +``` + +
+ +## GameScript.Game.GetObjectAttachedTo + +```lua +GameScript.Game.GetObjectAttachedTo(arg1) +``` + +Источник: [Lua, строка 2112](../../luasense_decompiled.lua#L2112). Имена `argN` — placeholders реконструкции. + +Returns an object that is attached to another object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to get the object attached to. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to get the object attached to." + } + }, + "@K[203]": "Returns an object that is attached to another object." +} +``` + +
+ +## GameScript.Game.GetOwnerObjectChangeHandlingObject + +```lua +GameScript.Game.GetOwnerObjectChangeHandlingObject(arg1) +``` + +Источник: [Lua, строка 2115](../../luasense_decompiled.lua#L2115). Имена `argN` — placeholders реконструкции. + +Return the object that owns the object via the OwnerObjectChangeHandling component. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject that is being queried for a OwnerObjectChangeHandling component for ownership | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject that is being queried for a OwnerObjectChangeHandling component for ownership" + } + }, + "@K[203]": "Return the object that owns the object via the OwnerObjectChangeHandling component." +} +``` + +
+ +## GameScript.Game.GetPosition + +```lua +GameScript.Game.GetPosition(arg1) +``` + +Источник: [Lua, строка 2118](../../luasense_decompiled.lua#L2118). Имена `argN` — placeholders реконструкции. + +Returns vector3D with position of the object in fields x,y,z of the table, if no position exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting position | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + } + }, + "@K[203]": "Returns vector3D with position of the object in fields x,y,z of the table, if no position exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.GetProjectileTarget + +```lua +GameScript.Game.GetProjectileTarget(arg1) +``` + +Источник: [Lua, строка 2121](../../luasense_decompiled.lua#L2121). Имена `argN` — placeholders реконструкции. + +Return the target of the projectile passed to the function. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The projectile | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The projectile" + } + }, + "@K[203]": "Return the target of the projectile passed to the function." +} +``` + +
+ +## GameScript.Game.GetRandomVectorInCone + +```lua +GameScript.Game.GetRandomVectorInCone(arg1, arg2) +``` + +Источник: [Lua, строка 2124](../../luasense_decompiled.lua#L2124). Имена `argN` — placeholders реконструкции. + +Returns a vector ( table with x, y, z elements ) that represents a random rotation of the ConeAxis such that the angle between the returned vector and the ConeAxis will be equal to or less than the specified ConeAngle + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ConeAxis | A 3d vector describing the cone's axis | +| 2.0 | ConeAngle | Angle in degrees | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ConeAxis", + "@K[211]": "A 3d vector describing the cone's axis" + }, + "2.0": { + "@K[209]": "ConeAngle", + "@K[211]": "Angle in degrees" + } + }, + "@K[203]": "Returns a vector ( table with x, y, z elements ) that represents a random rotation of the ConeAxis such that the angle between the returned vector and the ConeAxis will be equal to or less than the specified ConeAngle" +} +``` + +
+ +## GameScript.Game.GetRotateSceneObjectSpeed + +```lua +GameScript.Game.GetRotateSceneObjectSpeed(arg1) +``` + +Источник: [Lua, строка 2127](../../luasense_decompiled.lua#L2127). Имена `argN` — placeholders реконструкции. + +Get the current speed of the rotateScene Object is r,p,h degrees per second + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the RotateScenObject component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the RotateScenObject component" + } + }, + "@K[203]": "Get the current speed of the rotateScene Object is r,p,h degrees per second" +} +``` + +
+ +## GameScript.Game.GetRotation + +```lua +GameScript.Game.GetRotation(arg1) +``` + +Источник: [Lua, строка 2130](../../luasense_decompiled.lua#L2130). Имена `argN` — placeholders реконструкции. + +Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH["r"], etc + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting roll, pitch and heading vector | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" +} +``` + +
+ +## GameScript.Game.GetSceneNodePosition + +```lua +GameScript.Game.GetSceneNodePosition(arg1, arg2) +``` + +Источник: [Lua, строка 2133](../../luasense_decompiled.lua#L2133). Имена `argN` — placeholders реконструкции. + +Returns vector3D with position of the scene node of object in fields x,y,z of the table, if no position exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting position | +| 2.0 | SceneNodeName | The name of the scene node for which we are requesting position | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting position" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are requesting position" + } + }, + "@K[203]": "Returns vector3D with position of the scene node of object in fields x,y,z of the table, if no position exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.GetSceneNodeRotation + +```lua +GameScript.Game.GetSceneNodeRotation(arg1, arg2) +``` + +Источник: [Lua, строка 2136](../../luasense_decompiled.lua#L2136). Имена `argN` — placeholders реконструкции. + +Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH["r"], etc + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting roll, pitch and heading vector | +| 2.0 | SceneNodeName | The name of the scene node for which we are requesting roll, pitch and heading vector | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting roll, pitch and heading vector" + }, + "2.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The name of the scene node for which we are requesting roll, pitch and heading vector" + } + }, + "@K[203]": "Returns vectorRPH with r=roll,p=pitch,h=heading, if no rph exists, there will be all zeros. Reference vectorRPH values with vectorRPH[\"r\"], etc" +} +``` + +
+ +## GameScript.Game.GetSide + +```lua +GameScript.Game.GetSide(arg1) +``` + +Источник: [Lua, строка 2139](../../luasense_decompiled.lua#L2139). Имена `argN` — placeholders реконструкции. + +Returns vector3D with side direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting side | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting side" + } + }, + "@K[203]": "Returns vector3D with side direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.GetSpawnLocationsFromSpawner + +```lua +GameScript.Game.GetSpawnLocationsFromSpawner(arg1) +``` + +Источник: [Lua, строка 2142](../../luasense_decompiled.lua#L2142). Имена `argN` — placeholders реконструкции. + +Check if "SpanwerObject" has a Spawner Component, and if so, get a list of Spawn location objects. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SpanwerObject | The empireObject for which we are examining for a Spawner Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SpanwerObject", + "@K[211]": "The empireObject for which we are examining for a Spawner Component" + } + }, + "@K[203]": "Check if \"SpanwerObject\" has a Spawner Component, and if so, get a list of Spawn location objects." +} +``` + +
+ +## GameScript.Game.GetSpecificHitPointPercent + +```lua +GameScript.Game.GetSpecificHitPointPercent(arg1, arg2) +``` + +Источник: [Lua, строка 2145](../../luasense_decompiled.lua#L2145). Имена `argN` — placeholders реконструкции. + +Return the hit points percentage of a specific health pool in the empireObject, returns 1.0 if no indestructible + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are searching for hit points | +| 2.0 | HealthName | The name of the specific health that we want to query | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + }, + "2.0": { + "@K[209]": "HealthName", + "@K[211]": "The name of the specific health that we want to query" + } + }, + "@K[203]": "Return the hit points percentage of a specific health pool in the empireObject, returns 1.0 if no indestructible" +} +``` + +
+ +## GameScript.Game.GetSuspendingObject + +```lua +GameScript.Game.GetSuspendingObject(arg1) +``` + +Источник: [Lua, строка 2148](../../luasense_decompiled.lua#L2148). Имена `argN` — placeholders реконструкции. + +Checks a suspended object and reports which object is suspending it. If the object is not suspended, it will return nil + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SuspendedObject | The object that is being suspended | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SuspendedObject", + "@K[211]": "The object that is being suspended" + } + }, + "@K[203]": "Checks a suspended object and reports which object is suspending it. If the object is not suspended, it will return nil" +} +``` + +
+ +## GameScript.Game.GetUp + +```lua +GameScript.Game.GetUp(arg1) +``` + +Источник: [Lua, строка 2151](../../luasense_decompiled.lua#L2151). Имена `argN` — placeholders реконструкции. + +Returns vector3D with up direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting up | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting up" + } + }, + "@K[203]": "Returns vector3D with up direction of the object in fields x,y,z of the table, if no matrix exists, there will be all zeros " +} +``` + +
+ +## GameScript.Game.GetWorldName + +```lua +GameScript.Game.GetWorldName(arg1) +``` + +Источник: [Lua, строка 2154](../../luasense_decompiled.lua#L2154). Имена `argN` — placeholders реконструкции. + +Return the world in which EmpireObject is currently present. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are finding the world | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are finding the world" + } + }, + "@K[203]": "Return the world in which EmpireObject is currently present." +} +``` + +
+ +## GameScript.Game.HasAchievementBeenAchieved + +```lua +GameScript.Game.HasAchievementBeenAchieved(arg1, arg2) +``` + +Источник: [Lua, строка 2249](../../luasense_decompiled.lua#L2249). Имена `argN` — placeholders реконструкции. + +Returns whether the given player has achieved the achievement of the given index. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global index of the player we are checking | +| 2.0 | AchievementIndex | The index of the achievement we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player we are checking" + }, + "2.0": { + "@K[209]": "AchievementIndex", + "@K[211]": "The index of the achievement we are checking" + } + }, + "@K[203]": "Returns whether the given player has achieved the achievement of the given index. Achievements can be accessed in script via the table GameScript.Achievements, where each entry in that field is the internal name defined in the Achievements Global Data component in the Global Data object. The achievement index is given by it's order in the global data component, starting from 1." +} +``` + +
+ +## GameScript.Game.HasHitPoints + +```lua +GameScript.Game.HasHitPoints(arg1) +``` + +Источник: [Lua, строка 2252](../../luasense_decompiled.lua#L2252). Имена `argN` — placeholders реконструкции. + +Return true if EmpireObject has any hit points, false otherwise + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject which we are searching for hit points | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject which we are searching for hit points" + } + }, + "@K[203]": "Return true if EmpireObject has any hit points, false otherwise" +} +``` + +
+ +## GameScript.Game.HasPlayerStartedLevel + +```lua +GameScript.Game.HasPlayerStartedLevel(arg1) +``` + +Источник: [Lua, строка 2255](../../luasense_decompiled.lua#L2255). Имена `argN` — placeholders реконструкции. + +Returns whether the specified player's "has started level" flag is set, which can only be set by the "SetPlayersStartedLevel" function. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The global index of the player we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The global index of the player we are checking" + } + }, + "@K[203]": "Returns whether the specified player's \"has started level\" flag is set, which can only be set by the \"SetPlayersStartedLevel\" function." +} +``` + +
+ +## GameScript.Game.Heal + +```lua +GameScript.Game.Heal(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2258](../../luasense_decompiled.lua#L2258). Имена `argN` — placeholders реконструкции. + +Send a message to heal a specific health in the object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are healing | +| 2.0 | EmpireObject | The name of the health that receives the heal | +| 3.0 | HealAmount | How much we are healing | +| 4.0 | IsPercent | Is the HealAmount represented as a percentage? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are healing" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The name of the health that receives the heal" + }, + "3.0": { + "@K[209]": "HealAmount", + "@K[211]": "How much we are healing" + }, + "4.0": { + "@K[209]": "IsPercent", + "@K[211]": "Is the HealAmount represented as a percentage?" + } + }, + "@K[203]": "Send a message to heal a specific health in the object." +} +``` + +
+ +## GameScript.Game.HideAllHUD + +```lua +GameScript.Game.HideAllHUD() +``` + +Источник: [Lua, строка 2261](../../luasense_decompiled.lua#L2261). Имена `argN` — placeholders реконструкции. + +Hide all HUD. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Hide all HUD." +} +``` + +
+ +## GameScript.Game.HideObject + +```lua +GameScript.Game.HideObject(arg1, arg2) +``` + +Источник: [Lua, строка 2264](../../luasense_decompiled.lua#L2264). Имена `argN` — placeholders реконструкции. + +Show or hide the specified object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are showing/hiding | +| 2.0 | ShouldHide | Hide object = true, show object = false | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are showing/hiding" + }, + "2.0": { + "@K[209]": "ShouldHide", + "@K[211]": "Hide object = true, show object = false" + } + }, + "@K[203]": "Show or hide the specified object." +} +``` + +
+ +## GameScript.Game.HidePlayerView + +```lua +GameScript.Game.HidePlayerView() +``` + +Источник: [Lua, строка 2267](../../luasense_decompiled.lua#L2267). Имена `argN` — placeholders реконструкции. + +Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view" +} +``` + +
+ +## GameScript.Game.IsActiveCoverOn + +```lua +GameScript.Game.IsActiveCoverOn(arg1) +``` + +Источник: [Lua, строка 2270](../../luasense_decompiled.lua#L2270). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently in active cover + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the active cover status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the active cover status of" + } + }, + "@K[203]": "Tests whether an object is currently in active cover" +} +``` + +
+ +## GameScript.Game.IsAirborne + +```lua +GameScript.Game.IsAirborne(arg1) +``` + +Источник: [Lua, строка 2273](../../luasense_decompiled.lua#L2273). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently airborne + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the airborne status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the airborne status of" + } + }, + "@K[203]": "Tests whether an object is currently airborne" +} +``` + +
+ +## GameScript.Game.IsCrouched + +```lua +GameScript.Game.IsCrouched(arg1) +``` + +Источник: [Lua, строка 2276](../../luasense_decompiled.lua#L2276). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently crouched, only works for personPhysics object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the crouch status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the crouch status of" + } + }, + "@K[203]": "Tests whether an object is currently crouched, only works for personPhysics object" +} +``` + +
+ +## GameScript.Game.IsDestructibleInFinalState + +```lua +GameScript.Game.IsDestructibleInFinalState(arg1) +``` + +Источник: [Lua, строка 2279](../../luasense_decompiled.lua#L2279). Имена `argN` — placeholders реконструкции. + +Returns whether the destructible object is in its final state + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns whether the destructible object is in its final state" +} +``` + +
+ +## GameScript.Game.IsDestructibleInInitialState + +```lua +GameScript.Game.IsDestructibleInInitialState(arg1) +``` + +Источник: [Lua, строка 2282](../../luasense_decompiled.lua#L2282). Имена `argN` — placeholders реконструкции. + +Returns whether the destructible object is in its initial state + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing DestructibleObjectControlComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing DestructibleObjectControlComponent" + } + }, + "@K[203]": "Returns whether the destructible object is in its initial state" +} +``` + +
+ +## GameScript.Game.IsEnabled + +```lua +GameScript.Game.IsEnabled(arg1) +``` + +Источник: [Lua, строка 2285](../../luasense_decompiled.lua#L2285). Имена `argN` — placeholders реконструкции. + +Tests whether an IEnableable component is currently enabled + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + } + }, + "@K[203]": "Tests whether an IEnableable component is currently enabled" +} +``` + +
+ +## GameScript.Game.IsJumping + +```lua +GameScript.Game.IsJumping(arg1) +``` + +Источник: [Lua, строка 2288](../../luasense_decompiled.lua#L2288). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently jumping + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the jumping status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the jumping status of" + } + }, + "@K[203]": "Tests whether an object is currently jumping" +} +``` + +
+ +## GameScript.Game.IsLoaded + +```lua +GameScript.Game.IsLoaded(arg1) +``` + +Источник: [Lua, строка 2291](../../luasense_decompiled.lua#L2291). Имена `argN` — placeholders реконструкции. + +Checks if the empire object exists + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | Object for which we are checking | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Object for which we are checking" + } + }, + "@K[203]": "Checks if the empire object exists" +} +``` + +
+ +## GameScript.Game.IsNeutral + +```lua +GameScript.Game.IsNeutral(arg1) +``` + +Источник: [Lua, строка 2294](../../luasense_decompiled.lua#L2294). Имена `argN` — placeholders реконструкции. + +Checks nation settings to if the two objects are enemies. See also: AreAllies(), AreEnemies(),CopyNation() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are checking neutrality | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are checking neutrality" + } + }, + "@K[203]": "Checks nation settings to if the two objects are enemies. See also: AreAllies(), AreEnemies(),CopyNation()" +} +``` + +
+ +## GameScript.Game.IsObjectInState + +```lua +GameScript.Game.IsObjectInState(arg1, arg2) +``` + +Источник: [Lua, строка 2297](../../luasense_decompiled.lua#L2297). Имена `argN` — placeholders реконструкции. + +Returns true if the specified object is in the given state, false if it is not or the object has no ObjectState component + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | The object whose state we are checking | +| 2.0 | State | The ObjectState we are checking for | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "The object whose state we are checking" + }, + "2.0": { + "@K[209]": "State", + "@K[211]": "The ObjectState we are checking for" + } + }, + "@K[203]": "Returns true if the specified object is in the given state, false if it is not or the object has no ObjectState component" +} +``` + +
+ +## GameScript.Game.IsPauseMenuShowing + +```lua +GameScript.Game.IsPauseMenuShowing() +``` + +Источник: [Lua, строка 2300](../../luasense_decompiled.lua#L2300). Имена `argN` — placeholders реконструкции. + +Returns true if the pause menu is currently being displayed. + + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Returns true if the pause menu is currently being displayed.\n" +} +``` + +
+ +## GameScript.Game.IsPlayerLookRotFacingObject + +```lua +GameScript.Game.IsPlayerLookRotFacingObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2303](../../luasense_decompiled.lua#L2303). Имена `argN` — placeholders реконструкции. + +Returns whether or not a player is facing a target object. Even though this function is grouped with the camera-relative functions, this one does not use the player cameras. This is because the function was written primarily for multiplayer and remote player avatars do not have cameras. Therefore, we must use the avatar's LookRotation Component to approximate if it is facing the object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | Index for player being tested for target in view. | +| 2.0 | TargetObject | The empireObject for which we are checking in player view | +| 3.0 | MaxAngle | The maximum angle between the player's LookRot and object position | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index for player being tested for target in view." + }, + "2.0": { + "@K[209]": "TargetObject", + "@K[211]": "The empireObject for which we are checking in player view" + }, + "3.0": { + "@K[209]": "MaxAngle", + "@K[211]": "The maximum angle between the player's LookRot and object position" + } + }, + "@K[203]": "Returns whether or not a player is facing a target object. Even though this function is grouped with the camera-relative functions, this one does not use the player cameras. This is because the function was written primarily for multiplayer and remote player avatars do not have cameras. Therefore, we must use the avatar's LookRotation Component to approximate if it is facing the object." +} +``` + +
+ +## GameScript.Game.IsPossessed + +```lua +GameScript.Game.IsPossessed(arg1) +``` + +Источник: [Lua, строка 2306](../../luasense_decompiled.lua#L2306). Имена `argN` — placeholders реконструкции. + +Checks whether an object is possessed or not + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that to check if it is possessed | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that to check if it is possessed" + } + }, + "@K[203]": "Checks whether an object is possessed or not" +} +``` + +
+ +## GameScript.Game.IsRiding + +```lua +GameScript.Game.IsRiding(arg1) +``` + +Источник: [Lua, строка 2309](../../luasense_decompiled.lua#L2309). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently riding + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the riding status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the riding status of" + } + }, + "@K[203]": "Tests whether an object is currently riding" +} +``` + +
+ +## GameScript.Game.IsSuspended + +```lua +GameScript.Game.IsSuspended(arg1) +``` + +Источник: [Lua, строка 2312](../../luasense_decompiled.lua#L2312). Имена `argN` — placeholders реконструкции. + +Tests whether an object is currently suspended + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are checking the suspend status of | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are checking the suspend status of" + } + }, + "@K[203]": "Tests whether an object is currently suspended" +} +``` + +
+ +## GameScript.Game.Kill + +```lua +GameScript.Game.Kill(arg1, arg2) +``` + +Источник: [Lua, строка 2315](../../luasense_decompiled.lua#L2315). Имена `argN` — placeholders реконструкции. + +Send a message to kill the object with certain options. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are killing | +| 2.0 | KillType | How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog' | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are killing" + }, + "2.0": { + "@K[209]": "KillType", + "@K[211]": "How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog'" + } + }, + "@K[203]": "Send a message to kill the object with certain options." +} +``` + +
+ +## GameScript.Game.KillAllObjectsInWeaponInventory + +```lua +GameScript.Game.KillAllObjectsInWeaponInventory() +``` + +Источник: [Lua, строка 2317](../../luasense_decompiled.lua#L2317). Имена `argN` — placeholders реконструкции. + +
Исходная структура call-tip + +```json +{} +``` + +
+ +## GameScript.Game.OverRideRotateSceneObjectComponent + +```lua +GameScript.Game.OverRideRotateSceneObjectComponent(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2431](../../luasense_decompiled.lua#L2431). Имена `argN` — placeholders реконструкции. + +Over ride the settings on a RotateSceneObject component so the start time is immediately, and the current speed is reset, and use the new acceleration until the duration is over. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object with the RotateScenObject component | +| 2.0 | Speed | Table with a r,p,h fields for speed in degrees per second for each axis | +| 3.0 | Acceleration | Table with a r,p,h fields for acceleration in degrees per second per second for each axis | +| 4.0 | MaxSpeed | Table with a r,p,h fields for maxSpeed in degrees per second for each axis | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object with the RotateScenObject component" + }, + "2.0": { + "@K[209]": "Speed", + "@K[211]": "Table with a r,p,h fields for speed in degrees per second for each axis" + }, + "3.0": { + "@K[209]": "Acceleration", + "@K[211]": "Table with a r,p,h fields for acceleration in degrees per second per second for each axis" + }, + "4.0": { + "@K[209]": "MaxSpeed", + "@K[211]": "Table with a r,p,h fields for maxSpeed in degrees per second for each axis" + } + }, + "@K[203]": "Over ride the settings on a RotateSceneObject component so the start time is immediately, and the current speed is reset, and use the new acceleration until the duration is over." +} +``` + +
+ +## GameScript.Game.RemoveAnimationGraphResource + +```lua +GameScript.Game.RemoveAnimationGraphResource(arg1) +``` + +Источник: [Lua, строка 2767](../../luasense_decompiled.lua#L2767). Имена `argN` — placeholders реконструкции. + +Gradually revert an object back to its original animation graph with the standard transition time(0.2 seconds). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are removing the graph of. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with the standard transition time(0.2 seconds)." +} +``` + +
+ +## GameScript.Game.RemoveAnimationGraphResourceOverTime + +```lua +GameScript.Game.RemoveAnimationGraphResourceOverTime(arg1, arg2) +``` + +Источник: [Lua, строка 2770](../../luasense_decompiled.lua#L2770). Имена `argN` — placeholders реконструкции. + +Gradually revert an object back to its original animation graph with a custom transition time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are removing the graph of. | +| 2.0 | TransitionTime | Transition time(in seconds). | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + }, + "2.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with a custom transition time." +} +``` + +
+ +## GameScript.Game.RemoveStatusEffect + +```lua +GameScript.Game.RemoveStatusEffect(arg1, arg2) +``` + +Источник: [Lua, строка 2773](../../luasense_decompiled.lua#L2773). Имена `argN` — placeholders реконструкции. + +Removes a status effect from an object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EffectObject | The object with the status to apple to the other object. | +| 2.0 | ObjectToAffect | The object have the status affect removed from. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EffectObject", + "@K[211]": "The object with the status to apple to the other object." + }, + "2.0": { + "@K[209]": "ObjectToAffect", + "@K[211]": "The object have the status affect removed from." + } + }, + "@K[203]": "Removes a status effect from an object." +} +``` + +
+ +## GameScript.Game.RestoreCheckpointAnimGraph + +```lua +GameScript.Game.RestoreCheckpointAnimGraph(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2776](../../luasense_decompiled.lua#L2776). Имена `argN` — placeholders реконструкции. + +Gradually revert an object back to its original animation graph with a custom transition time. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are removing the graph of. | +| 2.0 | RegisteredAnimGraphTextID | The name set for the registered animation graph resource. | +| 3.0 | TransitionTime | Transition time(in seconds). | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are removing the graph of." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually revert an object back to its original animation graph with a custom transition time." +} +``` + +
+ +## GameScript.Game.RippleWater + +```lua +GameScript.Game.RippleWater(arg1, arg2) +``` + +Источник: [Lua, строка 2779](../../luasense_decompiled.lua#L2779). Имена `argN` — placeholders реконструкции. + +Allows an object to cause ripples in a water object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WaterObject | The water object containing a Rippling Water component. | +| 2.0 | RipplingObject | The object causing ripples in the water. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WaterObject", + "@K[211]": "The water object containing a Rippling Water component." + }, + "2.0": { + "@K[209]": "RipplingObject", + "@K[211]": "The object causing ripples in the water." + } + }, + "@K[203]": "Allows an object to cause ripples in a water object." +} +``` + +
+ +## GameScript.Game.RippleWaterAtNode + +```lua +GameScript.Game.RippleWaterAtNode(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2782](../../luasense_decompiled.lua#L2782). Имена `argN` — placeholders реконструкции. + +Allows an object to cause ripples in a water object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WaterObject | The water object containing a Rippling Water component. | +| 2.0 | RipplingObject | The object causing ripples in the water. | +| 3.0 | SceneNodeName | The scene node in the object causing the ripple | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WaterObject", + "@K[211]": "The water object containing a Rippling Water component." + }, + "2.0": { + "@K[209]": "RipplingObject", + "@K[211]": "The object causing ripples in the water." + }, + "3.0": { + "@K[209]": "SceneNodeName", + "@K[211]": "The scene node in the object causing the ripple" + } + }, + "@K[203]": "Allows an object to cause ripples in a water object." +} +``` + +
+ +## GameScript.Game.RunCutscene + +```lua +GameScript.Game.RunCutscene(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2785](../../luasense_decompiled.lua#L2785). Имена `argN` — placeholders реконструкции. + +Start a cutscene + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The EmpireObject that contains the CutsceneComponent we want to use | +| 2.0 | PrimaryIndex | Treat this player as Primary player in cutscene | +| 3.0 | SecondaryIndex | Treat this player as Secondary player in cutscene | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The EmpireObject that contains the CutsceneComponent we want to use" + }, + "2.0": { + "@K[209]": "PrimaryIndex", + "@K[211]": "Treat this player as Primary player in cutscene" + }, + "3.0": { + "@K[209]": "SecondaryIndex", + "@K[211]": "Treat this player as Secondary player in cutscene" + } + }, + "@K[203]": "Start a cutscene" +} +``` + +
+ +## GameScript.Game.SaveGame + +```lua +GameScript.Game.SaveGame() +``` + +Источник: [Lua, строка 2788](../../luasense_decompiled.lua#L2788). Имена `argN` — placeholders реконструкции. + +Saves the game in the current state, if possible + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Saves the game in the current state, if possible" +} +``` + +
+ +## GameScript.Game.SelectInventory + +```lua +GameScript.Game.SelectInventory(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2791](../../luasense_decompiled.lua#L2791). Имена `argN` — placeholders реконструкции. + +Select a specific group in a specific Inventory. Negative group number to select the next group. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to switch inventory | +| 2.0 | InventoryType | The Inventory Component. enum defined GameScript.InventoryType | +| 3.0 | GroupIndex | Index of the group to select. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to switch inventory" + }, + "2.0": { + "@K[209]": "InventoryType", + "@K[211]": "The Inventory Component. enum defined GameScript.InventoryType" + }, + "3.0": { + "@K[209]": "GroupIndex", + "@K[211]": "Index of the group to select." + } + }, + "@K[203]": "Select a specific group in a specific Inventory. Negative group number to select the next group." +} +``` + +
+ +## GameScript.Game.SendCutsceneStopLoopMessage + +```lua +GameScript.Game.SendCutsceneStopLoopMessage(arg1) +``` + +Источник: [Lua, строка 2794](../../luasense_decompiled.lua#L2794). Имена `argN` — placeholders реконструкции. + +Sends a message to a looping cutscene to continue to its end property time + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object containing CutsceneComponent | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object containing CutsceneComponent" + } + }, + "@K[203]": "Sends a message to a looping cutscene to continue to its end property time" +} +``` + +
+ +## GameScript.Game.SendGameEventMessage + +```lua +GameScript.Game.SendGameEventMessage(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2797](../../luasense_decompiled.lua#L2797). Имена `argN` — placeholders реконструкции. + +Send a game event message to be shown on the HUD. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MessageStaticText | The static text id of the message to be send as a game event. | +| 2.0 | SubjectPlayerIndex | Index for player who is subject of game event text. | +| 3.0 | DirectObjectPlayerIndex | Index for player who is direct object of game event text. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MessageStaticText", + "@K[211]": "The static text id of the message to be send as a game event." + }, + "2.0": { + "@K[209]": "SubjectPlayerIndex", + "@K[211]": "Index for player who is subject of game event text." + }, + "3.0": { + "@K[209]": "DirectObjectPlayerIndex", + "@K[211]": "Index for player who is direct object of game event text." + } + }, + "@K[203]": "Send a game event message to be shown on the HUD." +} +``` + +
+ +## GameScript.Game.SendKillMessage + +```lua +GameScript.Game.SendKillMessage(arg1, arg2) +``` + +Источник: [Lua, строка 2800](../../luasense_decompiled.lua#L2800). Имена `argN` — placeholders реконструкции. + +Send a message to kill the object with certain options. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are killing | +| 2.0 | KillType | How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog' | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are killing" + }, + "2.0": { + "@K[209]": "KillType", + "@K[211]": "How to kill, 0, delete instantly, 1 kill with destruction effects, 2 allow death 'prolog'" + } + }, + "@K[203]": "Send a message to kill the object with certain options." +} +``` + +
+ +## GameScript.Game.SendMissionEventMessage + +```lua +GameScript.Game.SendMissionEventMessage(arg1, arg2) +``` + +Источник: [Lua, строка 2803](../../luasense_decompiled.lua#L2803). Имена `argN` — placeholders реконструкции. + +Send a mission-specific event message only to the target object. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the message to. | +| 2.0 | MessageText | The text ID of the message. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "MessageText", + "@K[211]": "The text ID of the message." + } + }, + "@K[203]": "Send a mission-specific event message only to the target object." +} +``` + +
+ +## GameScript.Game.SendTextMessage + +```lua +GameScript.Game.SendTextMessage(arg1, arg2) +``` + +Источник: [Lua, строка 2806](../../luasense_decompiled.lua#L2806). Имена `argN` — placeholders реконструкции. + +Send "MessageText" to the EmpireObject. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object to which we are sending a text message. | +| 2.0 | MessageText | The text of the message for which we are send | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to which we are sending a text message." + }, + "2.0": { + "@K[209]": "MessageText", + "@K[211]": "The text of the message for which we are send" + } + }, + "@K[203]": "Send \"MessageText\" to the EmpireObject." +} +``` + +
+ +## GameScript.Game.SetAnimGraphResource + +```lua +GameScript.Game.SetAnimGraphResource(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2809](../../luasense_decompiled.lua#L2809). Имена `argN` — placeholders реконструкции. + +Gradually transition an object to a new animation graph with the a transition time and specify if you want to save the graph resource settings when hitting a checkpoint, and restore them on checkpoint reload.. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the resource to. | +| 2.0 | RegisteredAnimGraphTextID | The name set for the registered animation graph resource. | +| 3.0 | TransitionTime | Transition time(in seconds). | +| 4.0 | CheckpointEnable | Enable the graph to be save/load with checkpoints. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + }, + "4.0": { + "@K[209]": "CheckpointEnable", + "@K[211]": "Enable the graph to be save/load with checkpoints." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with the a transition time and specify if you want to save the graph resource settings when hitting a checkpoint, and restore them on checkpoint reload.." +} +``` + +
+ +## GameScript.Game.SetAnimVarWeaponTypeFromInventory + +```lua +GameScript.Game.SetAnimVarWeaponTypeFromInventory(arg1) +``` + +Источник: [Lua, строка 2812](../../luasense_decompiled.lua#L2812). Имена `argN` — placeholders реконструкции. + +Set the owner of the object to the object specified via the OwnerObjectMessage. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we wish to query for Weapon Type and set the corresponding animation variable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we wish to query for Weapon Type and set the corresponding animation variable" + } + }, + "@K[203]": "Set the owner of the object to the object specified via the OwnerObjectMessage." +} +``` + +
+ +## GameScript.Game.SetAnimationGraphResource + +```lua +GameScript.Game.SetAnimationGraphResource(arg1, arg2) +``` + +Источник: [Lua, строка 2815](../../luasense_decompiled.lua#L2815). Имена `argN` — placeholders реконструкции. + +Gradually transition an object to a new animation graph with the standard transition time(0.2 seconds). See also SetAnimGraphResource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the resource to. | +| 2.0 | RegisteredAnimGraphTextID | The name set for the registered animation graph resource. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with the standard transition time(0.2 seconds). See also SetAnimGraphResource." +} +``` + +
+ +## GameScript.Game.SetAnimationGraphResourceOverTime + +```lua +GameScript.Game.SetAnimationGraphResourceOverTime(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2818](../../luasense_decompiled.lua#L2818). Имена `argN` — placeholders реконструкции. + +Gradually transition an object to a new animation graph with a custom transition time. See Also SetAnimGraphResource + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the resource to. | +| 2.0 | RegisteredAnimGraphTextID | The name set for the registered animation graph resource. | +| 3.0 | TransitionTime | Transition time(in seconds). | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the resource to." + }, + "2.0": { + "@K[209]": "RegisteredAnimGraphTextID", + "@K[211]": "The name set for the registered animation graph resource." + }, + "3.0": { + "@K[209]": "TransitionTime", + "@K[211]": "Transition time(in seconds)." + } + }, + "@K[203]": "Gradually transition an object to a new animation graph with a custom transition time. See Also SetAnimGraphResource" +} +``` + +
+ +## GameScript.Game.SetAnimationVariable + +```lua +GameScript.Game.SetAnimationVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2821](../../luasense_decompiled.lua#L2821). Имена `argN` — placeholders реконструкции. + +Set the value for an animation variable by name. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object for which we are setting a variable. | +| 2.0 | AnimationVariable | The name of the animation variable that we are setting. | +| 3.0 | AnimationValue | The value that we are setting for the animation variable. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object for which we are setting a variable." + }, + "2.0": { + "@K[209]": "AnimationVariable", + "@K[211]": "The name of the animation variable that we are setting." + }, + "3.0": { + "@K[209]": "AnimationValue", + "@K[211]": "The value that we are setting for the animation variable." + } + }, + "@K[203]": "Set the value for an animation variable by name." +} +``` + +
+ +## GameScript.Game.SetCurrentLevel + +```lua +GameScript.Game.SetCurrentLevel(arg1) +``` + +Источник: [Lua, строка 2824](../../luasense_decompiled.lua#L2824). Имена `argN` — placeholders реконструкции. + +Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurrentLevel | (DEPRECATED) The mission progression order of the current level as set in the Level List Global Data component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurrentLevel", + "@K[211]": "(DEPRECATED) The mission progression order of the current level as set in the Level List Global Data component. " + } + }, + "@K[203]": "Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel()" +} +``` + +
+ +## GameScript.Game.SetCurrentLevelId + +```lua +GameScript.Game.SetCurrentLevelId(arg1) +``` + +Источник: [Lua, строка 2827](../../luasense_decompiled.lua#L2827). Имена `argN` — placeholders реконструкции. + +Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurrentLevelEnum | The mission ID of the current level as set in the Level List Global Data component. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurrentLevelEnum", + "@K[211]": "The mission ID of the current level as set in the Level List Global Data component. " + } + }, + "@K[203]": "Used by player profiles to determine what the player's current chapter is. Primarily used for restart chapter and resume game. This function must be called on both host and clients. See also: CompleteCurrentLevel()" +} +``` + +
+ +## GameScript.Game.SetCurrentTotalAmmoPercent + +```lua +GameScript.Game.SetCurrentTotalAmmoPercent(arg1, arg2) +``` + +Источник: [Lua, строка 2830](../../luasense_decompiled.lua#L2830). Имена `argN` — placeholders реконструкции. + +Sets the ammo percent used by the passed in weapon. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are setting neutral | +| 2.0 | AmmoPercent | The ammo percent to set the weapon to. Must be between 0 - 1 | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are setting neutral" + }, + "2.0": { + "@K[209]": "AmmoPercent", + "@K[211]": "The ammo percent to set the weapon to. Must be between 0 - 1" + } + }, + "@K[203]": "Sets the ammo percent used by the passed in weapon." +} +``` + +
+ +## GameScript.Game.SetGameFailed + +```lua +GameScript.Game.SetGameFailed() +``` + +Источник: [Lua, строка 2833](../../luasense_decompiled.lua#L2833). Имена `argN` — placeholders реконструкции. + +Sends a game failed (or MP game over) message. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends a game failed (or MP game over) message." +} +``` + +
+ +## GameScript.Game.SetGameWon + +```lua +GameScript.Game.SetGameWon() +``` + +Источник: [Lua, строка 2836](../../luasense_decompiled.lua#L2836). Имена `argN` — placeholders реконструкции. + +Sends a game won (or MP game over) message. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sends a game won (or MP game over) message." +} +``` + +
+ +## GameScript.Game.SetHitPointPercent + +```lua +GameScript.Game.SetHitPointPercent(arg1, arg2) +``` + +Источник: [Lua, строка 2839](../../luasense_decompiled.lua#L2839). Имена `argN` — placeholders реконструкции. + +Sets the health of an object to the specified percentage (given as a decimal in the range of 0 to 1). For objects with hit point controllers, it will overwrite all hit point values, filling up the lowest priority components first. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object whose health we are setting | +| 2.0 | Percent | The new percentage of the object's total health | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object whose health we are setting" + }, + "2.0": { + "@K[209]": "Percent", + "@K[211]": "The new percentage of the object's total health" + } + }, + "@K[203]": "Sets the health of an object to the specified percentage (given as a decimal in the range of 0 to 1). For objects with hit point controllers, it will overwrite all hit point values, filling up the lowest priority components first." +} +``` + +
+ +## GameScript.Game.SetHitPointPriorityInvulnerable + +```lua +GameScript.Game.SetHitPointPriorityInvulnerable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2842](../../luasense_decompiled.lua#L2842). Имена `argN` — placeholders реконструкции. + +Turn a single Hit Point component invulnerable as considered by the hit point controller + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are searching for a SetHitPointPriorityInvulnerable. | +| 2.0 | Priority | The slot number as defined in HitPointControllerComponent | +| 3.0 | Invulnerable | True - this level absorbs all damage while also not reducing in value | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are searching for a SetHitPointPriorityInvulnerable." + }, + "2.0": { + "@K[209]": "Priority", + "@K[211]": "The slot number as defined in HitPointControllerComponent" + }, + "3.0": { + "@K[209]": "Invulnerable", + "@K[211]": "True - this level absorbs all damage while also not reducing in value" + } + }, + "@K[203]": "Turn a single Hit Point component invulnerable as considered by the hit point controller" +} +``` + +
+ +## GameScript.Game.SetLookDirection + +```lua +GameScript.Game.SetLookDirection(arg1, arg2) +``` + +Источник: [Lua, строка 2845](../../luasense_decompiled.lua#L2845). Имена `argN` — placeholders реконструкции. + +Set the look direction of the object to the roll, pitch and heading specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are teleporting | +| 2.0 | RollPitchHeading | RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "RollPitchHeading", + "@K[211]": "RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field." + } + }, + "@K[203]": "Set the look direction of the object to the roll, pitch and heading specified." +} +``` + +
+ +## GameScript.Game.SetNeutral + +```lua +GameScript.Game.SetNeutral(arg1, arg2) +``` + +Источник: [Lua, строка 2848](../../luasense_decompiled.lua#L2848). Имена `argN` — placeholders реконструкции. + +Set the flag that makes an object neutral or not. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are setting neutral | +| 2.0 | bNeutral | Whether or not it will be neutral. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are setting neutral" + }, + "2.0": { + "@K[209]": "bNeutral", + "@K[211]": "Whether or not it will be neutral." + } + }, + "@K[203]": "Set the flag that makes an object neutral or not." +} +``` + +
+ +## GameScript.Game.SetOwnerObject + +```lua +GameScript.Game.SetOwnerObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2851](../../luasense_decompiled.lua#L2851). Имена `argN` — placeholders реконструкции. + +Set the owner of the object to the object specified via the OwnerObjectMessage. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object owner | +| 2.0 | EmpireObject | The object to be owned | +| 3.0 | IsAI | Is the object owner a AI? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object owner" + }, + "2.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object to be owned" + }, + "3.0": { + "@K[209]": "IsAI", + "@K[211]": "Is the object owner a AI?" + } + }, + "@K[203]": "Set the owner of the object to the object specified via the OwnerObjectMessage." +} +``` + +
+ +## GameScript.Game.SetPersonMaxSpeed + +```lua +GameScript.Game.SetPersonMaxSpeed(arg1, arg2) +``` + +Источник: [Lua, строка 2854](../../luasense_decompiled.lua#L2854). Имена `argN` — placeholders реконструкции. + +Set the maximum type of speed that a character can move at (walk, run, sprints, etc...) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PersonObject | The object to limit the speed of | +| 2.0 | SpeedType | The speed at which to limit the person too (walk, run, sprint) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PersonObject", + "@K[211]": "The object to limit the speed of" + }, + "2.0": { + "@K[209]": "SpeedType", + "@K[211]": "The speed at which to limit the person too (walk, run, sprint)" + } + }, + "@K[203]": "Set the maximum type of speed that a character can move at (walk, run, sprints, etc...)" +} +``` + +
+ +## GameScript.Game.SetPlayerSpawnIndex + +```lua +GameScript.Game.SetPlayerSpawnIndex(arg1, arg2) +``` + +Источник: [Lua, строка 2857](../../luasense_decompiled.lua#L2857). Имена `argN` — placeholders реконструкции. + +Sets the spawn index of the given player + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | PlayerIndex | Index of the player whose spawn index we want to change | +| 2.0 | SpawnIndex | The new spawn index for the player | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "PlayerIndex", + "@K[211]": "Index of the player whose spawn index we want to change" + }, + "2.0": { + "@K[209]": "SpawnIndex", + "@K[211]": "The new spawn index for the player" + } + }, + "@K[203]": "Sets the spawn index of the given player" +} +``` + +
+ +## GameScript.Game.SetPlayersStartedLevel + +```lua +GameScript.Game.SetPlayersStartedLevel() +``` + +Источник: [Lua, строка 2860](../../luasense_decompiled.lua#L2860). Имена `argN` — placeholders реконструкции. + +Sets the "has started level" flag on all players. This function is NOT net-synced and needs to be called on both host and clients. This function should be called as soon as a level starts, or at least before the first checkpoint in a level + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Sets the \"has started level\" flag on all players. This function is NOT net-synced and needs to be called on both host and clients. This function should be called as soon as a level starts, or at least before the first checkpoint in a level" +} +``` + +
+ +## GameScript.Game.SetRegeneratingHPDelay + +```lua +GameScript.Game.SetRegeneratingHPDelay(arg1, arg2) +``` + +Источник: [Lua, строка 2863](../../luasense_decompiled.lua#L2863). Имена `argN` — placeholders реконструкции. + +Takes a component handle to an "IRegeneratingHitPointComponent" and overrides the current regen delay on it + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentHandle | The handle to the component from RegisterComponentHandle() | +| 2.0 | Delay | Number of seconds until regen can restart | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentHandle", + "@K[211]": "The handle to the component from RegisterComponentHandle()" + }, + "2.0": { + "@K[209]": "Delay", + "@K[211]": "Number of seconds until regen can restart" + } + }, + "@K[203]": "Takes a component handle to an \"IRegeneratingHitPointComponent\" and overrides the current regen delay on it" +} +``` + +
+ +## GameScript.Game.SetSprint + +```lua +GameScript.Game.SetSprint(arg1, arg2) +``` + +Источник: [Lua, строка 2866](../../luasense_decompiled.lua#L2866). Имена `argN` — placeholders реконструкции. + +Force sprint to turn on or off + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are cause to stop/start sprint | +| 2.0 | SprintEnabled | True means turn sprint on, false to turn off | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are cause to stop/start sprint" + }, + "2.0": { + "@K[209]": "SprintEnabled", + "@K[211]": "True means turn sprint on, false to turn off" + } + }, + "@K[203]": "Force sprint to turn on or off" +} +``` + +
+ +## GameScript.Game.SetWorldsAsSavable + +```lua +GameScript.Game.SetWorldsAsSavable(arg1) +``` + +Источник: [Lua, строка 2869](../../luasense_decompiled.lua#L2869). Имена `argN` — placeholders реконструкции. + +Sets the given list of worlds as savable, meaning that their states will be saved if they are streamed out so they can be restored if streamed back in. Each call of this function will invalidate the previous world list. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireWorlds | The list of worlds to set as savable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireWorlds", + "@K[211]": "The list of worlds to set as savable" + } + }, + "@K[203]": "Sets the given list of worlds as savable, meaning that their states will be saved if they are streamed out so they can be restored if streamed back in. Each call of this function will invalidate the previous world list." +} +``` + +
+ +## GameScript.Game.ShowChallengeSummaryScreen + +```lua +GameScript.Game.ShowChallengeSummaryScreen() +``` + +Источник: [Lua, строка 2890](../../luasense_decompiled.lua#L2890). Имена `argN` — placeholders реконструкции. + +Displays the challenge summary screen. Returns true if the screen is displayed, else returns false. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays the challenge summary screen. Returns true if the screen is displayed, else returns false." +} +``` + +
+ +## GameScript.Game.ShowFullscreenMovie + +```lua +GameScript.Game.ShowFullscreenMovie(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2893](../../luasense_decompiled.lua#L2893). Имена `argN` — placeholders реконструкции. + +Plays a full-screen movie + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Movie | The script name of the movie resource | +| 2.0 | bSkippable | Whether or not this movie can be skipped | +| 3.0 | bPauseGame | Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!! | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + } + }, + "@K[203]": "Plays a full-screen movie" +} +``` + +
+ +## GameScript.Game.ShowFullscreenMovieWithMenu + +```lua +GameScript.Game.ShowFullscreenMovieWithMenu(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2896](../../luasense_decompiled.lua#L2896). Имена `argN` — placeholders реконструкции. + +Plays a full-screen movie + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Movie | The script name of the movie resource | +| 2.0 | bSkippable | Whether or not this movie can be skipped | +| 3.0 | bPauseGame | Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!! | +| 4.0 | Menu | The script name of the menu resource | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + }, + "4.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays a full-screen movie" +} +``` + +
+ +## GameScript.Game.ShowFullscreenMovieWithMenuAndNode + +```lua +GameScript.Game.ShowFullscreenMovieWithMenuAndNode(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 2899](../../luasense_decompiled.lua#L2899). Имена `argN` — placeholders реконструкции. + +Plays a full-screen movie using specified menu code + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Movie | The script name of the movie resource | +| 2.0 | bSkippable | Whether or not this movie can be skipped | +| 3.0 | bPauseGame | Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!! | +| 4.0 | Menu | The script name of the menu resource | +| 5.0 | Node | The name of the menu node as found in the dsMenuFlow file | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + }, + "4.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + }, + "5.0": { + "@K[209]": "Node", + "@K[211]": "The name of the menu node as found in the dsMenuFlow file" + } + }, + "@K[203]": "Plays a full-screen movie using specified menu code" +} +``` + +
+ +## GameScript.Game.ShowGenericMenuScreen + +```lua +GameScript.Game.ShowGenericMenuScreen(arg1) +``` + +Источник: [Lua, строка 2902](../../luasense_decompiled.lua#L2902). Имена `argN` — placeholders реконструкции. + +Displays the named menu screen. Returns true if the screen is displayed, else returns false. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Movie | The name of the movie resource | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The name of the movie resource" + } + }, + "@K[203]": "Displays the named menu screen. Returns true if the screen is displayed, else returns false." +} +``` + +
+ +## GameScript.Game.ShowIntroLoadingMovieAndStream + +```lua +GameScript.Game.ShowIntroLoadingMovieAndStream(arg1) +``` + +Источник: [Lua, строка 2905](../../luasense_decompiled.lua#L2905). Имена `argN` — placeholders реконструкции. + +Plays the intro movie and streams the worlds for a given mission. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MissionIndex | Progression order of the mission | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MissionIndex", + "@K[211]": "Progression order of the mission" + } + }, + "@K[203]": "Plays the intro movie and streams the worlds for a given mission." +} +``` + +
+ +## GameScript.Game.ShowIntroLoadingMovieAndStreamWithMenu + +```lua +GameScript.Game.ShowIntroLoadingMovieAndStreamWithMenu(arg1, arg2) +``` + +Источник: [Lua, строка 2908](../../luasense_decompiled.lua#L2908). Имена `argN` — placeholders реконструкции. + +Plays the intro movie and streams the worlds for a given mission. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MissionIndex | Progression order of the mission | +| 2.0 | Menu | The script name of the menu resource | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MissionIndex", + "@K[211]": "Progression order of the mission" + }, + "2.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays the intro movie and streams the worlds for a given mission." +} +``` + +
+ +## GameScript.Game.ShowLoadingScreenMovie + +```lua +GameScript.Game.ShowLoadingScreenMovie(arg1, arg2) +``` + +Источник: [Lua, строка 2911](../../luasense_decompiled.lua#L2911). Имена `argN` — placeholders реконструкции. + +Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MovieType | The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie. | +| 2.0 | MissionHint | Mission hint | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MovieType", + "@K[211]": "The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie." + }, + "2.0": { + "@K[209]": "MissionHint", + "@K[211]": "Mission hint" + } + }, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" +} +``` + +
+ +## GameScript.Game.ShowLoadingScreenMovieStreamHint + +```lua +GameScript.Game.ShowLoadingScreenMovieStreamHint() +``` + +Источник: [Lua, строка 2914](../../luasense_decompiled.lua#L2914). Имена `argN` — placeholders реконструкции. + +Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId() + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" +} +``` + +
+ +## GameScript.Game.ShowLoadingScreenMovieStreamHintWithMenu + +```lua +GameScript.Game.ShowLoadingScreenMovieStreamHintWithMenu() +``` + +Источник: [Lua, строка 2917](../../luasense_decompiled.lua#L2917). Имена `argN` — placeholders реконструкции. + +Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId() + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" +} +``` + +
+ +## GameScript.Game.ShowLoadingScreenMovieWithMenu + +```lua +GameScript.Game.ShowLoadingScreenMovieWithMenu(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2920](../../luasense_decompiled.lua#L2920). Имена `argN` — placeholders реконструкции. + +Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId() + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MovieType | The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie. | +| 2.0 | MissionHint | Mission hint | +| 3.0 | Menu | The script name of the menu resource | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MovieType", + "@K[211]": "The type of movie to play. 0 = intro, 1 = outtro, 2 = wade movie." + }, + "2.0": { + "@K[209]": "MissionHint", + "@K[211]": "Mission hint" + }, + "3.0": { + "@K[209]": "Menu", + "@K[211]": "The script name of the menu resource" + } + }, + "@K[203]": "Plays a movie initialized by the loading screen. 0 = intro, 1 = outtro, 2 = wade movie.Assumes correct mission data has already been set on a previous call to SetCurrentMissionId()" +} +``` + +
+ +## GameScript.Game.ShowMissionSummaryScreen + +```lua +GameScript.Game.ShowMissionSummaryScreen() +``` + +Источник: [Lua, строка 2923](../../luasense_decompiled.lua#L2923). Имена `argN` — placeholders реконструкции. + +Displays the mission summary screen. Returns true if the screen is displayed, else returns false. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." +} +``` + +
+ +## GameScript.Game.ShowMissionSummaryScreenEx + +```lua +GameScript.Game.ShowMissionSummaryScreenEx(arg1, arg2) +``` + +Источник: [Lua, строка 2926](../../luasense_decompiled.lua#L2926). Имена `argN` — placeholders реконструкции. + +Displays the mission summary screen. Returns true if the screen is displayed, else returns false. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MenuResource | The script name of the menu resource | +| 2.0 | PauseGame | Should the game pause while this menu is displayed? | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MenuResource", + "@K[211]": "The script name of the menu resource" + }, + "2.0": { + "@K[209]": "PauseGame", + "@K[211]": "Should the game pause while this menu is displayed?" + } + }, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." +} +``` + +
+ +## GameScript.Game.ShowMissionSummaryScreenNoPause + +```lua +GameScript.Game.ShowMissionSummaryScreenNoPause() +``` + +Источник: [Lua, строка 2929](../../luasense_decompiled.lua#L2929). Имена `argN` — placeholders реконструкции. + +Displays the mission summary screen. Returns true if the screen is displayed, else returns false. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Displays the mission summary screen. Returns true if the screen is displayed, else returns false." +} +``` + +
+ +## GameScript.Game.ShowMovie + +```lua +GameScript.Game.ShowMovie(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2932](../../luasense_decompiled.lua#L2932). Имена `argN` — placeholders реконструкции. + +Plays a full-screen movie + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | Movie | The script name of the movie resource | +| 2.0 | bSkippable | Whether or not this movie can be skipped | +| 3.0 | bPauseGame | Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!! | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "Movie", + "@K[211]": "The script name of the movie resource" + }, + "2.0": { + "@K[209]": "bSkippable", + "@K[211]": "Whether or not this movie can be skipped" + }, + "3.0": { + "@K[209]": "bPauseGame", + "@K[211]": "Whether or not this movie should pause the game clock. WARNING: some systems will not update while the game clock is paused!!!" + } + }, + "@K[203]": "Plays a full-screen movie" +} +``` + +
+ +## GameScript.Game.ShowPlayerView + +```lua +GameScript.Game.ShowPlayerView() +``` + +Источник: [Lua, строка 2935](../../luasense_decompiled.lua#L2935). Имена `argN` — placeholders реконструкции. + +Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Tells MenuMgr to remove the mask on the HUD that obstructs the player camera view" +} +``` + +
+ +## GameScript.Game.Spawn + +```lua +GameScript.Game.Spawn(arg1, arg2) +``` + +Источник: [Lua, строка 2938](../../luasense_decompiled.lua#L2938). Имена `argN` — placeholders реконструкции. + +Look up a name in the object template list of the script component for "EmpireObject", and spawn an object based on the listed template. Note this is the variable created in the "RegisterObjectTemplateVariable" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TemplateScriptName | The name in the ScriptComponent object template list that refers to the object we wish to spawn | +| 2.0 | Position | Position to which the object is spawned | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which the object is spawned" + } + }, + "@K[203]": "Look up a name in the object template list of the script component for \"EmpireObject\", and spawn an object based on the listed template. Note this is the variable created in the \"RegisterObjectTemplateVariable\" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered." +} +``` + +
+ +## GameScript.Game.SpawnIntoInventory + +```lua +GameScript.Game.SpawnIntoInventory(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 2941](../../luasense_decompiled.lua#L2941). Имена `argN` — placeholders реконструкции. + +Spawns the object with the specified script template name into another object's inventory of the given type. It will try to spawn into the designated group and slot, deleting any object currently occupying that slot. If no specific group is given (by passing in 0), then it will try to use the currently selected group. If no specific slot is given (by passing in 0), then it will spawn the object into the first available empty slot and return an error if there aren't any. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TemplateScriptName | The name in the Script Component's object template list that refers to the object we wish to spawn | +| 2.0 | InventoryObject | The object whose inventory we want to spawn into | +| 3.0 | InventoryType | The type of inventory we want to spawn into.
0 = All inventory lists
1 = Primary Weapon inventory lists
2 = Grenade inventory lists
3 = Augmentation inventory lists
4 = Rider inventory lists | +| 4.0 | InventoryGroup | The inventory group we want to spawn into, starting from group 1. Use 0 to spawn into the object's currently selected inventory group | +| 5.0 | InventorySlot | The inventory slot we want to spawn into, starting from slot 1. Use 0 to spawn into the first available (empty) slot. If a specific slot is specified, then any object currently in that slot will be deleted first | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the Script Component's object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "InventoryObject", + "@K[211]": "The object whose inventory we want to spawn into" + }, + "3.0": { + "@K[209]": "InventoryType", + "@K[211]": "The type of inventory we want to spawn into.\n0 = All inventory lists\n1 = Primary Weapon inventory lists\n2 = Grenade inventory lists\n3 = Augmentation inventory lists\n4 = Rider inventory lists" + }, + "4.0": { + "@K[209]": "InventoryGroup", + "@K[211]": "The inventory group we want to spawn into, starting from group 1. Use 0 to spawn into the object's currently selected inventory group" + }, + "5.0": { + "@K[209]": "InventorySlot", + "@K[211]": "The inventory slot we want to spawn into, starting from slot 1. Use 0 to spawn into the first available (empty) slot. If a specific slot is specified, then any object currently in that slot will be deleted first" + } + }, + "@K[203]": "Spawns the object with the specified script template name into another object's inventory of the given type. It will try to spawn into the designated group and slot, deleting any object currently occupying that slot. If no specific group is given (by passing in 0), then it will try to use the currently selected group. If no specific slot is given (by passing in 0), then it will spawn the object into the first available empty slot and return an error if there aren't any." +} +``` + +
+ +## GameScript.Game.SpawnWithRotation + +```lua +GameScript.Game.SpawnWithRotation(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2944](../../luasense_decompiled.lua#L2944). Имена `argN` — placeholders реконструкции. + +Look up a name in the object template list of the script component for "EmpireObject", and spawn an object based on the listed template. Note this is the variable created in the "RegisterObjectTemplateVariable" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TemplateScriptName | The name in the ScriptComponent object template list that refers to the object we wish to spawn | +| 2.0 | Position | Position to which the object is spawned | +| 3.0 | Rotaion | A RollPitchHeadingVector for the orientaiton of the object spawn | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object we wish to spawn" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which the object is spawned" + }, + "3.0": { + "@K[209]": "Rotaion", + "@K[211]": "A RollPitchHeadingVector for the orientaiton of the object spawn" + } + }, + "@K[203]": "Look up a name in the object template list of the script component for \"EmpireObject\", and spawn an object based on the listed template. Note this is the variable created in the \"RegisterObjectTemplateVariable\" call. We set the position, but the orientation is always aligned to the world. The handle to the newly spawned object is returned so that it can be further adjusted or altered." +} +``` + +
+ +## GameScript.Game.SpawnerFinishedSpawning + +```lua +GameScript.Game.SpawnerFinishedSpawning(arg1) +``` + +Источник: [Lua, строка 2947](../../luasense_decompiled.lua#L2947). Имена `argN` — placeholders реконструкции. + +Check if "SpawnerObject" has a Spawner Component, and if so, check if it has completed spawning. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | SpawnerObject | The empireObject for which we are examining for a Spawner Component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "SpawnerObject", + "@K[211]": "The empireObject for which we are examining for a Spawner Component" + } + }, + "@K[203]": "Check if \"SpawnerObject\" has a Spawner Component, and if so, check if it has completed spawning." +} +``` + +
+ +## GameScript.Game.StartInteraction + +```lua +GameScript.Game.StartInteraction(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 2950](../../luasense_decompiled.lua#L2950). Имена `argN` — placeholders реконструкции. + +Starts an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | InteractionUser | The object that initiates the interaction (typically a player avatar) | +| 2.0 | InteractiveObject | The object that the user is interacting with (such as a lever or button) | +| 3.0 | Position | The position in the world where the interaction should occur | +| 4.0 | Orientation | The RPH of the interaction in the world, in degrees | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (typically a player avatar)" + }, + "2.0": { + "@K[209]": "InteractiveObject", + "@K[211]": "The object that the user is interacting with (such as a lever or button)" + }, + "3.0": { + "@K[209]": "Position", + "@K[211]": "The position in the world where the interaction should occur" + }, + "4.0": { + "@K[209]": "Orientation", + "@K[211]": "The RPH of the interaction in the world, in degrees" + } + }, + "@K[203]": "Starts an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear" +} +``` + +
+ +## GameScript.Game.StartMultiUserInteraction + +```lua +GameScript.Game.StartMultiUserInteraction(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 2953](../../luasense_decompiled.lua#L2953). Имена `argN` — placeholders реконструкции. + +Starts an interaction between an initiator (e.g. levers or buttons) and two interactive objects (e.g. player avatars). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | InteractionUser | The object that initiates the interaction (in a multi user interaction this is usually the level or door) | +| 2.0 | InteractiveObjectA | The object that the user is interacting with (This is usually player 1) | +| 3.0 | InteractiveObjectB | The object that the user is interacting with (This is usually player 2) | +| 4.0 | Position | The position in the world where the interaction should occur | +| 5.0 | Orientation | The RPH of the interaction in the world, in degrees | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (in a multi user interaction this is usually the level or door)" + }, + "2.0": { + "@K[209]": "InteractiveObjectA", + "@K[211]": "The object that the user is interacting with (This is usually player 1)" + }, + "3.0": { + "@K[209]": "InteractiveObjectB", + "@K[211]": "The object that the user is interacting with (This is usually player 2)" + }, + "4.0": { + "@K[209]": "Position", + "@K[211]": "The position in the world where the interaction should occur" + }, + "5.0": { + "@K[209]": "Orientation", + "@K[211]": "The RPH of the interaction in the world, in degrees" + } + }, + "@K[203]": "Starts an interaction between an initiator (e.g. levers or buttons) and two interactive objects (e.g. player avatars). If either object is already involved in an interaction, or there is no interaction between the two, a red screen will appear" +} +``` + +
+ +## GameScript.Game.StartScriptEvent + +```lua +GameScript.Game.StartScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 2956](../../luasense_decompiled.lua#L2956). Имена `argN` — placeholders реконструкции. + +Start a script event on the ScriptEvent component of an object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the message to. | +| 2.0 | scriptEventID | The unique ID of the message defined in the object. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "scriptEventID", + "@K[211]": "The unique ID of the message defined in the object." + } + }, + "@K[203]": "Start a script event on the ScriptEvent component of an object" +} +``` + +
+ +## GameScript.Game.StartScriptEventTarget + +```lua +GameScript.Game.StartScriptEventTarget(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2959](../../luasense_decompiled.lua#L2959). Имена `argN` — placeholders реконструкции. + +Start a script event on the ScriptEvent component of an object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object we are sending the message to. | +| 2.0 | scriptEventID | The unique ID of the message defined in the object. | +| 3.0 | TargetObject | The object to operate on. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object we are sending the message to." + }, + "2.0": { + "@K[209]": "scriptEventID", + "@K[211]": "The unique ID of the message defined in the object." + }, + "3.0": { + "@K[209]": "TargetObject", + "@K[211]": "The object to operate on." + } + }, + "@K[203]": "Start a script event on the ScriptEvent component of an object" +} +``` + +
+ +## GameScript.Game.StopInteraction + +```lua +GameScript.Game.StopInteraction(arg1, arg2) +``` + +Источник: [Lua, строка 2962](../../luasense_decompiled.lua#L2962). Имена `argN` — placeholders реконструкции. + +Stops an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | InteractionUser | The object that initiates the interaction (typically a player avatar) | +| 2.0 | InteractiveObject | The object that the user is interacting with (such as a lever or button) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object that initiates the interaction (typically a player avatar)" + }, + "2.0": { + "@K[209]": "InteractiveObject", + "@K[211]": "The object that the user is interacting with (such as a lever or button)" + } + }, + "@K[203]": "Stops an interaction between an initiator (e.g. a player avatar) and an interactive object (e.g. a lever or button)." +} +``` + +
+ +## GameScript.Game.StopMultiUserInteraction + +```lua +GameScript.Game.StopMultiUserInteraction(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2965](../../luasense_decompiled.lua#L2965). Имена `argN` — placeholders реконструкции. + +Stops an interaction between an initiator (e.g. lever, doors) and two interactive objects (e.g. players). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | InteractionUser | The object is controlling the interaction (in a multi user interaction this is usually not the players.) | +| 2.0 | InteractiveObjectA | The object that the user is interacting with (Usually player 1) | +| 3.0 | InteractiveObjectB | The object that the user is interacting with (Usually player 2) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "InteractionUser", + "@K[211]": "The object is controlling the interaction (in a multi user interaction this is usually not the players.)" + }, + "2.0": { + "@K[209]": "InteractiveObjectA", + "@K[211]": "The object that the user is interacting with (Usually player 1)" + }, + "3.0": { + "@K[209]": "InteractiveObjectB", + "@K[211]": "The object that the user is interacting with (Usually player 2)" + } + }, + "@K[203]": "Stops an interaction between an initiator (e.g. lever, doors) and two interactive objects (e.g. players)." +} +``` + +
+ +## GameScript.Game.StreamWorlds + +```lua +GameScript.Game.StreamWorlds(arg1, arg2) +``` + +Источник: [Lua, строка 2968](../../luasense_decompiled.lua#L2968). Имена `argN` — placeholders реконструкции. + +Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DesiredWorlds | The list of worlds (by their script variable name) that we want to load at this time | +| 2.0 | RequiredWorlds | The list of worlds (by their script variable name) that MUST be loaded at this time | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DesiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that we want to load at this time" + }, + "2.0": { + "@K[209]": "RequiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that MUST be loaded at this time" + } + }, + "@K[203]": "Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out." +} +``` + +
+ +## GameScript.Game.StreamWorldsWithSaveOverride + +```lua +GameScript.Game.StreamWorldsWithSaveOverride(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2971](../../luasense_decompiled.lua#L2971). Имена `argN` — placeholders реконструкции. + +Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | DesiredWorlds | The list of worlds (by their script variable name) that we want to load at this time | +| 2.0 | RequiredWorlds | The list of worlds (by their script variable name) that MUST be loaded at this time | +| 3.0 | AutoSave | Use 0 to disable auto saving, 1 to attempt an auto save. (Note does not work if autosave is off globally) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "DesiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that we want to load at this time" + }, + "2.0": { + "@K[209]": "RequiredWorlds", + "@K[211]": "The list of worlds (by their script variable name) that MUST be loaded at this time" + }, + "3.0": { + "@K[209]": "AutoSave", + "@K[211]": "Use 0 to disable auto saving, 1 to attempt an auto save. (Note does not work if autosave is off globally)" + } + }, + "@K[203]": "Stream in the lists of worlds if they are not already loaded. Each world is given by its resource path in a string. If a world is required by has not been fully loaded, then this function will cause the game to pause until that world is loaded. Required worlds will be given priority over desired worlds. If a world has been loaded but is not listed in either list when this function is called, then it will be streamed out." +} +``` + +
+ +## GameScript.Game.TeleportObjectToPosition + +```lua +GameScript.Game.TeleportObjectToPosition(arg1, arg2) +``` + +Источник: [Lua, строка 2974](../../luasense_decompiled.lua#L2974). Имена `argN` — placeholders реконструкции. + +Send a message to teleport the object to this position while maintaining orientation. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are teleporting | +| 2.0 | Position | Position to which to teleport | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which to teleport" + } + }, + "@K[203]": "Send a message to teleport the object to this position while maintaining orientation." +} +``` + +
+ +## GameScript.Game.TeleportObjectWithRotation + +```lua +GameScript.Game.TeleportObjectWithRotation(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 2977](../../luasense_decompiled.lua#L2977). Имена `argN` — placeholders реконструкции. + +Send a message to teleport the object to this position with the roll, pitch and heading specified. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The object that we are teleporting | +| 2.0 | Position | Position to which to teleport | +| 3.0 | RollPitchHeading | RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The object that we are teleporting" + }, + "2.0": { + "@K[209]": "Position", + "@K[211]": "Position to which to teleport" + }, + "3.0": { + "@K[209]": "RollPitchHeading", + "@K[211]": "RollPitchHeading(degrees) for the object when teleported.This is a RPH vector, so it needs to be a table with an r, p, and h field." + } + }, + "@K[203]": "Send a message to teleport the object to this position with the roll, pitch and heading specified." +} +``` + +
+ +## GameScript.Game.UnhideAllHUD + +```lua +GameScript.Game.UnhideAllHUD() +``` + +Источник: [Lua, строка 2980](../../luasense_decompiled.lua#L2980). Имена `argN` — placeholders реконструкции. + +Unhide all HUD. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Unhide all HUD." +} +``` + +
diff --git a/docs/reference/GameScript.NonProduction.md b/docs/reference/GameScript.NonProduction.md new file mode 100644 index 0000000..3d34dff --- /dev/null +++ b/docs/reference/GameScript.NonProduction.md @@ -0,0 +1,151 @@ +# GameScript.NonProduction + +[Индекс](../API.md) + +## GameScript.NonProduction.GetFrameNumber + +```lua +GameScript.NonProduction.GetFrameNumber() +``` + +Источник: [Lua, строка 2989](../../luasense_decompiled.lua#L2989). Имена `argN` — placeholders реконструкции. + +Return the current frame number for game + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the current frame number for game" +} +``` + +
+ +## GameScript.NonProduction.GetObjectInReticle + +```lua +GameScript.NonProduction.GetObjectInReticle() +``` + +Источник: [Lua, строка 2992](../../luasense_decompiled.lua#L2992). Имена `argN` — placeholders реконструкции. + +Return a handle for the object that is currently in the main player's reticle + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return a handle for the object that is currently in the main player's reticle" +} +``` + +
+ +## GameScript.NonProduction.GetPhysicsObjectsInBox + +```lua +GameScript.NonProduction.GetPhysicsObjectsInBox(arg1, arg2) +``` + +Источник: [Lua, строка 2995](../../luasense_decompiled.lua#L2995). Имена `argN` — placeholders реконструкции. + +Grab a list of all the physics objects that are currently in the world and have part of their bounding volumes within the box formed from the min and max corner positions + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MinCorner | A table with x,y,z that is the position of the minX,Y,Z for the box | +| 2.0 | MaxCorner | A table with x,y,z that is the position of the maxX,Y,Z for the box | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MinCorner", + "@K[211]": "A table with x,y,z that is the position of the minX,Y,Z for the box" + }, + "2.0": { + "@K[209]": "MaxCorner", + "@K[211]": "A table with x,y,z that is the position of the maxX,Y,Z for the box" + } + }, + "@K[203]": "Grab a list of all the physics objects that are currently in the world and have part of their bounding volumes within the box formed from the min and max corner positions" +} +``` + +
+ +## GameScript.NonProduction.SetLookRot + +```lua +GameScript.NonProduction.SetLookRot(arg1) +``` + +Источник: [Lua, строка 2998](../../luasense_decompiled.lua#L2998). Имена `argN` — placeholders реконструкции. + +If the object has a LookRotation component, it will be set to the roll, pitch, heading argument + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TargetRotation | A table that contains the roll, pitch, heading in the r,p,h fields | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TargetRotation", + "@K[211]": "A table that contains the roll, pitch, heading in the r,p,h fields" + } + }, + "@K[203]": "If the object has a LookRotation component, it will be set to the roll, pitch, heading argument" +} +``` + +
+ +## GameScript.NonProduction.TransferPlayerControl + +```lua +GameScript.NonProduction.TransferPlayerControl(arg1, arg2) +``` + +Источник: [Lua, строка 3001](../../luasense_decompiled.lua#L3001). Имена `argN` — placeholders реконструкции. + +Transfers player control from one object to another. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | FromObject | The game object that currently has player control | +| 2.0 | ToObject | The game object that will receive player control | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "FromObject", + "@K[211]": "The game object that currently has player control" + }, + "2.0": { + "@K[209]": "ToObject", + "@K[211]": "The game object that will receive player control" + } + }, + "@K[203]": "Transfers player control from one object to another." +} +``` + +
diff --git a/docs/reference/GameScript.Support.md b/docs/reference/GameScript.Support.md new file mode 100644 index 0000000..16aa0f2 --- /dev/null +++ b/docs/reference/GameScript.Support.md @@ -0,0 +1,1693 @@ +# GameScript.Support + +[Индекс](../API.md) + +## GameScript.Support.AddDescription + +```lua +GameScript.Support.AddDescription(arg1) +``` + +Источник: [Lua, строка 3010](../../luasense_decompiled.lua#L3010). Имена `argN` — placeholders реконструкции. + +When the script is selected in the tools the description text will be displayed. It is also visible in non-final game in the C++ debugger + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "When the script is selected in the tools the description text will be displayed. It is also visible in non-final game in the C++ debugger" +} +``` + +
+ +## GameScript.Support.AddToWorldVectorVariable + +```lua +GameScript.Support.AddToWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3013](../../luasense_decompiled.lua#L3013). Имена `argN` — placeholders реконструкции. + +Take a variable containing a vector of world variable 'WorldsToAddVariableName' and add them to the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WorldVectorScriptName | The variable name we will use to refer to this list | +| 2.0 | WorldsToAddVariableName | The variable containing world we wish to add | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + }, + "2.0": { + "@K[209]": "WorldsToAddVariableName", + "@K[211]": "The variable containing world we wish to add" + } + }, + "@K[203]": "Take a variable containing a vector of world variable 'WorldsToAddVariableName' and add them to the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands." +} +``` + +
+ +## GameScript.Support.CreateScriptEvent + +```lua +GameScript.Support.CreateScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 3016](../../luasense_decompiled.lua#L3016). Имена `argN` — placeholders реконструкции. + +Create an script event variable from the SequenceEvent name which can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to StartScriptEvent(), or RegisterForScriptEvent(). Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EventVariableName | A name that is used to reference the variable in the script component, Usually used for display in forge, but in this case, we hide it because it is just clutter | +| 2.0 | SequenceEventName | Name of the sequenceEvent in the global sequence component | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EventVariableName", + "@K[211]": "A name that is used to reference the variable in the script component, Usually used for display in forge, but in this case, we hide it because it is just clutter" + }, + "2.0": { + "@K[209]": "SequenceEventName", + "@K[211]": "Name of the sequenceEvent in the global sequence component" + } + }, + "@K[203]": "Create an script event variable from the SequenceEvent name which can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to StartScriptEvent(), or RegisterForScriptEvent(). Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.CreateWorldVectorVariable + +```lua +GameScript.Support.CreateWorldVectorVariable(arg1) +``` + +Источник: [Lua, строка 3019](../../luasense_decompiled.lua#L3019). Имена `argN` — placeholders реконструкции. + +Create an empty world vector associated with the script component under . This will not be editable in tools, but can be used with the cmmands, AddToWorldVectorVariable and RemoveFromWorldVectorVariable to create new world vector combinations that can then be used with Game.StreamWorld or other commands. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WorldVectorScriptName | The variable name we will use to refer to this list | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + } + }, + "@K[203]": "Create an empty world vector associated with the script component under . This will not be editable in tools, but can be used with the cmmands, AddToWorldVectorVariable and RemoveFromWorldVectorVariable to create new world vector combinations that can then be used with Game.StreamWorld or other commands." +} +``` + +
+ +## GameScript.Support.DoesObjectTemplateMatch + +```lua +GameScript.Support.DoesObjectTemplateMatch(arg1, arg2) +``` + +Источник: [Lua, строка 3022](../../luasense_decompiled.lua#L3022). Имена `argN` — placeholders реконструкции. + +Checks to see if the template for the matches the template that is associated with the ".dsObject" file in the script component under . + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | Object for which we are checking | +| 2.0 | TemplateScriptName | The name in the ScriptComponent object template list that refers to the object template we are searching | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "Object for which we are checking" + }, + "2.0": { + "@K[209]": "TemplateScriptName", + "@K[211]": "The name in the ScriptComponent object template list that refers to the object template we are searching" + } + }, + "@K[203]": "Checks to see if the template for the matches the template that is associated with the \".dsObject\" file in the script component under ." +} +``` + +
+ +## GameScript.Support.ExitScript + +```lua +GameScript.Support.ExitScript() +``` + +Источник: [Lua, строка 3025](../../luasense_decompiled.lua#L3025). Имена `argN` — placeholders реконструкции. + +Exit the script for this object so it no longer updates or responds to callbacks + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Exit the script for this object so it no longer updates or responds to callbacks" +} +``` + +
+ +## GameScript.Support.ExportFloatVariable + +```lua +GameScript.Support.ExportFloatVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3028](../../luasense_decompiled.lua#L3028). Имена `argN` — placeholders реконструкции. + +Create a variable in the script that will be accessible through the script component of this object and then can then be accessed by other components in this object or from other objects, for example through a WatchVariable. The variable of this name in the script is host authoritative in a networked environment. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be defining in the script | +| 2.0 | InitialValue | The initial value we will give the variable. This is visible in Forge and Landscape | +| 3.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be defining in the script" + }, + "2.0": { + "@K[209]": "InitialValue", + "@K[211]": "The initial value we will give the variable. This is visible in Forge and Landscape" + }, + "3.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script that will be accessible through the script component of this object and then can then be accessed by other components in this object or from other objects, for example through a WatchVariable. The variable of this name in the script is host authoritative in a networked environment. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.GetCurveValue + +```lua +GameScript.Support.GetCurveValue(arg1, arg2) +``` + +Источник: [Lua, строка 3031](../../luasense_decompiled.lua#L3031). Имена `argN` — placeholders реконструкции. + +Returns value of the curve, chosen to match the CurveScriptName in the tools, at the position inputValue. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | CurveScriptName | The name that the script used to register the curve. | +| 2.0 | InputValue | Inpboostut value for which point on the curve to look up. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "CurveScriptName", + "@K[211]": "The name that the script used to register the curve." + }, + "2.0": { + "@K[209]": "InputValue", + "@K[211]": "Inpboostut value for which point on the curve to look up." + } + }, + "@K[203]": "Returns value of the curve, chosen to match the CurveScriptName in the tools, at the position inputValue." +} +``` + +
+ +## GameScript.Support.GetGameTime + +```lua +GameScript.Support.GetGameTime() +``` + +Источник: [Lua, строка 3034](../../luasense_decompiled.lua#L3034). Имена `argN` — placeholders реконструкции. + +Return the current game time in seconds. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the current game time in seconds." +} +``` + +
+ +## GameScript.Support.GetGameTimeDelta + +```lua +GameScript.Support.GetGameTimeDelta() +``` + +Источник: [Lua, строка 3037](../../luasense_decompiled.lua#L3037). Имена `argN` — placeholders реконструкции. + +Return the current game time delta in seconds. + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return the current game time delta in seconds." +} +``` + +
+ +## GameScript.Support.GetImportObjectTable + +```lua +GameScript.Support.GetImportObjectTable(arg1) +``` + +Источник: [Lua, строка 3040](../../luasense_decompiled.lua#L3040). Имена `argN` — placeholders реконструкции. + +Returns all objects specified by the Import Object Handle Variable of the given name. The list always returns a table, even if it only returns one object. If the Import Object Handle Variable is returning "Objects in My Set" or "Objects in a Set", then it will not return the specified object, but rather the objects inside its Set Component if it has one. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable whose value we are getting | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable whose value we are getting" + } + }, + "@K[203]": "Returns all objects specified by the Import Object Handle Variable of the given name. The list always returns a table, even if it only returns one object. If the Import Object Handle Variable is returning \"Objects in My Set\" or \"Objects in a Set\", then it will not return the specified object, but rather the objects inside its Set Component if it has one." +} +``` + +
+ +## GameScript.Support.GetImportWatchVariableValue + +```lua +GameScript.Support.GetImportWatchVariableValue(arg1) +``` + +Источник: [Lua, строка 3043](../../luasense_decompiled.lua#L3043). Имена `argN` — placeholders реконструкции. + +Returns the value of the watch variable of the given name. Returns 0 if the variable is unbound or does not exist. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the watch variable whose value we are getting | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the watch variable whose value we are getting" + } + }, + "@K[203]": "Returns the value of the watch variable of the given name. Returns 0 if the variable is unbound or does not exist." +} +``` + +
+ +## GameScript.Support.GetObjectVariableFromComponent + +```lua +GameScript.Support.GetObjectVariableFromComponent(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3046](../../luasense_decompiled.lua#L3046). Имена `argN` — placeholders реконструкции. + +Returns value of the variable contained in the component named "ComponentName" in "EmpireObject". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are requesting a variable | +| 2.0 | ObjectVariableName | The name of the variable in the "EmpireObject". | +| 3.0 | ComponentName | The name of the component in the "EmpireObject". | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are requesting a variable" + }, + "2.0": { + "@K[209]": "ObjectVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + }, + "3.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the component in the \"EmpireObject\"." + } + }, + "@K[203]": "Returns value of the variable contained in the component named \"ComponentName\" in \"EmpireObject\"." +} +``` + +
+ +## GameScript.Support.GetPlatform + +```lua +GameScript.Support.GetPlatform() +``` + +Источник: [Lua, строка 3049](../../luasense_decompiled.lua#L3049). Имена `argN` — placeholders реконструкции. + +Return an enum for the platform. GameScript.Platform.XBox360,PS3,Win32 + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return an enum for the platform. GameScript.Platform.XBox360,PS3,Win32" +} +``` + +
+ +## GameScript.Support.GetRandomFactor + +```lua +GameScript.Support.GetRandomFactor() +``` + +Источник: [Lua, строка 3052](../../luasense_decompiled.lua#L3052). Имена `argN` — placeholders реконструкции. + +Return a random number from 0.0 to 1.0(range includes both 0 and 1) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return a random number from 0.0 to 1.0(range includes both 0 and 1)" +} +``` + +
+ +## GameScript.Support.GetRandomInteger + +```lua +GameScript.Support.GetRandomInteger(arg1, arg2) +``` + +Источник: [Lua, строка 3055](../../luasense_decompiled.lua#L3055). Имена `argN` — placeholders реконструкции. + +Return a random integer from minValue to maxValue(range includes both min and max) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MinValue | Lowest possible return | +| 2.0 | MaxValue | Highest possible return | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MinValue", + "@K[211]": "Lowest possible return" + }, + "2.0": { + "@K[209]": "MaxValue", + "@K[211]": "Highest possible return" + } + }, + "@K[203]": "Return a random integer from minValue to maxValue(range includes both min and max)" +} +``` + +
+ +## GameScript.Support.GetScriptExportVariable + +```lua +GameScript.Support.GetScriptExportVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3058](../../luasense_decompiled.lua#L3058). Имена `argN` — placeholders реконструкции. + +Return the value from the "EmpireObject" of variable exported from the script with the name "ScriptVariableName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are examining for a variable | +| 2.0 | ScriptVariableName | The name of the variable in the "EmpireObject". | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a variable" + }, + "2.0": { + "@K[209]": "ScriptVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + } + }, + "@K[203]": "Return the value from the \"EmpireObject\" of variable exported from the script with the name \"ScriptVariableName\"." +} +``` + +
+ +## GameScript.Support.GetStreamingWorldNames + +```lua +GameScript.Support.GetStreamingWorldNames(arg1, arg2) +``` + +Источник: [Lua, строка 3061](../../luasense_decompiled.lua#L3061). Имена `argN` — placeholders реконструкции. + +Returns the current desired and required worlds. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | desiredWorldsScriptName | The variable name for the desired worlds to be stored in. | +| 2.0 | requiredWorldsScriptName | The variable name for the required worlds to be stored in. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "desiredWorldsScriptName", + "@K[211]": "The variable name for the desired worlds to be stored in." + }, + "2.0": { + "@K[209]": "requiredWorldsScriptName", + "@K[211]": "The variable name for the required worlds to be stored in." + } + }, + "@K[203]": "Returns the current desired and required worlds." +} +``` + +
+ +## GameScript.Support.HasScriptExportVariable + +```lua +GameScript.Support.HasScriptExportVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3064](../../luasense_decompiled.lua#L3064). Имена `argN` — placeholders реконструкции. + +Determines if the "EmpireObject" has export a variable from the script with the name "ScriptVariableName". + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject | The empireObject for which we are examining for a variable | +| 2.0 | ScriptVariableName | The name of the variable in the "EmpireObject". | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject", + "@K[211]": "The empireObject for which we are examining for a variable" + }, + "2.0": { + "@K[209]": "ScriptVariableName", + "@K[211]": "The name of the variable in the \"EmpireObject\"." + } + }, + "@K[203]": "Determines if the \"EmpireObject\" has export a variable from the script with the name \"ScriptVariableName\"." +} +``` + +
+ +## GameScript.Support.ImportBoolVariable + +```lua +GameScript.Support.ImportBoolVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3067](../../luasense_decompiled.lua#L3067). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportBoolVariableWithDefault + +```lua +GameScript.Support.ImportBoolVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3070](../../luasense_decompiled.lua#L3070). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | +| 3.0 | DefaultValue | The default value of the variable when it is created | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable when it is created" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportColorVariable + +```lua +GameScript.Support.ImportColorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3073](../../luasense_decompiled.lua#L3073). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportEnumVariable + +```lua +GameScript.Support.ImportEnumVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3076](../../luasense_decompiled.lua#L3076). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value will be selected with a combo box and return by this function. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TableName | The name of the table | +| 2.0 | VariableName | The name of the variable we will be accessing from the script | +| 3.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TableName", + "@K[211]": "The name of the table " + }, + "2.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "3.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value will be selected with a combo box and return by this function. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportFloatVariable + +```lua +GameScript.Support.ImportFloatVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3079](../../luasense_decompiled.lua#L3079). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportFloatVariableWithDefault + +```lua +GameScript.Support.ImportFloatVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3082](../../luasense_decompiled.lua#L3082). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | +| 3.0 | DefaultValue | The default value of the variable when it is created | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable when it is created" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportObjectHandleVariable + +```lua +GameScript.Support.ImportObjectHandleVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3085](../../luasense_decompiled.lua#L3085). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Returns true if exists in game and if created in the tools Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Returns true if exists in game and if created in the tools Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportObjectList + +```lua +GameScript.Support.ImportObjectList(arg1, arg2) +``` + +Источник: [Lua, строка 3088](../../luasense_decompiled.lua#L3088). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Landscape. This variable will allow you to set up a list of objects. The size of the list, and the objects in that list are set in Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Landscape. This variable will allow you to set up a list of objects. The size of the list, and the objects in that list are set in Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportRegionObject + +```lua +GameScript.Support.ImportRegionObject(arg1, arg2) +``` + +Источник: [Lua, строка 3091](../../luasense_decompiled.lua#L3091). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape to an object with a region component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a region component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportScriptEvent + +```lua +GameScript.Support.ImportScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 3094](../../luasense_decompiled.lua#L3094). Имена `argN` — placeholders реконструкции. + +Create an event that can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to SendEventMessage(), or RegisterForScriptEvent(). The description is only used for the tools UI Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EventName | A name to look up the id associated with the ecen | +| 2.0 | EventDescription | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EventName", + "@K[211]": "A name to look up the id associated with the ecen" + }, + "2.0": { + "@K[209]": "EventDescription", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create an event that can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to SendEventMessage(), or RegisterForScriptEvent(). The description is only used for the tools UI Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportSetObject + +```lua +GameScript.Support.ImportSetObject(arg1, arg2) +``` + +Источник: [Lua, строка 3097](../../luasense_decompiled.lua#L3097). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape to an object with a set component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a set component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportSingleObject + +```lua +GameScript.Support.ImportSingleObject(arg1, arg2) +``` + +Источник: [Lua, строка 3100](../../luasense_decompiled.lua#L3100). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape to a single object. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to a single object. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportStaticTextVariable + +```lua +GameScript.Support.ImportStaticTextVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3103](../../luasense_decompiled.lua#L3103). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportStaticTextVariableWithDefault + +```lua +GameScript.Support.ImportStaticTextVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3106](../../luasense_decompiled.lua#L3106). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | +| 3.0 | DefaultValue | The default value of the variable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportStringVariable + +```lua +GameScript.Support.ImportStringVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3109](../../luasense_decompiled.lua#L3109). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportStringVariableWithDefault + +```lua +GameScript.Support.ImportStringVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3112](../../luasense_decompiled.lua#L3112). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | +| 3.0 | DefaultValue | The default value of the variable | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + }, + "3.0": { + "@K[209]": "DefaultValue", + "@K[211]": "The default value of the variable" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportVectorVariable + +```lua +GameScript.Support.ImportVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3115](../../luasense_decompiled.lua#L3115). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.ImportWatchVariable + +```lua +GameScript.Support.ImportWatchVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3118](../../luasense_decompiled.lua#L3118). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.IsSplitScreen + +```lua +GameScript.Support.IsSplitScreen() +``` + +Источник: [Lua, строка 3121](../../luasense_decompiled.lua#L3121). Имена `argN` — placeholders реконструкции. + +Return a bool indicating whether or not the game is running in split screen + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return a bool indicating whether or not the game is running in split screen" +} +``` + +
+ +## GameScript.Support.RegisterAnimationGraphResourceVariable + +```lua +GameScript.Support.RegisterAnimationGraphResourceVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3124](../../luasense_decompiled.lua#L3124). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an animation resource. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as SetAnimationGraphResource. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an animation resource. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as SetAnimationGraphResource. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterComponentHandle + +```lua +GameScript.Support.RegisterComponentHandle(arg1, arg2) +``` + +Источник: [Lua, строка 3127](../../luasense_decompiled.lua#L3127). Имена `argN` — placeholders реконструкции. + +Eventually will create a variable that can be set to select a component in Forge. Current does nothing in the tools, but in game gets the handle to a component for your current object that can be used in other calls. This was set up specifically for IEnergyComponent and if useful, may be generalized. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | ComponentName | The name of the component for which we want a handle | +| 2.0 | @K[203] | A description that eventually will be visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "ComponentName", + "@K[211]": "The name of the component for which we want a handle" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that eventually will be visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Eventually will create a variable that can be set to select a component in Forge. Current does nothing in the tools, but in game gets the handle to a component for your current object that can be used in other calls. This was set up specifically for IEnergyComponent and if useful, may be generalized." +} +``` + +
+ +## GameScript.Support.RegisterCurveTemplateVariable + +```lua +GameScript.Support.RegisterCurveTemplateVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3130](../../luasense_decompiled.lua#L3130). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a curve template(i.e. *.dsCurve). When this runs in the game it returns true if the variable has a curve template. There are other commands that will take this variable name and look up the curve template for commands such as SetEnvironmentLight. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a curve template(i.e. *.dsCurve). When this runs in the game it returns true if the variable has a curve template. There are other commands that will take this variable name and look up the curve template for commands such as SetEnvironmentLight. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterMenuVariable + +```lua +GameScript.Support.RegisterMenuVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3133](../../luasense_decompiled.lua#L3133). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a menu(i.e. *.dsMenu). When this runs in the game it returns true if the variable has a menu. There are other commands that will take this variable name and look up the menu for commands such as ShowMovie and ShowFullscreenMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a menu(i.e. *.dsMenu). When this runs in the game it returns true if the variable has a menu. There are other commands that will take this variable name and look up the menu for commands such as ShowMovie and ShowFullscreenMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterMovieVariable + +```lua +GameScript.Support.RegisterMovieVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3136](../../luasense_decompiled.lua#L3136). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is movie. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as ShowMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is movie. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as ShowMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterObjectTemplateVariable + +```lua +GameScript.Support.RegisterObjectTemplateVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3139](../../luasense_decompiled.lua#L3139). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an objectTemplate(i.e. *.dsObject). When this runs in the game it returns true if the variable has an object template. There are other commands that will take this variable name and look up the object template for commands such as SpawnObject. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an objectTemplate(i.e. *.dsObject). When this runs in the game it returns true if the variable has an object template. There are other commands that will take this variable name and look up the object template for commands such as SpawnObject. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterTextureVariable + +```lua +GameScript.Support.RegisterTextureVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3142](../../luasense_decompiled.lua#L3142). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a texture(i.e. *.tif). When this runs in the game it returns true if the variable has a texture. There are other commands that will take this variable name and look up the texture for commands such as SetAmbientCubeMap. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a texture(i.e. *.tif). When this runs in the game it returns true if the variable has a texture. There are other commands that will take this variable name and look up the texture for commands such as SetAmbientCubeMap. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RegisterWorldVectorVariable + +```lua +GameScript.Support.RegisterWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3145](../../luasense_decompiled.lua#L3145). Имена `argN` — placeholders реконструкции. + +Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a vector of worlds (i.e. *.dsWorld). When this runs in the game it returns true if the variable has a vector. There are other commands that will take this variable name and look up the world vector for commands such as StreamWorlds. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | VariableName | The name of the variable we will be accessing from the script | +| 2.0 | @K[203] | A description that is visible in Forge and Landscape, ignored in game | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "VariableName", + "@K[211]": "The name of the variable we will be accessing from the script" + }, + "2.0": { + "@K[209]": "@K[203]", + "@K[211]": "A description that is visible in Forge and Landscape, ignored in game" + } + }, + "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a vector of worlds (i.e. *.dsWorld). When this runs in the game it returns true if the variable has a vector. There are other commands that will take this variable name and look up the world vector for commands such as StreamWorlds. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored." +} +``` + +
+ +## GameScript.Support.RemoveFromWorldVectorVariable + +```lua +GameScript.Support.RemoveFromWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3148](../../luasense_decompiled.lua#L3148). Имена `argN` — placeholders реконструкции. + +Take a variable containing a vector of world variable 'WorldsToRemoveVariableName' and remove every occurence of those worlds from the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | WorldVectorScriptName | The variable name we will use to refer to this list | +| 2.0 | WorldsToRemoveVariableName | The variable containing world we wish to remove | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "WorldVectorScriptName", + "@K[211]": "The variable name we will use to refer to this list" + }, + "2.0": { + "@K[209]": "WorldsToRemoveVariableName", + "@K[211]": "The variable containing world we wish to remove" + } + }, + "@K[203]": "Take a variable containing a vector of world variable 'WorldsToRemoveVariableName' and remove every occurence of those worlds from the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands." +} +``` + +
+ +## GameScript.Support.TurnOnScriptUpdate + +```lua +GameScript.Support.TurnOnScriptUpdate(arg1) +``` + +Источник: [Lua, строка 3151](../../luasense_decompiled.lua#L3151). Имена `argN` — placeholders реконструкции. + +Enable or disable update of the script in this object + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | bUpdate | Enable(true) or disable(false) | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "bUpdate", + "@K[211]": "Enable(true) or disable(false)" + } + }, + "@K[203]": "Enable or disable update of the script in this object" +} +``` + +
diff --git a/docs/reference/GameScript.Utilities.md b/docs/reference/GameScript.Utilities.md new file mode 100644 index 0000000..12ca340 --- /dev/null +++ b/docs/reference/GameScript.Utilities.md @@ -0,0 +1,308 @@ +# GameScript.Utilities + +[Индекс](../API.md) + +## GameScript.Utilities.CastRay + +```lua +GameScript.Utilities.CastRay(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3154](../../luasense_decompiled.lua#L3154). Имена `argN` — placeholders реконструкции. + +Casts a ray from one point to another, and returns a table with the normal and distance to the first object, if any, that is hit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | StartPos | StartPos is a vector for where the ray starts.
| +| 2.0 | CastDirection | CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)
| +| 3.0 | RayInputParameters | RayInputParameters is a table that contains a variety of options.
Note that is any of these parameters are missing, the default will be used, for instance distance will be zero
"dist" is the length of ray cast (in meters).
"collisGroup" Which collision group definition does the ray use for instance is "small debris", would only collide with environment
"checkProxies" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule
| +| 4.0 | RayOutput | The results of the cast is a table with fields:
"hasHit" bool for whether or not anything was hit
"object" handle to the object the ray hit.
"distanceToCollision" Distance from the start before collision occurred.
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + }, + "4.0": { + "@K[209]": "RayOutput", + "@K[211]": "The results of the cast is a table with fields:\n\"hasHit\" bool for whether or not anything was hit\n\"object\" handle to the object the ray hit.\n\"distanceToCollision\" Distance from the start before collision occurred.\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns a table with the normal and distance to the first object, if any, that is hit." +} +``` + +
+ +## GameScript.Utilities.DoesRayCollide + +```lua +GameScript.Utilities.DoesRayCollide(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3157](../../luasense_decompiled.lua#L3157). Имена `argN` — placeholders реконструкции. + +Casts a ray from one point to another, and returns true if it hit something + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | StartPos | StartPos is a vector for where the ray starts.
| +| 2.0 | CastDirection | CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)
| +| 3.0 | RayInputParameters | RayInputParameters is a table that contains a variety of options.
Note that is any of these parameters are missing, the default will be used, for instance distance will be zero
"dist" is the length of ray cast (in meters).
"collisGroup" Which collision group definition does the ray use for instance is "small debris", would only collide with environment
"checkProxies" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns true if it hit something" +} +``` + +
+ +## GameScript.Utilities.GenerateRandomSeed + +```lua +GameScript.Utilities.GenerateRandomSeed() +``` + +Источник: [Lua, строка 3160](../../luasense_decompiled.lua#L3160). Имена `argN` — placeholders реконструкции. + +Generate a new random seed value) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Generate a new random seed value)" +} +``` + +
+ +## GameScript.Utilities.GetDistanceBetweenObjects + +```lua +GameScript.Utilities.GetDistanceBetweenObjects(arg1, arg2) +``` + +Источник: [Lua, строка 3163](../../luasense_decompiled.lua#L3163). Имена `argN` — placeholders реконструкции. + +Returns distance in meters, returns extremely large number is either object does not have a position(no PosRot or doesn't exist). + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | EmpireObject1 | One of two empireObjects for which we are checking the distance between. | +| 2.0 | EmpireObject2 | The second of two empireObjects for which we are checking the distance between. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "EmpireObject1", + "@K[211]": "One of two empireObjects for which we are checking the distance between." + }, + "2.0": { + "@K[209]": "EmpireObject2", + "@K[211]": "The second of two empireObjects for which we are checking the distance between." + } + }, + "@K[203]": "Returns distance in meters, returns extremely large number is either object does not have a position(no PosRot or doesn't exist)." +} +``` + +
+ +## GameScript.Utilities.GetGlobalDataObject + +```lua +GameScript.Utilities.GetGlobalDataObject() +``` + +Источник: [Lua, строка 3166](../../luasense_decompiled.lua#L3166). Имена `argN` — placeholders реконструкции. + +Get a handle to the global data object which can be useful for listening to messages such as GameScript.MsgCallback.PlayerRegistrationMessage + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Get a handle to the global data object which can be useful for listening to messages such as GameScript.MsgCallback.PlayerRegistrationMessage" +} +``` + +
+ +## GameScript.Utilities.GetRandomInteger + +```lua +GameScript.Utilities.GetRandomInteger(arg1, arg2) +``` + +Источник: [Lua, строка 3169](../../luasense_decompiled.lua#L3169). Имена `argN` — placeholders реконструкции. + +Return a random integer from minValue to maxValue(range includes both min and max) + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | MinValue | Lowest possible return | +| 2.0 | MaxValue | Highest possible return | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "MinValue", + "@K[211]": "Lowest possible return" + }, + "2.0": { + "@K[209]": "MaxValue", + "@K[211]": "Highest possible return" + } + }, + "@K[203]": "Return a random integer from minValue to maxValue(range includes both min and max)" +} +``` + +
+ +## GameScript.Utilities.GetRandomPercent + +```lua +GameScript.Utilities.GetRandomPercent() +``` + +Источник: [Lua, строка 3172](../../luasense_decompiled.lua#L3172). Имена `argN` — placeholders реконструкции. + +Return a random number from 0.0 to 1.0(range includes both 0 and 1) + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "Return a random number from 0.0 to 1.0(range includes both 0 and 1)" +} +``` + +
+ +## GameScript.Utilities.GetRayCollisionDistance + +```lua +GameScript.Utilities.GetRayCollisionDistance(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3175](../../luasense_decompiled.lua#L3175). Имена `argN` — placeholders реконструкции. + +Casts a ray from one point to another, and returns a table with the distance to the first object, if any, that is hit. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | StartPos | StartPos is a vector for where the ray starts.
| +| 2.0 | CastDirection | CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)
| +| 3.0 | RayInputParameters | RayInputParameters is a table that contains a variety of options.
Note that is any of these parameters are missing, the default will be used, for instance distance will be zero
"dist" is the length of ray cast (in meters).
"collisGroup" Which collision group definition does the ray use for instance is "small debris", would only collide with environment
"checkProxies" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule
| +| 4.0 | RayDistanceOutput | The results of the cast is a table with fields:
"hasHit" bool for whether or not anything was hit
"distanceToCollision" Distance from the start before collision occurred.
| + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "StartPos", + "@K[211]": "StartPos is a vector for where the ray starts.\n" + }, + "2.0": { + "@K[209]": "CastDirection", + "@K[211]": "CastDirection is a vector that indicates the direction to cast the ray.(table with x,y,z)\n" + }, + "3.0": { + "@K[209]": "RayInputParameters", + "@K[211]": "RayInputParameters is a table that contains a variety of options.\nNote that is any of these parameters are missing, the default will be used, for instance distance will be zero\n\"dist\" is the length of ray cast (in meters).\n\"collisGroup\" Which collision group definition does the ray use for instance is \"small debris\", would only collide with environment\n\"checkProxies\" Whether we want to check for detailed proxy collisions such as the limbs of a human, or just the bounding capsule\n" + }, + "4.0": { + "@K[209]": "RayDistanceOutput", + "@K[211]": "The results of the cast is a table with fields:\n\"hasHit\" bool for whether or not anything was hit\n\"distanceToCollision\" Distance from the start before collision occurred.\n" + } + }, + "@K[203]": "Casts a ray from one point to another, and returns a table with the distance to the first object, if any, that is hit." +} +``` + +
+ +## GameScript.Utilities.GetTextIDString + +```lua +GameScript.Utilities.GetTextIDString(arg1) +``` + +Источник: [Lua, строка 3178](../../luasense_decompiled.lua#L3178). Имена `argN` — placeholders реконструкции. + +Get the string for the passed in Text ID. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | TextID | The text ID of the string to get. | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "TextID", + "@K[211]": "The text ID of the string to get." + } + }, + "@K[203]": "Get the string for the passed in Text ID." +} +``` + +
diff --git a/docs/reference/GameScript.md b/docs/reference/GameScript.md new file mode 100644 index 0000000..f6edfc7 --- /dev/null +++ b/docs/reference/GameScript.md @@ -0,0 +1,152 @@ +# GameScript + +[Индекс](../API.md) + +## GameScript.Exit + +```lua +GameScript.Exit() +``` + +Источник: [Lua, строка 1526](../../luasense_decompiled.lua#L1526). Имена `argN` — placeholders реконструкции. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## GameScript.GenerateDocs + +```lua +GameScript.GenerateDocs(arg1) +``` + +Источник: [Lua, строка 2983](../../luasense_decompiled.lua#L2983). Имена `argN` — placeholders реконструкции. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## GameScript.GenerateLuasense + +```lua +GameScript.GenerateLuasense(arg1) +``` + +Источник: [Lua, строка 2986](../../luasense_decompiled.lua#L2986). Имена `argN` — placeholders реконструкции. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## GameScript.SetAppMode + +```lua +GameScript.SetAppMode(arg1) +``` + +Источник: [Lua, строка 3004](../../luasense_decompiled.lua#L3004). Имена `argN` — placeholders реконструкции. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## GameScript.StartLog + +```lua +GameScript.StartLog(arg1) +``` + +Источник: [Lua, строка 3007](../../luasense_decompiled.lua#L3007). Имена `argN` — placeholders реконструкции. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
diff --git a/docs/reference/Graphics.md b/docs/reference/Graphics.md new file mode 100644 index 0000000..30e6c09 --- /dev/null +++ b/docs/reference/Graphics.md @@ -0,0 +1,313 @@ +# Graphics + +[Индекс](../API.md) + +## Graphics.GetColor + +```lua +Graphics.GetColor(arg1) +``` + +Источник: [Lua, строка 3182](../../luasense_decompiled.lua#L3182). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.GetEnvironmentLight + +```lua +Graphics.GetEnvironmentLight() +``` + +Источник: [Lua, строка 3184](../../luasense_decompiled.lua#L3184). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.GetPortalOpen + +```lua +Graphics.GetPortalOpen(arg1) +``` + +Источник: [Lua, строка 3186](../../luasense_decompiled.lua#L3186). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetAlphaBlend + +```lua +Graphics.SetAlphaBlend(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3188](../../luasense_decompiled.lua#L3188). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetAmbientLightIntensity + +```lua +Graphics.SetAmbientLightIntensity(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3190](../../luasense_decompiled.lua#L3190). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetAmbientLightSpecularity + +```lua +Graphics.SetAmbientLightSpecularity(arg1, arg2) +``` + +Источник: [Lua, строка 3192](../../luasense_decompiled.lua#L3192). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetCastsShadows + +```lua +Graphics.SetCastsShadows(arg1, arg2) +``` + +Источник: [Lua, строка 3194](../../luasense_decompiled.lua#L3194). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetColor + +```lua +Graphics.SetColor(arg1, arg2) +``` + +Источник: [Lua, строка 3196](../../luasense_decompiled.lua#L3196). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetContractionsFogColors + +```lua +Graphics.SetContractionsFogColors(arg1, arg2, arg3, arg4, arg5) +``` + +Источник: [Lua, строка 3198](../../luasense_decompiled.lua#L3198). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetContractionsFogValues + +```lua +Graphics.SetContractionsFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3200](../../luasense_decompiled.lua#L3200). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetDiffuseAmbientCubeMap + +```lua +Graphics.SetDiffuseAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 3202](../../luasense_decompiled.lua#L3202). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetDistantObjectsShadowed + +```lua +Graphics.SetDistantObjectsShadowed(arg1, arg2) +``` + +Источник: [Lua, строка 3204](../../luasense_decompiled.lua#L3204). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetEnvironmentLight + +```lua +Graphics.SetEnvironmentLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3206](../../luasense_decompiled.lua#L3206). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetFogColor + +```lua +Graphics.SetFogColor(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3208](../../luasense_decompiled.lua#L3208). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetFogCubeMap + +```lua +Graphics.SetFogCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 3210](../../luasense_decompiled.lua#L3210). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetFogValues + +```lua +Graphics.SetFogValues(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3212](../../luasense_decompiled.lua#L3212). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetGlobalSunDirection + +```lua +Graphics.SetGlobalSunDirection() +``` + +Источник: [Lua, строка 3214](../../luasense_decompiled.lua#L3214). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetLightControl + +```lua +Graphics.SetLightControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3216](../../luasense_decompiled.lua#L3216). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetLightControlAndCurve + +```lua +Graphics.SetLightControlAndCurve(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3218](../../luasense_decompiled.lua#L3218). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetLightIntensity + +```lua +Graphics.SetLightIntensity(arg1, arg2) +``` + +Источник: [Lua, строка 3220](../../luasense_decompiled.lua#L3220). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetLightProbeRegionAmbientColor + +```lua +Graphics.SetLightProbeRegionAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 3222](../../luasense_decompiled.lua#L3222). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetLightRadius + +```lua +Graphics.SetLightRadius(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3224](../../luasense_decompiled.lua#L3224). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetMaterialSortMode + +```lua +Graphics.SetMaterialSortMode(arg1, arg2) +``` + +Источник: [Lua, строка 3226](../../luasense_decompiled.lua#L3226). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetNamedMaterialColor + +```lua +Graphics.SetNamedMaterialColor(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3228](../../luasense_decompiled.lua#L3228). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetNamedMaterialScalar + +```lua +Graphics.SetNamedMaterialScalar(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3230](../../luasense_decompiled.lua#L3230). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetParticleAmbientColor + +```lua +Graphics.SetParticleAmbientColor(arg1, arg2) +``` + +Источник: [Lua, строка 3232](../../luasense_decompiled.lua#L3232). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetPortalOpen + +```lua +Graphics.SetPortalOpen(arg1, arg2) +``` + +Источник: [Lua, строка 3234](../../luasense_decompiled.lua#L3234). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetShadowDistances + +```lua +Graphics.SetShadowDistances(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3236](../../luasense_decompiled.lua#L3236). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetShadowQuality + +```lua +Graphics.SetShadowQuality(arg1) +``` + +Источник: [Lua, строка 3238](../../luasense_decompiled.lua#L3238). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetSpecularAmbientCubeMap + +```lua +Graphics.SetSpecularAmbientCubeMap(arg1, arg2) +``` + +Источник: [Lua, строка 3240](../../luasense_decompiled.lua#L3240). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Graphics.SetSpotLight + +```lua +Graphics.SetSpotLight(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3242](../../luasense_decompiled.lua#L3242). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/MP.md b/docs/reference/MP.md new file mode 100644 index 0000000..25b647f --- /dev/null +++ b/docs/reference/MP.md @@ -0,0 +1,273 @@ +# MP + +[Индекс](../API.md) + +## MP.AddSpecialSpawnPlayer + +```lua +MP.AddSpecialSpawnPlayer(arg1) +``` + +Источник: [Lua, строка 3250](../../luasense_decompiled.lua#L3250). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.AwardPlayerPoints + +```lua +MP.AwardPlayerPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3252](../../luasense_decompiled.lua#L3252). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.AwardTeamPoints + +```lua +MP.AwardTeamPoints(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3254](../../luasense_decompiled.lua#L3254). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.ClearNetworkSaveData + +```lua +MP.ClearNetworkSaveData() +``` + +Источник: [Lua, строка 3256](../../luasense_decompiled.lua#L3256). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.DisableMPManagerMatchTimeLimit + +```lua +MP.DisableMPManagerMatchTimeLimit() +``` + +Источник: [Lua, строка 3258](../../luasense_decompiled.lua#L3258). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetCurrentPlayerStatistic + +```lua +MP.GetCurrentPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 3260](../../luasense_decompiled.lua#L3260). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetDifficultyLevel + +```lua +MP.GetDifficultyLevel() +``` + +Источник: [Lua, строка 3262](../../luasense_decompiled.lua#L3262). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetGameMode + +```lua +MP.GetGameMode() +``` + +Источник: [Lua, строка 3264](../../luasense_decompiled.lua#L3264). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetGameTypeFlag + +```lua +MP.GetGameTypeFlag(arg1) +``` + +Источник: [Lua, строка 3266](../../luasense_decompiled.lua#L3266). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetMultiplayerTime + +```lua +MP.GetMultiplayerTime() +``` + +Источник: [Lua, строка 3268](../../luasense_decompiled.lua#L3268). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetNetworkLookRotForward + +```lua +MP.GetNetworkLookRotForward(arg1) +``` + +Источник: [Lua, строка 3270](../../luasense_decompiled.lua#L3270). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetNumberOfActivePlayers + +```lua +MP.GetNumberOfActivePlayers() +``` + +Источник: [Lua, строка 3272](../../luasense_decompiled.lua#L3272). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetNumberOfRounds + +```lua +MP.GetNumberOfRounds() +``` + +Источник: [Lua, строка 3274](../../luasense_decompiled.lua#L3274). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetNumberOfRoundsInAContinuousSession + +```lua +MP.GetNumberOfRoundsInAContinuousSession() +``` + +Источник: [Lua, строка 3276](../../luasense_decompiled.lua#L3276). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetPlayerName + +```lua +MP.GetPlayerName() +``` + +Источник: [Lua, строка 3278](../../luasense_decompiled.lua#L3278). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetPointAward + +```lua +MP.GetPointAward(arg1) +``` + +Источник: [Lua, строка 3280](../../luasense_decompiled.lua#L3280). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTeamForPlayer + +```lua +MP.GetTeamForPlayer(arg1) +``` + +Источник: [Lua, строка 3282](../../luasense_decompiled.lua#L3282). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTeamStatistic + +```lua +MP.GetTeamStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 3284](../../luasense_decompiled.lua#L3284). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTimeElapsed + +```lua +MP.GetTimeElapsed() +``` + +Источник: [Lua, строка 3286](../../luasense_decompiled.lua#L3286). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTimeLimit + +```lua +MP.GetTimeLimit() +``` + +Источник: [Lua, строка 3288](../../luasense_decompiled.lua#L3288). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTimeRemaining + +```lua +MP.GetTimeRemaining() +``` + +Источник: [Lua, строка 3290](../../luasense_decompiled.lua#L3290). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.GetTotalPlayerStatistic + +```lua +MP.GetTotalPlayerStatistic(arg1, arg2) +``` + +Источник: [Lua, строка 3292](../../luasense_decompiled.lua#L3292). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.IsClient + +```lua +MP.IsClient() +``` + +Источник: [Lua, строка 3294](../../luasense_decompiled.lua#L3294). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.IsNetworkGame + +```lua +MP.IsNetworkGame() +``` + +Источник: [Lua, строка 3296](../../luasense_decompiled.lua#L3296). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.IsRemoteScript + +```lua +MP.IsRemoteScript() +``` + +Источник: [Lua, строка 3298](../../luasense_decompiled.lua#L3298). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.ModifyTimeRemaining + +```lua +MP.ModifyTimeRemaining(arg1) +``` + +Источник: [Lua, строка 3300](../../luasense_decompiled.lua#L3300). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MP.SetTeamForPlayer + +```lua +MP.SetTeamForPlayer(arg1, arg2) +``` + +Источник: [Lua, строка 3302](../../luasense_decompiled.lua#L3302). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/NonProduction.md b/docs/reference/NonProduction.md new file mode 100644 index 0000000..f970915 --- /dev/null +++ b/docs/reference/NonProduction.md @@ -0,0 +1,53 @@ +# NonProduction + +[Индекс](../API.md) + +## NonProduction.GetFrameNumber + +```lua +NonProduction.GetFrameNumber() +``` + +Источник: [Lua, строка 3306](../../luasense_decompiled.lua#L3306). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## NonProduction.GetObjectInReticle + +```lua +NonProduction.GetObjectInReticle() +``` + +Источник: [Lua, строка 3308](../../luasense_decompiled.lua#L3308). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## NonProduction.GetPhysicsObjectsInBox + +```lua +NonProduction.GetPhysicsObjectsInBox(arg1, arg2) +``` + +Источник: [Lua, строка 3310](../../luasense_decompiled.lua#L3310). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## NonProduction.SetLookRot + +```lua +NonProduction.SetLookRot(arg1) +``` + +Источник: [Lua, строка 3312](../../luasense_decompiled.lua#L3312). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## NonProduction.TransferPlayerControl + +```lua +NonProduction.TransferPlayerControl(arg1, arg2) +``` + +Источник: [Lua, строка 3314](../../luasense_decompiled.lua#L3314). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/ObjectTags.md b/docs/reference/ObjectTags.md new file mode 100644 index 0000000..f27d5c1 --- /dev/null +++ b/docs/reference/ObjectTags.md @@ -0,0 +1,43 @@ +# ObjectTags + +[Индекс](../API.md) + +## ObjectTags.DoesObjectHaveTag + +```lua +ObjectTags.DoesObjectHaveTag(arg1, arg2) +``` + +Источник: [Lua, строка 3316](../../luasense_decompiled.lua#L3316). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## ObjectTags.GetObjectTagName + +```lua +ObjectTags.GetObjectTagName(arg1) +``` + +Источник: [Lua, строка 3318](../../luasense_decompiled.lua#L3318). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## ObjectTags.GetObjectTagUID + +```lua +ObjectTags.GetObjectTagUID(arg1) +``` + +Источник: [Lua, строка 3320](../../luasense_decompiled.lua#L3320). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## ObjectTags.GetObjectsWithTag + +```lua +ObjectTags.GetObjectsWithTag(arg1) +``` + +Источник: [Lua, строка 3322](../../luasense_decompiled.lua#L3322). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Objectives.md b/docs/reference/Objectives.md new file mode 100644 index 0000000..8358390 --- /dev/null +++ b/docs/reference/Objectives.md @@ -0,0 +1,63 @@ +# Objectives + +[Индекс](../API.md) + +## Objectives.Add + +```lua +Objectives.Add(arg1, arg2) +``` + +Источник: [Lua, строка 3324](../../luasense_decompiled.lua#L3324). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Objectives.AddObject + +```lua +Objectives.AddObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3326](../../luasense_decompiled.lua#L3326). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Objectives.GetStatus + +```lua +Objectives.GetStatus(arg1, arg2) +``` + +Источник: [Lua, строка 3328](../../luasense_decompiled.lua#L3328). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Objectives.Remove + +```lua +Objectives.Remove(arg1, arg2) +``` + +Источник: [Lua, строка 3330](../../luasense_decompiled.lua#L3330). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Objectives.RemoveObject + +```lua +Objectives.RemoveObject(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3332](../../luasense_decompiled.lua#L3332). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Objectives.SetStatus + +```lua +Objectives.SetStatus(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3334](../../luasense_decompiled.lua#L3334). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Physics.md b/docs/reference/Physics.md new file mode 100644 index 0000000..8b5f117 --- /dev/null +++ b/docs/reference/Physics.md @@ -0,0 +1,453 @@ +# Physics + +[Индекс](../API.md) + +## Physics.ApplyAngularImpulse + +```lua +Physics.ApplyAngularImpulse(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3336](../../luasense_decompiled.lua#L3336). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.ApplyAngularImpulseToRigidBody + +```lua +Physics.ApplyAngularImpulseToRigidBody(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3338](../../luasense_decompiled.lua#L3338). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.ApplyImpulse + +```lua +Physics.ApplyImpulse(arg1, arg2) +``` + +Источник: [Lua, строка 3340](../../luasense_decompiled.lua#L3340). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.ApplyImpulseToCloth + +```lua +Physics.ApplyImpulseToCloth(arg1, arg2) +``` + +Источник: [Lua, строка 3342](../../luasense_decompiled.lua#L3342). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.ApplyImpulseToRigidBody + +```lua +Physics.ApplyImpulseToRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3344](../../luasense_decompiled.lua#L3344). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.DoesHavePhysics + +```lua +Physics.DoesHavePhysics(arg1) +``` + +Источник: [Lua, строка 3346](../../luasense_decompiled.lua#L3346). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.DoesRigidBodyExist + +```lua +Physics.DoesRigidBodyExist(arg1, arg2) +``` + +Источник: [Lua, строка 3348](../../luasense_decompiled.lua#L3348). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetAABB + +```lua +Physics.GetAABB(arg1) +``` + +Источник: [Lua, строка 3350](../../luasense_decompiled.lua#L3350). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetAngularVelocity + +```lua +Physics.GetAngularVelocity(arg1) +``` + +Источник: [Lua, строка 3352](../../luasense_decompiled.lua#L3352). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetCollisionGroup + +```lua +Physics.GetCollisionGroup(arg1) +``` + +Источник: [Lua, строка 3354](../../luasense_decompiled.lua#L3354). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetLinearVelocity + +```lua +Physics.GetLinearVelocity(arg1) +``` + +Источник: [Lua, строка 3356](../../luasense_decompiled.lua#L3356). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetMass + +```lua +Physics.GetMass(arg1) +``` + +Источник: [Lua, строка 3358](../../luasense_decompiled.lua#L3358). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetRigidBodyFriction + +```lua +Physics.GetRigidBodyFriction(arg1, arg2) +``` + +Источник: [Lua, строка 3360](../../luasense_decompiled.lua#L3360). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetRigidBodyMass + +```lua +Physics.GetRigidBodyMass(arg1, arg2) +``` + +Источник: [Lua, строка 3362](../../luasense_decompiled.lua#L3362). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetRigidBodyPosition + +```lua +Physics.GetRigidBodyPosition(arg1, arg2) +``` + +Источник: [Lua, строка 3364](../../luasense_decompiled.lua#L3364). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetRigidBodyRestitution + +```lua +Physics.GetRigidBodyRestitution(arg1, arg2) +``` + +Источник: [Lua, строка 3366](../../luasense_decompiled.lua#L3366). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.GetRigidBodyRotation + +```lua +Physics.GetRigidBodyRotation(arg1, arg2) +``` + +Источник: [Lua, строка 3368](../../luasense_decompiled.lua#L3368). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsClothWindEnabled + +```lua +Physics.IsClothWindEnabled(arg1) +``` + +Источник: [Lua, строка 3370](../../luasense_decompiled.lua#L3370). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsDynamic + +```lua +Physics.IsDynamic(arg1) +``` + +Источник: [Lua, строка 3372](../../luasense_decompiled.lua#L3372). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsKeyframed + +```lua +Physics.IsKeyframed(arg1) +``` + +Источник: [Lua, строка 3374](../../luasense_decompiled.lua#L3374). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsRigidBodyDynamic + +```lua +Physics.IsRigidBodyDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 3376](../../luasense_decompiled.lua#L3376). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsRigidBodyKeyframed + +```lua +Physics.IsRigidBodyKeyframed(arg1, arg2) +``` + +Источник: [Lua, строка 3378](../../luasense_decompiled.lua#L3378). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsRigidBodyStatic + +```lua +Physics.IsRigidBodyStatic(arg1, arg2) +``` + +Источник: [Lua, строка 3380](../../luasense_decompiled.lua#L3380). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.IsStatic + +```lua +Physics.IsStatic(arg1) +``` + +Источник: [Lua, строка 3382](../../luasense_decompiled.lua#L3382). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.OverRideConstraintMaxSpeed + +```lua +Physics.OverRideConstraintMaxSpeed(arg1, arg2) +``` + +Источник: [Lua, строка 3384](../../luasense_decompiled.lua#L3384). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.RestoreConstraintMaxSpeed + +```lua +Physics.RestoreConstraintMaxSpeed(arg1) +``` + +Источник: [Lua, строка 3386](../../luasense_decompiled.lua#L3386). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetAngularVelocity + +```lua +Physics.SetAngularVelocity(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3388](../../luasense_decompiled.lua#L3388). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetClothWindDirection + +```lua +Physics.SetClothWindDirection(arg1, arg2) +``` + +Источник: [Lua, строка 3390](../../luasense_decompiled.lua#L3390). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetClothWindEnabled + +```lua +Physics.SetClothWindEnabled(arg1, arg2) +``` + +Источник: [Lua, строка 3392](../../luasense_decompiled.lua#L3392). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetClothWindInterval + +```lua +Physics.SetClothWindInterval(arg1, arg2) +``` + +Источник: [Lua, строка 3394](../../luasense_decompiled.lua#L3394). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetClothWindStrength + +```lua +Physics.SetClothWindStrength(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3396](../../luasense_decompiled.lua#L3396). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetCollisionGroup + +```lua +Physics.SetCollisionGroup(arg1, arg2) +``` + +Источник: [Lua, строка 3398](../../luasense_decompiled.lua#L3398). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetConstraintPosition + +```lua +Physics.SetConstraintPosition(arg1, arg2) +``` + +Источник: [Lua, строка 3400](../../luasense_decompiled.lua#L3400). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetLinearVelocityOfRigidBody + +```lua +Physics.SetLinearVelocityOfRigidBody(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3402](../../luasense_decompiled.lua#L3402). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetRigidBodyFriction + +```lua +Physics.SetRigidBodyFriction(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3404](../../luasense_decompiled.lua#L3404). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetRigidBodyMass + +```lua +Physics.SetRigidBodyMass(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3406](../../luasense_decompiled.lua#L3406). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetRigidBodyRestitution + +```lua +Physics.SetRigidBodyRestitution(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3408](../../luasense_decompiled.lua#L3408). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetRigidBodyToDynamic + +```lua +Physics.SetRigidBodyToDynamic(arg1, arg2) +``` + +Источник: [Lua, строка 3410](../../luasense_decompiled.lua#L3410). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetRigidBodyToStatic + +```lua +Physics.SetRigidBodyToStatic(arg1, arg2) +``` + +Источник: [Lua, строка 3412](../../luasense_decompiled.lua#L3412). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetSurfaceVelocityAccelerationScale + +```lua +Physics.SetSurfaceVelocityAccelerationScale(arg1, arg2) +``` + +Источник: [Lua, строка 3414](../../luasense_decompiled.lua#L3414). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetSurfaceVelocityDesiredScale + +```lua +Physics.SetSurfaceVelocityDesiredScale(arg1, arg2) +``` + +Источник: [Lua, строка 3416](../../luasense_decompiled.lua#L3416). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetSurfaceVelocityScale + +```lua +Physics.SetSurfaceVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 3418](../../luasense_decompiled.lua#L3418). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetToDynamic + +```lua +Physics.SetToDynamic(arg1) +``` + +Источник: [Lua, строка 3420](../../luasense_decompiled.lua#L3420). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetToStatic + +```lua +Physics.SetToStatic(arg1) +``` + +Источник: [Lua, строка 3422](../../luasense_decompiled.lua#L3422). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Physics.SetVelocity + +```lua +Physics.SetVelocity(arg1, arg2) +``` + +Источник: [Lua, строка 3424](../../luasense_decompiled.lua#L3424). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Player.md b/docs/reference/Player.md new file mode 100644 index 0000000..3a10e7b --- /dev/null +++ b/docs/reference/Player.md @@ -0,0 +1,583 @@ +# Player + +[Индекс](../API.md) + +## Player.AreAllPlayersInState + +```lua +Player.AreAllPlayersInState(arg1) +``` + +Источник: [Lua, строка 3426](../../luasense_decompiled.lua#L3426). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.CanPlayerPossess + +```lua +Player.CanPlayerPossess(arg1) +``` + +Источник: [Lua, строка 3428](../../luasense_decompiled.lua#L3428). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.ClearTetherBreadcrumbs + +```lua +Player.ClearTetherBreadcrumbs(arg1) +``` + +Источник: [Lua, строка 3430](../../luasense_decompiled.lua#L3430). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.ClearTetherSafeRadiusOverride + +```lua +Player.ClearTetherSafeRadiusOverride(arg1) +``` + +Источник: [Lua, строка 3432](../../luasense_decompiled.lua#L3432). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.DisableTetherSpawnTagSet + +```lua +Player.DisableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 3434](../../luasense_decompiled.lua#L3434). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.DoesPlayerHaveLineOfSightToPosition + +```lua +Player.DoesPlayerHaveLineOfSightToPosition(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3436](../../luasense_decompiled.lua#L3436). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.EnableTetherSpawnTagSet + +```lua +Player.EnableTetherSpawnTagSet(arg1) +``` + +Источник: [Lua, строка 3438](../../luasense_decompiled.lua#L3438). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetAllPlayerControlledObjectsByIndex + +```lua +Player.GetAllPlayerControlledObjectsByIndex(arg1) +``` + +Источник: [Lua, строка 3440](../../luasense_decompiled.lua#L3440). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetGlobalIndexFromLocalIndex + +```lua +Player.GetGlobalIndexFromLocalIndex(arg1) +``` + +Источник: [Lua, строка 3442](../../luasense_decompiled.lua#L3442). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetLastTimePlayerSpawnTagUsed + +```lua +Player.GetLastTimePlayerSpawnTagUsed(arg1) +``` + +Источник: [Lua, строка 3444](../../luasense_decompiled.lua#L3444). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetMaxPossessionTime + +```lua +Player.GetMaxPossessionTime(arg1) +``` + +Источник: [Lua, строка 3446](../../luasense_decompiled.lua#L3446). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetNumLocalPlayers + +```lua +Player.GetNumLocalPlayers() +``` + +Источник: [Lua, строка 3448](../../luasense_decompiled.lua#L3448). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetNumPlayers + +```lua +Player.GetNumPlayers() +``` + +Источник: [Lua, строка 3450](../../luasense_decompiled.lua#L3450). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerAvatarObjectByIndex + +```lua +Player.GetPlayerAvatarObjectByIndex(arg1) +``` + +Источник: [Lua, строка 3452](../../luasense_decompiled.lua#L3452). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerAvatarPositionByIndex + +```lua +Player.GetPlayerAvatarPositionByIndex(arg1) +``` + +Источник: [Lua, строка 3454](../../luasense_decompiled.lua#L3454). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerControlledObjectByIndex + +```lua +Player.GetPlayerControlledObjectByIndex(arg1) +``` + +Источник: [Lua, строка 3456](../../luasense_decompiled.lua#L3456). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerDistanceToPosition + +```lua +Player.GetPlayerDistanceToPosition(arg1, arg2) +``` + +Источник: [Lua, строка 3458](../../luasense_decompiled.lua#L3458). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerGameComplete + +```lua +Player.GetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 3460](../../luasense_decompiled.lua#L3460). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerIndexByObject + +```lua +Player.GetPlayerIndexByObject(arg1) +``` + +Источник: [Lua, строка 3462](../../luasense_decompiled.lua#L3462). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerObjectByIndex + +```lua +Player.GetPlayerObjectByIndex(arg1) +``` + +Источник: [Lua, строка 3464](../../luasense_decompiled.lua#L3464). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerPlaneDistance + +```lua +Player.GetPlayerPlaneDistance(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3466](../../luasense_decompiled.lua#L3466). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagIndex + +```lua +Player.GetPlayerSpawnTagIndex(arg1) +``` + +Источник: [Lua, строка 3468](../../luasense_decompiled.lua#L3468). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagMaximumPlayersAllowed + +```lua +Player.GetPlayerSpawnTagMaximumPlayersAllowed(arg1) +``` + +Источник: [Lua, строка 3470](../../luasense_decompiled.lua#L3470). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagMinimumPlayersRequired + +```lua +Player.GetPlayerSpawnTagMinimumPlayersRequired(arg1) +``` + +Источник: [Lua, строка 3472](../../luasense_decompiled.lua#L3472). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagNationCheckPassed + +```lua +Player.GetPlayerSpawnTagNationCheckPassed(arg1, arg2) +``` + +Источник: [Lua, строка 3474](../../luasense_decompiled.lua#L3474). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagSpawnLocation + +```lua +Player.GetPlayerSpawnTagSpawnLocation(arg1) +``` + +Источник: [Lua, строка 3476](../../luasense_decompiled.lua#L3476). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTagSpawnRotation + +```lua +Player.GetPlayerSpawnTagSpawnRotation(arg1) +``` + +Источник: [Lua, строка 3478](../../luasense_decompiled.lua#L3478). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPlayerSpawnTemplateIndex + +```lua +Player.GetPlayerSpawnTemplateIndex(arg1) +``` + +Источник: [Lua, строка 3480](../../luasense_decompiled.lua#L3480). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPossessingPlayerIndex + +```lua +Player.GetPossessingPlayerIndex(arg1) +``` + +Источник: [Lua, строка 3482](../../luasense_decompiled.lua#L3482). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetPossessionDelay + +```lua +Player.GetPossessionDelay(arg1) +``` + +Источник: [Lua, строка 3484](../../luasense_decompiled.lua#L3484). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.GetValidSpawnTagObjects + +```lua +Player.GetValidSpawnTagObjects(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3486](../../luasense_decompiled.lua#L3486). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.HasPlayerCollectedObject + +```lua +Player.HasPlayerCollectedObject(arg1, arg2) +``` + +Источник: [Lua, строка 3488](../../luasense_decompiled.lua#L3488). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.InhibitCurrentPossessionEnding + +```lua +Player.InhibitCurrentPossessionEnding(arg1, arg2) +``` + +Источник: [Lua, строка 3490](../../luasense_decompiled.lua#L3490). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.IsActivePlayer + +```lua +Player.IsActivePlayer(arg1) +``` + +Источник: [Lua, строка 3492](../../luasense_decompiled.lua#L3492). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.IsLocalPlayer + +```lua +Player.IsLocalPlayer(arg1) +``` + +Источник: [Lua, строка 3494](../../luasense_decompiled.lua#L3494). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.IsPlayerControlled + +```lua +Player.IsPlayerControlled(arg1) +``` + +Источник: [Lua, строка 3496](../../luasense_decompiled.lua#L3496). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.IsPlayerFlashlightOn + +```lua +Player.IsPlayerFlashlightOn(arg1) +``` + +Источник: [Lua, строка 3498](../../luasense_decompiled.lua#L3498). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.IsPlayerInState + +```lua +Player.IsPlayerInState(arg1, arg2) +``` + +Источник: [Lua, строка 3500](../../luasense_decompiled.lua#L3500). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.PauseCurrentPossession + +```lua +Player.PauseCurrentPossession(arg1, arg2) +``` + +Источник: [Lua, строка 3502](../../luasense_decompiled.lua#L3502). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.ResetPossessionTimer + +```lua +Player.ResetPossessionTimer(arg1) +``` + +Источник: [Lua, строка 3504](../../luasense_decompiled.lua#L3504). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.RevivePlayer + +```lua +Player.RevivePlayer(arg1) +``` + +Источник: [Lua, строка 3506](../../luasense_decompiled.lua#L3506). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.RevivePlayerInstant + +```lua +Player.RevivePlayerInstant(arg1) +``` + +Источник: [Lua, строка 3508](../../luasense_decompiled.lua#L3508). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetCheckpointLoad + +```lua +Player.SetCheckpointLoad(arg1, arg2) +``` + +Источник: [Lua, строка 3510](../../luasense_decompiled.lua#L3510). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetCrouch + +```lua +Player.SetCrouch(arg1, arg2) +``` + +Источник: [Lua, строка 3512](../../luasense_decompiled.lua#L3512). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetFailedOnRespawn + +```lua +Player.SetFailedOnRespawn(arg1, arg2) +``` + +Источник: [Lua, строка 3514](../../luasense_decompiled.lua#L3514). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetLocalTetherTimeoutPeriod + +```lua +Player.SetLocalTetherTimeoutPeriod(arg1, arg2) +``` + +Источник: [Lua, строка 3516](../../luasense_decompiled.lua#L3516). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetLocalTetherWarningPct + +```lua +Player.SetLocalTetherWarningPct(arg1, arg2) +``` + +Источник: [Lua, строка 3518](../../luasense_decompiled.lua#L3518). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetLocalTetherZone + +```lua +Player.SetLocalTetherZone(arg1, arg2) +``` + +Источник: [Lua, строка 3520](../../luasense_decompiled.lua#L3520). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetMaxPossessionTime + +```lua +Player.SetMaxPossessionTime(arg1, arg2) +``` + +Источник: [Lua, строка 3522](../../luasense_decompiled.lua#L3522). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetPlayerGameComplete + +```lua +Player.SetPlayerGameComplete(arg1) +``` + +Источник: [Lua, строка 3524](../../luasense_decompiled.lua#L3524). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetPlayerIndestructible + +```lua +Player.SetPlayerIndestructible(arg1, arg2) +``` + +Источник: [Lua, строка 3526](../../luasense_decompiled.lua#L3526). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetPlayerRespawnTagIndexResponse + +```lua +Player.SetPlayerRespawnTagIndexResponse(arg1, arg2) +``` + +Источник: [Lua, строка 3528](../../luasense_decompiled.lua#L3528). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetPlayerSpawnTemplateIndex + +```lua +Player.SetPlayerSpawnTemplateIndex(arg1, arg2) +``` + +Источник: [Lua, строка 3530](../../luasense_decompiled.lua#L3530). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetPossessionDelay + +```lua +Player.SetPossessionDelay(arg1, arg2) +``` + +Источник: [Lua, строка 3532](../../luasense_decompiled.lua#L3532). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetTetherSafeRadiusOverride + +```lua +Player.SetTetherSafeRadiusOverride(arg1, arg2) +``` + +Источник: [Lua, строка 3534](../../luasense_decompiled.lua#L3534). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.SetVelocityScale + +```lua +Player.SetVelocityScale(arg1, arg2) +``` + +Источник: [Lua, строка 3536](../../luasense_decompiled.lua#L3536). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.TetherPlayer + +```lua +Player.TetherPlayer(arg1) +``` + +Источник: [Lua, строка 3538](../../luasense_decompiled.lua#L3538). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Player.TransferPlayerControl + +```lua +Player.TransferPlayerControl(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3540](../../luasense_decompiled.lua#L3540). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Regions.md b/docs/reference/Regions.md new file mode 100644 index 0000000..582837d --- /dev/null +++ b/docs/reference/Regions.md @@ -0,0 +1,83 @@ +# Regions + +[Индекс](../API.md) + +## Regions.DistanceToEnd + +```lua +Regions.DistanceToEnd(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3542](../../luasense_decompiled.lua#L3542). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.GetNumberOfObjectsInRegionMonitor + +```lua +Regions.GetNumberOfObjectsInRegionMonitor(arg1) +``` + +Источник: [Lua, строка 3544](../../luasense_decompiled.lua#L3544). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.GetObjectsInRegion + +```lua +Regions.GetObjectsInRegion(arg1) +``` + +Источник: [Lua, строка 3546](../../luasense_decompiled.lua#L3546). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.GetObjectsInRegionWithTag + +```lua +Regions.GetObjectsInRegionWithTag(arg1, arg2) +``` + +Источник: [Lua, строка 3548](../../luasense_decompiled.lua#L3548). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.GetRegionInfo + +```lua +Regions.GetRegionInfo(arg1) +``` + +Источник: [Lua, строка 3550](../../luasense_decompiled.lua#L3550). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.IsBoneInRegion + +```lua +Regions.IsBoneInRegion(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3552](../../luasense_decompiled.lua#L3552). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.IsCenterOfMassInRegion + +```lua +Regions.IsCenterOfMassInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 3554](../../luasense_decompiled.lua#L3554). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Regions.IsInRegion + +```lua +Regions.IsInRegion(arg1, arg2) +``` + +Источник: [Lua, строка 3556](../../luasense_decompiled.lua#L3556). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Sets.md b/docs/reference/Sets.md new file mode 100644 index 0000000..dfe95b6 --- /dev/null +++ b/docs/reference/Sets.md @@ -0,0 +1,63 @@ +# Sets + +[Индекс](../API.md) + +## Sets.AddObjectToSet + +```lua +Sets.AddObjectToSet(arg1, arg2) +``` + +Источник: [Lua, строка 3558](../../luasense_decompiled.lua#L3558). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Sets.DoesSetContainsObject + +```lua +Sets.DoesSetContainsObject(arg1, arg2) +``` + +Источник: [Lua, строка 3560](../../luasense_decompiled.lua#L3560). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Sets.GetNumObjectsInSet + +```lua +Sets.GetNumObjectsInSet(arg1) +``` + +Источник: [Lua, строка 3562](../../luasense_decompiled.lua#L3562). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Sets.GetObjectsInSet + +```lua +Sets.GetObjectsInSet(arg1) +``` + +Источник: [Lua, строка 3564](../../luasense_decompiled.lua#L3564). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Sets.HasSetComponent + +```lua +Sets.HasSetComponent(arg1) +``` + +Источник: [Lua, строка 3566](../../luasense_decompiled.lua#L3566). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Sets.RemoveObjectFromSet + +```lua +Sets.RemoveObjectFromSet(arg1, arg2) +``` + +Источник: [Lua, строка 3568](../../luasense_decompiled.lua#L3568). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Support.md b/docs/reference/Support.md new file mode 100644 index 0000000..deea1c1 --- /dev/null +++ b/docs/reference/Support.md @@ -0,0 +1,483 @@ +# Support + +[Индекс](../API.md) + +## Support.AddDescription + +```lua +Support.AddDescription(arg1) +``` + +Источник: [Lua, строка 3572](../../luasense_decompiled.lua#L3572). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.AddToWorldVectorVariable + +```lua +Support.AddToWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3574](../../luasense_decompiled.lua#L3574). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.CreateScriptEvent + +```lua +Support.CreateScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 3576](../../luasense_decompiled.lua#L3576). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.CreateWorldVectorVariable + +```lua +Support.CreateWorldVectorVariable(arg1) +``` + +Источник: [Lua, строка 3578](../../luasense_decompiled.lua#L3578). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.DoesObjectTemplateMatch + +```lua +Support.DoesObjectTemplateMatch(arg1, arg2) +``` + +Источник: [Lua, строка 3580](../../luasense_decompiled.lua#L3580). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ExitScript + +```lua +Support.ExitScript() +``` + +Источник: [Lua, строка 3582](../../luasense_decompiled.lua#L3582). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ExportFloatVariable + +```lua +Support.ExportFloatVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3584](../../luasense_decompiled.lua#L3584). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetCurveValue + +```lua +Support.GetCurveValue(arg1, arg2) +``` + +Источник: [Lua, строка 3586](../../luasense_decompiled.lua#L3586). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetGameTime + +```lua +Support.GetGameTime() +``` + +Источник: [Lua, строка 3588](../../luasense_decompiled.lua#L3588). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetGameTimeDelta + +```lua +Support.GetGameTimeDelta() +``` + +Источник: [Lua, строка 3590](../../luasense_decompiled.lua#L3590). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetImportObjectTable + +```lua +Support.GetImportObjectTable(arg1) +``` + +Источник: [Lua, строка 3592](../../luasense_decompiled.lua#L3592). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetImportWatchVariableValue + +```lua +Support.GetImportWatchVariableValue(arg1) +``` + +Источник: [Lua, строка 3594](../../luasense_decompiled.lua#L3594). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetObjectVariableFromComponent + +```lua +Support.GetObjectVariableFromComponent(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3596](../../luasense_decompiled.lua#L3596). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetPlatform + +```lua +Support.GetPlatform() +``` + +Источник: [Lua, строка 3598](../../luasense_decompiled.lua#L3598). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetRandomFactor + +```lua +Support.GetRandomFactor() +``` + +Источник: [Lua, строка 3600](../../luasense_decompiled.lua#L3600). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetRandomInteger + +```lua +Support.GetRandomInteger(arg1, arg2) +``` + +Источник: [Lua, строка 3602](../../luasense_decompiled.lua#L3602). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetScriptExportVariable + +```lua +Support.GetScriptExportVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3604](../../luasense_decompiled.lua#L3604). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.GetStreamingWorldNames + +```lua +Support.GetStreamingWorldNames(arg1, arg2) +``` + +Источник: [Lua, строка 3606](../../luasense_decompiled.lua#L3606). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.HasScriptExportVariable + +```lua +Support.HasScriptExportVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3608](../../luasense_decompiled.lua#L3608). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportBoolVariable + +```lua +Support.ImportBoolVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3610](../../luasense_decompiled.lua#L3610). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportBoolVariableWithDefault + +```lua +Support.ImportBoolVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3612](../../luasense_decompiled.lua#L3612). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportColorVariable + +```lua +Support.ImportColorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3614](../../luasense_decompiled.lua#L3614). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportEnumVariable + +```lua +Support.ImportEnumVariable(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3616](../../luasense_decompiled.lua#L3616). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportFloatVariable + +```lua +Support.ImportFloatVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3618](../../luasense_decompiled.lua#L3618). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportFloatVariableWithDefault + +```lua +Support.ImportFloatVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3620](../../luasense_decompiled.lua#L3620). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportObjectHandleVariable + +```lua +Support.ImportObjectHandleVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3622](../../luasense_decompiled.lua#L3622). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportObjectList + +```lua +Support.ImportObjectList(arg1, arg2) +``` + +Источник: [Lua, строка 3624](../../luasense_decompiled.lua#L3624). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportRegionObject + +```lua +Support.ImportRegionObject(arg1, arg2) +``` + +Источник: [Lua, строка 3626](../../luasense_decompiled.lua#L3626). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportScriptEvent + +```lua +Support.ImportScriptEvent(arg1, arg2) +``` + +Источник: [Lua, строка 3628](../../luasense_decompiled.lua#L3628). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportSetObject + +```lua +Support.ImportSetObject(arg1, arg2) +``` + +Источник: [Lua, строка 3630](../../luasense_decompiled.lua#L3630). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportSingleObject + +```lua +Support.ImportSingleObject(arg1, arg2) +``` + +Источник: [Lua, строка 3632](../../luasense_decompiled.lua#L3632). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportStaticTextVariable + +```lua +Support.ImportStaticTextVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3634](../../luasense_decompiled.lua#L3634). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportStaticTextVariableWithDefault + +```lua +Support.ImportStaticTextVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3636](../../luasense_decompiled.lua#L3636). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportStringVariable + +```lua +Support.ImportStringVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3638](../../luasense_decompiled.lua#L3638). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportStringVariableWithDefault + +```lua +Support.ImportStringVariableWithDefault(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3640](../../luasense_decompiled.lua#L3640). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportVectorVariable + +```lua +Support.ImportVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3642](../../luasense_decompiled.lua#L3642). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.ImportWatchVariable + +```lua +Support.ImportWatchVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3644](../../luasense_decompiled.lua#L3644). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.IsSplitScreen + +```lua +Support.IsSplitScreen() +``` + +Источник: [Lua, строка 3646](../../luasense_decompiled.lua#L3646). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterAnimationGraphResourceVariable + +```lua +Support.RegisterAnimationGraphResourceVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3648](../../luasense_decompiled.lua#L3648). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterComponentHandle + +```lua +Support.RegisterComponentHandle(arg1, arg2) +``` + +Источник: [Lua, строка 3650](../../luasense_decompiled.lua#L3650). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterCurveTemplateVariable + +```lua +Support.RegisterCurveTemplateVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3652](../../luasense_decompiled.lua#L3652). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterMenuVariable + +```lua +Support.RegisterMenuVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3654](../../luasense_decompiled.lua#L3654). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterMovieVariable + +```lua +Support.RegisterMovieVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3656](../../luasense_decompiled.lua#L3656). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterObjectTemplateVariable + +```lua +Support.RegisterObjectTemplateVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3658](../../luasense_decompiled.lua#L3658). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterTextureVariable + +```lua +Support.RegisterTextureVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3660](../../luasense_decompiled.lua#L3660). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RegisterWorldVectorVariable + +```lua +Support.RegisterWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3662](../../luasense_decompiled.lua#L3662). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.RemoveFromWorldVectorVariable + +```lua +Support.RemoveFromWorldVectorVariable(arg1, arg2) +``` + +Источник: [Lua, строка 3664](../../luasense_decompiled.lua#L3664). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Support.TurnOnScriptUpdate + +```lua +Support.TurnOnScriptUpdate(arg1) +``` + +Источник: [Lua, строка 3666](../../luasense_decompiled.lua#L3666). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/Utilities.md b/docs/reference/Utilities.md new file mode 100644 index 0000000..d6d607f --- /dev/null +++ b/docs/reference/Utilities.md @@ -0,0 +1,93 @@ +# Utilities + +[Индекс](../API.md) + +## Utilities.CastRay + +```lua +Utilities.CastRay(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3668](../../luasense_decompiled.lua#L3668). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.DoesRayCollide + +```lua +Utilities.DoesRayCollide(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 3670](../../luasense_decompiled.lua#L3670). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GenerateRandomSeed + +```lua +Utilities.GenerateRandomSeed() +``` + +Источник: [Lua, строка 3672](../../luasense_decompiled.lua#L3672). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetDistanceBetweenObjects + +```lua +Utilities.GetDistanceBetweenObjects(arg1, arg2) +``` + +Источник: [Lua, строка 3674](../../luasense_decompiled.lua#L3674). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetGlobalDataObject + +```lua +Utilities.GetGlobalDataObject() +``` + +Источник: [Lua, строка 3676](../../luasense_decompiled.lua#L3676). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetRandomInteger + +```lua +Utilities.GetRandomInteger(arg1, arg2) +``` + +Источник: [Lua, строка 3678](../../luasense_decompiled.lua#L3678). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetRandomPercent + +```lua +Utilities.GetRandomPercent() +``` + +Источник: [Lua, строка 3680](../../luasense_decompiled.lua#L3680). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetRayCollisionDistance + +```lua +Utilities.GetRayCollisionDistance(arg1, arg2, arg3, arg4) +``` + +Источник: [Lua, строка 3682](../../luasense_decompiled.lua#L3682). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Utilities.GetTextIDString + +```lua +Utilities.GetTextIDString(arg1) +``` + +Источник: [Lua, строка 3684](../../luasense_decompiled.lua#L3684). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/docs/reference/_global.md b/docs/reference/_global.md new file mode 100644 index 0000000..9e24cf5 --- /dev/null +++ b/docs/reference/_global.md @@ -0,0 +1,497 @@ +# _global + +[Индекс](../API.md) + +## @K[201] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[204] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[204]" +} +``` + +
+ +## @K[205] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[206] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[206]" +} +``` + +
+ +## @K[207] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[213] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[212] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[212]" + } + }, + "@K[203]": "@K[213]" +} +``` + +
+ +## @K[214] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[216] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[210] | @K[215] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[210]", + "@K[211]": "@K[215]" + } + }, + "@K[203]": "@K[216]" +} +``` + +
+ +## @K[217] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[224] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[218] | @K[219] | +| 2.0 | @K[221] | @K[219] | +| 3.0 | @K[223] | @K[219] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[218]", + "@K[211]": "@K[219]" + }, + "2.0": { + "@K[209]": "@K[221]", + "@K[211]": "@K[219]" + }, + "3.0": { + "@K[209]": "@K[223]", + "@K[211]": "@K[219]" + } + }, + "@K[203]": "@K[224]" +} +``` + +
+ +## @K[225] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[226] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[226]" +} +``` + +
+ +## @K[227] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## @K[231] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[230] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[228] | @K[229] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[228]", + "@K[211]": "@K[229]" + } + }, + "@K[203]": "@K[230]" +} +``` + +
+ +## @K[232] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[233] + +
Исходная структура call-tip + +```json +{ + "@K[202]": {}, + "@K[203]": "@K[233]" +} +``` + +
+ +## @K[234] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[237] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[235] | @K[236] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[235]", + "@K[211]": "@K[236]" + } + }, + "@K[203]": "@K[237]" +} +``` + +
+ +## @K[238] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[241] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[240] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[240]" + } + }, + "@K[203]": "@K[241]" +} +``` + +
+ +## @K[242] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[244] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[243] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[243]" + } + }, + "@K[203]": "@K[244]" +} +``` + +
+ +## @K[245] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[247] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[239] | @K[246] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[239]", + "@K[211]": "@K[246]" + } + }, + "@K[203]": "@K[247]" +} +``` + +
+ +## @K[248] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[251] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[250] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[250]" + } + }, + "@K[203]": "@K[251]" +} +``` + +
+ +## @K[252] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +@K[254] + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "@K[254]" +} +``` + +
+ +## @K[255] + +Сигнатура не восстановлена: записи нет в Lua-заглушках. + +Returns the file name with extension of the resource. + +Поля параметров call-tip (интерпретация структуры, не восстановленные типы): + +| № | Имя (`@K[209]`) | Описание (`@K[211]`) | +| --- | --- | --- | +| 1.0 | @K[249] | @K[253] | + +
Исходная структура call-tip + +```json +{ + "@K[202]": { + "1.0": { + "@K[209]": "@K[249]", + "@K[211]": "@K[253]" + } + }, + "@K[203]": "Returns the file name with extension of the resource." +} +``` + +
+ +## FindFiles + +```lua +FindFiles(arg1, arg2, arg3) +``` + +Источник: [Lua, строка 491](../../luasense_decompiled.lua#L491). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## GetCallTipInfo + +```lua +GetCallTipInfo(arg1, arg2) +``` + +Источник: [Lua, строка 3180](../../luasense_decompiled.lua#L3180). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Help + +```lua +Help(arg1) +``` + +Источник: [Lua, строка 3244](../../luasense_decompiled.lua#L3244). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Log + +```lua +Log(arg1) +``` + +Источник: [Lua, строка 3246](../../luasense_decompiled.lua#L3246). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## LogLevel + +```lua +LogLevel(arg1) +``` + +Источник: [Lua, строка 3248](../../luasense_decompiled.lua#L3248). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## MemoryStats + +```lua +MemoryStats() +``` + +Источник: [Lua, строка 3304](../../luasense_decompiled.lua#L3304). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## StackDump + +```lua +StackDump() +``` + +Источник: [Lua, строка 3570](../../luasense_decompiled.lua#L3570). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. + +## Wait + +```lua +Wait(arg1) +``` + +Источник: [Lua, строка 3686](../../luasense_decompiled.lua#L3686). Имена `argN` — placeholders реконструкции. + +Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается. diff --git a/recovered/boot/README.md b/recovered/boot/README.md new file mode 100644 index 0000000..b5d7bdf --- /dev/null +++ b/recovered/boot/README.md @@ -0,0 +1,65 @@ +# Скрипты из пользовательского извлечения boot.dspack + +Вход: приложенный пользователем `script.txt`, фактически ZIP (сохранён как `script.zip`). Происхождение из `boot.dspack` указано пользователем; сам контейнер не предоставлен и независимо не проверялся. В архиве 66 записей, из них **43 файла Lua 5.1**. Папки и регистр имён сохранены в [`script/`](script/). + +## Результат + +| Проверка | Результат | +| --- | ---: | +| Байткод прочитан полностью, без хвостовых данных | 43 / 43 | +| Обратная сериализация входа побайтово идентична | 43 / 43 | +| Выбранные исходники компилируются Lua 5.1 | 43 / 43 | +| Исполняемое дерево после компиляции точно совпало | 43 / 43 | +| Выбранные результаты с маркерами ошибок декомпилятора | 0 | + +Все выбранные файлы получены **unluac v1.2.3.530** в обычном режиме. LuaDec 2.2 также запускался для каждого файла в режимах default, `-dg`, `-a`, `-dis`, `-pn`, `-fc`. Варианты unluac с `--nodebug` проверены отдельно. Сравнение `-fc` относится к стандартному варианту LuaDec, а не к выбранному исходнику unluac; его результаты не следует смешивать с финальной проверкой. + +Под «точно совпало» понимается рекурсивное равенство для каждого прототипа: + +- байтов инструкций; +- типов и байтов констант, включая строковые значения; +- числа upvalues, параметров, флагов vararg и maxstacksize; +- числа, порядка и исполняемых данных вложенных функций. + +Имена источников, номера строк, имена локальных переменных и отладочные области видимости из сравнения исключены. Совпадение исполняемых данных — сильная статическая проверка восстановления, но это **не запуск в игре** и не подтверждение совместимости с другими версиями движка. Оригинальное форматирование, комментарии и удалённые отладочные имена не восстановить по байткоду. + +## Запрошенный cLuaDecompiler + +Ссылка пользователя: `https://github.com/Coldzer0/LuaDecompiler/releases/download/v1.0.0/cLuaDecompiler_linux_x86-64.zip`. + +Загрузка по прямой ссылке и через API релизов не удалась: GitHub перенаправляет на `release-assets.githubusercontent.com`, недоступный в сетевой среде. Поэтому **cLuaDecompiler не запускался**, его результаты не приписываются этой работе. Исходники проекта получены с GitHub и изучены; точная ревизия и сведения об остальных инструментах находятся в [`provenance.json`](provenance.json). Ревизия исходников не заявляется идентичной релизному бинарнику. + +Изученные функции: + +| Опция | Назначение и применение | +| --- | --- | +| `--dec` | Восстановление Lua-подобного исходника. | +| `--dis` | Дизассемблирование для проверки инструкций и констант. | +| `--ssa-dump` | Промежуточное SSA-представление для анализа регистров и потока управления. | +| `--annotate` | Комментарии дизассемблирования в декомпилированном тексте. | +| `--debug` | Диагностический поток stderr. | +| `--lua-version 51` | Ручная версия при ошибке автоопределения; здесь стандартный заголовок 5.1. | +| `--opcode-table` | Пользовательское сопоставление опкодов. Не применяется без доказательств изменённых опкодов: стандартные инструкции уже дали точное совпадение. | + +Режимы dec/dis/SSA взаимоисключающие; их нужно запускать раздельно, а не передавать все флаги одним вызовом. Этот отчёт описывает первоначальный запуск boot без cLuaDecompiler. Позже пользователь предоставил бинарник: он успешно применён к [скриптам resources](../resources/README.md). Обновлённый скрипт восстановления сохраняет четыре режима cLuaDecompiler и проверяет обычный/аннотированный результат наравне с другими кандидатами. Исходники boot и их первоначальный manifest при этом не изменены. + +## Повторение + +Требуются входной ZIP, LuaDec, `luac` 5.1, Java и unluac. Инструменты не включены в Git; их происхождение и контрольная сумма JAR зафиксированы в `provenance.json`. + +```sh +python tools/recover_boot.py /path/script.zip \ + --work-dir /path/recovery \ + --luadec /path/luadec --luac /path/luac \ + --java /path/java --unluac /path/unluac.jar +``` + +Опционально добавьте `--clua /path/cLuaDecompiler` для вывода его режимов decompile, annotated+debug, disassemble и SSA. Не используйте существующий рабочий каталог от другого архива: используйте новый пустой путь. + +Вход имеет little-endian Lua 5.1 с 32-битным `size_t`. Собранный локально LuaDec использует 64-битный `size_t`; поэтому `tools/lua51_chunk.py` пересериализует **только длины строк и соответствующий байт заголовка** для LuaDec. Инструкции, константы и отладочная информация сохраняются; дерево до и после преобразования проверяется на равенство. Unluac читает оригиналы напрямую. Принудительная замена только байта заголовка без пересериализации была бы ошибкой. + +Генератор сохраняет `input/`, `portable/`, `diagnostics/`, `recovered/`, при необходимости `needs-repair/` и `manifest.json`. Диагностика содержит все кандидаты, stderr, дизассемблирование, дерево функций и вывод сравнения LuaDec. Игровые скрипты **не исполняются**: `luac` только проверяет и компилирует их. + +## Права + +Скрипты являются восстановленными игровыми материалами, предоставленными пользователем. Новая лицензия на них не назначается. Правила использования сторонних декомпиляторов определяются их лицензиями; их бинарники и исходники в эту папку не включены. diff --git a/recovered/boot/manifest.json b/recovered/boot/manifest.json new file mode 100644 index 0000000..7715aab --- /dev/null +++ b/recovered/boot/manifest.json @@ -0,0 +1,2636 @@ +{ + "archive_sha256": "1cb5b2112a25113c5182adb412a090dd76ec09a020211f16b400de69dcf0f043", + "requested_tool_executed": false, + "warning": "Recovered source is not original source. Syntax checks do not prove semantic equivalence.", + "files": [ + { + "path": "script/game/Animation/SetAnimationVariable.lua", + "sha256": "7c3d42ef6c126bf7f90c99f425e72bf004649c0efd082bc910d71206a4b1fd29", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 74, + "locals": 14, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "2078df377d8f256580dcab1e9faf9616103af9bea984f2840506643679093a52" + }, + { + "path": "script/game/Audio/LowHP.lua", + "sha256": "d1fee557c2f458f51185e90b8d5d56739f68de4d11cbc7a384b9395bbd64cbb3", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 87, + "locals": 10, + "upvalue_names": 10, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0, + "recovered_sha256": "de40d0376baf5b33d279ec9928120d3a1541c00eebf95b0a87a7998ca1aa7e36" + }, + { + "path": "script/game/Audio/Tinnitus.lua", + "sha256": "ef3ce92907dace69c7eab93eddca2dc4d247a90260b6ce1bca8921710e8701db", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 49, + "locals": 11, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "ea0d0444be879f930c838186e0b6abf3eeb6412dc82de63de8ce091d2cb6e7d6" + }, + { + "path": "script/game/Camera/AdjustFOV.lua", + "sha256": "eb3b1153978d5b029fb40f21cdb583182491c127da841566e0e04a0d788acd59", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 214, + "locals": 30, + "upvalue_names": 18, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 7, + "default_comparison_failures": 0, + "recovered_sha256": "748306a5e4accdfc89018c56eefe3dd1b734e0c65b7c50f20d37b2c965d179ca" + }, + { + "path": "script/game/Camera/FettelTetherParameters.lua", + "sha256": "78d3f557d3fb88c9bfc5c52211af400f1a06b4b77183fc47cd6464d34369dd6b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 8, + "instructions": 277, + "locals": 36, + "upvalue_names": 25, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../final/diagnostics/script/game/Camera/FettelTetherParameters/default.lua:68: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...final/diagnostics/script/game/Camera/FettelTetherParameters/no-guess.lua:68: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/script/game/Camera/FettelTetherParameters/unluac-nodebug.lua:86: '=' expected near 'lbl_31'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 7, + "default_comparison_failures": 1, + "recovered_sha256": "ff749522ee37328d2b54c8ea6039aa558a32ab52ce37217aa1db1569a18c6a75" + }, + { + "path": "script/game/Camera/combineradialblurslowmo.lua", + "sha256": "563f3d4b2af82d5e998d71ee0f2389ef32778e7e991022b6dee0bfa70e4a147b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 105, + "locals": 11, + "upvalue_names": 11, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...inal/diagnostics/script/game/Camera/combineradialblurslowmo/no-guess.lua:33: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 6, + "default_comparison_failures": 1, + "recovered_sha256": "0498f6e4ae97a3d70ffc46182f2bed86ed700c0702016f38d88e02f39e13c44f" + }, + { + "path": "script/game/Common/StreamWorlds.lua", + "sha256": "1a9596d9a8ce6e79a666ac0068d309f8d7261d190a64fad6d0540b89673a33a0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 60, + "locals": 4, + "upvalue_names": 1, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "04e1f1888e01639248e2e6810e3e0a347bc0cf27cc69e10329b37a741d95cace" + }, + { + "path": "script/game/Death/player_selectdeathsequence.lua", + "sha256": "7ff6d3d6dfa22bfe8f3f57d4128b77b76595c438e8e40409c15fe4df2264a3fb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 46, + "locals": 5, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0, + "recovered_sha256": "319a78f192b617c94a29f442d7b0e57425b9f3fa24e559b8669e5ac472360c96" + }, + { + "path": "script/game/Effects/CreepVariableMapping.lua", + "sha256": "04725238eb8275b7196d5ba3b7d7737405ebc6b6c7fa454efb90b5db9c52d22d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 99, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../final/diagnostics/script/game/Effects/CreepVariableMapping/no-guess.lua:35: unexpected symbol near 'char(17)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 0, + "recovered_sha256": "cf39c13862a61f6ba7c63431e6f76d74c6f3fb7ce5a96e68b2762043b97d7592" + }, + { + "path": "script/game/GlobalObject/Achievements/KillBasedAchievements.lua", + "sha256": "b8f2b550bb516f3e3dd1a4265769bbe564935c9869b8255cf9d20aec5580f2ac", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 413, + "locals": 58, + "upvalue_names": 26, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...script/game/GlobalObject/Achievements/KillBasedAchievements/no-guess.lua:88: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../game/GlobalObject/Achievements/KillBasedAchievements/unluac-nodebug.lua:79: '=' expected near 'lbl_21'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 1, + "recovered_sha256": "4772ce766df2cd532e822dfce3a28071dff1444ce958b92e2bb69a7a85171f27" + }, + { + "path": "script/game/GlobalObject/Achievements/ReviveAchievement.lua", + "sha256": "0df253609af233af0d5b6a3fc4b3a262b0f2c39859ef62c925db1be2a226d135", + "header_hex": "1b4c75615100010404040800", + "prototypes": 10, + "instructions": 492, + "locals": 51, + "upvalue_names": 38, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 11, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/script/game/GlobalObject/Achievements/ReviveAchievement/default.lua:64: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/script/game/GlobalObject/Achievements/ReviveAchievement/no-guess.lua:48: unexpected symbol near ')'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ript/game/GlobalObject/Achievements/ReviveAchievement/unluac-nodebug.lua:76: '=' expected near 'lbl_38'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 7, + "default_comparison_failures": 3, + "recovered_sha256": "713af006c643938e2dec823b80423ab0052b4f6304aa1bc0f5fb21d83c76a295" + }, + { + "path": "script/game/GlobalObject/Performance/PerformanceAdjust.lua", + "sha256": "84ae79fe6c9b7c462d2d93a9a5d027538aad1b46610a789800e1e13937058bf9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 143, + "locals": 17, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/script/game/GlobalObject/Performance/PerformanceAdjust/default.lua:31: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/script/game/GlobalObject/Performance/PerformanceAdjust/no-guess.lua:31: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1, + "recovered_sha256": "a81ff9c380163d65842c0915859fc930ea1b173dc229f224282f55e400228695" + }, + { + "path": "script/game/GlobalObject/Score/AwardBoosts.lua", + "sha256": "a96b8b524abfa87e14270ab0ff1ceb521fe16847038d8bc0de757220af90e943", + "header_hex": "1b4c75615100010404040800", + "prototypes": 10, + "instructions": 1104, + "locals": 100, + "upvalue_names": 69, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...inal/diagnostics/script/game/GlobalObject/Score/AwardBoosts/no-guess.lua:181: unexpected symbol near '.'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 153, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...iagnostics/script/game/GlobalObject/Score/AwardBoosts/unluac-nodebug.lua:97: '=' expected near 'lbl_21'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 9, + "default_comparison_failures": 1, + "recovered_sha256": "854aeea8933657304ec4d9256bd0992d6c36e5339df692db71dd0df98c6a5b97" + }, + { + "path": "script/game/GlobalObject/Score/DownedRevivedScoring.lua", + "sha256": "4eaf9ce09401cdc6ba0a40e9c43e56c34748bec73645e15c18de4c7ba8ecabad", + "header_hex": "1b4c75615100010404040800", + "prototypes": 25, + "instructions": 1914, + "locals": 134, + "upvalue_names": 158, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 36, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...gnostics/script/game/GlobalObject/Score/DownedRevivedScoring/default.lua:115: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 42, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/script/game/GlobalObject/Score/DownedRevivedScoring/no-guess.lua:93: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 7, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/script/game/GlobalObject/Score/DownedRevivedScoring/unluac-nodebug.lua:204: '=' expected near 'lbl_142'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 22, + "default_comparison_failures": 3, + "recovered_sha256": "442c5a79aaa73edc008d57a57abd9c824d5966daeb6c00083224f01d028a169d" + }, + { + "path": "script/game/GlobalObject/Score/PsychicLinkScoring.lua", + "sha256": "50a1ea17195802a32bbeeb0f52ea87af1b135b627aa8f1abf5be9f27a7898c99", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 105, + "locals": 10, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/script/game/GlobalObject/Score/PsychicLinkScoring/all-locals.lua:66: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "75ec2185410f95c288344c5a2d9b0efef6de0c773cb14150203cfc6dfdf9caf8" + }, + { + "path": "script/game/GlobalObject/Score/ScoreDeath.lua", + "sha256": "8f93490a7bdff037bc720705869e70278ee5c13e6f924452de2859cbff6f4a13", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 116, + "locals": 24, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0, + "recovered_sha256": "d64185d1f0cfa1fa74904fe79483ff5472cb53af3f57afe937aad774b4dda81c" + }, + { + "path": "script/game/Libraries/AIDirectorBase.lua", + "sha256": "15abcda89a3afa174be4a3127add740f48192438f593846fc2a0186e026accb3", + "header_hex": "1b4c75615100010404040800", + "prototypes": 104, + "instructions": 4052, + "locals": 469, + "upvalue_names": 254, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 53, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...overy/final/diagnostics/script/game/Libraries/AIDirectorBase/default.lua:439: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 19, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...very/final/diagnostics/script/game/Libraries/AIDirectorBase/no-guess.lua:113: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 106, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...inal/diagnostics/script/game/Libraries/AIDirectorBase/unluac-nodebug.lua:269: '=' expected near 'lbl_34'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 90, + "default_comparison_failures": 14, + "recovered_sha256": "3ef3915dd8b5e560a9d5646515df19eb1877e288d4194469df559376774578c5" + }, + { + "path": "script/game/Libraries/GameCamera.lua", + "sha256": "8fc5ac3b7b57cd69a2c04b27e38bba3147ce2c5681bed5935f9bb07345fef185", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 21, + "locals": 15, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0, + "recovered_sha256": "5e96f41f00bd9e15c82f0e2cb0c50181d28307d24592aa8234c1e6c4da2ea535" + }, + { + "path": "script/game/Libraries/GameCinema.lua", + "sha256": "890cc169ae53d9c98e191f88508c87dc4e4a4617d9fa177579eb5e2266c7e36f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 11, + "instructions": 351, + "locals": 71, + "upvalue_names": 22, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 9, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 0, + "recovered_sha256": "11bc7f230284c1a893bbb452fbecdd7741db2a332bf71161097adc6382155449" + }, + { + "path": "script/game/Libraries/GameDebug.lua", + "sha256": "0487070b858884b2c3022f9a34b163d94def28a78237628056344dd5193c251c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 9, + "instructions": 195, + "locals": 45, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 9, + "default_comparison_failures": 0, + "recovered_sha256": "749671d5bceeb2661bbaf2ef5ae1bac73245847b6b4225cdc26985e02f96bb7a" + }, + { + "path": "script/game/Libraries/GameMP.lua", + "sha256": "864cb42fdbc941f0bcc625b53e9006abab800c82eeacfbf2388edf61680b87b5", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 150, + "locals": 36, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 11, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2, + "recovered_sha256": "f0bd3a7ac367df43afc7308ade0969c6efb85f638e0bb4aae50933c05c16552c" + }, + { + "path": "script/game/Libraries/GameRegions.lua", + "sha256": "82108e570be570f2c7e018ca7889ff2f99ee3432510ada5e74e2937dd09b6c9a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 119, + "locals": 35, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 1, + "recovered_sha256": "e677e0af676454cc93249fd85da846e7b3164ebc447d958ccd201c42ced0c6fd" + }, + { + "path": "script/game/Libraries/GameSets.lua", + "sha256": "7fa50a9a4c074acfe1c18e36d960a0834af5135d400a80cae01e60ebf1624845", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 18, + "locals": 12, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0, + "recovered_sha256": "6f0f5a3018ad0ffeb5116b6cccab565a8068d16fda9840410eb33f456419aaac" + }, + { + "path": "script/game/Libraries/GameSupport.lua", + "sha256": "a787ef95e6e9d8f9262835ff28d73cefb3fca0932dc127b7cf5e2f86e59830db", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 82, + "locals": 21, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0, + "recovered_sha256": "cfe1a6e5c11269b8d08417c6a8e190225dc1eae7aa816f5e4f5242c3ddccf774" + }, + { + "path": "script/game/Libraries/GameUtilities.lua", + "sha256": "1f11d00aa3ad06c686f9ee361b3315db00999c43855b571b95929316727b8da9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 35, + "instructions": 863, + "locals": 157, + "upvalue_names": 57, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 14, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 14, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...final/diagnostics/script/game/Libraries/GameUtilities/unluac-nodebug.lua:129: '=' expected near 'lbl_9'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 26, + "default_comparison_failures": 9, + "recovered_sha256": "6def21192e5b951963350be88c0a1582667970a258912ade2d41d98d63c9e279" + }, + { + "path": "script/game/Libraries/LuaHelpers.lua", + "sha256": "440403f0c296984d6b5fc766963fb55d4c31a5a3f7e8cbfb1321dff3775176c1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 9, + "instructions": 264, + "locals": 63, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...-recovery/final/diagnostics/script/game/Libraries/LuaHelpers/default.lua:123: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...recovery/final/diagnostics/script/game/Libraries/LuaHelpers/no-guess.lua:123: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 7, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...covery/final/diagnostics/script/game/Libraries/LuaHelpers/all-locals.lua:266: unexpected symbol near 'else'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 8, + "default_comparison_failures": 1, + "recovered_sha256": "c105df1138ef4ceaf1e78df66bbda6ce35ae3d13ddabd4c6d8ac0321e480e552" + }, + { + "path": "script/game/Libraries/LuaMath3d.lua", + "sha256": "75f87150647b182bc59a50f5b9cdfb8b8b942fd42a2517f83c331dac1aaf590c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 20, + "instructions": 477, + "locals": 86, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 15, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 20, + "default_comparison_failures": 0, + "recovered_sha256": "16fe7e63fb19686f180afe3d9930755dbda1e15c7ae65e40666fa6a8aaaca7ee" + }, + { + "path": "script/game/MP/COOP/Ghost.lua", + "sha256": "57e02aaa03d5b2286a2dc051807c240e0b4b8d68d1ba872ef30c5dd076fab342", + "header_hex": "1b4c75615100010404040800", + "prototypes": 11, + "instructions": 341, + "locals": 39, + "upvalue_names": 38, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 0, + "recovered_sha256": "69abf7dd90604b02531bdd2c0093ca9b56d2829f08185b411433eb14557a31a7" + }, + { + "path": "script/game/MP/LastStand.lua", + "sha256": "bf8c4e9689e5878f67f771f6b9f40e1e907b87d84ea8bcb06f9feee5881b62f7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 1144, + "locals": 67, + "upvalue_names": 119, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 21, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 31, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...r/fear3-recovery/final/diagnostics/script/game/MP/LastStand/no-guess.lua:73: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...3-recovery/final/diagnostics/script/game/MP/LastStand/unluac-nodebug.lua:420: '=' expected near 'lbl_10'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 15, + "default_comparison_failures": 4, + "recovered_sha256": "70ff353e88c518bac855995673488cdfcd4cd2d04121f6732410201da8955eb7" + }, + { + "path": "script/game/MP/LastStandManager.lua", + "sha256": "b705e453ce9a9fa3c72d42bcb92a14c7c56f32995847f3fbf1db1c5c47b6e66f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 13, + "instructions": 837, + "locals": 45, + "upvalue_names": 41, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...3-recovery/final/diagnostics/script/game/MP/LastStandManager/default.lua:89: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...-recovery/final/diagnostics/script/game/MP/LastStandManager/no-guess.lua:33: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 2, + "recovered_sha256": "e7d6a634f78cb4c7d9879431a5c28370e71a111d183fd6b84c787234ee507d4a" + }, + { + "path": "script/game/MP/Rifts/ContractionsScoring.lua", + "sha256": "a19728eeca0dfa4fdd59ff0efa45d4a0c8e35104e58c00cdc26bae91c3a3655b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 13, + "instructions": 844, + "locals": 97, + "upvalue_names": 69, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../final/diagnostics/script/game/MP/Rifts/ContractionsScoring/no-guess.lua:98: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../diagnostics/script/game/MP/Rifts/ContractionsScoring/unluac-nodebug.lua:217: '=' expected near 'lbl_45'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 2, + "recovered_sha256": "78ddccfda795a723b872bd69f6f9db5b40ab647257cb49694a8976e3e2602a97" + }, + { + "path": "script/game/Object/Kill/WaitXSecondsKillObjects.lua", + "sha256": "f5f7f4f4a372aa947a3803b5c51aa9194fc0d7f0066a03b7a5cdea0202aa6d68", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 52, + "locals": 12, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "1e71d0d856e86bc16747d47b8326b9617a5cd1b70e9423b3991f2ba24d8b39d6" + }, + { + "path": "script/game/Object/sendtext/timersendtext.lua", + "sha256": "4cb4f5c0ce7dc4c2c3b341b1a1d351d56c4dea237f44337b26a5d339b2e037f9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 64, + "locals": 11, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../final/diagnostics/script/game/Object/sendtext/timersendtext/default.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...final/diagnostics/script/game/Object/sendtext/timersendtext/no-guess.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1, + "recovered_sha256": "5fd410fdd08f5349c2dfdb2bc613a3cb9ad33af5e477249bf27e5b62fd1b4723" + }, + { + "path": "script/game/Player/BlackOut.lua", + "sha256": "eea588417eeb6447bad9a4d7bfd2f6aa04053f3a5e8b8f66946069eafbc8cdf7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 50, + "locals": 8, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ear3-recovery/final/diagnostics/script/game/Player/BlackOut/no-guess.lua:19: unexpected symbol near 'char(6)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "a6b8df5b4b7a9c3f61345011e61c88cee6ff1c56f2f3172d16edac97ce9266cc" + }, + { + "path": "script/game/Player/FettelParticleDisable.lua", + "sha256": "dfa18a0dd09dddd6345e88a9a00943efc09de48b57677b2e3157ca80dc740c1d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 176, + "locals": 14, + "upvalue_names": 15, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...y/final/diagnostics/script/game/Player/FettelParticleDisable/default.lua:59: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../final/diagnostics/script/game/Player/FettelParticleDisable/no-guess.lua:59: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 2, + "recovered_sha256": "f817da4ddd1e15a66046f01f8d0cbf2dea39e774dfdf42f8b5140f2d16f79b5e" + }, + { + "path": "script/game/Player/GenericDisplayDamage.lua", + "sha256": "771845d4d60a7098b32ca6c8594d33154045f4616bf3454a37f53b2a58a6fdbf", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 443, + "locals": 59, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 1, + "recovered_sha256": "0a770825c6cc2d880e2f6bdf04452355ab7ef15c4f6bde55cc6f25c146914c80" + }, + { + "path": "script/game/Player/PlayerAvatarRespawnInitialization.lua", + "sha256": "c9e47711dc98f38d1b622e8f10721e247e49586da9432ed7d609c4e10c7497e4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 39, + "locals": 12, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "3f565cd1a7f589809e34cb05718b48bedcb57c89e7caf23e7c6910a2d930f33c" + }, + { + "path": "script/game/Player/PlayerVehicleFade.lua", + "sha256": "3b307b10877fe5332104e0408d5dab967e8737f1cf191d163f04c1a8d71a48d6", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 47, + "locals": 7, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...very/final/diagnostics/script/game/Player/PlayerVehicleFade/no-guess.lua:18: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0, + "recovered_sha256": "8d80cb0b2c6a4d5174a643ded16d1f134f0f619be2daa5597b6e5f6586a8ac38" + }, + { + "path": "script/game/Player/Rank.lua", + "sha256": "f782e7bff9b2c087583e269ebf4169d3c16eac9cfb1670357c8d66c03380a942", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 250, + "locals": 23, + "upvalue_names": 29, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...r3-recovery/final/diagnostics/script/game/Player/Rank/unluac-nodebug.lua:129: '=' expected near 'lbl_102'\n", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0, + "recovered_sha256": "5555a016dc3a8c4b35c373f09529f7bbd5080ca0f684e6dae4d79aaf88ad5fe8" + }, + { + "path": "script/game/Player/RankTutorial.lua", + "sha256": "4d8eb66e61a48f9a32a50e249853af077ad5cbe0b8e2966d988fd729e1f3c900", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 181, + "locals": 18, + "upvalue_names": 21, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0, + "recovered_sha256": "2ef66bf30424bb66397b21b5b3e4a7eb7f40315c2391ef6fc6600de50480331c" + }, + { + "path": "script/game/Vehicles/SendMessageToPAInRange.lua", + "sha256": "7c627690b0d66d54567fd05f35855ad83693e918c9b94ec1ad3304be00609465", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 65, + "locals": 15, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "893485b86b0c27e41ed469a5d85fda3f1c4364318e069a7ded6781c6ac152ef0" + }, + { + "path": "script/game/ambientevents/Common/FlickerFlashlight.lua", + "sha256": "448f720e9be3de09b98bef0d5f90b09168d4e5558b98c63f34b3782025d70af8", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 90, + "locals": 12, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0, + "recovered_sha256": "510208dada07680a67e2d921747986e3944e0e2c833ab4c0ac6b7751ab6888eb" + }, + { + "path": "script/game/ambientevents/Common/flickerflashlightObjectTagInRange.lua", + "sha256": "201ff8f2a823a5a0579392dcd02d54a2995004934358c39d03d174ea641f2672", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 145, + "locals": 22, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0, + "recovered_sha256": "df1941ae0affef1c7508108b33ccba7bdcd04ab696a2c2f457b4cd1eddc78f20" + } + ], + "summary": { + "files": 43, + "syntax_ok": 43, + "executable_tree_exact": 43, + "with_diagnostic_markers": 0 + } +} diff --git a/recovered/boot/provenance.json b/recovered/boot/provenance.json new file mode 100644 index 0000000..136a866 --- /dev/null +++ b/recovered/boot/provenance.json @@ -0,0 +1,27 @@ +{ + "requested_tool": { + "url": "https://github.com/Coldzer0/LuaDecompiler/releases/download/v1.0.0/cLuaDecompiler_linux_x86-64.zip", + "executed": false, + "reason": "Redirect to release-assets.githubusercontent.com blocked by sandbox network", + "source_commit": "e75c48a73008187e88cc5a50a2dd06b884247923" + }, + "tools": { + "luadec": { + "repository": "https://github.com/viruscamp/luadec", + "commit": "895d92313fabaee260121c758c8320d1b21dd741" + }, + "lua51": { + "repository": "https://github.com/viruscamp/lua5", + "commit": "cdcfa70f2f731409046374e797a62314b4924b77" + }, + "unluac": { + "download": "https://api.github.com/repos/zlperysian/Unluac/contents/unluac.jar", + "version": "1.2.3.530", + "sha256": "65fcab564745fd5155bae01cad03756efee14e4c60c35edcd277b07ce0d9b1e2" + }, + "java": { + "package": "jdk4py==21.0.8.2", + "source": "PyPI" + } + } +} diff --git a/recovered/boot/script/game/Animation/SetAnimationVariable.lua b/recovered/boot/script/game/Animation/SetAnimationVariable.lua new file mode 100644 index 0000000..451df5b --- /dev/null +++ b/recovered/boot/script/game/Animation/SetAnimationVariable.lua @@ -0,0 +1,28 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Physics = Game.Physics +local MP = Game.MP +local AnimationVariable = Support.ImportStringVariable("Animation Variable", "The name of the Animation Variable we're going to action on.") +local AnimationValue = Support.ImportFloatVariable("Animation Value", "What value should we set the Animation Variable to?") +local Objects = Support.ImportObjectHandleVariable("Object(s)", "The object(s) that we are setting the Animation Variable of") +local TimeTillSet = Support.ImportFloatVariableWithDefault("Timer", "How long before we set the Animation Variable of the specified object(s)", 0) + +function SetAnimationVariable() + Objects = Support.GetImportObjectTable("Object(s)") + if Objects then + for k, value in pairs(Objects) do + if value and Game.IsLoaded(value) then + Game.SetAnimationVariable(value, AnimationVariable, AnimationValue) + end + end + end +end + +if Objects then + if 0 < TimeTillSet then + Callbacks.RegisterForTimer("SetAnimationVariable", TimeTillSet, false) + else + SetAnimationVariable() + end +end diff --git a/recovered/boot/script/game/Audio/LowHP.lua b/recovered/boot/script/game/Audio/LowHP.lua new file mode 100644 index 0000000..dbc1130 --- /dev/null +++ b/recovered/boot/script/game/Audio/LowHP.lua @@ -0,0 +1,35 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Msgs = GameScript.MsgCallback +local Support = GameScript.Support +local Audio = GameScript.Audio +local lowHP = Support.ImportFloatVariable("Low HP", "HP at which to begin applying low HP audio effects") +Support.ImportWatchVariable("HP Value", "Current Hit Points to monitor") +local myObject = Game.GetMyObject() +local isLow = false + +function Update() + local hpValue = Support.GetImportWatchVariableValue("HP Value") + if hpValue >= lowHP then + Callbacks.UnregisterForUpdateEveryFrame("Update") + isLow = false + Audio.ApplyLowHP(isLow) + end +end + +function UpdateLowHP() + local hpValue = Support.GetImportWatchVariableValue("HP Value") + if hpValue < lowHP and isLow == false then + isLow = true + Audio.ApplyLowHP(isLow) + Callbacks.RegisterForUpdateEveryFrame("Update") + end +end + +function OnDamageTaken() + UpdateLowHP() +end + +if myObject ~= nil then + Callbacks.RegisterForMsg(Msgs.DamageTakenMessage, myObject, "OnDamageTaken") +end diff --git a/recovered/boot/script/game/Audio/Tinnitus.lua b/recovered/boot/script/game/Audio/Tinnitus.lua new file mode 100644 index 0000000..f41225b --- /dev/null +++ b/recovered/boot/script/game/Audio/Tinnitus.lua @@ -0,0 +1,20 @@ +local Audio = GameScript.Audio +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Player = Game.Player +local radius = GameScript.Support.ImportFloatVariableWithDefault("Radius", "Maximum distance at which to apply tinnitus effects.", 10) +local myObject = Game.GetMyObject() + +local function CheckTinnitus(obj, radius) + local playerObject = Player.GetPlayerControlledObjectByIndex(GameScript.PlayerIndex.kGlobalPlayer1) + if playerObject then + local distance = Utilities.GetDistanceBetweenObjects(obj, playerObject) + if radius > distance then + Audio.ApplyTinnitus(5 * (1 - distance / radius)) + end + end +end + +if myObject ~= nil then + CheckTinnitus(myObject, radius) +end diff --git a/recovered/boot/script/game/Camera/AdjustFOV.lua b/recovered/boot/script/game/Camera/AdjustFOV.lua new file mode 100644 index 0000000..985b3a9 --- /dev/null +++ b/recovered/boot/script/game/Camera/AdjustFOV.lua @@ -0,0 +1,78 @@ +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Camera = GameScript.Game.Camera +local Player = Game.Player +local paramsMsgIndex = GameScript.MsgCallback.CameraParametersChangeMessage +local playerTransferControlMsgIndex = GameScript.MsgCallback.PlayerTransferControlMessage +local playerRegistrationMsgIndex = GameScript.MsgCallback.PlayerRegistrationMessage +local localObj = Game.GetMyObject() +local fovDirectionLockFactor = Support.ImportFloatVariable("fovDirectionLockFactor", "A value between 0 and 1 that specifies whether to keep horizontal or vertical FOV constant across aspect ratios. Specify 0 for horizontal FOV, 1 for vertical FOV, and any value in between to blend.") +local splitScreenFOVAdjustment = Support.ImportFloatVariable("splitScreenFOVAdjustment", "A value to scale the FOV in split screen mode. Should normally be 1. Use lower values to tighten the FOV in split screen for performance reasons.") +local currentAspectRatio + +function AdjustFOV(cameraObj) + if cameraObj == nil then + return + end + local unadjustedFOV = Camera.GetUnadjustedCameraFOV(cameraObj) + local requestedFOV = math.rad(unadjustedFOV) + local defaultAspect = 1.7777777777777777 + local lockedVerticalVFOV = 2 * math.atan(math.tan(requestedFOV * 0.5) / defaultAspect) + local viewportAspect = Camera.GetCameraViewportAspectRatio(cameraObj) + if viewportAspect == 0 then + local player1CamObj = Camera.GetCameraObjectForPlayer(GameScript.PlayerIndexArray[1]) + if player1CamObj ~= nil then + viewportAspect = Camera.GetCameraViewportAspectRatio(player1CamObj) + end + if viewportAspect == 0 then + return + end + end + local lockedVerticalHFOV = 2 * math.atan(math.tan(lockedVerticalVFOV * 0.5) * viewportAspect) + local newFOV = requestedFOV + if requestedFOV > lockedVerticalHFOV then + newFOV = (1 - fovDirectionLockFactor) * requestedFOV + fovDirectionLockFactor * lockedVerticalHFOV + end + if Player.GetNumLocalPlayers() == 2 and newFOV > requestedFOV * splitScreenFOVAdjustment then + newFOV = requestedFOV * splitScreenFOVAdjustment + end + if 0 < newFOV then + Camera.SetAdjustedCameraFOV(cameraObj, math.deg(newFOV)) + end +end + +function OnCameraParamsChanged(cameraParamsMsg) + AdjustFOV(localObj) +end + +function OnPlayerTransferControl(playerTransferControlMsg) + Callbacks.RegisterForUpdateEveryFrame("Update") +end + +function OnPlayerRegistration(playerRegistrationMsg) + Callbacks.RegisterForUpdateEveryFrame("Update") +end + +function Update() + local newCurrAspectRatio = Camera.GetCameraViewportAspectRatio(localObj) + local bAspectRatioChanged = newCurrAspectRatio ~= currentAspectRatio + currentAspectRatio = newCurrAspectRatio + if bAspectRatioChanged then + AdjustFOV(localObj) + end + Callbacks.UnregisterForUpdateEveryFrame() +end + +function Initialize(thisObject) + currentAspectRatio = Camera.GetCameraViewportAspectRatio(thisObject) + Callbacks.RegisterForMsg(paramsMsgIndex, thisObject, "OnCameraParamsChanged") + local globalDataObject = Utilities.GetGlobalDataObject() + Callbacks.RegisterForMsg(playerTransferControlMsgIndex, globalDataObject, "OnPlayerTransferControl") + Callbacks.RegisterForMsg(playerRegistrationMsgIndex, globalDataObject, "OnPlayerRegistration") + AdjustFOV(thisObject) +end + +Initialize(localObj) diff --git a/recovered/boot/script/game/Camera/FettelTetherParameters.lua b/recovered/boot/script/game/Camera/FettelTetherParameters.lua new file mode 100644 index 0000000..019f7ba --- /dev/null +++ b/recovered/boot/script/game/Camera/FettelTetherParameters.lua @@ -0,0 +1,98 @@ +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Graphics = Game.Graphics +local Camera = Game.Camera +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local msgCBList = GameScript.MsgCallback +local regMsgIndex = GameScript.MsgCallback.PlayerRegistrationMessage +local spawnMsgIndex = GameScript.MsgCallback.PlayerSpawnedMessage +local showWhiteOutFX = false +local whiteOutTimer = 0 +local _TimeOutZoneTime = Support.ImportWatchVariable("Timeout Zone Time Remaining", "How much time (as a percentage) before tethering") +local _WarningZonePct = Support.ImportWatchVariable("Warning Zone Pct", "How far into the Warning Zone you are, as a percent") +local _TetherZone = Support.ImportWatchVariable("Tether Zone", "Are you in the Tether Zone?") +local _PrevDesaturation = -1 +local _PrevPosterization = -1 +Support.RegisterCurveTemplateVariable("Desaturation Warning Intensity Curve", "The curve used to scale the progressive warning Desaturation effect for tethering") +Support.RegisterCurveTemplateVariable("Posterization Warning Intensity Curve", "The curve used to scale the progressive warning Posterization effect for tethering") +Support.RegisterCurveTemplateVariable("White-out Intensity Curve", "The curve used to scale the White-out effect for tethering") +local whiteOutPeriod = Support.ImportFloatVariableWithDefault("White-out Timer Period", "The duration to ramp the white-out effect when tethered", 1) +local Self = Game.GetMyObject() +local PlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer + +function UpdateFilter(cameraChange) + local player = Self + local playerIndex = Player.GetPlayerIndexByObject(player) + local WarningZonePercent = _WarningZonePct + local TimeoutTimeRemaining = _TimeOutZoneTime + local TetherZone = _TetherZone + local DesaturationWarningDisplayAmount = Support.GetCurveValue("Desaturation Warning Intensity Curve", WarningZonePercent) + local PosterizationWarningDisplayAmount = Support.GetCurveValue("Posterization Warning Intensity Curve", WarningZonePercent) + if cameraChange or _PrevDesaturation ~= DesaturationWarningDisplayAmount then + Camera.SetCameraFilterScalar(playerIndex, "TetherMask", DesaturationWarningDisplayAmount) + _PrevDesaturation = DesaturationWarningDisplayAmount + end + if cameraChange or _PrevPosterization ~= PosterizationWarningDisplayAmount then + Camera.SetCameraFilterScalar(playerIndex, "TetherPosterize", PosterizationWarningDisplayAmount) + _PrevPosterization = PosterizationWarningDisplayAmount + end + if showWhiteOutFX then + whiteOutTimer = whiteOutTimer + Support.GetGameTimeDelta() + if whiteOutTimer >= whiteOutPeriod then + whiteOutTimer = whiteOutPeriod + showWhiteOutFX = false + end + local WhiteOutDisplayAmount = Support.GetCurveValue("White-out Intensity Curve", whiteOutTimer / whiteOutPeriod) + Camera.SetCameraFilterScalar(playerIndex, "TetherWhiteout", WhiteOutDisplayAmount) + Camera.SetCameraFilterScalar(playerIndex, "TetherMask", WhiteOutDisplayAmount) + Camera.SetCameraFilterScalar(playerIndex, "TetherPosterize", WhiteOutDisplayAmount) + Callbacks.RegisterForUpdateEveryFrame("UpdateFilter") + else + Camera.SetCameraFilterScalar(playerIndex, "TetherWhiteout", 0) + Callbacks.UnregisterForUpdateEveryFrame("UpdateFilter") + end +end + +function TetherMessageReceived() + showWhiteOutFX = true + whiteOutTimer = 0 +end + +function CameraFilterChangeReceived(msgData) + if PlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + PlayerIndex = Player.GetPlayerIndexByObject(Self) + end + local CameraPlayerIndex = Camera.GetPlayerIndexFromCameraId(msgData.camID) + if PlayerIndex == CameraPlayerIndex then + UpdateFilter(true) + end +end + +function UpdateTimeout(msg) + _TimeOutZoneTime = msg.newValue + UpdateFilter(false) +end + +function UpdateZonePct(msg) + _WarningZonePct = msg.newValue + UpdateFilter(false) +end + +function UpdateTetherZone(msg) + _TetherZone = msg.newValue + UpdateFilter(false) +end + +function Initialize() + Callbacks.RegisterForWatchVariableChange("Timeout Zone Time Remaining", "UpdateTimeout") + Callbacks.RegisterForWatchVariableChange("Warning Zone Pct", "UpdateZonePct") + Callbacks.RegisterForWatchVariableChange("Tether Zone", "UpdateTetherZone") + Callbacks.RegisterForMsg(msgCBList.TetherMessage, Self, "TetherMessageReceived") + Callbacks.RegisterForMsg(msgCBList.CameraFilterGroupChangeMessage, Self, "CameraFilterChangeReceived") +end + +Initialize() diff --git a/recovered/boot/script/game/Camera/combineradialblurslowmo.lua b/recovered/boot/script/game/Camera/combineradialblurslowmo.lua new file mode 100644 index 0000000..84a0d3d --- /dev/null +++ b/recovered/boot/script/game/Camera/combineradialblurslowmo.lua @@ -0,0 +1,47 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Game = GameScript.Game +local SlowMoPercent = Support.ImportWatchVariable("SlowMo", "Slow-motion amount") +local RadialBlurAmount = Support.ImportWatchVariable("Radial_Blur", "Radial Blur amount") +Support.ExportFloatVariable("RadialBlurScale", 0, "Combined Radial_Blur and SlowMo") +local _SlowMoPercent = 0 +local _RadialBlurAmount = 0 +local scriptObject + +function UpdateSlowMo(msg) + _SlowMoPercent = msg.newValue + UpdateOutput() +end + +function UpdateRadial_Blur(msg) + _RadialBlurAmount = msg.newValue + UpdateOutput() +end + +function UpdateOutput() + if _SlowMoPercent > _RadialBlurAmount then + Extern.RadialBlurScale = _SlowMoPercent + else + Extern.RadialBlurScale = _RadialBlurAmount + end +end + +function UpdateOutputOnChange() + _SlowMoPercent = Support.GetImportWatchVariableValue("SlowMo") + _RadialBlurAmount = Support.GetImportWatchVariableValue("Radial_Blur") + UpdateOutput() +end + +function UpdateOutputEveryFrame() + _SlowMoPercent = Support.GetImportWatchVariableValue("SlowMo") + _RadialBlurAmount = Support.GetImportWatchVariableValue("Radial_Blur") + UpdateOutput() +end + +function Initialize() + Extern.RadialBlurScale = 0 + Callbacks.RegisterForUpdateEveryFrame("UpdateOutputEveryFrame") +end + +Initialize() diff --git a/recovered/boot/script/game/Common/StreamWorlds.lua b/recovered/boot/script/game/Common/StreamWorlds.lua new file mode 100644 index 0000000..e98e3cf --- /dev/null +++ b/recovered/boot/script/game/Common/StreamWorlds.lua @@ -0,0 +1,20 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +Support.RegisterWorldVectorVariable("Desired Worlds", "The worlds that we want to start streaming") +Support.RegisterWorldVectorVariable("Required Worlds", "The worlds that must exist when a player enters this region (must have been desired first!)") +local save = Support.ImportBoolVariableWithDefault("Auto Save?", "If system enablers autosave and this is true then an auto save will occur, use false to disable the autosave feature", true) +local DelayTime = Support.ImportFloatVariableWithDefault("Delay Time", "Time in seconds to wait before streaming.", 0) + +function Stream() + GameScript.Game.StreamWorlds("Desired Worlds", "Required Worlds") + if save then + GameScript.Game.SaveGame() + end + GameScript.Debug.PrintInfoIf(g_debugMode > 0, "StreamDesiredRequiredWorlds") +end + +if 0 < DelayTime then + Callbacks.RegisterForTimer("Stream", DelayTime, false) +else + Stream() +end diff --git a/recovered/boot/script/game/Death/player_selectdeathsequence.lua b/recovered/boot/script/game/Death/player_selectdeathsequence.lua new file mode 100644 index 0000000..e3ecfd5 --- /dev/null +++ b/recovered/boot/script/game/Death/player_selectdeathsequence.lua @@ -0,0 +1,19 @@ +local Death = GameScript.Game.Death +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local chosenDeathSequence = "Ragdoll Death" +Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, GameScript.Game.GetMyObject(), "OnTextMessage") + +function ChooseDeathSequence() + Death.SetDeathChoreographerSequence(chosenDeathSequence) +end + +function OnTextMessage(message) + if message.text == "Drowned" then + chosenDeathSequence = "Drowning Death" + end + if message.text == "Ragdoll" then + chosenDeathSequence = "Ragdoll Death" + end +end diff --git a/recovered/boot/script/game/Effects/CreepVariableMapping.lua b/recovered/boot/script/game/Effects/CreepVariableMapping.lua new file mode 100644 index 0000000..fc61bb9 --- /dev/null +++ b/recovered/boot/script/game/Effects/CreepVariableMapping.lua @@ -0,0 +1,30 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local INPUT_HP_NAME = "InputHP" +Support.ImportWatchVariable(INPUT_HP_NAME, "The Watch Variable input to the curve") +Support.RegisterCurveTemplateVariable("TendrilCurve", "The curve used to adjust the input variable") +Support.RegisterCurveTemplateVariable("VisibilityCurve", "The curve used to adjust the input variable") +Support.ExportFloatVariable("TendrilOutput", 1, "Watch Variable output through the curve") +Support.ExportFloatVariable("VisibilityOutput", 0, "Watch Variable output through the curve") + +function GetBlurCurveValue(inValue) + return math.min(Support.GetCurveValue("VisibilityCurve", inValue), 1) +end + +function GetTendrilCurveValue(inValue) + return math.min(Support.GetCurveValue("TendrilCurve", inValue), 1) +end + +function UpdateEveryFrame() + local inValue = Support.GetImportWatchVariableValue(INPUT_HP_NAME) + Extern.TendrilOutput = GetTendrilCurveValue(inValue) + Extern.VisibilityOutput = GetBlurCurveValue(inValue) +end + +function DebugValues() + GameScript.Debug.PrintInfo("Tendril: " .. Extern.TendrilOutput) + GameScript.Debug.PrintInfo("Blur: " .. Extern.VisibilityOutput) +end + +Callbacks.RegisterForUpdateEveryFrame("UpdateEveryFrame") diff --git a/recovered/boot/script/game/GlobalObject/Achievements/KillBasedAchievements.lua b/recovered/boot/script/game/GlobalObject/Achievements/KillBasedAchievements.lua new file mode 100644 index 0000000..b5ab862 --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Achievements/KillBasedAchievements.lua @@ -0,0 +1,144 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Player = Game.Player +local Score = GameScript.FEARScore +local Death = Game.Death +local Debug = GameScript.Debug +local ObjectTags = Game.ObjectTags +local Utilities = GameScript.Utilities +local MP = Game.MP +local achievements = GameScript.Achievements +local notAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local player1 = GameScript.PlayerIndex.kGlobalPlayer1 +local maxPlayers = GameScript.PlayerIndex.kMaxGlobalPlayers +local nearDeathState = GameScript.ObjectState.NearDeath +local headshotDeathType = GameScript.ScoreDeathType.HeadShot +local meleeDeathType = GameScript.ScoreDeathType.Melee +local grenadeDeathType = GameScript.ScoreDeathType.Grenade +local slowMoActivateMsg = GameScript.MsgCallback.SlowMoActivatedMessage +local slowMoDeactivateMsg = GameScript.MsgCallback.SlowMoDeactivatedMessage +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local possessionEndedMsg = GameScript.MsgCallback.PossessionEndedMessage +local slideKickKillLeeway = 0.5 +local sniperWeaponType = 12 +local consecutiveSniperHeadshotsNeeded = 10 +local playerSlowMoSlideKickKillTimes = {} +local playerConsecutiveSniperHeadshots = {} +local slowMoOn = false + +function OnDeath(info) + if MP.IsClient() then + return + end + local killerIndex = info.killerPlayerIndex + local killedObject = info.killedObject + local currentTime = Support.GetGameTime() + if killedObject == nil or not Game.IsLoaded(killedObject) then + return + end + local victimIndex = Player.GetPlayerIndexByObject(killedObject) + if ObjectTags.DoesObjectHaveTag(killedObject, "Creep") then + return + end + if killerIndex == notAPlayer then + return + end + local killerControlledObject = Player.GetPlayerControlledObjectByIndex(killerIndex) + local killerAvatarObject = Player.GetPlayerAvatarObjectByIndex(killerIndex) + if not (killerControlledObject ~= nil and Game.IsLoaded(killerControlledObject)) or killerAvatarObject == nil or not Game.IsLoaded(killerAvatarObject) then + return + end + if victimIndex == killerIndex then + return + end + local killerIsPointMan = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Point Man") + local killerIsFettel = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Fettel") + local killerIsPossessed = Game.IsPossessed(killerControlledObject) + local damageInfo = Death.GetLastDamageInfoFromObject(killedObject) + local weaponType = damageInfo.weaponType + local damageType = damageInfo.type + Game.AwardAchievementOccurrence(killerIndex, achievements.Lots_Of_Kills) + if slowMoOn then + Game.AwardAchievementOccurrence(killerIndex, achievements.Slow_Mo_Kills) + end + if Death.IsDamagePinning(damageInfo) then + Game.AwardAchievementOccurrence(killerIndex, achievements.Pinning_Kills) + end + if Game.IsSuspended(killedObject) then + local suspender = Game.GetSuspendingObject(killedObject) + if suspender ~= nil then + local suspenderIndex = Player.GetPlayerIndexByObject(suspender) + if suspenderIndex ~= notAPlayer and suspenderIndex ~= killerIndex then + Game.AwardAchievementOccurrence(killerIndex, achievements.Kill_Suspended_Enemies) + Game.AwardAchievementOccurrence(suspenderIndex, achievements.Suspended_Enemies_Killed) + end + end + end + if info.deathType == headshotDeathType and weaponType == sniperWeaponType then + if playerConsecutiveSniperHeadshots[killerIndex] == nil then + playerConsecutiveSniperHeadshots[killerIndex] = 1 + else + playerConsecutiveSniperHeadshots[killerIndex] = playerConsecutiveSniperHeadshots[killerIndex] + 1 + if playerConsecutiveSniperHeadshots[killerIndex] >= consecutiveSniperHeadshotsNeeded then + Game.AwardAchievementOccurrence(killerIndex, achievements.Consecutive_Sniper_Headshots) + end + end + else + playerConsecutiveSniperHeadshots[killerIndex] = 0 + end + if info.deathType == meleeDeathType then + local meleeAttack = Game.GetLastMeleeAttack(killerControlledObject) + if not killerIsFettel then + if meleeAttack == 7 or meleeAttack == 8 then + Game.AwardAchievementOccurrence(killerIndex, achievements.Slide_Jump_Kick_Kills) + end + if meleeAttack == 7 and slowMoOn then + local lastSlowMoSlideKickTime = playerSlowMoSlideKickKillTimes[killerIndex] + if lastSlowMoSlideKickTime ~= nil and currentTime <= lastSlowMoSlideKickTime + slideKickKillLeeway then + Game.AwardAchievementOccurrence(killerIndex, achievements.Slide_Kick_SlowMo_Multikill) + end + playerSlowMoSlideKickKillTimes[killerIndex] = currentTime + end + end + local inventoryItems = Game.GetInventoryItems(killerControlledObject, 1) + for key, weapon in pairs(inventoryItems) do + if ObjectTags.DoesObjectHaveTag(weapon, "Crowbar") then + Debug.PrintInfo("Crowbar Kill!") + Game.AwardAchievementOccurrence(killerIndex, achievements.Crowbar_Kills) + end + end + end +end + +function PlayerTransferredControl(info) + local newAvatar = info.currentPlayerAvatarObject + local oldAvatar = info.previousPlayerAvatarObject + if oldAvatar ~= nil and Game.IsPossessed(oldAvatar) then + Callbacks.UnregisterForMsg(possessionEndedMsg, oldAvatar, "PlayerEndsPossession") + end + if Game.IsPossessed(newAvatar) then + Callbacks.RegisterForMsg(possessionEndedMsg, newAvatar, "PlayerEndsPossession") + end +end + +function PlayerEndsPossession(msg) + local index = Player.GetPlayerIndexByObject(msg.possessedObject) + if index ~= notAPlayer and msg.nType == 3 then + Game.AwardAchievementOccurrence(index, achievements.Lots_Of_Kills) + end +end + +function OnSlowMoActivated(msg) + slowMoOn = true +end + +function OnSlowMoDeactivated() + slowMoOn = false +end + +local myObject = Game.GetMyObject() +Callbacks.RegisterForMsg(slowMoActivateMsg, myObject, "OnSlowMoActivated") +Callbacks.RegisterForMsg(slowMoDeactivateMsg, myObject, "OnSlowMoDeactivated") +Callbacks.RegisterForMsg(playerTransferMsg, myObject, "PlayerTransferredControl") +Score.RegisterForDeath("OnDeath") diff --git a/recovered/boot/script/game/GlobalObject/Achievements/ReviveAchievement.lua b/recovered/boot/script/game/GlobalObject/Achievements/ReviveAchievement.lua new file mode 100644 index 0000000..7f8194f --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Achievements/ReviveAchievement.lua @@ -0,0 +1,170 @@ +local Game = GameScript.Game +local Player = Game.Player +local MP = Game.MP +local Death = Game.Death +local ObjectTags = Game.ObjectTags +local Score = GameScript.FEARScore +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local FEAR = GameScript.FEAR +local Util = GameScript.Utilities +local globalPlayer1 = GameScript.PlayerIndex.kGlobalPlayer1 +local maxPlayers = GameScript.PlayerIndex.kMaxGlobalPlayers +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local usableMsg = GameScript.MsgCallback.UsablesStartUsingMessage +local objectStateChangeMsg = GameScript.MsgCallback.ObjectStateChangeMessage +local nearDeathState = GameScript.ObjectState.NearDeath +local playerAvatars = {} +local playerAvatarNames = {} +local revivingPlayer = {} +local nearDeathPlayers = {} +local numNearDeaths = 0 + +function PlayerTransferredControl(info) + local index = info.globalPlayerIndex + local newAvatar = info.currentPlayerAvatarObject + local oldAvatar = info.previousPlayerAvatarObject + local newAvatarName, oldAvatarName + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + oldAvatarName = Game.GetName(oldAvatar) + end + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + if oldAvatar == playerAvatars[index] or oldAvatarName == playerAvatarNames[index] then + UnregisterForMessages(oldAvatar) + elseif playerAvatars[index] ~= nil then + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: script thinks the player was " .. tostring(playerAvatarNames[index]) .. " but the message says it was " .. tostring(oldAvatarName)) + UnregisterForMessages(playerAvatars[index]) + end + playerAvatars[index] = nil + playerAvatarNames[index] = nil + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) then + newAvatarName = Game.GetName(newAvatar) + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) then + if playerAvatars[index] == nil and playerAvatarNames[index] == nil then + RegisterForMessages(newAvatar) + elseif playerAvatars[index] ~= newAvatar then + if playerAvatarNames[index] ~= newAvatarName then + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: script thinks the player is " .. tostring(playerAvatarNames[index]) .. " but the message says it is " .. tostring(newAvatarName)) + else + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: message refers to a different object, but they have the same name (" .. tostring(playerAvatarNames[index]) .. ")") + end + if playerAvatars[index] ~= nil and Game.IsLoaded(playerAvatars[index]) then + UnregisterForMessages(playerAvatars[index]) + end + UnregisterForMessages(newAvatar) + RegisterForMessages(newAvatar) + end + playerAvatars[index] = newAvatar + playerAvatarNames[index] = newAvatarName + end +end + +function PlayerStateChanged(info) + if MP.IsClient() then + return + end + local avatar = info.object + if avatar == nil then + return + end + local index = Player.GetPlayerIndexByObject(avatar) + if index == notAPlayer then + return + end + local oldState = info.oldState + local newState = info.newState + if oldState ~= nearDeathState and newState == nearDeathState then + nearDeathPlayers[index] = true + numNearDeaths = numNearDeaths + 1 + elseif oldState == nearDeathState and newState ~= nearDeathState then + local reviverIndex = revivingPlayer[index] + if reviverIndex == nil then + Debug.PrintWarning("There was no reviving player for player " .. index .. "!") + else + Game.AwardAchievementOccurrence(reviverIndex, GameScript.Achievements.Perform_Revives) + end + revivingPlayer[index] = nil + nearDeathPlayers[index] = nil + end +end + +function PlayerWasUsed(info) + if MP.IsClient() then + return + end + local avatarUsed = info.usedObject + if avatarUsed == nil then + return + end + local usedPlayerIndex = Player.GetPlayerIndexByObject(avatarUsed) + if usedPlayerIndex == notAPlayer then + return + end + local userPlayerIndex = info.userPlayerIndex + if userPlayerIndex == notAPlayer then + return + end + if userPlayerIndex == usedPlayerIndex then + return + end + if MP.GetGameMode() == GameScript.MPGameMode.kGameType12 and Util.PlayerHasTag(userPlayerIndex, "Fettel") then + return + end + revivingPlayer[usedPlayerIndex] = userPlayerIndex +end + +function RegisterForMessages(avatar) + Callbacks.RegisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.RegisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") +end + +function UnregisterForMessages(avatar) + Callbacks.UnregisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.UnregisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") +end + +function OnTextMessage(msg) + if msg.text == "Mission Ended" then + if numNearDeaths == 0 and not Score.GetGameLoadedSinceMissionStarted() and Score.GetLowestDifficultyUsed() == 4 then + for index = globalPlayer1, maxPlayers do + if Player.IsActivePlayer(index) then + Game.AwardAchievementOccurrence(index, GameScript.Achievements.Extreme_Campaign_Level_Clean_Run) + end + end + end + elseif msg.text == "Mission Started" then + numNearDeaths = 0 + end +end + +function RegisterForGameMessages() + Callbacks.RegisterForMsg(playerTransferMsg, Game.GetMyObject(), "PlayerTransferredControl") + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Game.GetMyObject(), "OnTextMessage") +end + +function GetInitialPlayerData() + for index = globalPlayer1, maxPlayers do + local currentAvatar = Player.GetPlayerControlledObjectByIndex(index) + if currentAvatar ~= nil then + local currentName = Game.GetName(currentAvatar) + playerAvatars[index] = currentAvatar + playerAvatarNames[index] = currentName + RegisterForMessages(currentAvatar) + end + end +end + +function OnCheckpointReload() + Callbacks.RegisterForTimer("DummyFunc", 0, false) + Callbacks.UnregisterAllMsgCallbacks() + RegisterForGameMessages() + GetInitialPlayerData() + Callbacks.UnregisterForTimer("DummyFunc") +end + +RegisterForGameMessages() +Callbacks.RegisterForPostCheckpointActivation("OnCheckpointReload") +GetInitialPlayerData() diff --git a/recovered/boot/script/game/GlobalObject/Performance/PerformanceAdjust.lua b/recovered/boot/script/game/GlobalObject/Performance/PerformanceAdjust.lua new file mode 100644 index 0000000..5166c9d --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Performance/PerformanceAdjust.lua @@ -0,0 +1,54 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local xbox = GameScript.Platform.XBox360 +local ps = GameScript.Platform.PS3 +local pc = GameScript.Platform.Win32 +local FEAR = GameScript.FEAR +local initialSplitScreen = Support.ImportWatchVariable("SplitScreen", "Variable that changes to 1 when we are in split screen mode") +local initialIsCampaign = Support.ImportWatchVariable("IsCampaign", "Variable that changes to 1 when we are in a campaign game") +local platformType = Support.GetPlatform() + +function OnConfigurationChanged(isSplitScreen, isCampaign) + if isSplitScreen == 1 then + FEAR.SetGlobalPerformanceValue("/Decals/Simple/enableDecals false") + FEAR.SetGlobalPerformanceValue("/ParticleMgr/particleCollisionEnabled false") + FEAR.SetGlobalPerformanceValue("/Game/modelDamageEnabled false") + FEAR.SetGlobalPerformanceValue("/Renderer/GraphicsDevice/sceneLightShadowsEnabled false") + FEAR.SetGlobalPerformanceValue("/Renderer/GraphicsDevice/areaLightMaxShadowLag 1.0") + else + FEAR.SetGlobalPerformanceValue("/Decals/Simple/enableDecals true") + FEAR.SetGlobalPerformanceValue("/Game/modelDamageEnabled true") + FEAR.SetGlobalPerformanceValue("/Renderer/GraphicsDevice/sceneLightShadowsEnabled true") + FEAR.SetGlobalPerformanceValue("/Renderer/GraphicsDevice/areaLightMaxShadowLag 0.0") + if isCampaign == 1 then + FEAR.SetGlobalPerformanceValue("/ParticleMgr/particleCollisionEnabled true") + else + FEAR.SetGlobalPerformanceValue("/ParticleMgr/particleCollisionEnabled false") + end + end + if isCampaign == 1 then + FEAR.SetGlobalPerformanceValue("/Physics/EnablePersonCustomShapeCreation true") + else + FEAR.SetGlobalPerformanceValue("/Physics/EnablePersonCustomShapeCreation false") + end +end + +function OnSplitScreenChange(msg) + Debug.PrintInfo("OnSplitScreenChange") + local isCampaign = Support.GetImportWatchVariableValue("IsCampaign") + OnConfigurationChanged(msg.newValue, isCampaign) +end + +function OnIsCampaignChange(msg) + Debug.PrintInfo("OnIsCampaignChange") + local splitScreen = Support.GetImportWatchVariableValue("SplitScreen") + OnConfigurationChanged(splitScreen, msg.newValue) +end + +OnConfigurationChanged(initialSplitScreen, initialIsCampaign) +Callbacks.RegisterForWatchVariableChange("SplitScreen", "OnSplitScreenChange") +Callbacks.RegisterForWatchVariableChange("IsCampaign", "OnIsCampaignChange") +if platformType == xbox then +end diff --git a/recovered/boot/script/game/GlobalObject/Score/AwardBoosts.lua b/recovered/boot/script/game/GlobalObject/Score/AwardBoosts.lua new file mode 100644 index 0000000..bf9059f --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Score/AwardBoosts.lua @@ -0,0 +1,319 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Player = Game.Player +local Score = GameScript.FEARScore +local Death = Game.Death +local Debug = GameScript.Debug +local ObjectTags = Game.ObjectTags +local Utilities = GameScript.Utilities +local MP = Game.MP +local notAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local player1 = GameScript.PlayerIndex.kGlobalPlayer1 +local maxPlayers = GameScript.PlayerIndex.kMaxGlobalPlayers +local headshotDeathType = GameScript.ScoreDeathType.HeadShot +local meleeDeathType = GameScript.ScoreDeathType.Melee +local grenadeDeathType = GameScript.ScoreDeathType.Grenade +local grenadeDeathLeeway = 0.5 +local slideKickKillLeeway = 0.5 +local slowMoActivateMsg = GameScript.MsgCallback.SlowMoActivatedMessage +local slowMoDeactivateMsg = GameScript.MsgCallback.SlowMoDeactivatedMessage +local aiFlashBangMsg = GameScript.MsgCallback.AIFlashBangMessage +local pauseMsg = GameScript.MsgCallback.PauseGameMessage +local challenges = GameScript.BoostChallenge +local uziWeaponType = 3 +local smgWeaponType = 4 +local shotgunWeaponType = 5 +local rocketWeaponType = 6 +local pistolWeaponType = 7 +local arWeaponType = 8 +local sniperWeaponType = 12 +local penetratorWeaponType = 13 +local fragGenadeWeaponType = 16 +local zapGrenadeWeaponType = 18 +local beamWeaponType = 19 +local stunWeaponType = 20 +local riotShieldWeaponType = 22 +local suspendWeaponType = 23 +local stompDamageType = "Mech MeleeStomp" +local suicideMineDamageType = "Suicide Mine" +local bulletMechDamageType = "Bullet Mech" +local playerKillTimes = {} +local playerGrenadeKillTimes = {} +local recentKillRecords = {} +local slowMoOn = false +local playerSlowMoOn = false +local pointManSlowMoIndex = notAPlayer +local highlightReelTracking = {} +local gameIsPaused = false + +function OnDeath(info) + if MP.IsClient() then + return + end + local killerIndex = info.killerPlayerIndex + local killedObject = info.killedObject + local currentTime = Support.GetGameTime() + if killedObject == nil or not Game.IsLoaded(killedObject) then + return + end + if ObjectTags.DoesObjectHaveTag(killedObject, "Creep") then + return + end + local victimIndex = Player.GetPlayerIndexByObject(killedObject) + if victimIndex ~= notAPlayer then + ResetAllBoosts(victimIndex) + end + if killerIndex == notAPlayer then + return + end + local killerControlledObject = Player.GetPlayerControlledObjectByIndex(killerIndex) + local killerAvatarObject = Player.GetPlayerAvatarObjectByIndex(killerIndex) + if not (killerControlledObject ~= nil and Game.IsLoaded(killerControlledObject)) or killerAvatarObject == nil or not Game.IsLoaded(killerAvatarObject) then + return + end + if victimIndex == killerIndex then + return + end + local killerIsPointMan = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Point Man") + local killerIsFettel = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Fettel") + local killerIsMech = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Power Armor") + local killerIsPossessed = Game.IsPossessed(killerControlledObject) + local pointManIndex = notAPlayer + if killerIsPointMan then + pointManIndex = killerIndex + else + local pointManTable = ObjectTags.GetObjectsWithTag("Point Man") + for key, pointMan in pairs(pointManTable) do + pointManIndex = Player.GetPlayerIndexByObject(pointMan) + end + end + local damageInfo = Death.GetLastDamageInfoFromObject(killedObject) + local weaponType = damageInfo.weaponType + local damageType = damageInfo.type + Score.AwardBoostRequirement(killerIndex, challenges.Kills, 1) + Score.AwardBoostRequirement(killerIndex, challenges.SadKiller, 1) + local inActiveCover = Game.IsActiveCoverOn(killerControlledObject) + if inActiveCover then + Score.AwardBoostRequirement(killerIndex, challenges.Covert, 1) + Score.AwardBoostRequirement(killerIndex, challenges.CoverUp, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostCoverKills, 1) + end + end + if Game.IsSuspended(killedObject) then + local suspender = Game.GetSuspendingObject(killedObject) + if suspender ~= nil then + local suspenderIndex = Player.GetPlayerIndexByObject(suspender) + if suspenderIndex ~= notAPlayer and suspenderIndex ~= killerIndex then + Score.AwardBoostRequirement(killerIndex, challenges.Hangman, 1) + Score.AwardBoostRequirement(suspenderIndex, challenges.Hangman, 1) + end + end + end + if slowMoOn then + if killerIndex == pointManIndex then + Score.AwardBoostRequirement(killerIndex, challenges.Slowly, 1) + Score.AwardBoostRequirement(killerIndex, challenges.Plaid, 1) + Score.AwardBoostRequirement(killerIndex, challenges.SlowYourRole, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostSloMoSingle, 1) + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostSloMo, 1) + end + end + if Utilities.IsFettelIndex(killerIndex) and playerSlowMoOn then + Score.AwardBoostRequirement(killerIndex, challenges.FettelSloMo, 1) + if pointManIndex ~= notAPlayer then + Score.AwardBoostRequirement(pointManIndex, challenges.FettelSloMo, 1) + end + end + end + if info.deathType == headshotDeathType then + Score.AwardBoostRequirement(killerIndex, challenges.Headshots, 1) + Score.AwardBoostRequirement(killerIndex, challenges.MegaHeadshots, 1) + if slowMoOn and killerIndex == pointManIndex then + Score.AwardBoostRequirement(killerIndex, challenges.PerfectSoldier, 1) + end + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostHeadShot, 1) + end + end + if info.deathType == meleeDeathType then + Score.AwardBoostRequirement(killerIndex, challenges.MeleeKills, 1) + if killerIsMech then + Score.AwardBoostRequirement(killerIndex, challenges.WarMachine, 1) + else + local meleeAttack = Game.GetLastMeleeAttack(killerControlledObject) + if killerIsPointMan or killerIsPossessed then + if meleeAttack == 5 then + Score.AwardBoostRequirement(killerIndex, challenges.AmericanMe, 1) + end + elseif killerIsFettel then + if meleeAttack == 2 then + Score.AwardBoostRequirement(killerIndex, challenges.Crusher, 1) + if pointManIndex ~= notAPlayer then + Score.AwardBoostRequirement(pointManIndex, challenges.Crusher, 1) + end + elseif meleeAttack == 3 then + Score.AwardBoostRequirement(killerIndex, challenges.AmericanMe, 1) + end + end + if killerIsPointMan and slowMoOn and highlightReelTracking[meleeAttack] ~= true then + highlightReelTracking[meleeAttack] = true + Score.AwardBoostRequirement(killerIndex, challenges.HighlightReel, 1) + end + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostMeleeKills, 1) + end + end + end + local isGrenadeKill = info.deathType == grenadeDeathType + if isGrenadeKill then + local lastGrenadeKillTime = playerGrenadeKillTimes[killerIndex] + if lastGrenadeKillTime == nil or currentTime > lastGrenadeKillTime + grenadeDeathLeeway then + Score.ResetBoostProgress(killerIndex, challenges.GrenadeKills) + end + Score.AwardBoostRequirement(killerIndex, challenges.GrenadeKills, 1) + playerGrenadeKillTimes[killerIndex] = currentTime + if weaponType ~= -1 and weaponType ~= 6 and weaponType ~= 10 and weaponType ~= 15 and weaponType ~= 16 and weaponType ~= 17 and weaponType ~= 18 and weaponType ~= 21 and weaponType ~= 23 then + Score.AwardBoostRequirement(killerIndex, challenges.FragFest, 1) + elseif killerIsMech and damageType ~= bulletMechDamageType and damageType ~= stompDamageType and (weaponType == -1 or weaponType == 19) then + Score.AwardBoostRequirement(killerIndex, challenges.FragFest, 1) + end + end + if not killerIsMech then + AwardWeaponTypeKill(killerIndex, weaponType, isGrenadeKill, killedObject) + end + if damageType == stompDamageType then + Score.AwardBoostRequirement(killerIndex, challenges.WarMachine, 1) + Score.AwardBoostRequirement(killerIndex, challenges.MeleeKills, 1) + end + if damageType == suicideMineDamageType and not isGrenadeKill then + Score.AwardBoostRequirement(killerIndex, challenges.FragFest, 1) + end +end + +function AwardWeaponTypeKill(killerIndex, weaponType, isGrenadeKill, killedObject) + if not isGrenadeKill then + if weaponType == uziWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.BulletHose, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostUziKills, 1) + end + elseif weaponType == smgWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Standard, 1) + elseif weaponType == shotgunWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Boomstick, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostShotgunKills, 1) + end + elseif weaponType == pistolWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.PopGun, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostHGKills, 1) + end + elseif weaponType == arWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.AssaultPro, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostARKills, 1) + end + elseif weaponType == sniperWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.SniperKills, 1) + elseif weaponType == penetratorWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Ventilation, 1) + elseif weaponType == beamWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.LaserPointer, 1) + elseif weaponType == stunWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.LittleBrother, 1) + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostStunKills, 1) + end + elseif weaponType == riotShieldWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.RiotShield, 1) + elseif weaponType == suspendWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.ISuck, 1) + end + end + if weaponType == rocketWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Hurricane, 1) + elseif weaponType == fragGenadeWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Potato, 1) + elseif weaponType == zapGrenadeWeaponType then + Score.AwardBoostRequirement(killerIndex, challenges.Shocker, 1) + end +end + +function OnSlowMoActivated(msg) + slowMoOn = true + if msg.bPlayerOriginated == true then + playerSlowMoOn = true + Callbacks.RegisterForGlobalTimer("SlowMoTick", 1, true) + if pointManSlowMoIndex == notAPlayer then + local pointManObjects = ObjectTags.GetObjectsWithTag("Point Man") + for key, object in pairs(pointManObjects) do + pointManSlowMoIndex = Player.GetPlayerIndexByObject(object) + end + end + end +end + +function OnSlowMoDeactivated() + if playerSlowMoOn then + Callbacks.UnregisterForTimer("SlowMoTick") + end + slowMoOn = false + playerSlowMoOn = false + for index = player1, maxPlayers do + if Player.IsActivePlayer(index) then + Score.ResetBoostProgress(index, challenges.SlowYourRole) + Score.ResetBoostProgress(index, challenges.PerfectSoldier) + Score.ResetBoostProgress(index, challenges.HighlightReel) + Score.ResetBoostProgress(index, challenges.WadeGhostSloMoSingle) + end + end + highlightReelTracking = {} +end + +function SlowMoTick() + if gameIsPaused then + return + end + if pointManSlowMoIndex ~= notAPlayer then + Score.AwardBoostRequirement(pointManSlowMoIndex, challenges.Reflexes, 1) + Score.AwardBoostRequirement(pointManSlowMoIndex, challenges.NothingDouble, 1) + end +end + +function ResetAllBoosts(killedPlayerIndex) + for key, boost in pairs(challenges) do + Score.ResetBoostProgress(killedPlayerIndex, boost) + end + if Utilities.IsPointManIndex(killedPlayerIndex) then + highlightReelTracking = {} + end +end + +function OnAIFlashBanged(msg) + if msg.srcPlayerIndex ~= notAPlayer then + Score.AwardBoostRequirement(msg.srcPlayerIndex, challenges.Exposure, 1) + end +end + +function GamePaused(msg) + gameIsPaused = msg.paused +end + +function OnTextMessage(msg) + if msg.text == "Mission Ended" and playerSlowMoOn then + playerSlowMoOn = false + Callbacks.UnregisterForTimer("SlowMoTick") + end +end + +local myObject = Game.GetMyObject() +Callbacks.RegisterForMsg(slowMoActivateMsg, myObject, "OnSlowMoActivated") +Callbacks.RegisterForMsg(slowMoDeactivateMsg, myObject, "OnSlowMoDeactivated") +Callbacks.RegisterForMsg(aiFlashBangMsg, myObject, "OnAIFlashBanged") +Callbacks.RegisterForMsg(pauseMsg, myObject, "GamePaused") +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, myObject, "OnTextMsg") +Score.RegisterForDeath("OnDeath") diff --git a/recovered/boot/script/game/GlobalObject/Score/DownedRevivedScoring.lua b/recovered/boot/script/game/GlobalObject/Score/DownedRevivedScoring.lua new file mode 100644 index 0000000..7346a90 --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Score/DownedRevivedScoring.lua @@ -0,0 +1,594 @@ +local Game = GameScript.Game +local Player = Game.Player +local MP = Game.MP +local Death = Game.Death +local ObjectTags = Game.ObjectTags +local Score = GameScript.FEARScore +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local FEAR = GameScript.FEAR +Support.ExportFloatVariable("Last Downed Player", -1, "The last player who was knocked into last stand") +local myObject = Game.GetMyObject() +local globalPlayer1 = GameScript.PlayerIndex.kGlobalPlayer1 +local maxPlayers = GameScript.PlayerIndex.kMaxGlobalPlayers +local notAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local headshotDeathType = GameScript.ScoreDeathType.HeadShot +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local usableMsg = GameScript.MsgCallback.UsablesStartUsingMessage +local objectStateChangeMsg = GameScript.MsgCallback.ObjectStateChangeMessage +local damageMsg = GameScript.MsgCallback.DamageMessage +local sprintStartMsg = GameScript.MsgCallback.SprintStartMessage +local sprintStopMsg = GameScript.MsgCallback.SprintStopMessage +local possessionEndedMsg = GameScript.MsgCallback.PossessionEndedMessage +local objectInteractionStatusMsg = GameScript.MsgCallback.ObjectInteractionStatusMessage +local slowMoRechargedMsg = GameScript.MsgCallback.SlowMoRechargedMessage +local ammoCarrierPickUpMsg = GameScript.MsgCallback.AmmoPickupForCarrierMessage +local firstMeleeMsg = GameScript.MsgCallback.MeleeFirstHitMessage +local nearDeathState = GameScript.ObjectState.NearDeath +local activeCoverState = GameScript.ObjectState.Cover +local reviverMissionCategory = GameScript.MissionScoreCategory.Revive +local saviorKillMissionCategory = GameScript.MissionScoreCategory.SaviorKill +local challenges = GameScript.BoostChallenge +local playerAvatars = {} +local playerAvatarNames = {} +local playerSpawned = {} +local revengeTargets = {} +local revivingPlayer = {} +local revivingHealth = {} +local nearDeathPlayers = {} +local activeCoverPlayers = {} +local numPlayersInActiveCover = 0 +local possessingPlayers = {} +local numPlayersPossessing = 0 +local fullSlowMoPlayer = notAPlayer +local checkingFullSlowMoPlayer = notAPlayer +local endingPossessionPlayer = notAPlayer +local playerMantleTimes = {} +local playerSlideKickMeleeTimes = {} +local gameIsPaused = false +local inPhantomZone = false +local numLastStandsCurrentMission = 0 + +function ResetChallenges(index) + if index ~= notAPlayer then + Score.ResetChallengeProgress(index, challenges.Kills) + Score.ResetChallengeProgress(index, challenges.SadKiller) + end +end + +function PlayerTransferredControl(info) + local index = info.globalPlayerIndex + local newAvatar = info.currentPlayerAvatarObject + local oldAvatar = info.previousPlayerAvatarObject + local newAvatarName, oldAvatarName + local oldAvatarWasMech = false + local newAvatarIsMech = false + local oldAvatarWasPossessed = false + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + oldAvatarName = Game.GetName(oldAvatar) + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) then + newAvatarName = Game.GetName(newAvatar) + end + Debug.PrintInfo("MATT: PlayerTransferControl from " .. tostring(oldAvatarName) .. "(" .. tostring(oldAvatar) .. ") to " .. tostring(newAvatarName) .. "(" .. tostring(newAvatar) .. "), currently cached is " .. tostring(playerAvatarNames[index]) .. "(" .. tostring(playerAvatars[index]) .. ")") + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + if oldAvatar == playerAvatars[index] or oldAvatarName == playerAvatarNames[index] then + UnregisterForMessages(oldAvatar) + oldAvatarWasMech = ObjectTags.DoesObjectHaveTag(oldAvatar, "Power Armor") + oldAvatarWasPossessed = Game.IsPossessed(oldAvatar) + if oldAvatarWasPossessed then + Callbacks.UnregisterForMsg(possessionEndedMsg, oldAvatar, "PlayerEndsPossession") + possessingPlayers[index] = nil + numPlayersPossessing = numPlayersPossessing - 1 + if numPlayersPossessing == 0 then + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + if numPlayersPossessing < 0 then + numPlayersPossessing = 0 + end + end + if activeCoverPlayers[index] ~= nil then + activeCoverPlayers[index] = nil + numPlayersInActiveCover = numPlayersInActiveCover - 1 + if numPlayersInActiveCover == 0 then + Callbacks.UnregisterForTimer("PlayerActiveCoverTick") + end + if numPlayersInActiveCover < 0 then + numPlayersInActiveCover = 0 + end + end + else + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: script thinks the player was " .. tostring(playerAvatarNames[index]) .. "(" .. tostring(playerAvatars[index]) .. ") but the message says it was " .. tostring(oldAvatarName) .. "(" .. tostring(oldAvatar) .. ")") + if playerAvatars[index] ~= nil then + UnregisterForMessages(playerAvatars[index]) + oldAvatarWasMech = ObjectTags.DoesObjectHaveTag(playerAvatars[index], "Power Armor") + oldAvatarWasPossessed = Game.IsPossessed(playerAvatars[index]) + if oldAvatarWasPossessed then + Callbacks.UnregisterForMsg(possessionEndedMsg, playerAvatars[index], "PlayerEndsPossession") + possessingPlayers[index] = nil + numPlayersPossessing = numPlayersPossessing - 1 + if numPlayersPossessing == 0 then + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + if numPlayersPossessing < 0 then + numPlayersPossessing = 0 + end + end + if activeCoverPlayers[index] ~= nil then + activeCoverPlayers[index] = nil + numPlayersInActiveCover = numPlayersInActiveCover - 1 + if numPlayersInActiveCover == 0 then + Callbacks.UnregisterForTimer("PlayerActiveCoverTick") + end + if numPlayersInActiveCover < 0 then + numPlayersInActiveCover = 0 + end + end + end + end + playerAvatars[index] = nil + playerAvatarNames[index] = nil + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) then + if playerAvatars[index] == nil and playerAvatarNames[index] == nil then + RegisterForMessages(newAvatar) + newAvatarIsMech = ObjectTags.DoesObjectHaveTag(newAvatar, "Power Armor") + if Game.IsPossessed(newAvatar) and possessingPlayers[index] == nil then + possessingPlayers[index] = true + if numPlayersPossessing == 0 then + Callbacks.RegisterForTimer("PlayerPossessionTick", 1, true) + end + numPlayersPossessing = numPlayersPossessing + 1 + Callbacks.RegisterForMsg(possessionEndedMsg, newAvatar, "PlayerEndsPossession") + end + elseif playerAvatars[index] ~= newAvatar then + if playerAvatarNames[index] ~= newAvatarName then + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: script thinks the player is " .. tostring(playerAvatarNames[index]) .. "(" .. tostring(playerAvatars[index]) .. ") but the message says it is " .. tostring(newAvatarName) .. "(" .. tostring(newAvatar) .. ")") + else + Debug.PrintWarning("PlayerTransferredControl avatar mismatch: message refers to a different object (script is" .. tostring(playerAvatars[index]) .. ", msg is " .. tostring(newAvatar) .. "), but they have the same name (" .. tostring(playerAvatarNames[index]) .. ")") + end + oldAvatar = playerAvatars[index] + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + UnregisterForMessages(oldAvatar) + oldAvatarWasMech = ObjectTags.DoesObjectHaveTag(oldAvatar, "Power Armor") + oldAvatarWasPossessed = Game.IsPossessed(oldAvatar) + if oldAvatarWasPossessed then + Callbacks.UnregisterForMsg(possessionEndedMsg, oldAvatar, "PlayerEndsPossession") + possessingPlayers[index] = nil + numPlayersPossessing = numPlayersPossessing - 1 + if numPlayersPossessing == 0 then + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + if numPlayersPossessing < 0 then + numPlayersPossessing = 0 + end + end + end + UnregisterForMessages(newAvatar) + RegisterForMessages(newAvatar) + newAvatarIsMech = ObjectTags.DoesObjectHaveTag(newAvatar, "Power Armor") + if Game.IsPossessed(newAvatar) and possessingPlayers[index] == nil then + possessingPlayers[index] = true + if numPlayersPossessing == 0 then + Callbacks.RegisterForTimer("PlayerPossessionTick", 1, true) + end + numPlayersPossessing = numPlayersPossessing + 1 + Callbacks.RegisterForMsg(possessionEndedMsg, newAvatar, "PlayerEndsPossession") + end + end + playerAvatars[index] = newAvatar + playerAvatarNames[index] = newAvatarName + if playerSpawned[index] == false then + playerSpawned[index] = true + if FEAR.GetSlowMoPercentRemaining(newAvatar) == 1 then + PlayerHasFullSlowMo(newAvatar, index) + end + end + end + if oldAvatarWasMech and not newAvatarIsMech and not inPhantomZone then + Score.ResetBoostProgress(index, challenges.MechAssault) + end + if oldAvatarWasPossessed and not newAvatarIsMech then + Score.ResetBoostProgress(index, challenges.HostStreak) + Score.ResetBoostProgress(index, challenges.HostHeadShots) + Score.ResetBoostProgress(index, challenges.ExtendedStay) + Score.ResetBoostProgress(index, challenges.WadeGhostPossessKillsSingle) + end +end + +function PlayerStateChanged(info) + if MP.IsClient() then + return + end + local avatar = info.object + if avatar == nil then + return + end + local index = Player.GetPlayerIndexByObject(avatar) + if index == notAPlayer then + return + end + local oldState = info.oldState + local newState = info.newState + if oldState ~= nearDeathState and newState == nearDeathState then + ResetChallenges(index) + nearDeathPlayers[index] = true + numLastStandsCurrentMission = numLastStandsCurrentMission + 1 + elseif oldState == nearDeathState and newState ~= nearDeathState then + revengeTargets[index] = nil + local reviverIndex = revivingPlayer[index] + if reviverIndex == nil then + else + local remainingHealth = revivingHealth[index] + if remainingHealth ~= nil and 0.85 < remainingHealth then + Score.AwardBoostRequirement(reviverIndex, challenges.PickUpArtist, 1) + end + end + revivingPlayer[index] = nil + nearDeathPlayers[index] = nil + Score.ResetChallengeProgress(index, challenges.LastStandKills) + end + if oldState ~= activeCoverState and newState == activeCoverState then + if activeCoverPlayers[index] == nil then + activeCoverPlayers[index] = true + if numPlayersInActiveCover == 0 then + Callbacks.RegisterForTimer("PlayerActiveCoverTick", 1, true) + end + numPlayersInActiveCover = numPlayersInActiveCover + 1 + end + elseif oldState == activeCoverState and newState ~= activeCoverState and activeCoverPlayers[index] ~= nil then + activeCoverPlayers[index] = nil + numPlayersInActiveCover = numPlayersInActiveCover - 1 + if numPlayersInActiveCover == 0 then + Callbacks.UnregisterForTimer("PlayerActiveCoverTick") + end + if numPlayersInActiveCover < 0 then + numPlayersInActiveCover = 0 + end + end +end + +function PlayerActiveCoverTick() + if gameIsPaused then + return + end + for index, value in pairs(activeCoverPlayers) do + if value ~= nil then + Score.AwardBoostRequirement(index, challenges.PitchingTent, 1) + Score.AwardBoostRequirement(index, challenges.CampALot, 1) + end + end +end + +function PlayerWasUsed(info) + if MP.IsClient() then + return + end + local avatarUsed = info.usedObject + if avatarUsed == nil then + return + end + local usedPlayerIndex = Player.GetPlayerIndexByObject(avatarUsed) + if usedPlayerIndex == notAPlayer then + return + end + local userPlayerIndex = info.userPlayerIndex + if userPlayerIndex == notAPlayer then + return + end + if userPlayerIndex == usedPlayerIndex then + return + end + revivingPlayer[usedPlayerIndex] = userPlayerIndex + revivingHealth[usedPlayerIndex] = Game.GetSpecificHitPointPercent(avatarUsed, "NearDeathHealth") +end + +function PlayerTookDamage(msg) + local playerObj = msg.damagedObject + local playerIndex = Player.GetPlayerIndexByObject(playerObj) + local damageAmount = msg.fDamage + if playerIndex == notAPlayer then + return + end + Score.ResetChallengeProgress(playerIndex, challenges.Invincible) + Score.ResetChallengeProgress(playerIndex, challenges.Godlike) + Score.ResetChallengeProgress(playerIndex, challenges.WadeCreepRepel) + if Game.IsSuspended(playerObj) then + local shieldingObj = Game.GetSuspendingObject(playerObj) + local shieldingIndex = Player.GetPlayerIndexByObject(shieldingObj) + local damageIndex = msg.nSrcPlayerIndex + if shieldingIndex ~= notAPlayer and shieldingIndex ~= damageIndex and damageIndex ~= playerIndex then + Score.AwardChallengeRequirement(playerIndex, challenges.ShieldPrevent, damageAmount) + Score.AwardChallengeRequirement(shieldingIndex, challenges.ShieldPrevent, damageAmount) + end + end +end + +function DamageWasExplosive(dmgType) + return dmgType == 2 or dmgType == 25 or dmgType == 27 or dmgType == 31 +end + +function PlayerEndsPossession(msg) + local index = Player.GetPlayerIndexByObject(msg.possessedObject) + if index ~= notAPlayer and msg.nType == 3 then + endingPossessionPlayer = index + Callbacks.RegisterForTimer("PlayerEndPossessionTimerCallback", 0.5, false) + end +end + +function PlayerEndPossessionTimerCallback() + if endingPossessionPlayer == notAPlayer then + Debug.PrintError("Calling PlayerEndPossessionTimerCallback when we don't have a player who ended possession!") + return + end + Score.AwardBoostRequirement(endingPossessionPlayer, challenges.Multitasking, 1) + Score.AwardBoostRequirement(endingPossessionPlayer, challenges.Kills, 1) + Score.AwardBoostRequirement(endingPossessionPlayer, challenges.SadKiller, 1) + Score.AwardMissionPointOccurences(endingPossessionPlayer, GameScript.MissionScoreCategory.Kills, 1) + endingPossessionPlayer = notAPlayer +end + +function PlayerPossessionTick() + if gameIsPaused then + return + end + for index, value in pairs(possessingPlayers) do + if value ~= nil then + Score.AwardBoostRequirement(index, challenges.NiceWheels, 1) + Score.AwardBoostRequirement(index, challenges.Intruder, 1) + Score.AwardBoostRequirement(index, challenges.ExtendedStay, 1) + end + end +end + +function PlayerInteractedWithObject(msg) + local index = Player.GetPlayerIndexByObject(msg.listenerObject) + if index ~= notAPlayer and msg.state == 1 and (msg.interactionIndex == 4 or msg.interactionIndex == 5 or msg.interactionIndex == 15 or msg.interactionIndex == 16) then + local currentTime = Support.GetGameTime() + playerMantleTimes[index] = currentTime + end +end + +function PlayerHasFullSlowMo(avatar, playerIndex) + local index = playerIndex + if playerIndex == nil then + index = Player.GetPlayerIndexByObject(avatar) + end + if index ~= notAPlayer then + if index == fullSlowMoPlayer then + return + end + if fullSlowMoPlayer ~= notAPlayer then + Debug.PrintWarning("We have more than one player with full slow-mo! Fix the DownedRevivedScoring.lua!") + return + end + fullSlowMoPlayer = index + end +end + +function SlowMoStarted(msg) + if msg.bPlayerOriginated == true then + if fullSlowMoPlayer ~= notAPlayer then + checkingFullSlowMoPlayer = fullSlowMoPlayer + end + fullSlowMoPlayer = notAPlayer + end +end + +function SlowMoEnded() + if checkingFullSlowMoPlayer ~= notAPlayer then + local avatar = Player.GetPlayerAvatarObjectByIndex(checkingFullSlowMoPlayer) + if avatar ~= nil and FEAR.GetSlowMoPercentRemaining(avatar) == 0 then + Score.AwardBoostRequirement(checkingFullSlowMoPlayer, challenges.BigSpender, 1) + end + end + checkingFullSlowMoPlayer = notAPlayer +end + +function PlayerPickedUpAmmo(msg) + local avatar = msg.carrierObject + if avatar ~= nil then + local index = Player.GetPlayerIndexByObject(avatar) + if index ~= notAPlayer then + Score.AwardBoostRequirement(index, challenges.JunkCollectorLow, 1) + Score.AwardBoostRequirement(index, challenges.JunkCollector, 1) + Score.AwardBoostRequirement(index, challenges.CollectionAgent, 1) + end + end +end + +function PlayerHasMeleed(msg) + local avatar = msg.attacker + if avatar ~= nil and (ObjectTags.DoesObjectHaveTag(avatar, "Point Man") or Game.IsPossessed(avatar)) and msg.attack == 7 then + local index = Player.GetPlayerIndexByObject(avatar) + if index ~= notAPlayer then + playerSlideKickMeleeTimes[index] = Support.GetGameTime() + end + end +end + +function OnDeath(info) + local killerIndex = info.killerPlayerIndex + local killedObject = info.killedObject + if killerIndex == notAPlayer then + return + end + if killedObject == nil or not Game.IsLoaded(killedObject) then + return + end + if ObjectTags.DoesObjectHaveTag(killedObject, "Creep") then + return + end + local killerControlledObject = Player.GetPlayerControlledObjectByIndex(killerIndex) + local killerIsMech = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Power Armor") + local killerIsPointMan = ObjectTags.DoesObjectHaveTag(killerControlledObject, "Point Man") + local killerIsPossessed = Game.IsPossessed(killerControlledObject) + Score.AwardBoostRequirement(killerIndex, challenges.Invincible, 1) + Score.AwardBoostRequirement(killerIndex, challenges.Godlike, 1) + if killerIsMech then + Score.AwardBoostRequirement(killerIndex, challenges.MechAssault, 1) + end + if nearDeathPlayers[killerIndex] == true then + Score.AwardBoostRequirement(killerIndex, challenges.LastStandKills, 1) + end + for index, target in pairs(revengeTargets) do + if target ~= nil and target == killedObject then + if index == killerIndex then + else + Score.AwardMissionPointOccurences(killerIndex, saviorKillMissionCategory, 1) + end + revengeTargets[index] = nil + end + end + local currentTime = Support.GetGameTime() + if playerMantleTimes[killerIndex] ~= nil and currentTime <= playerMantleTimes[killerIndex] + 3 then + Score.AwardBoostRequirement(killerIndex, challenges.Parkour, 1) + Score.AwardBoostRequirement(killerIndex, challenges.ParkourLow, 1) + end + if playerSlideKickMeleeTimes[killerIndex] ~= nil and currentTime <= playerSlideKickMeleeTimes[killerIndex] + 3 and info.deathType ~= GameScript.ScoreDeathType.Melee then + Score.AwardBoostRequirement(killerIndex, challenges.SlideShot, 1) + end + if possessingPlayers[killerIndex] ~= nil then + Score.AwardBoostRequirement(killerIndex, challenges.HostKills, 1) + Score.AwardBoostRequirement(killerIndex, challenges.MegaHostKills, 1) + Score.AwardBoostRequirement(killerIndex, challenges.HostStreak, 1) + if info.deathType == headshotDeathType then + Score.AwardBoostRequirement(killerIndex, challenges.HostHeadShots, 1) + end + if ObjectTags.DoesObjectHaveTag(killedObject, "WadeGhostSoldier") then + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostPossessKills, 1) + Score.AwardBoostRequirement(killerIndex, challenges.WadeGhostPossessKillsSingle, 1) + end + end + local victimIndex = Player.GetPlayerIndexByObject(killedObject) + if victimIndex == notAPlayer then + return + end + if killedObject == playerAvatars[victimIndex] or Game.GetName(killedObject) == playerAvatarNames[victimIndex] then + UnregisterForMessages(killedObject) + end + if activeCoverPlayers[victimIndex] ~= nil then + activeCoverPlayers[victimIndex] = nil + numPlayersInActiveCover = numPlayersInActiveCover - 1 + if numPlayersInActiveCover == 0 then + Callbacks.UnregisterForTimer("PlayerActiveCoverTick") + end + if numPlayersInActiveCover < 0 then + numPlayersInActiveCover = 0 + end + end + if possessingPlayers[victimIndex] ~= nil then + possessingPlayers[victimIndex] = nil + numPlayersPossessing = numPlayersPossessing - 1 + if numPlayersPossessing == 0 then + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + end +end + +function RegisterForMessages(avatar) + Callbacks.RegisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.RegisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") + Callbacks.RegisterForMsg(damageMsg, avatar, "PlayerTookDamage") + Callbacks.RegisterForMsg(objectInteractionStatusMsg, avatar, "PlayerInteractedWithObject") + Callbacks.RegisterForMsg(slowMoRechargedMsg, avatar, "PlayerHasFullSlowMo") + Callbacks.RegisterForMsg(ammoCarrierPickUpMsg, avatar, "PlayerPickedUpAmmo") + Callbacks.RegisterForMsg(firstMeleeMsg, avatar, "PlayerHasMeleed") +end + +function UnregisterForMessages(avatar) + Callbacks.UnregisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.UnregisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") + Callbacks.UnregisterForMsg(damageMsg, avatar, "PlayerTookDamage") + Callbacks.UnregisterForMsg(objectInteractionStatusMsg, avatar, "PlayerInteractedWithObject") + Callbacks.UnregisterForMsg(slowMoRechargedMsg, avatar, "PlayerHasFullSlowMo") + Callbacks.UnregisterForMsg(ammoCarrierPickUpMsg, avatar, "PlayerPickedUpAmmo") + Callbacks.UnregisterForMsg(firstMeleeMsg, avatar, "PlayerHasMeleed") +end + +function GamePaused(msg) + gameIsPaused = msg.paused +end + +function OnTextMsg(msg) + if msg.text == "Phantom Zone Start" then + inPhantomZone = true + elseif msg.text == "Phantom Zone End" then + inPhantomZone = false + elseif msg.text == "Mission Started" then + numLastStandsCurrentMission = 0 + elseif msg.text == "Mission Ended" then + if numLastStandsCurrentMission == 0 and not Score.GetGameLoadedSinceMissionStarted() then + local lowestDifficultyUsed = Score.GetLowestDifficultyUsed() + for index = globalPlayer1, maxPlayers do + if index ~= nil and Player.IsActivePlayer(index) and GameScript.MissionScoreCategory.CleanRunBonus then + Score.AwardMissionPointOccurences(index, GameScript.MissionScoreCategory.CleanRunBonus, lowestDifficultyUsed) + end + end + end + if 0 < numPlayersPossessing then + numPlayersPossessing = 0 + possessingPlayers = {} + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + if 0 < numPlayersInActiveCover then + numPlayersInActiveCover = 0 + activeCoverPlayers = {} + Callbacks.UnregisterForTimer("PlayerActiveCoverTick") + end + end +end + +function RegisterForGameMessages() + Callbacks.RegisterForMsg(playerTransferMsg, myObject, "PlayerTransferredControl") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PauseGameMessage, myObject, "GamePaused") + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, myObject, "OnTextMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.SlowMoActivatedMessage, myObject, "SlowMoStarted") + Callbacks.RegisterForMsg(GameScript.MsgCallback.SlowMoDeactivatedMessage, myObject, "SlowMoEnded") +end + +function GetInitialPlayerData() + for index = globalPlayer1, maxPlayers do + playerSpawned[index] = false + local currentAvatar = Player.GetPlayerControlledObjectByIndex(index) + if currentAvatar ~= nil then + local currentName = Game.GetName(currentAvatar) + playerAvatars[index] = currentAvatar + playerAvatarNames[index] = currentName + playerSpawned[index] = true + RegisterForMessages(currentAvatar) + if FEAR.GetSlowMoPercentRemaining(currentAvatar) == 1 then + PlayerHasFullSlowMo(currentAvatar, index) + end + if Game.IsPossessed(currentAvatar) and possessingPlayers[index] == nil then + possessingPlayers[index] = true + if numPlayersPossessing == 0 then + Callbacks.RegisterForTimer("PlayerPossessionTick", 1, true) + end + numPlayersPossessing = numPlayersPossessing + 1 + Callbacks.RegisterForMsg(possessionEndedMsg, currentAvatar, "PlayerEndsPossession") + end + end + end +end + +function OnCheckpointReload() + Callbacks.RegisterForTimer("DummyFunc", 0, false) + Callbacks.UnregisterAllMsgCallbacks() + fullSlowMoPlayer = notAPlayer + checkingFullSlowMoPlayer = notAPlayer + possessingPlayers = {} + if 0 < numPlayersPossession then + Callbacks.UnregisterForTimer("PlayerPossessionTick") + end + numPlayersPossessing = 0 + RegisterForGameMessages() + GetInitialPlayerData() + Callbacks.UnregisterForTimer("DummyFunc") +end + +RegisterForGameMessages() +Callbacks.RegisterForPostCheckpointActivation("OnCheckpointReload") +Score.RegisterForDeath("OnDeath") +GetInitialPlayerData() diff --git a/recovered/boot/script/game/GlobalObject/Score/PsychicLinkScoring.lua b/recovered/boot/script/game/GlobalObject/Score/PsychicLinkScoring.lua new file mode 100644 index 0000000..c7446f8 --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Score/PsychicLinkScoring.lua @@ -0,0 +1,28 @@ +local Game = GameScript.Game +local FEARScore = GameScript.FEARScore +local Player = Game.Player +local MP = Game.MP +local Utilities = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local challenges = GameScript.BoostChallenge + +function OnTextMessage(msg) + if MP.IsClient() then + return + end + local pointManIndex, fettelIndex = Utilities.GetPointManAndFettel() + if msg.text == "Psychic Link Shared" then + FEARScore.AwardChallengeRequirement(pointManIndex, challenges.ShareLink, 1) + FEARScore.AwardChallengeRequirement(fettelIndex, challenges.ShareLink, 1) + Game.AwardAchievementOccurrence(pointManIndex, GameScript.Achievements.Make_Psychic_Links) + Game.AwardAchievementOccurrence(fettelIndex, GameScript.Achievements.Make_Psychic_Links) + elseif msg.text == "Psychic Link Point Man" then + FEARScore.AwardChallengeRequirement(pointManIndex, challenges.HarvestLink, 1) + Game.AwardAchievementOccurrence(pointManIndex, GameScript.Achievements.Make_Psychic_Links) + elseif msg.text == "Psychic Link Fettel" then + FEARScore.AwardChallengeRequirement(fettelIndex, challenges.HarvestLink, 1) + Game.AwardAchievementOccurrence(fettelIndex, GameScript.Achievements.Make_Psychic_Links) + end +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Game.GetMyObject(), "OnTextMessage") diff --git a/recovered/boot/script/game/GlobalObject/Score/ScoreDeath.lua b/recovered/boot/script/game/GlobalObject/Score/ScoreDeath.lua new file mode 100644 index 0000000..dd3e579 --- /dev/null +++ b/recovered/boot/script/game/GlobalObject/Score/ScoreDeath.lua @@ -0,0 +1,43 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Score = GameScript.FEARScore +local Debug = GameScript.Debug +local MP = Game.MP +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local challenges = GameScript.BoostChallenge +local kNotAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local myObject = Game.GetMyObject() + +function AwardAssists(killedObject, killerIndex) + local damageHistory = Game.GetDamageHistory(killedObject) + for key, dmgEntry in pairs(damageHistory) do + local assistIndex = dmgEntry.playerIndex + if assistIndex ~= killerIndex and assistIndex ~= kNotAPlayer then + Score.AwardBoostRequirement(assistIndex, challenges.Assists, 1) + Score.AwardBoostRequirement(assistIndex, challenges.MegaAssists, 1) + end + end +end + +function OnDeath(deathArg) + if MP.IsClient() then + return + end + local killerIndex = deathArg.killerPlayerIndex + local victimIndex = Player.GetPlayerIndexByObject(deathArg.killedObject) + if killerIndex == kNotAPlayer and victimIndex == kNotAPlayer then + return + end + if ObjectTags.DoesObjectHaveTag(deathArg.killedObject, "Creep") then + return + end + local awardPoints = killerIndex ~= kNotAPlayer and killerIndex ~= victimIndex + AwardAssists(deathArg.killedObject, killerIndex) + if awardPoints then + Score.AwardMissionPointOccurences(killerIndex, GameScript.MissionScoreCategory.Kills, 1) + end +end + +Score.RegisterForDeath("OnDeath") diff --git a/recovered/boot/script/game/Libraries/AIDirectorBase.lua b/recovered/boot/script/game/Libraries/AIDirectorBase.lua new file mode 100644 index 0000000..eee6aca --- /dev/null +++ b/recovered/boot/script/game/Libraries/AIDirectorBase.lua @@ -0,0 +1,1516 @@ +local mainGlobal = _G +local GameScript = Despair.GameScript +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local LuaHelpers = GameScript.LuaHelpers +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Objectives = Game.Objectives +local Graphics = Game.Graphics +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GameScript.Utilities +local MP = Game.MP +local Physics = Game.Physics +local AI = Game.AI +local FEAR = GameScript.FEAR +local Audio = GameScript.Audio +local Camera = Game.Camera +local Math3d = GameScript.LuaMath3d +local ObjectState = GameScript.ObjectState +local ObjectTags = Game.ObjectTags +module(...) +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +bEnabled = true +myObject = nil +Super = nil +local staggerSpawns = true +local spawnInterval = 2 +local maxSpawnsPerInterval = 1 +local numAIsToSpawn = 0 +local bStaggeredSpawnsRegistered = false +local bRampUpTimerRegistered = false +local bEnterRampUpTimerRegistered = false +kRampUp, kSustain, kRampDown, kRest = 0, 1, 2, 3 +kRampUpGraceTime = 5 +stateStartTime = 0 +currentState = kRest +currentWave = 0 +local heavyFogAudio = { + curAlpha = 0, + targetAlpha = 0, + updating = false, + kBusName = "World", + kEffectName = "WorldReverb" +} +local fogEffectSettings = {updating = false} +local lowDryLevelQuarryAudioParams = { + dryLevel = -3000, + room = -1000, + roomHF = -1000, + roomRolloff = 0, + decayTime = 1.49, + decayHFRatio = 0.83, + reflections = -10000, + reflectDelay = 0.061, + reverb = 500, + reverbDelay = 0.025, + diffusion = 100, + density = 100, + hrReference = 5000 +} +heavyFogAudio.targetValues = lowDryLevelQuarryAudioParams +local heavyFogCameraFilterRegionsRegistered = false +local playersInFogVolumeRefCount = {} +local fogVolumeActivationTime = 0 +local playersEligibleForHeavyFogAchievement = {} +local spawnHarvesters = false +kMinDistThreshold, kMaxDistThreshold = 5, 30 +numAIs = 0 +kAITypes_NumDifficulties, kAITypes_NumVarieties = 5, 5 +numAIsKilledThisWave = 0 +spawnedEnemyInfo = {} +aiSquads = {} +aiOrders = {} +allSpawnPoints = {} +customSpawnpoints = {} +local deferredSpawnTime = 0.09 +local spawnPointCacheUpdate = 0.25 +local spawnPointCache +local spawnPointTimeStamp = 0 +local numPlayers = Player.GetNumPlayers() +local maxPlayer = numPlayers - 1 +harvesterSpawnPoints = nil +debugDrawDirectorInfoOnly = false +debugArrows = {} +debugCycleThroughWaves = false +debugVeryShortWaves = false +debugDisableHarvesters = false +debugFakeMaxPlayers = false +waveInfo = nil +masterRegionSet = nil +aiSquad = nil +newWaveMsgId, beginRestPeriodMsgId = nil, nil + +function GetFirstLocalPlayer() + local localPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer + local numPlayers = Player.GetNumPlayers() + for index = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) and Player.IsLocalPlayer(index) then + localPlayerIndex = index + end + end + return localPlayerIndex +end + +function GetFirstValidSpawnedEnemy() + local numEnemies = #spawnedEnemyInfo + for i = 1, numEnemies do + if IsEnemyLoadedAndLiving(spawnedEnemyInfo[i].object) then + return spawnedEnemyInfo[i].object + end + end +end + +function MakeChild(ownerObject) + if _M.Super == nil then + _M.Super = {} + for key, value in pairs(_M) do + if type(value) == "function" then + _M.Super[key] = value + end + end + end + local child = {} + mainGlobal.setmetatable(child, {__index = _M, __newindex = _M}) + child.myObject = ownerObject + return child +end + +function NewWave(waveNum) + local newWave = { + restTime = 5, + rampUpTime = 3, + sustainTime = 20, + maxEnemies1P = 6, + enemyInfo = {} + } + + function newWave.AddEnemy(wave, enemyTypeString, spawnWeight, optionalSpawnpoints) + table.insert(wave.enemyInfo, { + type = enemyTypeString, + weight = spawnWeight, + spawnpoints = optionalSpawnpoints + }) + end + + if debugCycleThroughWaves or debugVeryShortWaves then + function newWave.RestTime(wave, time) + wave.restTime = 15 + end + + function newWave.RampUpTime(wave, time) + wave.rampUpTime = 5 + end + + function newWave.SustainTime(wave, time) + wave.sustainTime = 2 + wave.sustainEnemyCount = nil + end + + function newWave.SustainEnemyCount(wave, enemies) + wave.sustainTime = 2 + wave.sustainEnemyCount = nil + end + + function newWave.MaxEnemies1P(wave, num) + wave.maxEnemies1P = 1 + end + + function newWave.MaxEnemies2P(wave, num) + wave.maxEnemies2P = 1 + end + + function newWave.MaxEnemies3P(wave, num) + wave.maxEnemies3P = 1 + end + + function newWave.MaxEnemies4P(wave, num) + wave.maxEnemies4P = 1 + end + else + function newWave.RestTime(wave, time) + wave.restTime = time + end + + function newWave.RampUpTime(wave, time) + wave.rampUpTime = time + end + + function newWave.SustainTime(wave, time) + wave.sustainTime = time + wave.sustainEnemyCount = nil + end + + function newWave.SustainEnemyCount(wave, enemies) + wave.sustainEnemyCount = enemies + wave.sustainTime = nil + end + + function newWave.MaxEnemies1P(wave, num) + wave.maxEnemies1P = num + end + + function newWave.MaxEnemies2P(wave, num) + wave.maxEnemies2P = num + end + + function newWave.MaxEnemies3P(wave, num) + wave.maxEnemies3P = num + end + + function newWave.MaxEnemies4P(wave, num) + wave.maxEnemies4P = num + end + end + + function newWave.GetMaxEnemies(wave) + if not debugFakeMaxPlayers then + local numActivePlayers = MP.GetNumberOfActivePlayers() + if numActivePlayers == 2 and wave.maxEnemies2P ~= nil then + return wave.maxEnemies2P + elseif numActivePlayers == 3 and wave.maxEnemies3P ~= nil then + return wave.maxEnemies3P + elseif numActivePlayers == 4 and wave.maxEnemies4P ~= nil then + return wave.maxEnemies4P + end + return wave.maxEnemies1P + else + return wave.maxEnemies4P + end + end + + waveInfo = newWave + return waveInfo +end + +function ClearWaveTable() + waveInfo = nil +end + +function PopulateWaveTable(waveTable) + Debug.PrintError("PopulateWaveTable() must be defined by any director derived from AIDirectorBase.") +end + +function NormalizeWaveTableWeights() + if waveInfo.enemyInfo == nil then + Debug.PrintError("NormalizeWaveTableWeights() has failed due to waveInfo.enemyInfo being nil or otherwise empty") + return + end + local totalWeight = 0 + for e, enemyInfo in ipairs(waveInfo.enemyInfo) do + totalWeight = totalWeight + enemyInfo.weight + end + if totalWeight <= 0 then + Debug.PrintError("NormalizeTableWeights() has failed due to totalWeight being <= 0.") + return + end + for e, enemyInfo in ipairs(waveInfo.enemyInfo) do + enemyInfo.weight = enemyInfo.weight / totalWeight + end +end + +function GetSpawnersFromMasterList() + local masterRegionList = Sets.GetObjectsInSet(masterRegionSet) + local masterSpawnerList = {} + local masterSpawnerCount = 0 + for r, spawnRegion in pairs(masterRegionList) do + local spawnerList = Sets.GetObjectsInSet(spawnRegion) + for s, spawner in pairs(spawnerList) do + if Game.IsLoaded(spawner) then + local spawnInfo = { + pos = Game.GetPosition(spawner), + rot = Game.GetRotation(spawner), + point = spawner + } + table.insert(masterSpawnerList, spawnInfo) + end + end + end + return masterSpawnerList +end + +function UpdateAllSpawnPointList() + allSpawnPoints = GetSpawnersFromMasterList() +end + +function BroadcastMissionMessage(missionMessageTextID) + local broadcastObjects = Support.GetImportObjectTable("Status Message Registry") + if broadcastObjects ~= nil then + for i, object in ipairs(broadcastObjects) do + if object ~= nil and object ~= myObject then + Game.SendMissionEventMessage(object, missionMessageTextID) + end + end + end +end + +function StartNewWave() + numAIsSpawnedThisWave = 0 + numAIsKilledThisWave = 0 + if newWaveMsgId ~= nil then + BroadcastMissionMessage(newWaveMsgId) + end + PlaySoundWaveAmbient() +end + +function EnterRampUpState() + bEnterRampUpTimerRegistered = false + if #allSpawnPoints == 0 then + Callbacks.RegisterForTimer("EnterRampUpState", 1, false) + bEnterRampUpTimerRegistered = true + return + end + stateStartTime = Support.GetGameTime() + currentState = kRampUp + StartNewWave() + Callbacks.RegisterForTimer("DoRampUpState", kRampUpGraceTime, false) + bRampUpTimerRegistered = true +end + +function DoRampUpState() + bRampUpTimerRegistered = false + local enemiesLeftToSpawn = waveInfo:GetMaxEnemies() - numAIsSpawnedThisWave + if enemiesLeftToSpawn <= 0 then + EnterSustainState() + local enemiesLeftToKill = waveInfo.sustainEnemyCount - numAIsKilledThisWave + if enemiesLeftToKill <= waveInfo:GetMaxEnemies() then + EnterRampDownState() + end + else + GetRandomSpawnPoint() + local spawnResult = SpawnAI() + if spawnResult ~= nil then + enemiesLeftToSpawn = enemiesLeftToSpawn - 1 + end + if enemiesLeftToSpawn <= 0 then + EnterSustainState() + else + local rampingUpElapsedTime = Support.GetGameTime() - stateStartTime + local timeLeftToRampUp = waveInfo.rampUpTime - rampingUpElapsedTime + kRampUpGraceTime + local timePerEnemy = timeLeftToRampUp / enemiesLeftToSpawn + local minTime = timePerEnemy - 0.25 + local maxTime = timePerEnemy + 0.25 + maxTime = math.min(maxTime, timeLeftToRampUp) + maxTime = math.max(maxTime, minTime) + Callbacks.RegisterForTimer("DoRampUpState", Utilities.GetRandomRealNumber(minTime, maxTime), false) + bRampUpTimerRegistered = true + end + end +end + +function EnableStaggeredSpawning(bEnableStaggering) + if bEnableStaggering ~= nil then + staggerSpawns = bEnableStaggering + end +end + +function SetSpawnInterval(interval) + if interval ~= nil then + spawnInterval = interval + end + if spawnInterval < 0 then + spawnInterval = 0 + end +end + +function SetMaxSpawnsPerInterval(max) + if max ~= nil then + maxSpawnsPerInterval = max + end + if maxSpawnsPerInterval < 0 then + maxSpawnsPerInterval = 0 + end +end + +function StaggeredSpawns() + local numSpawned = 0 + local maxEnemiesToSpawn = 0 + local enemiesLeftToKill = 0 + if (currentState == kSustain or currentState == kRampUp) and waveInfo ~= nil then + enemiesLeftToKill = waveInfo.sustainEnemyCount - numAIsKilledThisWave + if numAIsToSpawn > maxSpawnsPerInterval then + maxEnemiesToSpawn = maxSpawnsPerInterval + else + maxEnemiesToSpawn = numAIsToSpawn + end + for i = 0, maxEnemiesToSpawn do + if 0 < enemiesLeftToKill then + GetRandomSpawnPoint() + SpawnAI() + numSpawned = numSpawned + 1 + if numAIs >= waveInfo:GetMaxEnemies() and waveInfo:GetMaxEnemies() ~= 0 then + numAIsToSpawn = 0 + break + end + else + break + end + end + numAIsToSpawn = numAIsToSpawn - numSpawned + else + end + if numAIsToSpawn <= 0 then + numAIsToSpawn = 0 + bStaggeredSpawnsRegistered = false + else + Callbacks.RegisterForTimer("StaggeredSpawns", spawnInterval, false) + end +end + +function EnterSustainState() + stateStartTime = Support.GetGameTime() + currentState = kSustain + if waveInfo.sustainTime ~= nil and waveInfo.sustainTime ~= -1 then + Callbacks.RegisterForTimer("EnterRampDownState", waveInfo.sustainTime, false) + end +end + +function EnterRampDownState() + if staggerSpawns and bStaggeredSpawnsRegistered then + bStaggeredSpawnsRegistered = false + Callbacks.UnregisterForTimer("StaggeredSpawns") + end + if numAIs == 0 then + EnterRestState() + return + end + if debugCycleThroughWaves then + stateStartTime = Support.GetGameTime() + currentState = kRampDown + local numEnemies = #spawnedEnemyInfo + for e = numEnemies, 1, -1 do + Game.Damage(spawnedEnemyInfo[e].object, 99999) + end + return nil + end + if FEAR.UpdateAISettingsForAggressiveAttack ~= nil and 0 < #spawnedEnemyInfo then + local enemyInfo = spawnedEnemyInfo[1] + if IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + end + enemyInfo.aggressiveAttackSet = true + if #spawnedEnemyInfo > 1 then + enemyInfo = spawnedEnemyInfo[2] + if IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + end + enemyInfo.aggressiveAttackSet = true + end + end + stateStartTime = Support.GetGameTime() + currentState = kRampDown +end + +function EnterRestState() + if currentWave > 1 then + if staggerSpawns and bStaggeredSpawnsRegistered then + bStaggeredSpawnsRegistered = false + Callbacks.UnregisterForTimer("StaggeredSpawns") + end + OnEndOfContractionsWave() + end + currentWave = currentWave + 1 + Callbacks.RegisterForTimer("EnterRampUpState", waveInfo.restTime, false) + bEnterRampUpTimerRegistered = true + if PlaySoundNewWave ~= nil then + local newWaveSoundDelay = waveInfo.restTime - 10 + if newWaveSoundDelay < 0.1 then + newWaveSoundDelay = 0.1 + end + Callbacks.RegisterForTimer("PlaySoundNewWave", newWaveSoundDelay, false) + end +end + +function OnEndOfContractionsWave() + OnAIDeath = Super.OnAIDeath + stateStartTime = Support.GetGameTime() + currentState = kRest + AwardHeavyFogAchievements() + StopSoundWaveAmbient() + StopHarvesterSpawning() + KillAllHarvesters() + BroadcastMissionMessage(beginRestPeriodMsgId) + PlaySoundWaveOver() +end + +function AwardHeavyFogAchievements() + if not MP.IsClient() then + for playerIndex = GameScript.PlayerIndex.kGlobalPlayer1, Player.GetNumPlayers() do + if playersEligibleForHeavyFogAchievement[playerIndex] == true then + GameScript.Game.AwardAchievementOccurrence(playerIndex, GameScript.Achievements.Deep_Fog_No_LS_Contractions) + end + end + end +end + +function PlaySoundNewWave() + Game.SendTextMessage(myObject, "play sound wave start") +end + +function PlaySoundWaveAmbient() + Game.SendTextMessage(myObject, "play sound wave ambient") + Game.SendTextMessage(myObject, "play sound fog approach") +end + +function StopSoundWaveAmbient() + Game.SendTextMessage(myObject, "stop sound wave ambient") +end + +function PlaySoundWaveOver() + Game.SendTextMessage(myObject, "play sound wave over") + Game.SendTextMessage(myObject, "play sound fog recede") +end + +function OnPlayerStateChange(info) + local index = Player.GetPlayerIndexByObject(info.object) + if playersEligibleForHeavyFogAchievement[index] and info.newState == ObjectState.NearDeath then + playersEligibleForHeavyFogAchievement[index] = false + end +end + +function OnPlayerDeath(deathMsg) + playersInFogVolumeRefCount[deathMsg.victimPlayerIndex] = 0 +end + +function OnAnyDeath(deathMsg) + local victim = deathMsg.victimPlayerIndex + if victim ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + OnPlayerDeath(deathMsg) + end +end + +function CheckForAIDeaths() + local numEnemies = #spawnedEnemyInfo + for e = numEnemies, 1, -1 do + if not IsEnemyLoadedAndLiving(spawnedEnemyInfo[e].object) then + OnAIDeath() + table.remove(spawnedEnemyInfo, e) + end + end +end + +function OnAIDeath(deathMsg) + numAIsKilledThisWave = numAIsKilledThisWave + 1 + numAIs = numAIsSpawnedThisWave - numAIsKilledThisWave + if numAIs >= waveInfo:GetMaxEnemies() and waveInfo:GetMaxEnemies() ~= 0 then + return + end + if bEnabled then + if currentState == kSustain or currentState == kRampUp then + if not staggerSpawns then + SpawnAI() + else + numAIsToSpawn = numAIsToSpawn + 1 + if not bStaggeredSpawnsRegistered then + bStaggeredSpawnsRegistered = true + Callbacks.RegisterForTimer("StaggeredSpawns", spawnInterval, false) + end + end + if waveInfo.sustainEnemyCount ~= nil then + local enemiesLeftToKill = waveInfo.sustainEnemyCount - numAIsKilledThisWave + if enemiesLeftToKill <= waveInfo:GetMaxEnemies() then + EnterRampDownState() + end + end + elseif currentState == kRampDown then + if numAIsKilledThisWave == numAIsSpawnedThisWave then + EnterRestState() + elseif 0 < #spawnedEnemyInfo then + local enemyInfo = spawnedEnemyInfo[1] + if IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + end + enemyInfo.aggressiveAttackSet = true + if 1 < #spawnedEnemyInfo then + enemyInfo = spawnedEnemyInfo[2] + if IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + end + enemyInfo.aggressiveAttackSet = true + end + end + end + end +end + +function RespawnLostEnemy(enemyObject) + local kShowRespawnArrows = false + local oldEnemyPosition = Game.GetPosition(enemyObject) + Game.Kill(enemyObject, 0) + numAIsSpawnedThisWave = numAIsSpawnedThisWave - 1 + numAIs = numAIsSpawnedThisWave - numAIsKilledThisWave + local newEnemy = SpawnAI() + if newEnemy == nil then + Debug.PrintToScreenWithTimer("Spawn() failed!", 10, Utilities.kRed, false) + end + if kShowRespawnArrows then + oldEnemyPosition.y = oldEnemyPosition.y + 0.5 + local newEnemyPosition = Game.GetPosition(newEnemy) + newEnemyPosition.y = newEnemyPosition.y + 0.5 + local newArrow = { + Origin = oldEnemyPosition, + EndPoint = newEnemyPosition, + Time = Support.GetGameTime() + } + table.insert(debugArrows, newArrow) + end +end + +function SpawnAI(optionalTemplateName, optionalSpawnpointTable) + local templateName = optionalTemplateName == nil and GetRandomTemplateToSpawn() or optionalTemplateName + local spawnPoint = GetRandomSpawnPoint(optionalSpawnpointTable) + if spawnPoint == nil then + Debug.PrintToScreenWithTimer("NO SPAWN POINTS FOUND! FAIL! NO PLAYER IS IN ANY REGION WITH SPAWN POINTS. THE SCRIPT IS BROKEN.", 10, Utilities.kRed, false) + return nil + end + local position = spawnPoint.pos + local orientation = spawnPoint.rot + local newAI = Game.SpawnWithRotation(templateName, position, orientation) + if newAI ~= nil then + if aiSquad ~= nil then + Sets.AddObjectToSet(aiSquad, newAI) + end + numAIsSpawnedThisWave = numAIsSpawnedThisWave + 1 + spawnedEnemy = GetFirstValidSpawnedEnemy() + if spawnedEnemy ~= nil then + Game.CopyNation(spawnedEnemy, newAI) + end + table.insert(spawnedEnemyInfo, { + object = newAI, + respawnCandidate = true, + aggressiveAttackSet = false + }) + else + Debug.PrintError("SpawnAI() could not spawn " .. templateName .. " at location [" .. math.floor(position.x) .. ", " .. math.floor(position.y) .. ", " .. math.floor(position.z) .. "]") + return nil + end + numAIs = numAIsSpawnedThisWave - numAIsKilledThisWave + return newAI +end + +function GetRandomAITemplateForDifficulty(difficulty) + if difficulty < 1 or difficulty > kAITypes_NumDifficulties then + Debug.PrintWarning("GetRandomAITemplate() was passed a bad value (" .. difficulty .. ")") + return nil + end + local numVarieties = #kAITypeNames[difficulty].variety + if numVarieties == 0 then + Debug.PrintToScreenWithTimer("Please fill in the new multi-variety AI template variables.", 10, Utilities.kRed, false) + return kAIType[difficulty] + end + local varIndex = Utilities.GetRandomInteger(1, numVarieties) + return kAITypeNames[difficulty].variety[varIndex] +end + +function GetRandomTemplateToSpawn() + local randDifficulty = Utilities.GetRandomInteger(waveInfo.difficultyRange.min, waveInfo.difficultyRange.max) + return GetRandomAITemplateForDifficulty(randDifficulty) +end + +function GetRandomSpawnPoint(optionalSpawnpointTable) + local kDebugPrintSpawnerInfo = true + local nearbySpawners = {} + local secondChanceMaxDist = kMaxDistThreshold * 2 + local secondChanceSpawners = {} + local lastResortSpawners = {} + local allSpawners = optionalSpawnpointTable ~= nil and optionalSpawnpointTable or allSpawnPoints + if Support.GetGameTime() - spawnPointTimeStamp > spawnPointCacheUpdate then + for k, curSpawner in pairs(allSpawners) do + if GetIsSpawnPointDistValid(curSpawner) then + table.insert(nearbySpawners, curSpawner) + elseif GetIsSpawnPointDistValid(curSpawner, secondChanceMaxDist) then + table.insert(secondChanceSpawners, curSpawner) + else + table.insert(lastResortSpawners, curSpawner) + end + end + local resultSpawner = LuaHelpers.GetRandomItemFromTableMeetingCondition(nearbySpawners, GetIsSpawnPointLOSValid) + if resultSpawner == nil then + resultSpawner = LuaHelpers.GetRandomItemFromTableMeetingCondition(secondChanceSpawners, GetIsSpawnPointLOSValid) + if not kDebugPrintSpawnerInfo or resultSpawner ~= nil then + end + end + if resultSpawner == nil then + resultSpawner = LuaHelpers.GetRandomItemFromTableMeetingCondition(lastResortSpawners, GetIsSpawnPointLOSValid) + if not kDebugPrintSpawnerInfo or resultSpawner ~= nil then + end + end + if resultSpawner == nil then + resultSpawner = LuaHelpers.GetRandomItemFromTable(secondChanceSpawners) + if not kDebugPrintSpawnerInfo or resultSpawner ~= nil then + end + end + if resultSpawner == nil then + resultSpawner = LuaHelpers.GetRandomItemFromTable(nearbySpawners) + if not kDebugPrintSpawnerInfo or resultSpawner ~= nil then + end + end + if resultSpawner == nil then + resultSpawner = LuaHelpers.GetRandomItemFromTable(lastResortSpawners) + if not kDebugPrintSpawnerInfo or resultSpawner ~= nil then + end + end + if kDebugPrintSpawnerInfo and resultSpawner == nil then + Debug.PrintToOutputAndScreenWithTimer("COULD NOT FIND ANY SPAWNER", 10, Utilities.kRed) + end + SetCachedSpawnPoint(resultSpawner, optionalTemplateName) + return GetCachedSpawnPoint(optionalTemplateName) + else + return GetCachedSpawnPoint() + end +end + +function DistanceBetweenPositions(posA, posB) + local vectAtoB = GameScript.LuaMath3d.VectorSubtract(posA, posB) + return GameScript.LuaMath3d.VectorLength(vectAtoB) +end + +function GetCachedSpawnPoint() + return spawnPointCache +end + +function SetCachedSpawnPoint(point) + spawnPointTimeStamp = Support.GetGameTime() + spawnPointCache = point +end + +function GetIsSpawnPointDistValid(spawnInfo) + local isValid = false + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, maxPlayer do + local distance = Player.GetPlayerDistanceToPosition(curPlayerIndex, spawnInfo.pos) + if distance > kMinDistThreshold and distance < kMaxDistThreshold then + isValid = true + break + end + end + return isValid +end + +function GetIsSpawnPointLOSValid(spawnInfo) + local isValid = true + local spawnerPos = spawnInfo.pos + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, maxPlayer do + if Game.IsPlayerLookRotFacingObject(curPlayerIndex, spawnInfo.point, 50) then + local useHeadPosition = true + local defaultReturn = false + local canSeeSpawner = Player.DoesPlayerHaveLineOfSightToPosition(spawnerPos, curPlayerIndex, useHeadPosition, defaultReturn) + if canSeeSpawner then + isValid = false + break + end + end + end + return isValid +end + +function GetLocalActivePlayers() + local localPlayerList = {} + local activePlayerList = GetActivePlayers() + for p, curPlayer in ipairs(activePlayerList) do + if Player.IsLocalPlayer(curPlayer.Index) then + table.insert(localPlayerList, curPlayer) + end + end + return localPlayerList +end + +function GetActivePlayers() + local curPlayerIndex = 0 + local curPlayer + local activePlayerList = {} + local numPlayers = Player.GetNumPlayers() + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(curPlayerIndex) then + local curPlayer = {} + curPlayer.Index = curPlayerIndex + curPlayer.Object = Player.GetPlayerAvatarObjectByIndex(curPlayerIndex) + if curPlayer.Object ~= nil then + table.insert(activePlayerList, curPlayer) + end + end + end + return activePlayerList +end + +function IsEnemyLoadedAndLiving(enemyObject) + if enemyObject == nil then + return false + elseif not Game.IsLoaded(enemyObject) then + return false + elseif not Game.HasHitPoints(enemyObject) then + return false + elseif Game.GetHitPointPercent(enemyObject) <= 0 then + return false + end + return true +end + +function RespawnLostEnemies() + if #spawnedEnemyInfo == 0 then + return + end + for e, enemyInfo in ipairs(spawnedEnemyInfo) do + enemyInfo.doRespawn = enemyInfo.respawnCandidate + end + local masterRegionList = Sets.GetObjectsInSet(masterRegionSet) + local uniqueRegionList = {} + for r, region in pairs(masterRegionList) do + LuaHelpers.AddUniqueItemToTable(uniqueRegionList, region) + end + for e, enemyInfo in ipairs(spawnedEnemyInfo) do + if not Game.IsLoaded(enemyInfo.object) or CanAnyPlayerSeeEnemy(enemyInfo.object) then + enemyInfo.doRespawn = false + else + for r, region in ipairs(uniqueRegionList) do + if enemyInfo.doRespawn and Regions.IsInRegion(region, enemyInfo.object) then + enemyInfo.doRespawn = false + end + end + end + end + local e = #spawnedEnemyInfo + while 0 < e do + if spawnedEnemyInfo[e].doRespawn then + RespawnLostEnemy(spawnedEnemyInfo[e].object) + table.remove(spawnedEnemyInfo, e) + break + end + e = e - 1 + end +end + +function CanAnyPlayerSeeEnemy(enemyObject) + local enemyPos = Game.GetPosition(enemyObject) + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if Game.IsPlayerLookRotFacingObject(curPlayerIndex, enemyObject, 50) then + local useHeadPosition = true + local defaultReturn = false + enemyPos.y = enemyPos.y + 1.5 + local hasLineOfSight = Player.DoesPlayerHaveLineOfSightToPosition(spawnerPos, curPlayerIndex, useHeadPosition, defaultReturn) + if hasLineOfSight then + return true + end + end + end + return false +end + +function RegisterHeavyFogCameraFilterRegions() + local heavyFogRegions = Support.GetImportObjectTable("Heavy Fog Camera Filter Regions") + if heavyFogRegions == nil then + return + end + fogVolumeActivationTime = Support.GetGameTime() + for index = GameScript.PlayerIndex.kGlobalPlayer1, Player.GetNumPlayers() do + playersEligibleForHeavyFogAchievement[index] = false + end + for i, region in ipairs(heavyFogRegions) do + if region ~= nil and region ~= myObject then + if Callbacks.RegisterPlayerHeadEnterExitRegion ~= nil then + Callbacks.RegisterPlayerHeadEnterExitRegion(region, "OnHeavyFogRegionEnter", "OnHeavyFogRegionExit") + else + Callbacks.RegisterPlayerEnterExitRegion(region, "OnHeavyFogRegionEnter", "OnHeavyFogRegionExit") + end + end + end + heavyFogCameraFilterRegionsRegistered = true +end + +function UnregisterHeavyFogCameraFilterRegions() + if not heavyFogCameraFilterRegionsRegistered then + return + end + local heavyFogRegions = Support.GetImportObjectTable("Heavy Fog Camera Filter Regions") + if heavyFogRegions == nil then + return + end + for i, region in ipairs(heavyFogRegions) do + if region ~= nil and region ~= myObject then + Callbacks.UnregisterPlayerEnterExitRegion(region, "OnHeavyFogRegionEnter", "OnHeavyFogRegionExit") + end + end + for index = GameScript.PlayerIndex.kGlobalPlayer1, Player.GetNumPlayers() do + if Player.IsLocalPlayer(index) and playersInFogVolumeRefCount[index] ~= nil and 0 < playersInFogVolumeRefCount[index] then + StopHeavyFogCameraFilter(Player.GetPlayerAvatarObjectByIndex(index)) + StopHeavyFogAudioEffects() + end + end + heavyFogCameraFilterRegionsRegistered = false +end + +function GetPlayerObjsInHeavyFog() + local playerObjsInFog = {} + local numPlayers = Player.GetNumPlayers() + for index = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if playersInFogVolumeRefCount[index] ~= nil and 0 < playersInFogVolumeRefCount[index] then + table.insert(playerObjsInFog, Player.GetPlayerAvatarObjectByIndex(index)) + end + end + return playerObjsInFog +end + +function IsAnyPlayerInHeavyFog() + for p, inFog in ipairs(playersInFogVolumeRefCount) do + if 0 < inFog then + return true + end + end + return false +end + +function enableHarvesters() + spawnHarvesters = true +end + +function OnHeavyFogRegionEnter(info) + if not heavyFogCameraFilterRegionsRegistered then + return + end + if info.object == nil then + return + end + local index = Player.GetPlayerIndexByObject(info.object) + if playersInFogVolumeRefCount[index] == nil or playersInFogVolumeRefCount[index] == 0 then + if not MP.IsClient() then + if Support.GetGameTime() < fogVolumeActivationTime + 10 and not Player.IsPlayerInState(index, ObjectState.NearDeath) then + playersEligibleForHeavyFogAchievement[index] = true + end + if currentState ~= kRest and not IsAnyPlayerInHeavyFog() and spawnHarvesters then + StartHarvesterSpawning() + end + end + if Player.IsLocalPlayer(index) then + end + StartHeavyFogCameraFilter(info.object) + end + if playersInFogVolumeRefCount[index] == nil then + playersInFogVolumeRefCount[index] = 1 + else + playersInFogVolumeRefCount[index] = playersInFogVolumeRefCount[index] + 1 + end +end + +function OnHeavyFogRegionExit(info) + if info.object == nil then + return + end + local index = Player.GetPlayerIndexByObject(info.object) + if playersInFogVolumeRefCount[index] ~= nil and 0 < playersInFogVolumeRefCount[index] then + playersInFogVolumeRefCount[index] = playersInFogVolumeRefCount[index] - 1 + end + if playersInFogVolumeRefCount[index] == 0 then + if not MP.IsClient() then + if playersEligibleForHeavyFogAchievement[index] then + playersEligibleForHeavyFogAchievement[index] = false + end + if not IsAnyPlayerInHeavyFog() then + StopHarvesterSpawning() + end + end + if Player.IsLocalPlayer(index) then + end + StopHeavyFogCameraFilter(info.object) + end +end + +function StartHeavyFogCameraFilter(playerObj) +end + +function StopHeavyFogCameraFilter(playerObj) +end + +function SetHeavyFogCameraFilterColorForLocalPlayers(color) + local numPlayers = Player.GetNumPlayers() + for index = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) and Player.IsLocalPlayer(index) then + Camera.SetCameraFilterColor(index, "heavy fog color", color) + end + end +end + +function UpdateFogEffectValues() + local effectObject = fogEffectSettings.effectObject + if effectObject then + local timePer = (Support.GetGameTime() - fogEffectSettings.startTime) / fogEffectSettings.transitionTime + if timePer < 0 then + timePer = 0 + elseif 1 <= timePer then + timePer = 1 + Callbacks.UnregisterForTimer("UpdateFogEffectValues") + fogEffectSettings.updating = false + end + local fogEffectPos = Game.GetPosition(effectObject) + fogEffectPos.y = fogEffectSettings.startHeight * (1 - timePer) + fogEffectSettings.endHeight * timePer + Game.TeleportObjectToPosition(effectObject, fogEffectPos) + local color = {} + color.r = fogEffectSettings.startColor.r * (1 - timePer) + fogEffectSettings.endColor.r * timePer + color.g = fogEffectSettings.startColor.g * (1 - timePer) + fogEffectSettings.endColor.g * timePer + color.b = fogEffectSettings.startColor.b * (1 - timePer) + fogEffectSettings.endColor.b * timePer + color.a = fogEffectSettings.startColor.a * (1 - timePer) + fogEffectSettings.endColor.a * timePer + Graphics.SetNamedMaterialColor(effectObject, "solid_diffuse", color) + else + Callbacks.UnregisterForTimer("UpdateFogEffectValues") + fogEffectSettings.updating = false + end +end + +function SetFogEffectValues(effectObject, startHeight, endHeight, startColor, endColor, transitionTime) + fogEffectSettings.effectObject = effectObject + fogEffectSettings.endHeight = endHeight + fogEffectSettings.endColor = endColor + fogEffectSettings.startTime = Support.GetGameTime() + fogEffectSettings.transitionTime = transitionTime + if not fogEffectSettings.updating then + fogEffectSettings.startHeight = startHeight + fogEffectSettings.startColor = startColor + Callbacks.RegisterForTimer("UpdateFogEffectValues", 0.1, true) + fogEffectSettings.updating = true + end +end + +function StartHeavyFogAudioEffects() + if heavyFogAudio.targetAlpha == 0 and not heavyFogAudio.updating then + local busName = heavyFogAudio.kBusName + local effectName = heavyFogAudio.kEffectName + heavyFogAudio.baseValues = {} + heavyFogAudio.baseValues.dryLevel = Audio.GetEffectParam(busName, effectName, 0) + heavyFogAudio.baseValues.room = Audio.GetEffectParam(busName, effectName, 1) + heavyFogAudio.baseValues.roomHF = Audio.GetEffectParam(busName, effectName, 2) + heavyFogAudio.baseValues.roomRolloff = Audio.GetEffectParam(busName, effectName, 3) + heavyFogAudio.baseValues.decayTime = Audio.GetEffectParam(busName, effectName, 4) + heavyFogAudio.baseValues.decayHFRatio = Audio.GetEffectParam(busName, effectName, 5) + heavyFogAudio.baseValues.reflections = Audio.GetEffectParam(busName, effectName, 6) + heavyFogAudio.baseValues.reflectDelay = Audio.GetEffectParam(busName, effectName, 7) + heavyFogAudio.baseValues.reverb = Audio.GetEffectParam(busName, effectName, 8) + heavyFogAudio.baseValues.reverbDelay = Audio.GetEffectParam(busName, effectName, 9) + heavyFogAudio.baseValues.diffusion = Audio.GetEffectParam(busName, effectName, 10) + heavyFogAudio.baseValues.density = Audio.GetEffectParam(busName, effectName, 11) + heavyFogAudio.baseValues.hrReference = Audio.GetEffectParam(busName, effectName, 12) + heavyFogAudio.baseValues.roomLF = Audio.GetEffectParam(busName, effectName, 13) + heavyFogAudio.baseValues.lrReference = Audio.GetEffectParam(busName, effectName, 14) + end + if not heavyFogAudio.updating then + Callbacks.RegisterForTimer("UpdateHeavyFogAudioEffects", 0.1, true) + heavyFogAudio.updating = true + end + heavyFogAudio.targetAlpha = 1 +end + +function StopHeavyFogAudioEffects() + if not heavyFogAudio.updating and heavyFogAudio.curAlpha ~= 0 then + Callbacks.RegisterForTimer("UpdateHeavyFogAudioEffects", 0.1, true) + heavyFogAudio.updating = true + end + heavyFogAudio.targetAlpha = 0 +end + +function ImmediateStopHeavyFogAudioEffects() + if heavyFogAudio.updating then + heavyFogAudio.updating = false + Callbacks.UnregisterForTimer("UpdateHeavyFogAudioEffects") + end + if heavyFogAudio.curAlpha ~= 0 then + LerpHeavyFogAudioSettings(heavyFogAudio.baseValues, heavyFogAudio.targetValues, 0) + heavyFogAudio.curAlpha = 0 + heavyFogAudio.targetAlpha = 0 + end +end + +function UpdateHeavyFogAudioEffects() + if heavyFogAudio.curAlpha == heavyFogAudio.targetAlpha then + Callbacks.UnregisterForTimer("UpdateHeavyFogAudioEffects") + heavyFogAudio.updating = false + return + end + local kFadeTime = 1 + local kAlphaDelta = 0.1 / kFadeTime + if heavyFogAudio.curAlpha < heavyFogAudio.targetAlpha then + heavyFogAudio.curAlpha = heavyFogAudio.curAlpha + kAlphaDelta + if heavyFogAudio.curAlpha > heavyFogAudio.targetAlpha then + heavyFogAudio.curAlpha = heavyFogAudio.targetAlpha + end + else + heavyFogAudio.curAlpha = heavyFogAudio.curAlpha - kAlphaDelta + if heavyFogAudio.curAlpha < heavyFogAudio.targetAlpha then + heavyFogAudio.curAlpha = heavyFogAudio.targetAlpha + end + end + if heavyFogAudio.curAlpha == heavyFogAudio.targetAlpha then + Callbacks.UnregisterForTimer("UpdateHeavyFogAudioEffects") + heavyFogAudio.updating = false + end + LerpHeavyFogAudioSettings(heavyFogAudio.baseValues, heavyFogAudio.targetValues, heavyFogAudio.curAlpha) +end + +function LerpHeavyFogAudioSettings(settingsA, settingsB, alpha) + local SetEffect = Audio.SetEffectParam + local Lerp = Utilities.LerpRealNumber + local busName = heavyFogAudio.kBusName + local effectName = heavyFogAudio.kEffectName + if settingsB.dryLevel ~= nil then + SetEffect(busName, effectName, 0, Lerp(settingsA.dryLevel, settingsB.dryLevel, alpha)) + end + if settingsB.room ~= nil then + SetEffect(busName, effectName, 1, Lerp(settingsA.room, settingsB.room, alpha)) + end + if settingsB.roomHF ~= nil then + SetEffect(busName, effectName, 2, Lerp(settingsA.roomHF, settingsB.roomHF, alpha)) + end + if settingsB.roomRolloff ~= nil then + SetEffect(busName, effectName, 3, Lerp(settingsA.roomRolloff, settingsB.roomRolloff, alpha)) + end + if settingsB.decayTime ~= nil then + SetEffect(busName, effectName, 4, Lerp(settingsA.decayTime, settingsB.decayTime, alpha)) + end + if settingsB.decayHFRatio ~= nil then + SetEffect(busName, effectName, 5, Lerp(settingsA.decayHFRatio, settingsB.decayHFRatio, alpha)) + end + if settingsB.reflections ~= nil then + SetEffect(busName, effectName, 6, Lerp(settingsA.reflections, settingsB.reflections, alpha)) + end + if settingsB.reflectDelay ~= nil then + SetEffect(busName, effectName, 7, Lerp(settingsA.reflectDelay, settingsB.reflectDelay, alpha)) + end + if settingsB.reverb ~= nil then + SetEffect(busName, effectName, 8, Lerp(settingsA.reverb, settingsB.reverb, alpha)) + end + if settingsB.reverbDelay ~= nil then + SetEffect(busName, effectName, 9, Lerp(settingsA.reverbDelay, settingsB.reverbDelay, alpha)) + end + if settingsB.diffusion ~= nil then + SetEffect(busName, effectName, 10, Lerp(settingsA.diffusion, settingsB.diffusion, alpha)) + end + if settingsB.density ~= nil then + SetEffect(busName, effectName, 11, Lerp(settingsA.density, settingsB.density, alpha)) + end + if settingsB.hrReference ~= nil then + SetEffect(busName, effectName, 12, Lerp(settingsA.hrReference, settingsB.hrReference, alpha)) + end + if settingsB.roomLF ~= nil then + SetEffect(busName, effectName, 13, Lerp(settingsA.roomLF, settingsB.roomLF, alpha)) + end + if settingsB.lrReference ~= nil then + SetEffect(busName, effectName, 14, Lerp(settingsA.lrReference, settingsB.lrReference, alpha)) + end +end + +function GetRandomHarvesterSpawnTime() + if currentState == kRampDown and #spawnedEnemyInfo <= 3 then + return Utilities.GetRandomRealNumber(2, 3.5) + end + return Utilities.GetRandomRealNumber(3, 5) +end + +function KillAllHarvesters() + local objects = ObjectTags.GetObjectsWithTag("MP Paranormal Object") + for _, v in pairs(objects) do + Game.Kill(v, GameScript.KillObjectMessageType.Instant) + end +end + +function StartHarvesterSpawning() + if not debugDisableHarvesters then + Callbacks.RegisterForTimer("SpawnHarvesterAndScheduleNext", GetRandomHarvesterSpawnTime(), false) + end +end + +function StopHarvesterSpawning() + if not debugDisableHarvesters then + Callbacks.UnregisterForTimer("SpawnHarvesterAndScheduleNext") + end +end + +function SpawnHarvesterAndScheduleNext() + if currentState == kRest then + return + end + local playerObjs = GetPlayerObjsInHeavyFog() + if playerObjs == nil or #playerObjs == 0 then + Callbacks.RegisterForTimer("SpawnHarvesterAndScheduleNext", 1, false) + return + end + local targetPlayer = LuaHelpers.GetRandomItemFromTable(playerObjs) + local spawnPoint = GetHarvesterSpawnpoint(targetPlayer) + if spawnPoint == nil then + Callbacks.RegisterForTimer("SpawnHarvesterAndScheduleNext", 1, false) + return + end + local spawnPos = Game.GetPosition(spawnPoint) + local targetLocation = Game.GetPosition(targetPlayer) + local harvesterToTargetVect = Math3d.VectorSubtract(targetLocation, spawnPos) + harvesterToTargetVect.y = 0 + Math3d.VectorNormalize(harvesterToTargetVect) + local spawnRot = Math3d.GetRotationForForward(harvesterToTargetVect) + Game.SpawnWithRotation("Harvester Object Template", spawnPos, spawnRot) + Callbacks.RegisterForTimer("SpawnHarvesterAndScheduleNext", GetRandomHarvesterSpawnTime(), false) +end + +function GetHarvesterSpawnpoint(targetObj) + if harvesterSpawnPoints == nil or #harvesterSpawnPoints == 0 then + return nil + end + local targetPos = Game.GetPosition(targetObj) + local kDistThreshold = 10 + local nearbySpawnpoints = {} + local nearbySpawnpointsInView = {} + local closestDist + for k, spawnPoint in pairs(harvesterSpawnPoints) do + local spawnPointPos = Game.GetPosition(spawnPoint) + local distToTarget = DistanceBetweenPositions(targetPos, spawnPointPos) + if kDistThreshold > distToTarget then + table.insert(nearbySpawnpoints, spawnPoint) + local playerIndex = Player.GetPlayerIndexByObject(targetObj) + if Game.IsPlayerLookRotFacingObject(playerIndex, spawnPoint, 50) then + table.insert(nearbySpawnpointsInView, spawnPoint) + end + end + if closestDist == nil or closestDist > distToTarget then + closestDist = distToTarget + end + end + if 0 < #nearbySpawnpointsInView then + return LuaHelpers.GetRandomItemFromTable(nearbySpawnpointsInView) + elseif 0 < #nearbySpawnpoints then + return LuaHelpers.GetRandomItemFromTable(nearbySpawnpoints) + end + return nil +end + +function KillAllCastingProjectiles() + local objects = ObjectTags.GetObjectsWithTag("Casting Projectile") + for _, v in pairs(objects) do + Game.Kill(v, GameScript.KillObjectMessageType.Instant) + end +end + +local lineList = {} + +function DebugDisplay() + DrawDirectorInfoDisplay() + if debugDrawDirectorInfoOnly then + return + end + for k, line in pairs(lineList) do + Debug.DrawLine(line.startPos, line.endPos, line.color) + end +end + +function DebugDrawSpawnPoints() + lineList = {} + if allSpawnPoints ~= nil then + for k, spawnPoint in pairs(allSpawnPoints) do + local color = Utilities.kRed + if GetIsSpawnPointDistValid(spawnPoint) then + color = Utilities.kGreen + elseif GetIsSpawnPointDistValid(spawnPoint, kMaxDistThreshold * 2) then + color = Utilities.kOrange + end + local spawnPointPos = spawnPoint.pos + Debug.DrawSphere(spawnPointPos, 0.5, color) + spawnPointPos.y = spawnPointPos.y + 1.5 + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, maxPlayer do + local lineColor = Utilities.kBlack + if Game.IsPlayerLookRotFacingObject(curPlayerIndex, spawnPoint.point, 50) then + lineColor = Utilities.kYellow + local useHeadPosition = true + local defaultReturn = false + local canSeeSpawner = Player.DoesPlayerHaveLineOfSightToPosition(spawnerPointPos, curPlayerIndex, useHeadPosition, defaultReturn) + if canSeeSpawner then + lineColor = Utilities.kGreen + end + end + table.insert(lineList, { + startPos = playerPos, + endPos = spawnPointPos, + color = lineColor + }) + end + end + end +end + +function DebugDrawSpawnpointInfo() + local xPos, yPos = 0.5, 0.15 + + local function PrintLine(text, color) + Debug.SetOnScreenTextColor(color.r, color.g, color.b) + Debug.PrintToScreen(text, xPos, yPos) + yPos = yPos + 0.03 + end + + if allSpawnPoints == nil then + PrintLine("spawnpoint list is nil", Utilities.kGrey) + else + PrintLine("spawnpoints (" .. #allSpawnPoints .. ")", Utilities.kWhite) + xPos = xPos + 0.01 + if #allSpawnPoints == 0 then + PrintLine("none", Utilities.kGrey) + else + for k, spawnPoint in pairs(allSpawnPoints) do + local spName = Game.GetName(spawnPoint.point) + local spPos = spawnPoint.pos + spPos.x = math.floor(spPos.x) + spPos.z = math.floor(spPos.z) + PrintLine(spName .. "(" .. spPos.x .. ", " .. spPos.z .. ")", Utilities.kWhite) + end + end + end +end + +function DebugDrawArrows() + local kDisplaySeconds = 30 + local numArrows = #debugArrows + for a = numArrows, 1, -1 do + local arrow = debugArrows[a] + Debug.DrawArrow(arrow.Origin, arrow.EndPoint, 0.2, Utilities.kYellow) + local arrowAge = currentTime - arrow.Time + if kDisplaySeconds < arrowAge then + table.remove(debugArrows, a) + end + end +end + +function GetCurrentWaveDebugText() + return "Wave " .. currentWave +end + +function DrawDirectorInfoDisplay() + local MakeEnemyCount = function(num) + local result = "" + for i = 1, num do + result = result .. "|" + end + return result + end + Debug.PrintToScreen(GetCurrentWaveDebugText(), 0.1, 0.15) + local currentTime = Support.GetGameTime() + local stateColor = Utilities.kRed + local curStateName + if currentState == kRampUp then + local timeInState = currentTime - stateStartTime + local timeLeft = math.floor(waveInfo.rampUpTime - timeInState) + 1 + kRampUpGraceTime + timeLeft = math.max(timeLeft, 0) + curStateName = "Ramp Up (~" .. timeLeft .. ")" + stateColor = timeLeft > kRampUpGraceTime and Utilities.kOrange or Utilities.kYellow + elseif currentState == kSustain then + if waveInfo.sustainTime ~= nil then + if waveInfo.sustainTime == -1 then + curStateName = "Sustain (infinite)" + else + local timeInState = currentTime - stateStartTime + curStateName = "Sustain (" .. math.floor(waveInfo.sustainTime - timeInState) + 1 .. ")" + end + elseif waveInfo.sustainEnemyCount ~= nil then + curStateName = "Sustain (" .. waveInfo.sustainEnemyCount - numAIsKilledThisWave .. " left to kill)" + end + stateColor = Utilities.kGreen + elseif currentState == kRampDown then + curStateName = "Ramp Down (" .. numAIs .. " still alive)" + stateColor = Utilities.kOrange + elseif currentState == kRest then + local timeInState = currentTime - stateStartTime + curStateName = "Rest (" .. math.floor(waveInfo.restTime - timeInState) + 1 .. ")" + else + curStateName = "Unknown" + end + Debug.SetOnScreenTextColor(stateColor.r, stateColor.g, stateColor.b) + Debug.PrintToScreen(curStateName, 0.1, 0.18) + Debug.SetOnScreenTextColor(Utilities.kGrey.r, Utilities.kGrey.g, Utilities.kGrey.b) + local maxEnemyTicks = "" + if currentState == kRampUp or currentState == kSustain then + maxEnemyTicks = MakeEnemyCount(waveInfo:GetMaxEnemies()) + end + Debug.PrintToScreen("AIs: " .. maxEnemyTicks, 0.1, 0.21) + Debug.SetOnScreenTextColor(Utilities.kWhite.r, Utilities.kWhite.g, Utilities.kWhite.b) + Debug.PrintToScreen("AIs: " .. MakeEnemyCount(#spawnedEnemyInfo), 0.1, 0.21) +end + +function PrintAIInfo() + local textPosX = 0.5 + local textPosY = 0.21 + for e, enemyInfo in ipairs(spawnedEnemyInfo) do + local enemyObject = enemyInfo.object + local loadedAndLiving = false + local enemyName = "nil" + if enemyObject and Game.IsLoaded(enemyObject) then + enemyName = Game.GetName(enemyObject) + if Game.HasHitPoints(enemyObject) and Game.GetHitPointPercent(enemyObject) > 0 then + loadedAndLiving = true + end + end + local textColor = loadedAndLiving and Utilities.kGreen or Utilities.kRed + Debug.SetOnScreenTextColor(textColor.r, textColor.g, textColor.b) + Debug.PrintToScreen(enemyName, textPosX, textPosY) + textPosY = textPosY + 0.03 + end + Debug.SetOnScreenTextColor(Utilities.kWhite.r, Utilities.kWhite.g, Utilities.kWhite.b) +end + +function DrawLinesToAI() + local linecolors = { + Utilities.kRed, + Utilities.kBlue, + Utilities.kYellow, + Utilities.kOrange + } + for e, enemyInfo in ipairs(spawnedEnemyInfo) do + local enemyObject = enemyInfo.object + if IsEnemyLoadedAndLiving(enemyObject) then + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if DoesPlayerHavePosition(curPlayerIndex) then + local playerPos = GetPlayerPosition(curPlayerIndex) + playerPos.y = playerPos.y + 1.5 + local enemyPos = Game.GetPosition(enemyObject) + enemyPos.y = enemyPos.y + 1.5 + Debug.DrawLine(playerPos, enemyPos, linecolors[p]) + end + end + end + end +end + +function HandleEnableDisableTextMessage(textMsg) + if textMsg.msg == kDisableText then + if bEnabled then + bEnabled = false + currentState = kRampDown + end + elseif textMsg.msg == kEnableText and not bEnabled then + bEnabled = true + if numAIsKilledThisWave == numAIsSpawnedThisWave then + EnterRestState() + end + end +end + +function Reset() + if bRampUpTimerRegistered then + Callbacks.UnregisterForTimer("DoRampUpState") + end + if bEnterRampUpTimerRegistered then + Callbacks.UnregisterForTimer("EnterRampUpState") + end + currentState = kRest + currentWave = 0 + numAIs = 0 + numAIsKilledThisWave = 0 + numAIsSpawnedThisWave = 0 + stateStartTime = 0 + spawnedEnemyInfo = {} + allSpawnPoints = {} + enemyTemplates = {} + aiSquads = {} + aiOrders = {} + customSpawnpoints = {} + waveInfo = nil + if Super ~= nil then + OnAIDeath = Super.OnAIDeath + PopulateWaveTable = Super.PopulateWaveTable + NewWave = Super.NewWave + GetRandomTemplateToSpawn = Super.GetRandomTemplateToSpawn + SpawnAI = Super.SpawnAI + StartNewWave = Super.StartNewWave + EnterRestState = Super.EnterRestState + GetCurrentWaveDebugText = Super.GetCurrentWaveDebugText + PlaySoundNewWave = Super.PlaySoundNewWave + PlaySoundWaveAmbient = Super.PlaySoundWaveAmbient + PlaySoundWaveOver = Super.PlaySoundWaveOver + end + bStaggeredSpawnsRegistered = false + bRampUpTimerRegistered = false + bEnterRampUpTimerRegistered = false + fogEffectSettings.updating = false + spawnHarvesters = false +end + +function DoWaves() + if not MP.IsClient() then + PopulateWaveTable() + spawnPointTimeStamp = Support.GetGameTime() + Callbacks.RegisterForTimer("UpdateAllSpawnPointList", 3, true) + Callbacks.RegisterForTimer("CheckForAIDeaths", 2, true) + currentWave = 0 + spawnedEnemyInfo = {} + EnterRestState() + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerDeathMessage, myObject, "OnAnyDeath") + RegisterForPlayerStateChanges() + end +end + +function RegisterForPlayerStateChanges() + local activePlayerList = GetActivePlayers() + for index, curPlayer in ipairs(activePlayerList) do + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, curPlayer.Object, "OnPlayerStateChange") + end +end + +function ExitScript() + allSpawnPoints = {} + ImmediateStopHeavyFogAudioEffects() + if fogEffectSettings.updating then + Callbacks.UnregisterForTimer("UpdateFogEffectValues") + fogEffectSettings.updating = false + end + UnregisterHeavyFogCameraFilterRegions() + playersInFogVolumeRefCount = {} + Support.ExitScript() +end diff --git a/recovered/boot/script/game/Libraries/GameCamera.lua b/recovered/boot/script/game/Libraries/GameCamera.lua new file mode 100644 index 0000000..a4ca9bf --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameCamera.lua @@ -0,0 +1,16 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local Debug = GS.Debug +local Game = GS.Game +local Math3d = GS.LuaMath3d +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Camera = GS.Game.Camera diff --git a/recovered/boot/script/game/Libraries/GameCinema.lua b/recovered/boot/script/game/Libraries/GameCinema.lua new file mode 100644 index 0000000..09d5cec --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameCinema.lua @@ -0,0 +1,133 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local Debug = GS.Debug +local Game = GS.Game +local Math3d = GS.LuaMath3d +local Callbacks = GS.Callbacks +local Util = GS.Utilities +local Player = GS.Game.Player +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local FromBlack = "HUDFadeFromBlack" +local ToBlack = "HUDFadeToBlack" + +local function SendTextMessageToLocalPlayers(textMsg) + for globalIndex, avatar in Util.AllPlayers(Player.GetPlayerAvatarObjectByIndex, Player.IsLocalPlayer) do + if avatar ~= nil and Util.IsPointMan(avatar) then + Game.SendTextMessage(avatar, FromBlack) + end + end +end + +PlayerTriggerTypes = { + kNoCheck = 0, + kOnlyPointMan = 1, + kOnlyFettel = 2 +} +TriggerTypes = {kAnyPlayer = 0, kAllPlayers = 1} +CinemaTypes = { + kBothPlayers = 0, + kPointMan = 1, + kFettel = 2 +} + +function ShowHUD() + SendTextMessageToLocalPlayers(FromBlack) +end + +function HideHUD() + SendTextMessageToLocalPlayers(ToBlack) +end + +function Over(hidePostCutsceneObjects, unhidePostCutsceneObjects) + for k, obj in pairs(hidePostCutsceneObjects) do + if obj ~= nil then + Game.HideObject(obj, true) + end + end + for k, obj in pairs(unhidePostCutsceneObjects) do + if obj ~= nil then + Game.HideObject(obj, false) + end + end +end + +function Prepare(hidePreCutsceneObjects, unhidePreCutsceneObjects) + for k, obj in pairs(hidePreCutsceneObjects) do + if obj ~= nil then + Game.HideObject(obj, true) + end + end + for k, obj in pairs(unhidePreCutsceneObjects) do + if obj ~= nil then + Game.HideObject(obj, false) + end + end +end + +function ShouldStart(RegionTable, TriggerType, PlayerTriggerType) + if TriggerType == TriggerTypes.kAllPlayers then + return Game.Regions.AllPlayersInTableOfRegions(RegionTable) + elseif TriggerType == TriggerTypes.kAnyPlayer then + for globalIndex, avatar in Util.AllPlayers(Player.GetPlayerAvatarObjectByIndex) do + local checkPlayer = true + if PlayerTriggerType == PlayerTriggerTypes.kOnlyPointMan then + checkPlayer = Util.IsPointMan(avatar) + elseif PlayerTriggerType == PlayerTriggerTypes.kOnlyFettel then + checkPlayer = Util.IsFettel(avatar) + end + if checkPlayer then + Game.Regions.IsPlayerInRegions(globalIndex, RegionTable) + end + end + end + return false +end + +function Start(CinemaObject, CinemaType) + if Game.IsLoaded(CinemaObject) == false then + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Cinema Object is no longer loaded when attempting to start it.") + return false + end + local pointManIdx, fettelIdx = GetPointManAndFettel() + local primaryIdx, secondaryIdx = GS.PlayerIndex.kNotAGlobalPlayer + if CinemaType == CinemaTypes.kBothPlayers then + return Game.RunCutscene(CinemaObject, pointManIdx, fettelIdx) + elseif CinemaType == CinemaTypes.kPointMan then + return Game.RunCutscene(CinemaObject, pointManIdx, GS.PlayerIndex.kNotAGlobalPlayer) + elseif CinemaType == CinemaTypes.kPointMan then + return Game.RunCutscene(CinemaObject, fettelIdx, GS.PlayerIndex.kNotAGlobalPlayer) + end + Debug.PrintWarning("invalid CinemaType passed to Cinema.Start: CinemaType = " .. CinemaType) + return false +end + +function PlayerEnterRegion(playerInfo) + if Cinema.ShouldStart(RegionTable, triggerType, playerTrigger) then + Cinema.Prepare(hidePreCutsceneObjects, unhidePreCutsceneObjects) + Cinema.Start(CinemaObject, playerTrigger) + Callbacks.RegisterForMsg(GameScript.MsgCallback.CutsceneEndMessage, CinemaObject, "OnCutsceneEnd") + end +end + +function OnCutsceneEnd() + Cinema.Over(hidePostCutsceneObjects, unhidePostCutsceneObjects) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.CutsceneEndMessage, CinemaObject, "OnCutsceneEnd") +end + +function Movie_CanStart() + for globalIndex, avatar in Util.AllPlayers(Player.GetPlayerAvatarObjectByIndex, Player.IsLocalPlayer) do + if avatar ~= nil then + return true + end + end + return false +end diff --git a/recovered/boot/script/game/Libraries/GameDebug.lua b/recovered/boot/script/game/Libraries/GameDebug.lua new file mode 100644 index 0000000..6e8de01 --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameDebug.lua @@ -0,0 +1,94 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Game = GS.Game +local Utilities = GS.Utilities +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Debug = GS.Debug + +function PrintTable(thisTable) + if type(thisTable) == "table" then + PrintInfo("*PrintTable*:") + if next(thisTable) == nil then + PrintInfo("Table is empty") + else + for key, value in pairs(thisTable) do + if type(key) == "string" then + PrintInfo("Key:\"" .. key .. "\" Value:" .. tostring(value)) + else + PrintInfo("Key:" .. key .. " Value:" .. tostring(value)) + end + end + end + else + PrintInfo("*PrintTable*:Not a table:" .. tostring(thisTable)) + end +end + +function PrintInfoIf(condition, text) + if condition then + PrintInfo(text) + end +end + +function PrintWarningIf(condition, text) + if condition then + PrintWarning(text) + end +end + +function PrintErrorIf(condition, text) + if condition then + PrintError(text) + end +end + +function DrawArrowAboveObject(Object, HeightAboveObject, Height, Radius, Color, Debug) + if Debug then + local Position = Game.GetPosition(Object) + Debug.DrawArrowAbovePosition(Position, HeightAbovePosition, Height, Radius, Color, true) + end +end + +function DrawArrowAbovePosition(Position, HeightAbovePosition, Height, Radius, Color, Debug) + if Debug then + local Finish = Position + Finish[y] = Finish[y] + HeightAboveObject + local Start = Finish + Start[y] = Start[y] + Height + Debug.DrawArrow(Start, Finish, Radius, Color) + end +end + +function GetSystemFreeMB() + if Debug.GetSystemMemoryAvailable == nil then + return nil + end + local memAvailable = Debug.GetSystemMemoryAvailable() + memAvailable = memAvailable / 1048576 + memAvailable = memAvailable * 100 + memAvailable = math.floor(memAvailable) + memAvailable = memAvailable / 100 + return memAvailable +end + +function PrintToOutputAndScreenWithTimer(message, time, color, center) + if time == nil then + time = 5 + end + if color == nil then + color = Utilities.kRed + end + if center == nil then + center = false + end + Debug.PrintToScreenWithTimer(message, time, color, center) + Debug.PrintInfo(message) +end diff --git a/recovered/boot/script/game/Libraries/GameMP.lua b/recovered/boot/script/game/Libraries/GameMP.lua new file mode 100644 index 0000000..7da3f43 --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameMP.lua @@ -0,0 +1,56 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Game = GS.Game +local Helpers = GS.LuaHelpers +local PlayerIndex = GS.PlayerIndex +local ObjectState = GS.ObjectState +local Player = Game.Player +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Sets = GS.Game.MP + +function AwardNationPoints(playerIndex, awardType, category) + local teamIndex = GetTeamForPlayer(playerIndex) + AwardTeamPoints(teamIndex, awardType, category) +end + +function AreAllPlayersDown() + local foundAnActivePlayer = false + local numPlayers = Player.GetNumPlayers() + for index = PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + foundAnActivePlayer = true + local playerObj = Player.GetPlayerAvatarObjectByIndex(index) + local isDead = playerObj ~= nil and Game.HasHitPoints(playerObj) and Game.GetHitPointPercent(playerObj) <= 0 + if not isDead and not Player.IsPlayerInState(index, ObjectState.NearDeath) then + return false + end + end + end + if not foundAnActivePlayer then + return false + end + return true +end + +function NumPlayersNotDown() + local numPlayerNotDown = 0 + local numPlayers = Player.GetNumPlayers() + for index = PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + local playerObj = Player.GetPlayerAvatarObjectByIndex(index) + local isDead = playerObj ~= nil and Game.HasHitPoints(playerObj) and 0 >= Game.GetHitPointPercent(playerObj) + if not isDead and not Player.IsPlayerInState(index, ObjectState.NearDeath) then + numPlayerNotDown = numPlayerNotDown + 1 + end + end + end + return numPlayerNotDown +end diff --git a/recovered/boot/script/game/Libraries/GameRegions.lua b/recovered/boot/script/game/Libraries/GameRegions.lua new file mode 100644 index 0000000..1e44a89 --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameRegions.lua @@ -0,0 +1,62 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local Game = GS.Game +local Player = Game.Player +local Util = GS.Utilities +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Regions = GS.Game.Regions + +function IsPlayerInRegions(PlayerIndex, RegionTable) + local Controlled = Player.GetPlayerControlledObjectByIndex(PlayerIndex) + return IsPlayerObjectInRegions(Controlled, RegionTable) +end + +function IsPlayerObjectInRegions(PlayerObject, RegionTable) + if RegionTable == nil then + return false + end + if PlayerObject == nil then + return false + end + if type(RegionTable) == "userdata" then + if IsInRegion(RegionTable, PlayerObject) then + return true + end + else + for key, value in pairs(RegionTable) do + if IsInRegion(value, PlayerObject) then + return true + end + end + end + return false +end + +function AllPlayersInTableOfRegions(RegionTable) + for globalIndex in Util.AllPlayers() do + if IsPlayerInRegions(globalIndex, RegionTable) == false then + return false + end + end + return true +end + +AllPlayersInRegions = AllPlayersInTableOfRegions + +function NoPlayerInRegions(RegionTable) + for globalIndex in Util.AllPlayers() do + if IsPlayerInRegions(globalIndex, RegionTable) then + return false + end + end + return true +end diff --git a/recovered/boot/script/game/Libraries/GameSets.lua b/recovered/boot/script/game/Libraries/GameSets.lua new file mode 100644 index 0000000..b8c76e0 --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameSets.lua @@ -0,0 +1,13 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Sets = GS.Game.Sets diff --git a/recovered/boot/script/game/Libraries/GameSupport.lua b/recovered/boot/script/game/Libraries/GameSupport.lua new file mode 100644 index 0000000..582efce --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameSupport.lua @@ -0,0 +1,38 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local Debug = GS.Debug +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Support = GS.Support + +function ImportFirstObject(scriptName, description) + local objList = Support.ImportObjectHandleVariable(scriptName, description) + if table.getn(objList) > 0 then + return objList[1] + end + return nil +end + +function NumberToBool(f) + if f == 0 then + return false + end + return true +end + +function ImportAnimLabelTag(baseName, description) + local t = {} + local animTagName = " - AnimLabelTag - " + t.group = Support.ImportStringVariable(baseName .. animTagName .. "Group", description) + t.label = Support.ImportStringVariable(baseName .. animTagName .. "Label", " ") + t.type = Support.ImportEnumVariable("GameScript.AnimTagType", baseName .. animTagName .. "Type", " ") + return t +end diff --git a/recovered/boot/script/game/Libraries/GameUtilities.lua b/recovered/boot/script/game/Libraries/GameUtilities.lua new file mode 100644 index 0000000..b472bb5 --- /dev/null +++ b/recovered/boot/script/game/Libraries/GameUtilities.lua @@ -0,0 +1,384 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Helpers = GS.LuaHelpers +local Debug = GS.Debug +local Support = GS.Support +local Game = GS.Game +local Math3d = GS.LuaMath3d +local Camera = Game.Camera +local Player = Game.Player +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +module(...) +local Utilities = GS.Utilities +Utilities.kRed = { + r = 255, + g = 0, + b = 0, + a = 255 +} +Utilities.kGreen = { + r = 0, + g = 255, + b = 0, + a = 255 +} +Utilities.kBlue = { + r = 0, + g = 0, + b = 255, + a = 255 +} +Utilities.kYellow = { + r = 255, + g = 255, + b = 0, + a = 255 +} +Utilities.kOrange = { + r = 255, + g = 128, + b = 0, + a = 255 +} +Utilities.kBlack = { + r = 0, + g = 0, + b = 0, + a = 255 +} +Utilities.kWhite = { + r = 255, + g = 255, + b = 255, + a = 255 +} +Utilities.kGrey = { + r = 128, + g = 128, + b = 128, + a = 255 +} +Utilities.kFogType = { + none = 0, + depth = 1, + height = 2 +} +Utilities.kFogSource = {color = 0, cube_map = 1} +local LineOfSightCollisionGroup = GS.CollisionGroups.PlayerLineOfSight + +function GetClosestPlayer(position) + local closestPlayer + local closestDistance = math.pow(10, 9) + for index, playerObj in Utilities.AllPlayers(Player.GetPlayerControlledObjectByIndex) do + if playerObj ~= nil then + local playerPos = Game.GetPosition(playerObj) + local distVector = Math3d.VectorSubtract(playerPos, position) + local length = Math3d.VectorLength(distVector) + if closestDistance > length then + closestPlayer = playerObj + closestDistance = length + end + end + end + return closestPlayer, closestDistance +end + +function ShouldSpawn(spawner, checkLOS) + if spawner == nil or Player.GetNumPlayers == 0 then + return false + end + local isVisible = IsObjectVisible(spawner, checkLOS) + return not isVisible +end + +function IsObjectVisible(spawner, checkLOS) + if spawner == nil then + return false + end + local minDistance = 5 + local numPlayers = Player.GetNumPlayers() + for playerIndex = 1, numPlayers do + local player = Player.GetPlayerControlledObjectByIndex(playerIndex - 1) + if player then + local playerPos = Game.GetPosition(player) + local spawnerPos = Game.GetPosition(spawner) + local distVector = Math3d.VectorSubtract(spawnerPos, playerPos) + distVector.y = 0 + local dist = Math3d.VectorLength(distVector) + if minDistance > dist then + return true + end + local playerForward = Game.GetForward(player) + local distNorm = Math3d.VectorMultiply(distVector, 1 / dist) + local dotResult = Math3d.VectorDot(playerForward, distNorm) + local dotThreshold = -0.01 + if dotResult > dotThreshold then + if checkLOS ~= nil and checkLOS then + local heightAdjust = 1.3 + local position1 = { + x = playerPos.x, + y = playerPos.y + heightAdjust, + z = playerPos.z + } + local position2 = { + x = spawnerPos.x, + y = spawnerPos.y + heightAdjust, + z = spawnerPos.z + } + local hasLOS = LineOfSightWithPositions(position1, position2) + if hasLOS then + return true + end + else + return true + end + end + end + end + return false +end + +function IsPlayerARider(PlayerIndex) + return Player.GetPlayerAvatarObjectByIndex(PlayerIndex) ~= Player.GetPlayerControlledObjectByIndex(PlayerIndex) +end + +function GetPointManFettelIndecies() + return GetPointManFettelIndices() +end + +function GetFettelAvatar() + local pointManIndex, fettelIndex, pointManAvatar, fettelAvatar + pointManIndex, fettelIndex, pointManAvatar, fettelAvatar = GetPointManAndFettel() + return fettelAvatar +end + +function GetPointManFettelIndices() + local pointManIndex, fettelIndex, pointManAvatar, fettelAvatar + pointManIndex, fettelIndex, pointManAvatar, fettelAvatar = GetPointManAndFettel() + return pointManIndex, fettelIndex +end + +function GetPointManFettelAvatarObjects(Avatars) + local pointManIndex, fettelIndex, pointManAvatar, fettelAvatar + pointManIndex, fettelIndex, pointManAvatar, fettelAvatar = GetPointManAndFettel() + return pointManAvatar, fettelAvatar +end + +function GetPointManFettelControlledObjects() + local pointManIndex, fettelIndex, pointManAvatar, fettelAvatar, pointManControlledObject, fettelControlledObject + pointManIndex, fettelIndex, pointManControlledObject, fettelControlledObject = GetPointManAndFettel(GS.Game.Player.GetPlayerControlledObjectByIndex) + return pointManControlledObject, fettelControlledObject +end + +function LineOfSight(PlayerIndex, PositionObject, DebugDraw) + local cameraObject = Camera.GetCameraObjectForPlayer(PlayerIndex) + if cameraObject == nil then + return false + end + local PlayerCameraPosition = Game.GetPosition(cameraObject) + local ObjectPosition = Game.GetPosition(PositionObject) + return LineOfSightWithPositions(PlayerCameraPosition, ObjectPosition, DebugDraw) +end + +function GetHorzDistanceBetweenObjects(obj1, obj2) + local posObj1 = Game.GetPosition(obj1) + local posObj2 = Game.GetPosition(obj2) + local distVector = Math3d.VectorSubtract(posObj2, posObj1) + distVector.y = 0 + return Math3d.VectorLength(distVector) +end + +function LineOfSightWithPositions(position1, position2, DebugDraw) + local RayCastVector = Math3d.VectorSubtract(position2, position1) + local vectorLength = Math3d.VectorNormalize(RayCastVector) + local Options = { + dist = vectorLength, + collisGroup = LineOfSightCollisionGroup, + checkProxies = false + } + local hasHit = Utilities.DoesRayCollide(position1, RayCastVector, Options) + return not hasHit +end + +function AllPlayers(GetObjectFunction, ValidateFunction) + local playerIterator = 0 + local numPlayers = Player.GetNumPlayers() + + local function BasicPlayerIterator() + playerIterator = playerIterator + 1 + if playerIterator > numPlayers then + return nil + end + local idx = GS.PlayerIndexArray[playerIterator] + if GetObjectFunction then + return idx, GetObjectFunction(idx) + end + return idx + end + + local function ValidPlayerIterator() + playerIterator = playerIterator + 1 + if playerIterator > numPlayers then + return nil + end + local idx = GS.PlayerIndexArray[playerIterator] + while not ValidateFunction(idx) do + playerIterator = playerIterator + 1 + if playerIterator > numPlayers then + return nil + end + idx = GS.PlayerIndexArray[playerIterator] + end + if GetObjectFunction then + return idx, GetObjectFunction(idx) + end + return idx + end + + if ValidateFunction then + return ValidPlayerIterator + end + return BasicPlayerIterator +end + +function PlayerHasTag(globalPlayerIndex, tag) + local avatar = Player.GetPlayerAvatarObjectByIndex(globalPlayerIndex) + return avatar ~= nil and Game.ObjectTags.DoesObjectHaveTag(avatar, tag) +end + +function LerpRealNumber(numA, numB, alpha) + return numA * (1 - alpha) + numB * alpha +end + +function LerpColor(colorA, colorB, alpha) + local result = {} + result.r = Utilities.LerpRealNumber(colorA.r, colorB.r, alpha) + result.g = Utilities.LerpRealNumber(colorA.g, colorB.g, alpha) + result.b = Utilities.LerpRealNumber(colorA.b, colorB.b, alpha) + return result +end + +function ClampRealNumber(value, boundA, boundB) + if boundB < boundA then + boundA, boundB = boundB, boundA + end + if value < boundA then + return boundA + elseif value > boundB then + return boundB + end + return value +end + +function GetRandomRealNumber(minValue, maxValue) + return Utilities.LerpRealNumber(minValue, maxValue, Utilities.GetRandomPercent()) +end + +function GetCurveFunction(Curve, MaxAmplitude, MinAmplitude, MaxRange, MinRange) + if MaxRange then + MinRange = MinRange or 0 + local DeltaRange = MaxRange - MinRange + local DeltaAmplitude = MaxAmplitude - MinAmplitude + return function(X) + return Support.GetCurveValue(Curve, (X - MinRange) / DeltaRange) * DeltaAmplitude + MinAmplitude + end + end + if MaxAmplitude then + MinAmplitude = MinAmplitude or 0 + local DeltaAmplitude = MaxAmplitude - MinAmplitude + return function(X) + return Support.GetCurveValue(Curve, X) * DeltaAmplitude + MinAmplitude + end + end + return function(X) + return Support.GetCurveValue(Curve, X) + end +end + +function IsAITargetingPlayer(AI_Object, RequireLOS) + if AI_Object then + local info = Game.AI.GetAITargetInfo(AI_Object) + if RequireLOS then + return info and info.m_bIsInfoValid and info.m_bIsPlayerControlled and info.m_bHasLOS + else + return info and info.m_bIsInfoValid and info.m_bIsPlayerControlled + end + else + return false + end +end + +function IsAnimLabelTag(ImportTable, CallbackInfo) + return ImportTable.type == CallbackInfo.type and ImportTable.group == CallbackInfo.group and ImportTable.label == CallbackInfo.label +end + +function IsAnimLabelGroupTag(ImportTable, CallbackInfo) + return ImportTable.type == CallbackInfo.type and ImportTable.group == CallbackInfo.group +end + +function CreateAnimLabelTag(group, label, type) + local t = {} + t.group = group + t.label = label + t.type = type + return t +end + +local PointManTag = "Point Man" +local FettelTag = "Fettel" + +function IsPointMan(object) + return object ~= nil and Game.ObjectTags.DoesObjectHaveTag(object, PointManTag) +end + +function IsFettel(object) + return object ~= nil and Game.ObjectTags.DoesObjectHaveTag(object, FettelTag) +end + +function IsPointManIndex(globalIndex) + return PlayerHasTag(globalIndex, PointManTag) +end + +function IsFettelIndex(globalIndex) + return PlayerHasTag(globalIndex, FettelTag) +end + +function GetPointManAndFettel(GetObjectFunction) + local pointManIndex = GS.PlayerIndex.kNotAGlobalPlayer + local pointManObject + local fettelIndex = GS.PlayerIndex.kNotAGlobalPlayer + local fettelObject + for i, o in AllPlayers(Player.GetPlayerAvatarObjectByIndex) do + if pointManIndex == GS.PlayerIndex.kNotAGlobalPlayer and IsPointMan(o) then + pointManIndex = i + pointManObject = o + elseif fettelIndex == GS.PlayerIndex.kNotAGlobalPlayer and IsFettel(o) then + fettelIndex = i + fettelObject = o + end + end + if GetObjectFunction then + if pointManIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + pointManObject = GetObjectFunction(pointManIndex) + end + if fettelIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + fettelObject = GetObjectFunction(fettelIndex) + end + end + return pointManIndex, fettelIndex, pointManObject, fettelObject +end + +function IsSoloFettel() + if Player.GetNumPlayers() > 1 then + return false + end + local pointManIdx, fettelIdx, pointManAvatar, fettelAvatar = GetPointManAndFettel() + local soloFettel = pointManIdx == GS.PlayerIndex.kNotAGlobalPlayer and fettelIdx ~= GS.PlayerIndex.kNotAGlobalPlayer + return soloFettel, fettelAvatar +end diff --git a/recovered/boot/script/game/Libraries/LuaHelpers.lua b/recovered/boot/script/game/Libraries/LuaHelpers.lua new file mode 100644 index 0000000..05953f5 --- /dev/null +++ b/recovered/boot/script/game/Libraries/LuaHelpers.lua @@ -0,0 +1,119 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Util = GS.Utilities +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local Helpers = GS.LuaHelpers + +function CopyListKeysToArrayIndicies(list) + for key, value in pairs(list) do + if type(key) ~= "number" then + local keyNumber = tonumber(key) + if keyNumber ~= nil then + list[keyNumber] = value + end + end + end +end + +function TableCopy(a, b) + for key, value in pairs(b) do + a[key] = value + end +end + +function GetNumTableKeys(table) + local count = 0 + for key, value in pairs(table) do + count = count + 1 + end + return count +end + +function KeyExistsInTable(key, table) + for k, v in pairs(table) do + if k == key then + return true + end + end + return false +end + +function AddUniqueItemToTable(t, item) + for index, value in ipairs(t) do + if value == item then + return + end + end + table.insert(t, item) +end + +function GetRandomItemFromTable(t) + local numElements = #t + if numElements == 0 then + return nil + end + local randIndex = Util.GetRandomInteger(1, numElements) + return t[randIndex], randIndex +end + +function GetRandomItemFromTableMeetingCondition(t, conditionFunc) + local numElements = #t + if 0 < numElements then + local testElement, initialIndex = GetRandomItemFromTable(t) + local testIndex = initialIndex + 1 + if numElements < testIndex then + testIndex = 1 + end + while not conditionFunc(testElement) and testIndex ~= initialIndex do + testElement = t[testIndex] + testIndex = testIndex + 1 + if numElements < testIndex then + testIndex = 1 + end + end + if testIndex ~= initialIndex then + return testElement + end + end + return nil +end + +function StartCinema(CinemaObject, PrimaryPlayerIsFettel, SecondaryPlayerProxyIsEmpty) + if CinemaObject and type(PrimaryPlayerIsFettel) == "boolean" and type(SecondaryPlayerProxyIsEmpty) == "boolean" then + if not PrimaryPlayerIsFettel or SecondaryPlayerProxyIsEmpty then + local PointManIndex, FettelIndex = Util.GetPointManFettelIndecies() + local PrimaryIndex, SecondaryIndex = PointManIndex, GS.PlayerIndex.kNotAGlobalPlayer + if PrimaryPlayerIsFettel then + if FettelIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + PrimaryIndex = FettelIndex + else + return false + end + end + if not PrimaryPlayerIsFettel and not SecondaryPlayerProxyIsEmpty and FettelIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + SecondaryIndex = FettelIndex + end + if GS.Game.IsLoaded(CinemaObject) then + GS.Game.RunCutscene(CinemaObject, PrimaryIndex, SecondaryIndex) + return true + else + GS.Debug.PrintWarning(GS.Game.GetName(GS.Game.GetMyObject()) .. ": Cinema Object is no longer loaded when attempting to start it.") + return false + end + else + GS.Debug.PrintError(GS.Game.GetName(GS.Game.GetMyObject()) .. ": Both Primary and Secondary Player Proxies are set to Fettel") + return false + end + else + GS.Debug.PrintWarning(GS.Game.GetName(GS.Game.GetMyObject()) .. ": Function Arguments were invalid") + return false + end +end diff --git a/recovered/boot/script/game/Libraries/LuaMath3d.lua b/recovered/boot/script/game/Libraries/LuaMath3d.lua new file mode 100644 index 0000000..d30642f --- /dev/null +++ b/recovered/boot/script/game/Libraries/LuaMath3d.lua @@ -0,0 +1,214 @@ +local mainGlobal = _G +local GS = Despair.GameScript +local Debug = GS.Debug +local pairs = mainGlobal.pairs +local ipairs = mainGlobal.ipairs +local type = mainGlobal.type +local tostring = mainGlobal.tostring +local tonumber = mainGlobal.tonumber +local table = mainGlobal.table +local math = mainGlobal.math +local next = mainGlobal.next +module(...) +local math3d = GS.LuaMath3d + +function Clamp(input, min, max) + if input < min then + input = min + elseif max < input then + input = max + end + return input +end + +function VectorAdd(...) + local newVector = { + x = 0, + y = 0, + z = 0 + } + for key, vector in pairs({ + ... + }) do + newVector.x = newVector.x + vector.x + newVector.y = newVector.y + vector.y + newVector.z = newVector.z + vector.z + end + return newVector +end + +function VectorSubtract(a, b) + local newVector = { + x = a.x - b.x, + y = a.y - b.y, + z = a.z - b.z + } + return newVector +end + +function VectorMultiply(vec, scalar) + local newVector = { + x = vec.x * scalar, + y = vec.y * scalar, + z = vec.z * scalar + } + return newVector +end + +function VectorDot(a, b) + return a.x * b.x + a.y * b.y + a.z * b.z +end + +function VectorCross(a, b) + local newX = a.y * b.z - a.z * b.y + local newY = a.z * b.x - a.x * b.z + local newZ = a.x * b.y - a.y * b.x + return { + x = newX, + y = newY, + z = newZ + } +end + +function ToDegrees(radians) + return radians * 180 / math.pi +end + +function ToRadians(degrees) + return degrees * math.pi / 180 +end + +function VectorAngle(a, b) + local lengthA = VectorLength(a) + local lengthB = VectorLength(b) + if lengthA < 0.001 or lengthB < 0.001 then + Debug.PrintError("VectorAngle called with vector of length 0") + return 0 + end + if 1.001 < lengthA or 1.001 < lengthB then + Debug.PrintError("VectorAngle called with a non normalized vector") + return 0 + end + local dot = VectorDot(a, b) + dot = Clamp(dot, -1, 1) + local angleInRadians = math.acos(dot) + return ToDegrees(angleInRadians) +end + +function VectorSignedAngle(a, b) + local angleInRadians = VectorAngle(a, b) + local upInitial = { + x = 0, + y = 1, + z = 0 + } + local side = VectorCross(upInitial, a) + local signTest = VectorDot(side, b) + if signTest < 0 then + angleInRadians = angleInRadians * -1 + end + return ToDegrees(angleInRadians) +end + +function VectorCopy(a, b) + a.x = b.x + a.y = b.y + a.z = b.z +end + +function VectorLength(a) + local squared = VectorDot(a, a) + return math.sqrt(squared) +end + +function VectorLengthSquared(a) + return VectorDot(a, a) +end + +function VectorNormalize(a) + local length = VectorLength(a) + if length < 0.001 then + Debug.PrintInfo("VectorNormalize called with vector of length 0") + a = { + x = 1, + y = 0, + z = 0 + } + return 0 + end + local scalar = 1 / length + local b = VectorMultiply(a, scalar) + VectorCopy(a, b) + return length +end + +function GetRollPitchHeading(side, up, forward) + local pitch = math.asin(-forward.y) + local roll = 0 + local heading = 0 + if math.abs(math.abs(pitch) - math.pi * 0.5) < 1.0E-9 then + heading = math.atan2(-side.z, side.x) + else + roll = math.atan2(side.y, up.y) + heading = math.atan2(forward.x, forward.z) + end + local returnRotation = { + r = ToDegrees(roll), + p = ToDegrees(pitch), + h = ToDegrees(heading) + } + return returnRotation +end + +function GetRotationForForward(forward) + local forwardNorm = { + x = forward.x, + y = forward.y, + z = forward.z + } + VectorNormalize(forwardNorm) + local upInitial = { + x = 0, + y = 1, + z = 0 + } + local side = VectorCross(upInitial, forwardNorm) + VectorNormalize(side) + local sideNorm = side + local upNorm = VectorCross(forwardNorm, sideNorm) + local rollPitchHeading = GetRollPitchHeading(sideNorm, upNorm, forwardNorm) + return rollPitchHeading +end + +function GetForwardSideUp(rotation) + local sinR = math.sin(ToRadians(rotation.r)) + local cosR = math.cos(ToRadians(rotation.r)) + local sinP = math.sin(ToRadians(rotation.p)) + local cosP = math.cos(ToRadians(rotation.p)) + local sinH = math.sin(ToRadians(rotation.h)) + local cosH = math.cos(ToRadians(rotation.h)) + local side = { + x = cosH * cosR + sinP * sinH * sinR, + y = cosP * sinR, + z = -cosR * sinH + cosH * sinP * sinR + } + local up = { + x = -cosH * sinR + cosR * sinP * sinH, + y = cosP * cosR, + z = sinH * sinR + cosH * cosR * sinP + } + local forward = { + x = cosP * sinH, + y = -sinP, + z = cosP * cosH + } + return forward, side, up +end + +function DistanceBetweenPositions(posA, posB) + return VectorLength(VectorSubtract(posA, posB)) +end + +function DistanceBetweenPositionsSquared(posA, posB) + return VectorLengthSquared(VectorSubtract(posA, posB)) +end diff --git a/recovered/boot/script/game/MP/COOP/Ghost.lua b/recovered/boot/script/game/MP/COOP/Ghost.lua new file mode 100644 index 0000000..fa35bb6 --- /dev/null +++ b/recovered/boot/script/game/MP/COOP/Ghost.lua @@ -0,0 +1,124 @@ +local Callbacks = GameScript.Callbacks +local Energy = GameScript.Game.Energy +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Camera = Game.Camera +local Graphics = Game.Graphics +local Debug = GameScript.Debug +local _PossessionState = Support.ImportWatchVariable("Possession State", "What possession state we're currently in") +local _PossessionTransform = Support.ImportWatchVariable("Possession Transform", "A watch variable controlling the filter blend to the possessed view.") +local _PossessionTimeRemaining = Support.ImportWatchVariable("Possession Time Remaining", "How much possession time is left") +local _PossessedRiding = Support.ImportWatchVariable("Possessed Riding", "Observes whether we are possessing AND driving a vehicle") +local _GhostEnergy = Support.ImportWatchVariable("Ghost Energy", "Current ghost energy ammount") +local _SuspendEnergy = Support.ImportWatchVariable("Suspend Energy", "Current suspend energy ammount") +local energyAddAmt = Support.ImportFloatVariable("Energy Add Amount", "Amount to add to energy when enemies are hit with vampire attack") +local meleeEnergyAddAmt = Support.ImportFloatVariableWithDefault("Melee Energy Add Amount", "Amount to add to energy when enemies are hit with vampire melee", 0.5) +local _PrevFilterGroup = -1 +local energyIndex = Support.RegisterComponentHandle("Ghost Power Meter") +local suspendEnergyIndex = Support.RegisterComponentHandle("Suspend Energy") +local prevPossessionState = 0 +local scriptObject = Game.GetMyObject() +local playerIndex = Player.GetPlayerIndexByObject(scriptObject) +local lowPossessionThreshold = 0.1666667 +local triggerCameraFilter = false +local possessedRiding = 0 +local glowIndex = Support.RegisterComponentHandle("Glow Rendering Component") +local bDisableGlowRendering = Support.ImportBoolVariable("DisableGlowRendering", "if true this script will not mess with glow rendering.") + +function EnergyChange(text) + if text.text == "GiveEnergy" then + Energy.AdjustEnergyLevel(energyIndex, energyAddAmt) + elseif text.text == "GiveMeleeEnergy" then + Energy.AdjustEnergyLevel(energyIndex, meleeEnergyAddAmt) + elseif text.text == "CancelSuspend" then + Debug.PrintInfo("Got Cancel Suspend Message") + Energy.SetEnergyLevel(suspendEnergyIndex, 0) + end +end + +function GlowDisableTimeout() + if bDisableGlowRendering == false then + Game.EnableComponent(glowIndex, true) + end +end + +function HandlePossessionChange(newPossessionState) + if prevPossessionState == 0 and bDisableGlowRendering == false then + Game.EnableComponent(glowIndex, false) + end + if newPossessionState == 4 then + triggerCameraFilter = false + elseif newPossessionState == 0 then + Callbacks.RegisterForTimer("GlowDisableTimeout", 1, false) + end + prevPossessionState = newPossessionState +end + +function PossessionEnded(msgInfo) + if msgInfo.nType == 2 then + Energy.SetEnergyLevel(energyIndex, 0) + elseif msgInfo.nType == 3 then + Energy.AdjustEnergyLevel(energyIndex, -0.5) + elseif msgInfo.nType == 4 then + Energy.AdjustEnergyLevel(energyIndex, -0.5) + end +end + +function CheckEveryFrame() + local newPossessionState = _PossessionState + if newPossessionState ~= prevPossessionState then + HandlePossessionChange(newPossessionState) + end + if Player.IsLocalPlayer(playerIndex) then + local FettelXform = _PossessionTransform + local filtergroup = Camera.GetFilterGroupForPlayer(playerIndex, 0) + if filtergroup and filtergroup ~= _PrevFilterGroup then + Graphics.SetNamedMaterialScalar(filtergroup, "FettelXform", FettelXform) + _PrevFilterGroup = filtergroup + end + end + local newPossessedRiding = _PossessedRiding + if newPossessedRiding ~= possessedRiding then + possessedRiding = newPossessedRiding + if newPossessionState == 4 and possessedRiding == 0 then + triggerCameraFilter = false + end + end + local energyRemaining = _SuspendEnergy + if newPossessionState == 4 and triggerCameraFilter == false and energyRemaining <= lowPossessionThreshold then + Game.SendTextMessage(scriptObject, "LowPossessionEnergy") + triggerCameraFilter = true + end +end + +function UpdatePossessionState(msg) + _PossessionState = msg.newValue + CheckEveryFrame() +end + +function UpdatePossessionTransform(msg) + _PossessionTransform = msg.newValue + CheckEveryFrame() +end + +function UpdatePossessedRiding(msg) + _PossessedRiding = msg.newValue + CheckEveryFrame() +end + +function UpdateSuspendEnergy(msg) + _SuspendEnergy = msg.newValue + CheckEveryFrame() +end + +function Initialize() + Callbacks.RegisterForWatchVariableChange("Possession State", "UpdatePossessionState") + Callbacks.RegisterForWatchVariableChange("Possession Transform", "UpdatePossessionTransform") + Callbacks.RegisterForWatchVariableChange("Possessed Riding", "UpdatePossessedRiding") + Callbacks.RegisterForWatchVariableChange("Suspend Energy", "UpdateSuspendEnergy") + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, scriptObject, "EnergyChange") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PossessionEndedMessage, scriptObject, "PossessionEnded") +end + +Initialize() diff --git a/recovered/boot/script/game/MP/LastStand.lua b/recovered/boot/script/game/MP/LastStand.lua new file mode 100644 index 0000000..7efd239 --- /dev/null +++ b/recovered/boot/script/game/MP/LastStand.lua @@ -0,0 +1,359 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +local MP = GameScript.Game.MP +local FEAR = GameScript.FEAR +local PlayerIndex = GameScript.PlayerIndex +local ObjectState = GameScript.ObjectState +local scriptObject +local isInvulnerable = false +local isReviving = false +local remoteWaitingForReviveSuccess = false +local sentKillSelf = false +local thisPlayerIndex = PlayerIndex.kNotAGlobalPlayer +local localPlayer = false +local playingCoop = false +local InLastStand = false +local CampaignPartnerInLastStand = false +local CampaignPartnerAvatar +local enabledCorruption = false +local disabledCorruption = false +local corruptionAwaitingAnimTag = false +local nearDeathHitPointIndex = Support.ImportFloatVariable("Near Death HP Priority", "Priority level from the HP Controller Component") +local recoveryHitPointIndex = Support.ImportFloatVariable("Recovery HP Priority", "Priority level from the HP Controller Component") +local recoveryInvulnerablePeriod = Support.ImportFloatVariable("Recovery Invulnerability Period", "Priority level from the HP Controller Component") +local isCampaignGame = Support.ImportBoolVariableWithDefault("Is Campaign Game", "Set this to true if this script should campaign-specific stuff.", true) +local RevivePeriod = Support.ImportFloatVariableWithDefault("Revive Period", "How many seconds revive should take", 3) +local resetLastStandAmmo = Support.ImportBoolVariableWithDefault("Reset Last Stand Ammo?", "Should we reset the ammo for our last stand inventory each time we enter Last Stand?", true) +local manageCorruptionUsable = Support.ImportBoolVariableWithDefault("Manage Corruption Usable", "Is this script responsible for enabling and disabling the Corruption Usable in Soul Survivor", false) +local nearDeathStateChangeIndex = Support.RegisterComponentHandle("Near Death State Change") +local reviveUsableIndex = Support.RegisterComponentHandle("Revive Usable") +local corruptionUsableIndex +local playerTable = {} +playerTable[PlayerIndex.kGlobalPlayer1] = nil +playerTable[PlayerIndex.kGlobalPlayer2] = nil +playerTable[PlayerIndex.kGlobalPlayer3] = nil +playerTable[PlayerIndex.kGlobalPlayer4] = nil +if manageCorruptionUsable then + corruptionUsableIndex = Support.RegisterComponentHandle("Corruption Usable") +end +Support.ExportFloatVariable("InNearDeathState", 0, "Has the player enetered the near death state?") +Support.ExportFloatVariable("PartnerInNearDeathState", 0, "Has the coop partner enetered the near death state?") +Support.ExportFloatVariable("Reviving", 0, "This player is being revived") +Support.ExportFloatVariable("RevivePeriod", 3, "The time needed to revive the player") +Support.ExportFloatVariable("ReviveSuccess", 0, "NET SYNC USE - Local Machine decides that revive succeeded") + +function Initialize() + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerTransferControlMessage, scriptObject, "HandlePlayerTransferControlMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, scriptObject, "HandleObjectStateChangeMsg") + if isCampaignGame then + Callbacks.RegisterForPostCheckpointActivation("LoadChanges") + Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, scriptObject, "LoadChanges") + end + if 0 <= reviveUsableIndex then + Game.EnableComponent(reviveUsableIndex, false) + end + Extern.RevivePeriod = RevivePeriod + InitializePlayers() +end + +function UpdateCoopStatus() + playingCoop = Player.GetNumPlayers() > 1 or not isCampaignGame + Game.EnableHitPointPriority(scriptObject, nearDeathHitPointIndex, playingCoop) + if nearDeathStateChangeIndex ~= nil and 0 <= nearDeathStateChangeIndex then + Game.EnableComponent(nearDeathStateChangeIndex, playingCoop) + end +end + +function InitializePlayers() + thisPlayerIndex = Player.GetPlayerIndexByObject(scriptObject) + localPlayer = Player.IsLocalPlayer(thisPlayerIndex) + local numPlayers = Player.GetNumPlayers() + for playerIndex = PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + InitializePartner(playerIndex) + end + isReviving = false + isInvulnerable = false + remoteWaitingForReviveSuccess = false + Extern.InNearDeathState = 0 + Extern.PartnerInNearDeathState = 0 + Extern.Reviving = 0 + UpdateCoopStatus() +end + +function InitializePartner(playerIndex) + if playerIndex == thisPlayerIndex then + return + end + Debug.PrintInfo("Initialize Partner - this player == " .. tostring(thisPlayerIndex) .. " Partner index == " .. tostring(playerIndex)) + local AvatarObj = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if AvatarObj ~= nil and Game.IsLoaded(AvatarObj) then + if isCampaignGame then + CampaignPartnerInLastStand = false + CampaignPartnerAvatar = AvatarObj + else + playerTable[playerIndex] = AvatarObj + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, AvatarObj, "HandlePartnerObjectStateChangeMsg") + if isCampaignGame then + Callbacks.RegisterForMsg(GameScript.MsgCallback.DoDyingMessage, AvatarObj, "HandlePartnerDoDyingMessage") + Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, AvatarObj, "HandlePartnerKillObjectMessage") + end + end +end + +function HandlePlayerTransferControlMsg(msgData) + if isCampaignGame and CampaignPartnerAvatar ~= nil then + return + end + if not isCampaignGame then + if msgData.globalPlayerIndex == PlayerIndex.kNotAGlobalPlayer then + return + elseif playerTable[msgData.globalPlayerIndex] ~= nil then + return + elseif MP.GetTeamForPlayer(thisPlayerIndex) ~= MP.GetTeamForPlayer(msgData.globalPlayerIndex) then + return + elseif Game.ObjectTags.DoesObjectHaveTag(msgData.currentPlayerAvatarObject, "Ragdoll") then + return + end + end + InitializePartner(msgData.globalPlayerIndex) + UpdateCoopStatus() +end + +function LoadChanges() + Debug.PrintInfo("LastStand - LoadChanges") + if 0 <= reviveUsableIndex then + Game.EnableComponent(reviveUsableIndex, false) + end + Callbacks.UnregisterAllMsgCallbacks() + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerTransferControlMessage, scriptObject, "HandlePlayerTransferControlMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, scriptObject, "HandleObjectStateChangeMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, scriptObject, "LoadChanges") + CampaignPartnerAvatar = nil + InitializePlayers() +end + +function HandleObjectStateChangeMsg(msgTable) + if not playingCoop or thisPlayerIndex == PlayerIndex.kNotAGlobalPlayer then + return + end + local newInNearDeath = msgTable.newState == ObjectState.NearDeath + if newInNearDeath ~= InLastStand then + Debug.PrintInfo("LastStand - HandleObjectStateChangeMsg with NearDeath state == " .. tostring(newInNearDeath)) + InLastStand = newInNearDeath + if 0 <= reviveUsableIndex then + Game.EnableComponent(reviveUsableIndex, newInNearDeath) + end + if corruptionUsableIndex ~= nil then + if newInNearDeath then + Callbacks.RegisterForMsg(GameScript.MsgCallback.LabelStateAnimationTag, scriptObject, "OnDownedAnimationComplete") + corruptionAwaitingAnimTag = true + else + Game.EnableComponent(corruptionUsableIndex, false) + end + end + if localPlayer then + if newInNearDeath then + if isCampaignGame and CampaignPartnerInLastStand then + KillSelf() + else + if resetLastStandAmmo then + ResetLastStandWeaponAmmo() + end + Game.Heal(scriptObject, "NearDeathHealth", 1, true) + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, scriptObject, "HandleUsablesStartUsingMsg") + end + else + Game.Heal(scriptObject, "Health", 1, true) + Game.Heal(scriptObject, "NearDeathHealth", 1, true) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, scriptObject, "HandleUsablesStartUsingMsg") + end + Extern.ReviveSuccess = 0 + local fwdVec = MP.GetNetworkLookRotForward(scriptObject) + local horizLen = math.sqrt(fwdVec.x * fwdVec.x + fwdVec.z * fwdVec.z) + if 0 < horizLen then + fwdVec.x = fwdVec.x / horizLen + fwdVec.y = 0 + fwdVec.z = fwdVec.z / horizLen + local heading = math.acos(fwdVec.x) + local newEuler = { + r = 0, + p = 0, + h = heading + } + Game.SetLookDirection(scriptObject, newEuler) + end + elseif newInNearDeath then + remoteWaitingForReviveSuccess = true + Callbacks.RegisterForScriptValueUpdated("RemoteReviveCheck") + else + remoteWaitingForReviveSuccess = false + Callbacks.UnregisterForScriptValueUpdated() + end + if newInNearDeath then + if not isCampaignGame and MP.NumPlayersNotDown() ~= 0 then + local announcementID = FEAR.CreateAnnoucementPacket(thisPlayerIndex, GameScript.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Player Is Down") + FEAR.AddStringValueToAnnouncementPacket(announcementID, MP.GetPlayerName(thisPlayerIndex)) + FEAR.SetAnnoucementPacketPriority(announcementID, GameScript.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + end + Extern.InNearDeathState = 1 + Game.SetAnimationVariable(scriptObject, "State_Revive", 0) + else + if not isCampaignGame then + local announcementID = FEAR.CreateAnnoucementPacket(thisPlayerIndex, GameScript.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Player Revived") + FEAR.AddStringValueToAnnouncementPacket(announcementID, MP.GetPlayerName(thisPlayerIndex)) + FEAR.SetAnnoucementPacketPriority(announcementID, GameScript.AnnouncementDisplayPriority.kDisplayPriorityHigh) + FEAR.BroadcastAnnoucementPacket(announcementID) + Game.SendTextMessage(scriptObject, "SFX_Revived") + end + Extern.InNearDeathState = 0 + if not MP.IsClient() then + Game.SetHitPointPriorityInvulnerable(scriptObject, recoveryHitPointIndex, true) + isInvulnerable = true + Callbacks.RegisterForTimer("InvulnerableTimeout", recoveryInvulnerablePeriod, false) + end + end + end +end + +function OnDownedAnimationComplete(TagInfo) + if TagInfo.label == "Show Last Stand Pistol" then + corruptionAwaitingAnimTag = false + Callbacks.UnregisterForMsg(GameScript.MsgCallback.LabelStateAnimationTag, TagInfo.object, "OnDownedAnimationComplete") + Game.EnableComponent(corruptionUsableIndex, true) + end +end + +function HandlePartnerObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == ObjectState.NearDeath + if isCampaignGame then + if newInNearDeath ~= CampaignPartnerInLastStand then + Debug.PrintInfo("Partner LastStand - HandlePartnerObjectStateChangeMsg with NearDeath state == " .. tostring(newInNearDeath)) + CampaignPartnerInLastStand = newInNearDeath + if newInNearDeath then + if InLastStand and localPlayer then + KillSelf() + end + Extern.PartnerInNearDeathState = 1 + else + Extern.PartnerInNearDeathState = 0 + end + end + elseif newInNearDeath then + Extern.PartnerInNearDeathState = 1 + else + Extern.PartnerInNearDeathState = 0 + local numPlayers = Player.GetNumPlayers() + for index = PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if index ~= thisPlayerIndex and Player.IsPlayerInState(index, ObjectState.NearDeath) then + Extern.PartnerInNearDeathState = 1 + break + end + end + end +end + +function HandlePartnerDoDyingMessage() + if localPlayer then + KillSelf() + end +end + +function HandlePartnerKillObjectMessage() + if localPlayer then + KillSelf() + end +end + +function InvulnerableTimeout() + isInvulnerable = false + Game.SetHitPointPriorityInvulnerable(scriptObject, recoveryHitPointIndex, false) +end + +function KillSelf() + if not sentKillSelf then + sentKillSelf = true + Game.Kill(scriptObject, GameScript.KillObjectMessageType.DoDying) + Debug.PrintInfo("Killing Player " .. tostring(thisPlayerIndex)) + end +end + +function HandleUsablesStartUsingMsg(message) + local userObject = Player.GetPlayerObjectByIndex(message.userPlayerIndex) + if (isCampaignGame or not Game.AreEnemies(scriptObject, userObject)) and isReviving == false then + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Debug.PrintInfo("Reviving with revive period: " .. tostring(Extern.RevivePeriod)) + Callbacks.RegisterForGlobalTimer("ReviveTimeout", Extern.RevivePeriod, false) + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, false) + end + isReviving = true + Extern.Reviving = 1 + else + end +end + +function HandleUsablesStopUsingMsg() + if isReviving then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Callbacks.UnregisterForTimer("ReviveTimeout") + isReviving = false + Extern.Reviving = 0 + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, true) + end + end +end + +function ReviveTimeout() + if isReviving then + Debug.PrintInfo("LastStand - Sending ReviveSuccess") + Game.SendTextMessage(scriptObject, "ReviveSuccess") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + isReviving = false + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, false) + end + Extern.Reviving = 0 + Extern.ReviveSuccess = 1 + end +end + +function RemoteReviveCheck() + if remoteWaitingForReviveSuccess and Extern.ReviveSuccess == 1 then + remoteWaitingForReviveSuccess = false + Debug.PrintInfo("LastStand - Sending ReviveSuccess from remote sync") + Game.SendTextMessage(scriptObject, "ReviveSuccess") + end + if manageCorruptionUsable == true then + if disabledCorruption == false and Extern.Reviving == 1 then + disabledCorruption = true + enabledCorruption = false + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, false) + end + end + if enabledCorruption == false and Extern.Reviving == 0 and not corruptionAwaitingAnimTag then + enabledCorruption = true + disabledCorruption = false + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, true) + end + end + end +end + +function ResetLastStandWeaponAmmo() + local nearDeathInv = Game.GetInventoryItemsByTypeAndName(scriptObject, 1, "Near Death Inventory List") + for k, weapon in pairs(nearDeathInv) do + Game.SetCurrentTotalAmmoPercent(weapon, 1) + end +end + +scriptObject = Game.GetMyObject() +Initialize() diff --git a/recovered/boot/script/game/MP/LastStandManager.lua b/recovered/boot/script/game/MP/LastStandManager.lua new file mode 100644 index 0000000..15e70ab --- /dev/null +++ b/recovered/boot/script/game/MP/LastStandManager.lua @@ -0,0 +1,228 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local MP = GameScript.Game.MP +local PlayerIndex = GameScript.PlayerIndex +local Debug = GameScript.Debug +local PlayerInfoTable = {} +Support.ExportFloatVariable("NearDeathP1", 0, "Has this player entered the near death state?") +Support.ExportFloatVariable("NearDeathP2", 0, "Has this player entered the near death state?") +Support.ExportFloatVariable("NearDeathP3", 0, "Has this player entered the near death state?") +Support.ExportFloatVariable("NearDeathP4", 0, "Has this player entered the near death state?") +local CheckStatusTimerOn = false + +function Initialize() + local scriptObject = Game.GetMyObject() + for playerIndex = PlayerIndex.kGlobalPlayer1, PlayerIndex.kGlobalPlayer4 do + local PlayerInfo = {} + PlayerInfo.NearDeathStatus = false + PlayerInfo.AvatarObject = nil + PlayerInfo.Dead = false + PlayerInfoTable[playerIndex + 1] = PlayerInfo + end + if MP.IsRemoteScript() then + Debug.PrintInfo("Registering for LastStandStatusChange") + Callbacks.RegisterForScriptValueUpdated("LastStandStatusChange") + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerRegistrationMessage, scriptObject, "HandlePlayerRegistrationMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerTransferControlMessage, scriptObject, "HandlePlayerTransferControlMsg") + InitializePlayers() +end + +function InitializePlayers() + for playerIndex = PlayerIndex.kGlobalPlayer1, PlayerIndex.kGlobalPlayer4 do + InitializePlayer(playerIndex) + end +end + +function InitializePlayer(playerIndex) + local tableIndex = playerIndex + 1 + local AvatarObject = Player.GetPlayerAvatarObjectByIndex(playerIndex) + local OldAvatarObject = PlayerInfoTable[tableIndex].AvatarObject + Debug.PrintInfo("LastStandManager - Initialize Player " .. tostring(tableIndex)) + if AvatarObject ~= OldAvatarObject then + local newAvatarFound = AvatarObject and Game.IsLoaded(AvatarObject) + if newAvatarFound and Game.ObjectTags.DoesObjectHaveTag(AvatarObject, "Ragdoll") then + PlayerInfoTable[tableIndex].Dead = true + PlayerInfoTable[tableIndex].NearDeathStatus = false + UpdateExterns(playerIndex) + Debug.PrintInfo("LastStandManager - Player " .. tostring(tableIndex) .. " is a ragdoll and is now considered dead") + return + end + if not MP.IsRemoteScript() then + if OldAvatarObject and Game.IsLoaded(OldAvatarObject) then + Debug.PrintInfo("LastStandManager - Unregistering for HitPointDepletedMessage on player " .. tostring(tableIndex)) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.HitPointDepletedMessage, OldAvatarObject, "HandleHitPointDepletedMsg") + end + if newAvatarFound then + Debug.PrintInfo("LastStandManager - Registering for HitPointDepletedMessage on player " .. tostring(tableIndex)) + Callbacks.RegisterForMsg(GameScript.MsgCallback.HitPointDepletedMessage, AvatarObject, "HandleHitPointDepletedMsg") + else + Debug.PrintInfo("LastStandManager - Unable to find avatar for player " .. tostring(tableIndex)) + end + end + if newAvatarFound then + PlayerInfoTable[tableIndex].AvatarObject = AvatarObject + else + PlayerInfoTable[tableIndex].AvatarObject = nil + end + PlayerInfoTable[tableIndex].NearDeathStatus = false + PlayerInfoTable[tableIndex].Dead = false + UpdateExterns(playerIndex) + end +end + +function HandlePlayerRegistrationMsg(msgData) + InitializePlayer(msgData.playerIndex) +end + +function HandlePlayerTransferControlMsg(msgData) + InitializePlayer(msgData.globalPlayerIndex) +end + +function HandleCheckpointActivation() + Callbacks.UnregisterAllMsgCallbacks() + Extern.NearDeathP1 = 0 + Extern.NearDeathP2 = 0 + Extern.NearDeathP3 = 0 + Extern.NearDeathP4 = 0 + Initialize() +end + +function HandleHitPointDepletedMsg(msgData) + if msgData.strComponentName ~= "Primary Hit Points" then + return + end + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex >= PlayerIndex.kGlobalPlayer1 and playerIndex <= PlayerIndex.kGlobalPlayer4 then + local tableIndex = playerIndex + 1 + Debug.PrintInfo("LastStandManager - Received HitPointDepletedMsg for player " .. tostring(tableIndex)) + if PlayerInfoTable[tableIndex].NearDeathStatus then + Debug.PrintInfo("LastStandManager - Player " .. tostring(tableIndex) .. " was already in Last Stand") + return + end + PlayerInfoTable[tableIndex].NearDeathStatus = true + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, PlayerInfoTable[tableIndex].AvatarObject, "HandleTextMessage") + SendLastStandTransitionMessage(playerIndex) + UpdateExterns(playerIndex) + end +end + +function HandleTextMessage(msgData) + if msgData.text ~= "ReviveSuccess" then + return + end + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex >= PlayerIndex.kGlobalPlayer1 and playerIndex <= PlayerIndex.kGlobalPlayer4 then + local tableIndex = playerIndex + 1 + Debug.PrintInfo("LastStandManager - Received ReviveSuccess for player " .. tostring(tableIndex)) + if not PlayerInfoTable[tableIndex].NearDeathStatus then + Debug.PrintInfo("LastStandManager - Player " .. tostring(tableIndex) .. " was not in Last Stand") + return + end + PlayerInfoTable[tableIndex].NearDeathStatus = false + Callbacks.UnregisterForMsg(GameScript.MsgCallback.TextMessage, PlayerInfoTable[tableIndex].AvatarObject, "HandleTextMessage") + SendLastStandTransitionMessage(playerIndex) + UpdateExterns(playerIndex) + end +end + +function UpdateExterns(playerIndex) + local NewValue = 0 + local tableIndex = playerIndex + 1 + if PlayerInfoTable[tableIndex].NearDeathStatus then + NewValue = 1 + end + Debug.PrintInfo("Updating Externs for player " .. tostring(tableIndex)) + if playerIndex == PlayerIndex.kGlobalPlayer1 then + Debug.PrintInfo("Was: " .. tostring(Extern.NearDeathP1) .. " Changing to: " .. tostring(NewValue)) + Extern.NearDeathP1 = NewValue + elseif playerIndex == PlayerIndex.kGlobalPlayer2 then + Debug.PrintInfo("Was: " .. tostring(Extern.NearDeathP2) .. " Changing to: " .. tostring(NewValue)) + Extern.NearDeathP2 = NewValue + elseif playerIndex == PlayerIndex.kGlobalPlayer3 then + Debug.PrintInfo("Was: " .. tostring(Extern.NearDeathP3) .. " Changing to: " .. tostring(NewValue)) + Extern.NearDeathP3 = NewValue + elseif playerIndex == PlayerIndex.kGlobalPlayer4 then + Debug.PrintInfo("Was: " .. tostring(Extern.NearDeathP4) .. " Changing to: " .. tostring(NewValue)) + Extern.NearDeathP4 = NewValue + end +end + +function LastStandStatusChange() + Debug.PrintInfo("LastStandManager - LastStandStatusChange") + Debug.PrintInfo("Player 1 status: " .. tostring(PlayerInfoTable[1].NearDeathStatus) .. " Extern: " .. tostring(Extern.NearDeathP1)) + if PlayerInfoTable[1].NearDeathStatus ~= (Extern.NearDeathP1 == 1) then + if PlayerInfoTable[1].Dead then + Debug.PrintInfo("Player 1 status change rejected due to death") + else + PlayerInfoTable[1].NearDeathStatus = not PlayerInfoTable[1].NearDeathStatus + SendLastStandTransitionMessage(PlayerIndex.kGlobalPlayer1) + end + end + Debug.PrintInfo("Player 2 status: " .. tostring(PlayerInfoTable[2].NearDeathStatus) .. " Extern: " .. tostring(Extern.NearDeathP2)) + if PlayerInfoTable[2].NearDeathStatus ~= (Extern.NearDeathP2 == 1) then + if PlayerInfoTable[2].Dead then + Debug.PrintInfo("Player 2 status change rejected due to death") + else + PlayerInfoTable[2].NearDeathStatus = not PlayerInfoTable[2].NearDeathStatus + SendLastStandTransitionMessage(PlayerIndex.kGlobalPlayer2) + end + end + Debug.PrintInfo("Player 3 status: " .. tostring(PlayerInfoTable[3].NearDeathStatus) .. " Extern: " .. tostring(Extern.NearDeathP3)) + if PlayerInfoTable[3].NearDeathStatus ~= (Extern.NearDeathP3 == 1) then + if PlayerInfoTable[3].Dead then + Debug.PrintInfo("Player 3 status change rejected due to death") + else + PlayerInfoTable[3].NearDeathStatus = not PlayerInfoTable[3].NearDeathStatus + SendLastStandTransitionMessage(PlayerIndex.kGlobalPlayer3) + end + end + Debug.PrintInfo("Player 4 status: " .. tostring(PlayerInfoTable[4].NearDeathStatus) .. " Extern: " .. tostring(Extern.NearDeathP4)) + if PlayerInfoTable[4].NearDeathStatus ~= (Extern.NearDeathP4 == 1) then + if PlayerInfoTable[4].Dead then + Debug.PrintInfo("Player 4 status change rejected due to death") + else + PlayerInfoTable[4].NearDeathStatus = not PlayerInfoTable[4].NearDeathStatus + SendLastStandTransitionMessage(PlayerIndex.kGlobalPlayer4) + end + end +end + +function SendLastStandTransitionMessage(playerIndex) + local tableIndex = playerIndex + 1 + Debug.PrintInfo("LastStandManager - SendLastStandTransitionMessage for player " .. tostring(tableIndex)) + if PlayerInfoTable[tableIndex].AvatarObject and Game.IsLoaded(PlayerInfoTable[tableIndex].AvatarObject) then + local textValue = "" + if PlayerInfoTable[tableIndex].NearDeathStatus then + textValue = "LastStandBegin" + else + textValue = "LastStandEnd" + end + Debug.PrintInfo("LastStandManager - sending " .. textValue .. " for player " .. tostring(tableIndex)) + Game.SendTextMessage(PlayerInfoTable[tableIndex].AvatarObject, textValue) + if CheckStatusTimerOn then + Callbacks.UnregisterForTimer("CheckObjectStatuses") + end + Callbacks.RegisterForTimer("CheckObjectStatuses", 2, false) + CheckStatusTimerOn = true + end +end + +function CheckObjectStatuses() + for playerIndex = PlayerIndex.kGlobalPlayer1, PlayerIndex.kGlobalPlayer4 do + local avatarObj = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if avatarObj and Game.IsLoaded(avatarObj) then + local tableIndex = playerIndex + 1 + local expectedStatus = PlayerInfoTable[tableIndex].NearDeathStatus + if Player.IsPlayerInState(playerIndex, GameScript.ObjectState.NearDeath) ~= expectedStatus then + Debug.VerifyOnce("@jcriz: Player " .. tostring(tableIndex) .. " failed to be in the correct last stand state. Expected " .. tostring(expectedStatus)) + end + end + end + CheckStatusTimerOn = false +end + +Callbacks.RegisterForPostCheckpointActivation("HandleCheckpointActivation") +Initialize() diff --git a/recovered/boot/script/game/MP/Rifts/ContractionsScoring.lua b/recovered/boot/script/game/MP/Rifts/ContractionsScoring.lua new file mode 100644 index 0000000..d080b53 --- /dev/null +++ b/recovered/boot/script/game/MP/Rifts/ContractionsScoring.lua @@ -0,0 +1,288 @@ +local Game = GameScript.Game +local Player = Game.Player +local MP = Game.MP +local Death = Game.Death +local ObjectTags = Game.ObjectTags +local Score = GameScript.FEARScore +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local FEAR = GameScript.FEAR +local Utilities = GameScript.Utilities +local debugPrintEnabled = Support.ImportBoolVariableWithDefault("Debug Print", "Prints score awards to screen", false) +local newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +local beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local barrierRepairedMsgId = Support.ImportStaticTextVariableWithDefault("MissionEvent: Barrier Repaired Message", "", 153154) +local ShowSummaryText = Support.ImportStaticTextVariableWithDefault("MissionEvent: Show Summary", "", 144001) +local HideSummaryText = Support.ImportStaticTextVariableWithDefault("MissionEvent: Hide Summary", "", 144002) +local SinglePlayerModifier = Support.ImportFloatVariableWithDefault("Single Player Score Modifier", "Must be between 0 and 1.0", 0.1) +local SinglePlayerMinimumPoints = Support.ImportFloatVariableWithDefault("Single Player Minimum Points", "Minimum modified points", 10) +local WaveBonusValue = Support.ImportFloatVariableWithDefault("Wave Bonus Value", "Team points awarded for the completion of each wave", 1000) +local InvincibleBonusValue = Support.ImportFloatVariableWithDefault("Invincible Bonus Value", "Team points awarded for avoiding last stand during a wave", 500) +local ReviveBonusValue = Support.ImportFloatVariableWithDefault("Revive Bonus Value", "Points awarded for reviving a player", 20) +local BarricadeBonusValue = Support.ImportFloatVariableWithDefault("Barricade Bonus Value", "Points awarded for repairing a barricade", 50) +local CrateBonusValue = Support.ImportFloatVariableWithDefault("Crate Bonus Value", "Points awarded for returning a crate", 200) +local KillsBonusValue = Support.ImportFloatVariableWithDefault("Kills Bonus Value", "Points awarded for killing an enemy", 100) +local myObject = Game.GetMyObject() +local globalPlayer1 = GameScript.PlayerIndex.kGlobalPlayer1 +local globalPlayer4 = GameScript.PlayerIndex.kGlobalPlayer4 +local maxPlayers = GameScript.PlayerIndex.kMaxGlobalPlayers +local notAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local usableMsg = GameScript.MsgCallback.UsablesStartUsingMessage +local objectStateChangeMsg = GameScript.MsgCallback.ObjectStateChangeMessage +local missionEventMsg = GameScript.MsgCallback.MissionEventMessage +local nearDeathState = GameScript.ObjectState.NearDeath +local carryingCrateState = GameScript.ObjectState.ShieldsActivated +local ContractionsRevive = GameScript.MissionScoreCategory.ContractionsRevive +local ContractionsKills = GameScript.MissionScoreCategory.ContractionsKills +local ContractionsBarricadeRepair = GameScript.MissionScoreCategory.ContractionsBarricadeRepair +local ContractionsCrates = GameScript.MissionScoreCategory.ContractionsCrates +local ContractionsWaves = GameScript.MissionScoreCategory.ContractionsWaves +local ContractionsInvincible = GameScript.MissionScoreCategory.ContractionsInvincible +local playerAvatars = {} +local playerAvatarNames = {} +local revivingPlayer = {} +local nearDeathPlayers = {} +local waveIsActive = false +local wavesSurvived = 0 +local wavesInvincible = 0 +local wavePlayersDowned = 0 +local msgBonusWaveValue = 0 +local msgBonusInvincibleValue = 0 + +function DebugPrintIfEnabled(message) + if debugPrintEnabled then + Debug.PrintToOutputAndScreenWithTimer("SCORE: " .. message, 5, Utilities.kYellow) + end +end + +function ModifyScoreSinglePlayer(value) + value = value * SinglePlayerModifier + if value < SinglePlayerMinimumPoints then + value = SinglePlayerMinimumPoints + end + return math.floor(value) +end + +function PlayerTransferredControl(info) + local index = info.globalPlayerIndex + local newAvatar = info.currentPlayerAvatarObject + local oldAvatar = info.previousPlayerAvatarObject + local newAvatarName, oldAvatarName + local oldAvatarWasMech = false + local newAvatarIsMech = false + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) then + oldAvatarName = Game.GetName(oldAvatar) + end + if oldAvatar ~= nil and Game.IsLoaded(oldAvatar) and (oldAvatar == playerAvatars[index] or oldAvatarName == playerAvatarNames[index]) then + UnregisterForMessages(oldAvatar) + oldAvatarWasMech = ObjectTags.DoesObjectHaveTag(oldAvatar, "Power Armor") + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) then + newAvatarName = Game.GetName(newAvatar) + end + if newAvatar ~= nil and Game.IsLoaded(newAvatar) and newAvatar ~= playerAvatars[index] and newAvatarName ~= playerAvatarNames[index] then + RegisterForMessages(newAvatar) + newAvatarIsMech = ObjectTags.DoesObjectHaveTag(newAvatar, "Power Armor") + end + playerAvatars[index] = newAvatar + playerAvatarNames[index] = newAvatarName +end + +function PlayerStateChanged(info) + local avatar = info.object + if avatar == nil then + return + end + local index = Player.GetPlayerIndexByObject(avatar) + if index == notAPlayer then + return + end + local oldState = info.oldState + local newState = info.newState + if oldState ~= nearDeathState and newState == nearDeathState then + nearDeathPlayers[index] = true + wavesInvincible = 0 + wavePlayersDowned = wavePlayersDowned + 1 + elseif oldState == nearDeathState and newState ~= nearDeathState then + if not MP.IsClient() then + local reviverIndex = revivingPlayer[index] + if reviverIndex == nil then + Debug.PrintWarning("There was no reviving player for player " .. index .. "!") + else + DebugPrintIfEnabled("player " .. reviverIndex + 1 .. " revived a teammate") + Score.AwardMissionPointOccurences(reviverIndex, ContractionsRevive, 1) + Score.AwardMissionPoints(reviverIndex, ContractionsRevive, ReviveBonusValue) + end + revivingPlayer[index] = nil + nearDeathPlayers[index] = nil + end + elseif oldState == carryingCrateState and newState ~= carryingCrateState and not MP.IsClient() then + DebugPrintIfEnabled("player " .. index + 1 .. " collected a crate") + Score.AwardMissionPointOccurences(index, ContractionsCrates, 1) + crateBonus = CrateBonusValue + if MP.GetNumberOfActivePlayers() == 1 then + crateBonus = ModifyScoreSinglePlayer(crateBonus) + end + Score.AwardMissionPoints(index, ContractionsCrates, crateBonus) + end +end + +function PlayerWasUsed(info) + if MP.IsClient() then + return + end + local avatarUsed = info.usedObject + if avatarUsed == nil then + return + end + local usedPlayerIndex = Player.GetPlayerIndexByObject(avatarUsed) + if usedPlayerIndex == notAPlayer then + return + end + local userPlayerIndex = info.userPlayerIndex + if userPlayerIndex == notAPlayer then + return + end + if userPlayerIndex == usedPlayerIndex then + return + end + revivingPlayer[usedPlayerIndex] = userPlayerIndex +end + +function OnDeath(info) + local killerIndex = info.killerPlayerIndex + local killedObject = info.killedObject + if killerIndex == notAPlayer then + return + end + if killedObject == nil or not Game.IsLoaded(killedObject) then + return + end + DebugPrintIfEnabled("player " .. killerIndex + 1 .. " killed an enemy") + Score.AwardMissionPointOccurences(killerIndex, ContractionsKills, 1) + killBonus = KillsBonusValue + if MP.GetNumberOfActivePlayers() == 1 then + killBonus = ModifyScoreSinglePlayer(killBonus) + end + Score.AwardMissionPoints(killerIndex, ContractionsKills, killBonus) +end + +function OnMissionEventMessage(msg) + if msg.textID == newWaveMsgId then + waveIsActive = true + wavesInvincible = wavesInvincible + 1 + Score.CalculateMissionScore() + Score.ResetRoundPoints() + elseif msg.textID == beginRestPeriodMsgId and waveIsActive then + wavesSurvived = wavesSurvived + 1 + local waveBonus = WaveBonusValue + local invincibleBonus = InvincibleBonusValue + if MP.GetNumberOfActivePlayers() == 1 then + waveBonus = ModifyScoreSinglePlayer(WaveBonusValue) + invincibleBonus = ModifyScoreSinglePlayer(InvincibleBonusValue) + end + DebugPrintIfEnabled("team completed a wave") + if 0 < wavesInvincible then + local invincibleWavePointTable = { + 1, + 1, + 1, + 2, + 2, + 2, + 3, + 3, + 3, + 4, + 4, + 4, + 5, + 5, + 5, + 6, + 6, + 6, + 7, + 7, + 7 + } + invincibleBonus = invincibleBonus * invincibleWavePointTable[wavesInvincible] + else + invincibleBonus = 0 + end + if not MP.IsClient() then + for curPlayer = globalPlayer1, globalPlayer4 do + if Player.IsActivePlayer(curPlayer) then + if 0 < waveBonus then + Score.AwardMissionPointOccurences(curPlayer, ContractionsWaves, 1) + Score.AwardMissionPoints(curPlayer, ContractionsWaves, waveBonus) + end + if 0 < invincibleBonus then + Score.AwardMissionPointOccurences(curPlayer, ContractionsInvincible, 1) + Score.AwardMissionPoints(curPlayer, ContractionsInvincible, invincibleBonus) + end + end + end + if wavePlayersDowned == 0 and Game.GetDifficulty() == 4 then + for key, index in pairs(GameScript.PlayerIndex) do + if Player.IsActivePlayer(index) then + Game.AwardAchievementOccurrence(index, GameScript.Achievements.Hard_Wave_No_LS_Contractions) + end + end + end + end + msgBonusWaveValue = waveBonus * Score.GetScoreMultiplier() + msgBonusInvincibleValue = invincibleBonus * Score.GetScoreMultiplier() + Callbacks.RegisterForTimer("DisplayBonusMessages", 1, false) + waveIsActive = false + wavePlayersDowned = 0 + end +end + +function ShowSummaryTextDisplay() + Game.BroadcastMissionEventMessage(__nullobject, ShowSummaryText) + Callbacks.RegisterForTimer("HideSummaryTextDisplay", 3, false) +end + +function HideSummaryTextDisplay() + Game.BroadcastMissionEventMessage(__nullobject, HideSummaryText) +end + +function DisplayBonusMessages() + local announcementID = FEAR.CreateAnnoucementPacket(globalPlayer1, GameScript.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Wave Score") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, msgBonusWaveValue) + FEAR.SetAnnoucementPacketPriority(announcementID, GameScript.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(globalPlayer1, GameScript.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Survival Bonus") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, msgBonusInvincibleValue) + FEAR.SetAnnoucementPacketPriority(announcementID, GameScript.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + msgBonusWaveValue = 0 + msgBonusInvincibleValue = 0 + Callbacks.RegisterForTimer("ShowSummaryTextDisplay", 3, false) +end + +function RegisterForMessages(avatar) + Callbacks.RegisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.RegisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") +end + +function UnregisterForMessages(avatar) + Callbacks.UnregisterForMsg(usableMsg, avatar, "PlayerWasUsed") + Callbacks.UnregisterForMsg(objectStateChangeMsg, avatar, "PlayerStateChanged") +end + +Callbacks.RegisterForMsg(missionEventMsg, myObject, "OnMissionEventMessage") +Callbacks.RegisterForMsg(playerTransferMsg, myObject, "PlayerTransferredControl") +Score.RegisterForDeath("OnDeath") +for index = globalPlayer1, maxPlayers do + local currentAvatar = Player.GetPlayerControlledObjectByIndex(index) + if currentAvatar ~= nil then + local currentName = Game.GetName(currentAvatar) + playerAvatars[index] = currentAvatar + playerAvatarNames[index] = currentName + RegisterForMessages(currentAvatar) + end +end diff --git a/recovered/boot/script/game/Object/Kill/WaitXSecondsKillObjects.lua b/recovered/boot/script/game/Object/Kill/WaitXSecondsKillObjects.lua new file mode 100644 index 0000000..4a3a0eb --- /dev/null +++ b/recovered/boot/script/game/Object/Kill/WaitXSecondsKillObjects.lua @@ -0,0 +1,16 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local timeTillKill = Support.ImportFloatVariable("Kill Timer", "How long before we kill the specified object(s)") +local killType = Support.ImportFloatVariable("Kill Type", "What type of kill message should be sent to the object(s)?" .. "0 = Delete (Instant), 1 = Kill (Effects), 2 = Kill Intro (Recommended)") +Support.ImportObjectHandleVariable("Object(s) To Kill", "The object(s) to be killed") +local IsPeriodic = Support.ImportBoolVariableWithDefault("Periodic", "Repeat the call every 'TimeInSeconds' seconds.", true) + +function KillObjects() + local objsToKill = Support.GetImportObjectTable("Object(s) To Kill") + for k, v in pairs(objsToKill) do + Game.Kill(v, killType) + end +end + +Callbacks.RegisterForTimer("KillObjects", timeTillKill, IsPeriodic) diff --git a/recovered/boot/script/game/Object/sendtext/timersendtext.lua b/recovered/boot/script/game/Object/sendtext/timersendtext.lua new file mode 100644 index 0000000..b30ce17 --- /dev/null +++ b/recovered/boot/script/game/Object/sendtext/timersendtext.lua @@ -0,0 +1,22 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +Support.ImportObjectHandleVariable("Object(s)", "The object(s) to send text message to.") +local text = Support.ImportStringVariable("Text Message", "Text Message to send to object(s) when entering region") +local timer = Support.ImportFloatVariable("Timer", "Time to wait until sending text message") + +function SendText() + GameScript.Debug.PrintInfoIf(g_debugMode > 0, "SendMessage:" .. text) + local set = Support.GetImportObjectTable("Object(s)") + if set then + for name, object in pairs(set) do + Game.SendTextMessage(object, text) + end + end +end + +if timer == 0 then + SendText() +else + Callbacks.RegisterForTimer("SendText", timer, false) +end diff --git a/recovered/boot/script/game/Player/BlackOut.lua b/recovered/boot/script/game/Player/BlackOut.lua new file mode 100644 index 0000000..9839c2f --- /dev/null +++ b/recovered/boot/script/game/Player/BlackOut.lua @@ -0,0 +1,21 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local scriptObject = Game.GetMyObject() +local kBlackoutOff = 0 +local kBlackoutOn = 100 +Support.ExportFloatVariable("BlackoutSetting", kBlackoutOff, "Controls showing or hiding the full screen blackout HUD component") +local DefaultOn = Support.ImportBoolVariableWithDefault("Start On", "Should the blackout default to starting in the on state?", false) + +function HandleTextMessage(textMessage) + if textMessage.text == "HUDFadeToBlack" then + Extern.BlackoutSetting = kBlackoutOn + elseif textMessage.text == "HUDFadeFromBlack" then + Extern.BlackoutSetting = kBlackoutOff + end +end + +if DefaultOn then + Extern.BlackoutSetting = kBlackoutOn +end +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, scriptObject, "HandleTextMessage") diff --git a/recovered/boot/script/game/Player/FettelParticleDisable.lua b/recovered/boot/script/game/Player/FettelParticleDisable.lua new file mode 100644 index 0000000..a31d432 --- /dev/null +++ b/recovered/boot/script/game/Player/FettelParticleDisable.lua @@ -0,0 +1,55 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local scriptObject = Game.GetMyObject() +local MovementInput = Support.ImportWatchVariable("Movement Input", "Input value that drives whether certain particles should turn off at high speeds") +local DisableThreshold = Support.ImportFloatVariableWithDefault("Disable Threshold", "How high of a Movement Input will trigger a disable", 0.7) +local ReenableThreshold = Support.ImportFloatVariableWithDefault("Re-enable Threshold", "How low of a Movement Input will trigger the re-enable ", 0.6) +local TetherDelay = Support.ImportFloatVariableWithDefault("Tether Re-enable Delay", "How long getting tethered should shut off particles", 0.1) +local MovementDisabled = false +local TetherDisabled = false +local OverallDisabled = false + +function UpdateMovementInput(msg) + MovementInput = msg.newValue + if MovementDisabled then + if MovementInput <= ReenableThreshold then + Debug.PrintInfo("Setting MovementDisabled to false with MovementInput == " .. tostring(MovementInput) .. " and ReenableThreshold == " .. tostring(ReenableThreshold)) + MovementDisabled = false + CheckDisableStatus() + end + elseif MovementInput >= DisableThreshold then + Debug.PrintInfo("Setting MovementDisabled to true with MovementInput == " .. tostring(MovementInput) .. " and ReenableThreshold == " .. tostring(DisableThreshold)) + MovementDisabled = true + CheckDisableStatus() + end +end + +function OnTetherMessage() + TetherDisabled = true + CheckDisableStatus() + Callbacks.RegisterForTimer("TetherTimeout", TetherDelay, false) +end + +function TetherTimeout() + TetherDisabled = false + CheckDisableStatus() +end + +function CheckDisableStatus() + local newOverallDisabled = TetherDisabled or MovementDisabled + Debug.PrintInfo("CheckDisableStatus: TetherDisabled == " .. tostring(TetherDisabled) .. " and MovementDisabled == " .. tostring(MovementDisabled)) + if OverallDisabled ~= newOverallDisabled then + Debug.PrintInfo("CheckDisableStatus: OverallDisabled change from " .. tostring(OverallDisabled) .. " to " .. tostring(newOverallDisabled)) + if newOverallDisabled then + Game.SendTextMessage(scriptObject, "DisableTrailParticles") + else + Game.SendTextMessage(scriptObject, "EnableTrailParticles") + end + OverallDisabled = newOverallDisabled + end +end + +Callbacks.RegisterForWatchVariableChange("Movement Input", "UpdateMovementInput") +Callbacks.RegisterForMsg(GameScript.MsgCallback.TetherMessage, scriptObject, "OnTetherMessage") diff --git a/recovered/boot/script/game/Player/GenericDisplayDamage.lua b/recovered/boot/script/game/Player/GenericDisplayDamage.lua new file mode 100644 index 0000000..246fba4 --- /dev/null +++ b/recovered/boot/script/game/Player/GenericDisplayDamage.lua @@ -0,0 +1,165 @@ +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Graphics = GameScript.Game.Graphics +local Camera = GameScript.Game.Camera +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local playerIndexArray = GameScript.PlayerIndexArray +local msgCBList = GameScript.MsgCallback +local regMsgIndex = GameScript.MsgCallback.PlayerRegistrationMessage +local spawnMsgIndex = GameScript.MsgCallback.PlayerSpawnedMessage +local playerIndexArray = GameScript.PlayerIndexArray +local RunningHP = 0 +local RampingOffDamageFilters = false +local CurrentTime = 0 +local RampingFunction_layer1, RampingFunction_layer2, RampingFunction_layer3, Layer_1_DisplayAmount, Layer_2_DisplayAmount, Layer_3_DisplayAmount +Support.RegisterCurveTemplateVariable("DamageDisplayCurve_Layer_1", "The damage display mapping curve for First layer(percentage HP -> displayed effect amount)") +Support.RegisterCurveTemplateVariable("DamageDisplayCurve_Layer_2", "The damage display mapping curve for Second layer(percentage HP -> displayed effect amount)") +Support.RegisterCurveTemplateVariable("DamageDisplayCurve_Layer_3", "The damage display mapping curve for tThird layer(percentage HP -> displayed effect amount)") +local _HitPoints = Support.ImportWatchVariable("CurrHitPoints", "Damage Value variable") +local _HitPointsPercent = Support.ImportWatchVariable("CurrHitPointPercent", "Damage Percentage variable") +local _PossessedHitPoints = Support.ImportWatchVariable("PossessedCurrHitPoints", "Possessed Soldier Damage Value variable") +local _PossessedHitPointsPercent = Support.ImportWatchVariable("PossessedCurrHitPointPercent", "Possessed Soldier Damage Percentage variable") +local _LastStand = Support.ImportWatchVariable("LastStand", "Is this character in Last Stand?") +local _IsRiding = Support.ImportWatchVariable("IsRiding", "Is the Fettel currently 'riding' a vehicle?") +local _CreepNear = Support.ImportWatchVariable("IsCreepNear", "Is the Creep in the general area?") +local Self = Game.GetMyObject() +local _PrevDamagePercent = 1 +local _PrevLastStandValue = -1 +local _DamageValueToFix = 20 +local _IsFettel = false +local _UseLastStand = false +local _RidingTransition = false +local _CreepRegenFrames = 64 +local _CreepRegenDeltaFrames = 0 +local playerIndex = -1 + +function GetCurrDamagePercent() + local DamageValue = _HitPoints + local DamagePercent = _HitPointsPercent + if _IsFettel and _IsRiding == 1 then + DamageValue = _PossessedHitPoints + DamagePercent = _PossessedHitPointsPercent + end + if DamagePercent ~= 0 then + DamagePercent = (DamageValue - _DamageValueToFix) / (DamageValue / DamagePercent - _DamageValueToFix) + DamagePercent = math.max(0, math.min(1, DamagePercent)) + end + return DamagePercent +end + +function GetBuddyPlayer() + local partnerAvatarObject + local partnerPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer + local thisPlayerIndex = Player.GetPlayerIndexByObject(Self) + if thisPlayerIndex == GameScript.PlayerIndex.kGlobalPlayer1 then + partnerPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer2 + else + partnerPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1 + end + return Player.GetPlayerAvatarObjectByIndex(partnerPlayerIndex) +end + +function UpdateDamage() + local DamagePercent = GetCurrDamagePercent() + if not _RidingTransition and _CreepNear == 1 and DamagePercent > _PrevDamagePercent then + Callbacks.RegisterForUpdateEveryFrame("UpdateEveryFrame_CreepDisplay") + else + _PrevDamagePercent = DamagePercent + UpdateDamageDisplay(DamagePercent) + end +end + +function UpdateDamageDisplay(DisplayValue) + if playerIndex == -1 then + playerIndex = Player.GetPlayerIndexByObject(Self) + end + Layer_1_DisplayAmount = Support.GetCurveValue("DamageDisplayCurve_Layer_1", DisplayValue) + Camera.SetCameraFilterScalar(playerIndex, "DamageDisplay_Layer_1", Layer_1_DisplayAmount) + Layer_2_DisplayAmount = Support.GetCurveValue("DamageDisplayCurve_Layer_2", DisplayValue) + Camera.SetCameraFilterScalar(playerIndex, "DamageDisplay_Layer_2", Layer_2_DisplayAmount) + Layer_3_DisplayAmount = Support.GetCurveValue("DamageDisplayCurve_Layer_3", DisplayValue) + Camera.SetCameraFilterScalar(playerIndex, "DamageDisplay_Layer_3", Layer_3_DisplayAmount) + if _UseLastStand then + local buddy = GetBuddyPlayer() + if buddy and Game.IsLoaded(buddy) then + local buddyIndex = Player.GetPlayerIndexByObject(buddy) + local LastStand = _LastStand + if _PrevLastStandValue ~= LastStand then + _PrevLastStandValue = LastStand + Camera.SetCameraFilterScalar(buddyIndex, "LastStandDisplay", LastStand) + end + end + end +end + +function UpdateEveryFrame_CreepDisplay() + local DamagePercent = _PrevDamagePercent * (1 - _CreepRegenDeltaFrames / _CreepRegenFrames) + GetCurrDamagePercent() * (_CreepRegenDeltaFrames / _CreepRegenFrames) + _CreepRegenDeltaFrames = _CreepRegenDeltaFrames + 1 + if DamagePercent == 1 then + _CreepRegenDeltaFrames = 0 + _PrevDamagePercent = DamagePercent + Callbacks.UnregisterForUpdateEveryFrame("UpdateEveryFrame_CreepDisplay") + end + UpdateDamageDisplay(DamagePercent) +end + +function UpdateHitPoints(msg) + _HitPoints = msg.newValue + UpdateDamage() +end + +function UpdateHitPointsPercent(msg) + _HitPointsPercent = msg.newValue + UpdateDamage() +end + +function UpdatePossessedHitPoints(msg) + _PossessedHitPoints = msg.newValue + UpdateDamage() +end + +function UpdatePossessedHitPointsPercent(msg) + _PossessedHitPointsPercent = msg.newValue + UpdateDamage() +end + +function UpdateLastStand(msg) + _LastStand = msg.newValue + UpdateDamage() +end + +function UpdateIsRiding(msg) + _IsRiding = msg.newValue + _RidingTransition = true + UpdateDamage() + _RidingTransition = false +end + +function UpdateCreepNear(msg) + _CreepNear = msg.newValue + UpdateDamage() + if _CreepNear ~= 1 then + Callbacks.UnregisterForUpdateEveryFrame("UpdateEveryFrame_CreepDisplay") + end +end + +function Initialize(thisObject) + playerIndex = Player.GetPlayerIndexByObject(Self) + if nil ~= ObjectTags then + _IsFettel = ObjectTags.DoesObjectHaveTag(Self, "Fettel") + _UseLastStand = _IsFettel or ObjectTags.DoesObjectHaveTag(Self, "Point Man") + end + Callbacks.RegisterForWatchVariableChange("CurrHitPoints", "UpdateHitPoints") + Callbacks.RegisterForWatchVariableChange("CurrHitPointPercent", "UpdateHitPointsPercent") + Callbacks.RegisterForWatchVariableChange("PossessedCurrHitPoints", "UpdatePossessedHitPoints") + Callbacks.RegisterForWatchVariableChange("PossessedCurrHitPointPercent", "UpdatePossessedHitPointsPercent") + Callbacks.RegisterForWatchVariableChange("LastStand", "UpdateLastStand") + Callbacks.RegisterForWatchVariableChange("IsRiding", "UpdateIsRiding") + Callbacks.RegisterForWatchVariableChange("IsCreepNear", "UpdateCreepNear") +end + +Initialize(scriptObject) diff --git a/recovered/boot/script/game/Player/PlayerAvatarRespawnInitialization.lua b/recovered/boot/script/game/Player/PlayerAvatarRespawnInitialization.lua new file mode 100644 index 0000000..d9dab77 --- /dev/null +++ b/recovered/boot/script/game/Player/PlayerAvatarRespawnInitialization.lua @@ -0,0 +1,18 @@ +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local kPlayer1 = GameScript.PlayerIndex.kGlobalPlayer1 + +function OnLoadComplete() +end + +local numPlayers = Player.GetNumPlayers() +for i = kPlayer1, numPlayers do + local playerObj = Player.GetPlayerObjectByIndex(i) + if playerObj ~= nil then + Player.SetCheckpointLoad(playerObj, true) + end +end +local myObject = Game.GetMyObject() +Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, myObject, "OnLoadComplete") diff --git a/recovered/boot/script/game/Player/PlayerVehicleFade.lua b/recovered/boot/script/game/Player/PlayerVehicleFade.lua new file mode 100644 index 0000000..4afff62 --- /dev/null +++ b/recovered/boot/script/game/Player/PlayerVehicleFade.lua @@ -0,0 +1,20 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local kFadeOutOff = 0 +local kFadeOutOn = 100 +local scriptObject = Game.GetMyObject() +Support.ExportFloatVariable("VehicleFade", kFadeOutOff, "Controls showing or hiding the full screen blackout HUD component") + +function FadeEnd() + Extern.VehicleFade = kFadeOutOff +end + +function OnAnimationAnnotation(msg) + if msg.text == "FadeStartEntry" then + Extern.VehicleFade = kFadeOutOn + Callbacks.RegisterForTimer("FadeEnd", 1, false) + end +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.AnimationAnnotation, scriptObject, "OnAnimationAnnotation") diff --git a/recovered/boot/script/game/Player/Rank.lua b/recovered/boot/script/game/Player/Rank.lua new file mode 100644 index 0000000..3775bc5 --- /dev/null +++ b/recovered/boot/script/game/Player/Rank.lua @@ -0,0 +1,62 @@ +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Energy = GameScript.Game.Energy +local Graphics = GameScript.Game.Graphics +local MP = Game.MP +local Camera = GameScript.Game.Camera +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local Self, Parent, PlayerIndex, m_IsPointMan, m_IsFettel +local m_bSlowMo = Support.ImportBoolVariableWithDefault("Slow-Mo on Rank?", "Force slow motion when he ranks?", true) +local m_bInvulnerable = Support.ImportBoolVariableWithDefault("Invulnerablity on Rank?", "Makes the player temporarily invulnerable when he ranks.", true) +local m_fInvulnerableTime = Support.ImportFloatVariableWithDefault("Invulnerability Time", "If 'Invulnerablity on Rank?' is TRUE, then time the player is invulnerable.", 3) +local m_bResetHealth = Support.ImportBoolVariableWithDefault("Reset Health on Rank?", "Reset the player's health when he ranks.", true) +local m_bResetEnergy = Support.ImportBoolVariableWithDefault("Reset Energy on Rank?", "Reset the player's energy when he ranks.", true) +local m_bReviveSelf = Support.ImportBoolVariableWithDefault("Revive Self on Rank?", "Revives the player if he ranks during last stand.", true) + +function OnRank() + Debug.PrintInfo("OnRank") + PlayerIndex = Player.GetPlayerIndexByObject(Self) + if m_bSlowMo then + Game.SendTextMessage(Self, "SlowItDown") + end + if m_bInvulnerable then + Game.SetHitPointPriorityInvulnerable(Self, 1, true) + Callbacks.RegisterForTimer("OnTimeDelay", m_fInvulnerableTime, false) + end + if m_bResetHealth then + Game.SetHitPointPercent(Self, 1) + end + if m_bResetEnergy then + if m_IsPointMan then + GameScript.FEAR.RefillSlowMo(Self) + elseif m_IsFettel then + Energy.SetEnergyLevelOnObject(Self, "Ghost Power Meter", 2) + end + end + if m_bReviveSelf and (m_IsPointMan or m_IsFettel) and not MP.IsClient() and Player.IsPlayerControlled(Self) then + Debug.PrintInfo("Point Man: " .. tostring(m_IsPointMan) .. "; Fettel: " .. tostring(m_IsFettel) .. "; Player Index: " .. tostring(PlayerIndex)) + Player.RevivePlayerInstant(PlayerIndex) + end +end + +function OnTimeDelay() + Game.SetHitPointPriorityInvulnerable(Self, 1, false) + Callbacks.UnregisterForTimer("OnTimeDelay") +end + +function Initialize(thisObject) + Self = Game.GetMyObject() + Parent = Self + PlayerIndex = Player.GetPlayerIndexByObject(Self) + m_IsPointMan = ObjectTags.DoesObjectHaveTag(Self, "Point Man") + m_IsFettel = ObjectTags.DoesObjectHaveTag(Self, "Fettel") + if Player.GetNumPlayers() == 1 or MP.GetGameMode() == GameScript.MPGameMode.kCoop then + Callbacks.RegisterForMsg(GameScript.MsgCallback.RankAttainedMessage, Self, "OnRank") + end +end + +Initialize(scriptObject) diff --git a/recovered/boot/script/game/Player/RankTutorial.lua b/recovered/boot/script/game/Player/RankTutorial.lua new file mode 100644 index 0000000..abbff74 --- /dev/null +++ b/recovered/boot/script/game/Player/RankTutorial.lua @@ -0,0 +1,57 @@ +local Support = GameScript.Support +local Score = GameScript.FEARScore +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Self = Game.GetMyObject() +local PlayerIndex = Player.GetPlayerIndexByObject(Self) +local CurrentRank = Score.GetPlayerRank(PlayerIndex) +local fDisplayTime = Support.ImportFloatVariableWithDefault("Text Display Time", "The time the tutorial text displays on-screen.", 5) +local nTargRank = math.floor(Support.ImportFloatVariable("Target Rank", "The rank that the player has to have in order for the tutorial text to display. Any floating decimal points will be truncated.")) +local DisplayInfo_Title1 = {} +DisplayInfo_Title1.textId = Support.ImportStaticTextVariable("Tutorial Title Text 1", "The title tutorial text to display when the appropriate ranked is achieved.") +DisplayInfo_Title1.textAreaName = "kTutorialTitleText" +DisplayInfo_Title1.displayTime = fDisplayTime +local DisplayInfo_Text1 = {} +DisplayInfo_Text1.textId = Support.ImportStaticTextVariable("Tutorial Text 1", "The tutorial text to display when the appropriate ranked is achieved.") +DisplayInfo_Text1.textAreaName = "TutorialText" +DisplayInfo_Text1.displayTime = fDisplayTime +local DisplayInfo_Title2 = {} +DisplayInfo_Title2.textId = Support.ImportStaticTextVariable("Tutorial Title Text 2", "The title tutorial text to display when the appropriate ranked is achieved.") +DisplayInfo_Title2.textAreaName = "kTutorialTitleText" +DisplayInfo_Title2.displayTime = fDisplayTime +local DisplayInfo_Text2 = {} +DisplayInfo_Text2.textId = Support.ImportStaticTextVariable("Tutorial Text 2", "The tutorial text to display when the appropriate ranked is achieved.") +DisplayInfo_Text2.textAreaName = "TutorialText" +DisplayInfo_Text2.displayTime = fDisplayTime + +function OnRank() + if not Player.IsLocalPlayer(PlayerIndex) then + return + end + Debug.PrintInfo("OnRank") + if Score.GetPlayerRank(PlayerIndex) == nTargRank then + Game.DisplayText(DisplayInfo_Title1, PlayerIndex, false, Self) + Game.DisplayText(DisplayInfo_Text1, PlayerIndex, false, Self) + if DisplayInfo_Title2.textId ~= nil then + Callbacks.RegisterForTimer("OnTimeDelay", fDisplayTime, false) + end + end + Debug.PrintInfo("NEW !!! Player Index = " .. PlayerIndex .. "; Rank = " .. CurrentRank) + CurrentRank = Score.GetPlayerRank(PlayerIndex) +end + +function OnTimeDelay() + Game.DisplayText(DisplayInfo_Title2, PlayerIndex, false, Self) + Game.DisplayText(DisplayInfo_Text2, PlayerIndex, false, Self) + Callbacks.UnregisterForTimer("OnTimeDelay") +end + +function Initialize(thisObject) + Callbacks.RegisterForMsg(GameScript.MsgCallback.RankAttainedMessage, Self, "OnRank") +end + +Initialize(scriptObject) diff --git a/recovered/boot/script/game/Vehicles/SendMessageToPAInRange.lua b/recovered/boot/script/game/Vehicles/SendMessageToPAInRange.lua new file mode 100644 index 0000000..190b3cc --- /dev/null +++ b/recovered/boot/script/game/Vehicles/SendMessageToPAInRange.lua @@ -0,0 +1,20 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local ObjectTags = GameScript.Game.ObjectTags +local distance = Support.ImportFloatVariable("Distance", "Distance from this object to test for Power Armors") +local message = Support.ImportStringVariable("Text Message", "Text Message to send to Power Armors in range") +local timer = Support.ImportFloatVariable("Timer", "Check every this many seconds") +local scriptObject = Game.GetMyObject() + +function CheckForZap() + local objTable = ObjectTags.GetObjectsWithTag("Power Armor") + for key, object in pairs(objTable) do + if object ~= nil and Utilities.GetDistanceBetweenObjects(object, scriptObject) < distance then + Game.SendTextMessage(object, message) + end + end +end + +Callbacks.RegisterForTimer("CheckForZap", timer, true) diff --git a/recovered/boot/script/game/ambientevents/Common/FlickerFlashlight.lua b/recovered/boot/script/game/ambientevents/Common/FlickerFlashlight.lua new file mode 100644 index 0000000..6f63f5e --- /dev/null +++ b/recovered/boot/script/game/ambientevents/Common/FlickerFlashlight.lua @@ -0,0 +1,37 @@ +local Debug = GameScript.Debug +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +Support.RegisterCurveTemplateVariable("flicker curve", "flashlight flicker curve") +local duration = Support.ImportFloatVariable("Flicker Duration", "How many seconds does the flicker last?") +local bTurnOffAtCompletion = Support.ImportBoolVariable("Turn Off at Completion?", "Does this flicker turn the flashlight off when it is done? 1 = yes, 0 = no") +local bAllowLightTurnOn = Support.ImportBoolVariable("Allow Toggling Light?", "Can the player turn the fashlight on/off while it is flickering? 1 = yes, 0 = no") +local bForceLightOn = Support.ImportBoolVariable("Force Light On?", "Do we force the flashlight to be on so that the effect is always visible? 1 = yes, 0 = no") +local bLoop = Support.ImportBoolVariableWithDefault("Flicker continuously?", "If the value is true, this script will flicker the flashlight continuously until the script " .. "is stopped. If the value is false, the script will issue one flicker command and then stop.", false) + +function DoFlicker() + local flickerInfo = {} + flickerInfo.curve = "flicker curve" + flickerInfo.flickerTime = duration + flickerInfo.turnOffAtCompletion = bTurnOffAtCompletion + flickerInfo.allowTurnOn = bAllowLightTurnOn + flickerInfo.forceFlashlightOn = bForceLightOn + if g_debugMode > 0 then + local color = { + r = 255, + g = 255, + b = 255, + a = 255 + } + Debug.PrintToScreenWithTimer("Flickering flashlight", duration, color, true) + end + GameScript.FEAR.FlickerPlayerFlashlight(GameScript.PlayerIndex.kGlobalPlayer1, flickerInfo) +end + +local myObject = Game.GetMyObject() +if myObject then + DoFlicker() + if bLoop then + Callbacks.RegisterForTimer("DoFlicker", duration, true) + end +end diff --git a/recovered/boot/script/game/ambientevents/Common/flickerflashlightObjectTagInRange.lua b/recovered/boot/script/game/ambientevents/Common/flickerflashlightObjectTagInRange.lua new file mode 100644 index 0000000..d2888eb --- /dev/null +++ b/recovered/boot/script/game/ambientevents/Common/flickerflashlightObjectTagInRange.lua @@ -0,0 +1,50 @@ +local Debug = GameScript.Debug +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Utilities = GameScript.Utilities +local Player = Game.Player +Support.RegisterCurveTemplateVariable("flicker curve", "flashlight flicker curve") +local duration = Support.ImportFloatVariable("Flicker Duration", "How many seconds does the flicker last?") +local bTurnOffAtCompletion = Support.ImportBoolVariable("Turn Off at Completion?", "Does this flicker turn the flashlight off when it is done? 1 = yes, 0 = no") +local bAllowLightTurnOn = Support.ImportBoolVariable("Allow Toggling Light?", "Can the player turn the fashlight on/off while it is flickering? 1 = yes, 0 = no") +local bForceLightOn = Support.ImportBoolVariable("Force Light On?", "Do we force the flashlight to be on so that the effect is always visible? 1 = yes, 0 = no") +local range = Support.ImportFloatVariableWithDefault("Range", "Range to see if the Object Tag is within", 5) +local objectTag = Support.ImportStringVariable("Object Tag", "Object Tag to check for") +local myObject = Game.GetMyObject() + +function CheckForObjectTag() + local allAI = Game.ObjectTags.GetObjectsWithTag(objectTag) + for name, aiObject in pairs(allAI) do + if aiObject ~= nil and Game.IsLoaded(aiObject) then + if g_debugMode > 0 then + Debug.PrintInfo("In CheckForObjectTag: Found an object with Object Tag " .. objectTag .. ": " .. Game.GetName(aiObject)) + end + if Utilities.GetDistanceBetweenObjects(myObject, aiObject) <= range then + DoFlicker() + end + end + end +end + +function DoFlicker() + local flickerInfo = {} + flickerInfo.curve = "flicker curve" + flickerInfo.flickerTime = duration + flickerInfo.turnOffAtCompletion = bTurnOffAtCompletion + flickerInfo.allowTurnOn = bAllowLightTurnOn + flickerInfo.forceFlashlightOn = bForceLightOn + if g_debugMode > 0 then + local color = { + r = 255, + g = 255, + b = 255, + a = 255 + } + Debug.PrintToScreenWithTimer("Flickering flashlight", duration, color, true) + end + local thisPlayerIndex = Player.GetPlayerIndexByObject(myObject) + GameScript.FEAR.FlickerPlayerFlashlight(thisPlayerIndex, flickerInfo) +end + +Callbacks.RegisterForTimer("CheckForObjectTag", 1, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/ImpulseObject.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/ImpulseObject.lua new file mode 100644 index 0000000..dff2336 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/ImpulseObject.lua @@ -0,0 +1,33 @@ +local Game = GameScript.Game +local Physics = GameScript.Game.Physics +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Math3d = GameScript.LuaMath3d +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local startMsg = GameScript.MsgCallback.AmbientEventStartMessage +local Region = Support.ImportFirstObject("Region", "If the object leaves the region then we deregister the event") +local ImpulseObject = Support.ImportFirstObject("Impulse Object", "This object will recieve an impulse when the event triggers") +local ImpulseStrength = Support.ImportFloatVariable("Impulse Force", "The force in Newtons to apply to the Impulse Object") + +function MoveObject() + local ImpulseTable = Game.GetForward(Self) + ImpulseTable = Math3d.VectorMultiply(ImpulseTable, ImpulseStrength) + if ImpulseObject and Game.IsLoaded(ImpulseObject) then + Physics.ApplyImpulse(ImpulseObject, ImpulseTable) + end +end + +function DeregisterAmbientEvent() + FEAR.RegisterAmbientEvent(Self, false) + Callbacks.UnregisterForMsg(startMsg, Self, "MoveObject") + if Region and Game.IsLoaded(Region) and ImpulseObject and Game.IsLoaded(ImpulseObject) then + Callbacks.UnregisterSpecificObjectEnterExitRegion(Region, ImpulseObject, "", "DeregisterAmbientEvent") + end +end + +if Region and ImpulseObject then + Callbacks.RegisterForMsg(startMsg, Self, "MoveObject") + Callbacks.RegisterSpecificObjectEnterExitRegion(Region, ImpulseObject, "", "DeregisterAmbientEvent") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_007.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_007.lua new file mode 100644 index 0000000..cb1a68a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_007.lua @@ -0,0 +1,35 @@ +GameScript.Support.RegisterObjectTemplateVariable("Object #1", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #2", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #3", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #4", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #5", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #6", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #7", "Object template object that can be randomly chosen") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local ParticleFXObject +local Self = Game.GetMyObject() + +function SpawnParticle() + local numToRandom = 14 + local RandomNum = Utilities.GetRandomInteger(1, numToRandom) / 2 + RandomNum = math.ceil(RandomNum) + if RandomNum == 1 then + ParticleFXObject = Game.SpawnWithRotation("Object #1", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 2 then + ParticleFXObject = Game.SpawnWithRotation("Object #2", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 3 then + ParticleFXObject = Game.SpawnWithRotation("Object #3", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 4 then + ParticleFXObject = Game.SpawnWithRotation("Object #4", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 5 then + ParticleFXObject = Game.SpawnWithRotation("Object #5", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 6 then + ParticleFXObject = Game.SpawnWithRotation("Object #6", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 7 then + ParticleFXObject = Game.SpawnWithRotation("Object #7", Game.GetPosition(Self), Game.GetRotation(Self)) + end +end + +SpawnParticle() diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_010.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_010.lua new file mode 100644 index 0000000..6ae8901 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_010.lua @@ -0,0 +1,44 @@ +GameScript.Support.RegisterObjectTemplateVariable("Object #1", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #2", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #3", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #4", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #5", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #6", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #7", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #8", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #9", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #10", "Object template object that can be randomly chosen") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local ParticleFXObject +local Self = Game.GetMyObject() + +function SpawnParticle() + local numToRandom = 20 + local RandomNum = Utilities.GetRandomInteger(1, numToRandom) / 2 + RandomNum = math.ceil(RandomNum) + if RandomNum == 1 then + ParticleFXObject = Game.SpawnWithRotation("Object #1", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 2 then + ParticleFXObject = Game.SpawnWithRotation("Object #2", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 3 then + ParticleFXObject = Game.SpawnWithRotation("Object #3", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 4 then + ParticleFXObject = Game.SpawnWithRotation("Object #4", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 5 then + ParticleFXObject = Game.SpawnWithRotation("Object #5", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 6 then + ParticleFXObject = Game.SpawnWithRotation("Object #6", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 7 then + ParticleFXObject = Game.SpawnWithRotation("Object #7", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 8 then + ParticleFXObject = Game.SpawnWithRotation("Object #8", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 9 then + ParticleFXObject = Game.SpawnWithRotation("Object #9", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 10 then + ParticleFXObject = Game.SpawnWithRotation("Object #10", Game.GetPosition(Self), Game.GetRotation(Self)) + end +end + +SpawnParticle() diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_020.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_020.lua new file mode 100644 index 0000000..acd6448 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_020.lua @@ -0,0 +1,74 @@ +GameScript.Support.RegisterObjectTemplateVariable("Object #1", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #2", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #3", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #4", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #5", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #6", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #7", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #8", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #9", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #10", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #11", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #12", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #13", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #14", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #15", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #16", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #17", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #18", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #19", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #20", "Object template object that can be randomly chosen") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local ParticleFXObject +local Self = Game.GetMyObject() + +function SpawnParticle() + local numToRandom = 40 + local RandomNum = Utilities.GetRandomInteger(1, numToRandom) / 2 + RandomNum = math.ceil(RandomNum) + if RandomNum == 1 then + ParticleFXObject = Game.SpawnWithRotation("Object #1", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 2 then + ParticleFXObject = Game.SpawnWithRotation("Object #2", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 3 then + ParticleFXObject = Game.SpawnWithRotation("Object #3", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 4 then + ParticleFXObject = Game.SpawnWithRotation("Object #4", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 5 then + ParticleFXObject = Game.SpawnWithRotation("Object #5", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 6 then + ParticleFXObject = Game.SpawnWithRotation("Object #6", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 7 then + ParticleFXObject = Game.SpawnWithRotation("Object #7", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 8 then + ParticleFXObject = Game.SpawnWithRotation("Object #8", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 9 then + ParticleFXObject = Game.SpawnWithRotation("Object #9", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 10 then + ParticleFXObject = Game.SpawnWithRotation("Object #10", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 11 then + ParticleFXObject = Game.SpawnWithRotation("Object #11", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 12 then + ParticleFXObject = Game.SpawnWithRotation("Object #12", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 13 then + ParticleFXObject = Game.SpawnWithRotation("Object #13", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 14 then + ParticleFXObject = Game.SpawnWithRotation("Object #14", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 15 then + ParticleFXObject = Game.SpawnWithRotation("Object #15", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 16 then + ParticleFXObject = Game.SpawnWithRotation("Object #16", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 17 then + ParticleFXObject = Game.SpawnWithRotation("Object #17", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 18 then + ParticleFXObject = Game.SpawnWithRotation("Object #18", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 19 then + ParticleFXObject = Game.SpawnWithRotation("Object #19", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 20 then + ParticleFXObject = Game.SpawnWithRotation("Object #20", Game.GetPosition(Self), Game.GetRotation(Self)) + end +end + +SpawnParticle() diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomParticleObj.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomParticleObj.lua new file mode 100644 index 0000000..d0e8ec3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomParticleObj.lua @@ -0,0 +1,20 @@ +GameScript.Support.RegisterObjectTemplateVariable("Particle FX #1", "Particle FX template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Particle FX #2", "Particle FX template object that can be randomly chosen") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local ParticleFXObject +local Self = Game.GetMyObject() + +function SpawnParticle() + local numToRandom = 4 + local RandomNum = Utilities.GetRandomInteger(1, numToRandom) / 2 + RandomNum = math.ceil(RandomNum) + if RandomNum == 1 then + ParticleFXObject = Game.SpawnWithRotation("Particle FX #1", Game.GetPosition(Self), Game.GetRotation(Self)) + else + ParticleFXObject = Game.SpawnWithRotation("Particle FX #2", Game.GetPosition(Self), Game.GetRotation(Self)) + end +end + +SpawnParticle() diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flashlightchecksendtext.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flashlightchecksendtext.lua new file mode 100644 index 0000000..d16ded9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flashlightchecksendtext.lua @@ -0,0 +1,20 @@ +local Debug = GameScript.Debug +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Sets = GameScript.Game.Sets +local reqFlashlight = GameScript.Support.ImportBoolVariableWithDefault("Flashlight On?", "The message will send when the flashlight is on (true) or off (false).", true) +local text = GameScript.Support.ImportStringVariableWithDefault("Text message", "The text message that will be sent to the target object.", "") +local targetObj = GameScript.Support.ImportSingleObject("Target object", "The object that the text message is being sent to.") + +function SendText() + GameScript.Game.SendTextMessage(targetObj, text) +end + +if reqFlashlight == true then + if GameScript.FEAR.IsPlayerFlashlightOn(0) == true then + SendText() + end +elseif GameScript.FEAR.IsPlayerFlashlightOn(0) == false then + SendText() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flickerobject.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flickerobject.lua new file mode 100644 index 0000000..e7cf523 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/flickerobject.lua @@ -0,0 +1,60 @@ +local Debug = GameScript.Debug +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Sets = GameScript.Game.Sets +local hide = 0 +local numflicker = 0 +local maxflicker = GameScript.Support.ImportFloatVariableWithDefault("Ammount of flickers", "Number of times the object will flicker on/off.", 10) +local objFlickerTime = GameScript.Support.ImportFloatVariableWithDefault("Time between flickers", "Time between each flicker.", 0.03) +local facePlayer = GameScript.Support.ImportBoolVariableWithDefault("Face player?", "Should the spawned object face the player?", true) +local reqFlashlight = GameScript.Support.ImportBoolVariableWithDefault("Require Flashlight?", "Will this only trigger if the player has their flashlight on?", true) +local targetSet = Support.ImportSetObject("Set to flicker", "The set in which all the objects will flicker") + +function TurnToPlayer() + if facePlayer == true then + local player = GameScript.Game.Player.GetPlayerAvatarObjectByIndex(0) + local playerRot = GameScript.Game.GetRotation(player) + local teleRot = playerRot + teleRot.h = playerRot.h + 180 + local myObject = Game.GetMyObject() + local telePos = Game.GetPosition(myObject) + GameScript.Game.TeleportObjectWithRotation(myObject, telePos, teleRot) + end +end + +function FlickerObject() + local AssigneeTable = Sets.GetObjectsInSet(targetSet) + for k, Assignee in pairs(AssigneeTable) do + DoFlicker(Assignee) + end +end + +function DoFlicker(flickObj) + if numflicker >= maxflicker then + GameScript.Game.Kill(flickObj, 0) + GameScript.Callbacks.UnregisterForTimer("FlickerObject") + end + if hide == 0 then + GameScript.Game.HideObject(flickObj, true) + hide = 1 + numflicker = numflicker + 1 + elseif hide == 1 then + GameScript.Game.HideObject(flickObj, false) + hide = 0 + numflicker = numflicker + 1 + end +end + +local playerExists = GameScript.Game.Player.GetPlayerAvatarObjectByIndex(0) +if playerExists ~= nil then + if reqFlashlight == true then + if GameScript.FEAR.IsPlayerFlashlightOn(0) == true then + TurnToPlayer() + GameScript.Callbacks.RegisterForTimer("FlickerObject", objFlickerTime, true) + end + else + TurnToPlayer() + GameScript.Callbacks.RegisterForTimer("FlickerObject", objFlickerTime, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/spawnrandomobjwithvelocity.lua b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/spawnrandomobjwithvelocity.lua new file mode 100644 index 0000000..6682259 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/AmbientEvents/Common/spawnrandomobjwithvelocity.lua @@ -0,0 +1,37 @@ +GameScript.Support.RegisterObjectTemplateVariable("Object #1", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #2", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #3", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #4", "Object template object that can be randomly chosen") +GameScript.Support.RegisterObjectTemplateVariable("Object #5", "Object template object that can be randomly chosen") +local velocity = GameScript.Support.ImportFloatVariable("Velocity", "Speed (m/s) that the spawned object will move in the direction that the script object is facing.") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local SpawnedObj +local Self = Game.GetMyObject() +local forward = GameScript.Game.GetForward(Self) +if forward then + forward.x = forward.x * velocity + forward.y = forward.y * velocity + forward.z = forward.z * velocity +end + +function SpawnObject() + local numToRandom = 10 + local RandomNum = Utilities.GetRandomInteger(1, numToRandom) / 2 + RandomNum = math.ceil(RandomNum) + if RandomNum == 1 then + SpawnedObj = Game.SpawnWithRotation("Object #1", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 2 then + SpawnedObj = Game.SpawnWithRotation("Object #2", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 3 then + SpawnedObj = Game.SpawnWithRotation("Object #3", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 4 then + SpawnedObj = Game.SpawnWithRotation("Object #4", Game.GetPosition(Self), Game.GetRotation(Self)) + elseif RandomNum == 5 then + SpawnedObj = Game.SpawnWithRotation("Object #5", Game.GetPosition(Self), Game.GetRotation(Self)) + end + GameScript.Game.Physics.SetVelocity(SpawnedObj, forward) +end + +SpawnObject() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/AmbientSoundWithRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/AmbientSoundWithRegion.lua new file mode 100644 index 0000000..7d45b15 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/AmbientSoundWithRegion.lua @@ -0,0 +1,43 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Game = GameScript.Game +local Regions = Game.Regions +local myObject = Game.GetMyObject() +local min = Support.ImportFloatVariable("Min", "Time range minimum") +local max = Support.ImportFloatVariable("Max", "Time range maximum") +local timerActive = false +local timerSet = false + +local function SetTimer() + if timerSet == false and timerActive == true then + local time = min + Utilities.GetRandomPercent() * (max - min) + Callbacks.RegisterForTimer("OnTimer", time, false) + timerSet = true + end +end + +function OnTimer() + timerSet = false + if timerActive == true then + Game.SendTextMessage(myObject, "AmbientSound") + SetTimer() + end +end + +function OnRegionEnter() + timerActive = true + SetTimer() +end + +function OnRegionExit() + timerActive = false +end + +if myObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.RegionEnterMessage, myObject, "OnRegionEnter") + Callbacks.RegisterForMsg(GameScript.MsgCallback.RegionExitMessage, myObject, "OnRegionExit") + if Regions.GetNumberOfObjectsInRegionMonitor(myObject) > 0 then + OnRegionEnter() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/BusFadeInExplosion.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/BusFadeInExplosion.lua new file mode 100644 index 0000000..7d1a87b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/BusFadeInExplosion.lua @@ -0,0 +1,28 @@ +local Audio = GameScript.Audio +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local myObject = Game.GetMyObject() +local fadeStart = Support.ImportFloatVariable("Fade Start", "Volume at which to begin fading from (as power from 0 to 1)") +local fadeEnd = Support.ImportFloatVariable("Fade End", "Volume at which to stop fading (as power from 0 to 1)") +local timerMax = Support.ImportFloatVariable("Time", "Time over which to fade bus volume from Fade Start to Fade End (in seconds)") +local timerCount = 0 +local timerPeriod = 0.1 +local timerActivated = false + +function OnTimer() + timerCount = timerCount + 1 + local volume = timerCount / (timerMax / timerPeriod) + volume = fadeStart + (fadeEnd - fadeStart) * volume + volume = volume * volume + Audio.SetBusVolume("World - Soft", volume) + Audio.SetBusVolume("World - Normal", volume) + Audio.SetBusVolume("World - Loud", volume) + Audio.SetBusVolume("Player", volume) + Audio.SetBusVolume("Voice", volume) + if timerCount * timerPeriod > timerMax then + Game.SendKillMessage(myObject, 0) + end +end + +Callbacks.RegisterForTimer("OnTimer", timerPeriod, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/EPA.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/EPA.lua new file mode 100644 index 0000000..707349c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/EPA.lua @@ -0,0 +1,41 @@ +local Audio = GameScript.Audio +local Callbacks = GameScript.Callbacks +local Msgs = GameScript.MsgCallback +local Utilities = GameScript.Utilities +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local myObject = Game.GetMyObject() + +function OnTakingControl(message) + Audio.SetEffectParam("World - Soft", "WorldSoftLPF", 0, 2000) + Audio.SetEffectParam("World - Normal", "WorldNormalLPF", 0, 1590) + Audio.SetEffectParam("World - Loud", "WorldLoudLPF", 0, 1400) + Audio.SetEffectParam("World - Extreme", "WorldExtremeLPF", 0, 1100) + Audio.SetEffectParam("World - Infinite", "WorldInfiniteLPF", 0, 1414) + Audio.SetEffectParam("World - Effect", "WorldEffectHPF", 0, 1200) + Audio.SetEffectParam("World - Effect", "WorldEffectHPF", 1, 5) + Audio.SetEffectParam("World - Effect", "WorldEffectLPF", 0, 950) + Audio.SetEffectParam("World - Loud - Unpitched", "WorldUnpitchedLPF", 0, 1000) + Audio.SetEffectParam("Voice", "VoiceHPF", 0, 750) + Audio.SetEffectParam("Voice", "VoiceHPF", 1, 2.5) + Audio.SetEffectParam("Voice", "VoiceLPF", 0, 2000) +end + +function OnReleasingControl(message) + Audio.SetEffectParam("World - Soft", "WorldSoftLPF", 0, 22000) + Audio.SetEffectParam("World - Normal", "WorldNormalLPF", 0, 22000) + Audio.SetEffectParam("World - Loud", "WorldLoudLPF", 0, 22000) + Audio.SetEffectParam("World - Extreme", "WorldExtremeLPF", 0, 22000) + Audio.SetEffectParam("World - Infinite", "WorldInfiniteLPF", 0, 22000) + Audio.SetEffectParam("World - Effect", "WorldEffectHPF", 0, 1) + Audio.SetEffectParam("World - Effect", "WorldEffectHPF", 1, 1) + Audio.SetEffectParam("World - Effect", "WorldEffectLPF", 0, 22000) + Audio.SetEffectParam("World - Loud - Unpitched", "WorldUnpitchedLPF", 0, 22000) + Audio.SetEffectParam("Voice", "VoiceHPF", 0, 1) + Audio.SetEffectParam("Voice", "VoiceHPF", 1, 1) + Audio.SetEffectParam("Voice", "VoiceLPF", 0, 22000) +end + +Callbacks.RegisterForMsg(Msgs.ActorTakingControlMessage, myObject, "OnTakingControl") +Callbacks.RegisterForMsg(Msgs.ActorReleasingControlMessage, myObject, "OnReleasingControl") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicHolder.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicHolder.lua new file mode 100644 index 0000000..f52f73d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicHolder.lua @@ -0,0 +1,6 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Audio = GameScript.Audio +local musicName = Support.ImportStringVariableWithDefault("Music Name", "Name of music which can be referenced for playback", "Combat") +local myObject = Game.GetMyObject() +Audio.RegisterMusic(musicName, myObject) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicMuter.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicMuter.lua new file mode 100644 index 0000000..e8b6946 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicMuter.lua @@ -0,0 +1,62 @@ +local Support = GameScript.Support +local Audio = GameScript.Audio +local Game = GameScript.Game +local Player = Game.Player +local Regions = Game.Regions +local ObjectTags = Game.ObjectTags +local musicName = Support.ImportStringVariableWithDefault("Music Name", "Name of the music to mute or unmute", "Combat") +local fadeTime = Support.ImportFloatVariableWithDefault("Fade Time", "Time over which to fade music in or out (in seconds)", 0) +local muted = Support.ImportBoolVariableWithDefault("Muted", "Whether to mute or unmute the music", false) +local killAfterActivation = Support.ImportBoolVariableWithDefault("Kill After Activation", "Whether to kill the music muter object after first activation", true) +local myObject = Game.GetMyObject() +local requireTag = "Point Man" + +local function MuteMusic() + Audio.MuteMusicWithFade(musicName, muted, fadeTime) + if killAfterActivation then + Game.Kill(myObject, 0) + end +end + +local function ShouldPerformAction() + local doAction = false + local globalPlayers = Player.GetNumPlayers() + if globalPlayers == 1 then + doAction = true + elseif globalPlayers ~= nil then + local tagFound = false + for globalPlayerIndex = 0, globalPlayers do + local playerObject = Player.GetPlayerControlledObjectByIndex(globalPlayerIndex) + if playerObject ~= nil then + local hasTag = ObjectTags.DoesObjectHaveTag(playerObject, requireTag) + if hasTag then + local inRegion = Regions.IsInRegion(myObject, playerObject) + if inRegion then + doAction = true + end + tagFound = true + break + end + end + end + if tagFound == false then + local globalPlayerIndex = 0 + local playerObject = Player.GetPlayerControlledObjectByIndex(globalPlayerIndex) + if playerObject ~= nil then + local inRegion = Regions.IsInRegion(myObject, playerObject) + if inRegion == true then + doAction = true + end + end + end + end + return doAction +end + +local function Main() + if ShouldPerformAction() then + MuteMusic() + end +end + +Main() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTrigger.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTrigger.lua new file mode 100644 index 0000000..43385b3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTrigger.lua @@ -0,0 +1,85 @@ +local Support = GameScript.Support +local Audio = GameScript.Audio +local Game = GameScript.Game +local Player = Game.Player +local Regions = Game.Regions +local ObjectTags = Game.ObjectTags +local stopOtherMusic = Support.ImportBoolVariableWithDefault("Stop Other Music", "Whether to stop playing any other music or allow it to continue to play", true) +local killAfterActivation = Support.ImportBoolVariableWithDefault("Kill After Activation", "Whether to kill the music trigger object after first activation", true) +local musicName = Support.ImportStringVariableWithDefault("Music Name", "Name of the base music to play", "Off") +local musicNameB = Support.ImportStringVariableWithDefault("Music Name B", "Name of the second music layer to play", "") +local musicNameC = Support.ImportStringVariableWithDefault("Music Name C", "Name of the third music layer to play", "") +local musicNameD = Support.ImportStringVariableWithDefault("Music Name D", "Name of the fourth music layer to play", "") +local musicNameE = Support.ImportStringVariableWithDefault("Music Name E", "Name of the fifth music layer to play", "") +local startMutedB = Support.ImportBoolVariableWithDefault("Start Muted B", "Whether to start secnod music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedC = Support.ImportBoolVariableWithDefault("Start Muted C", "Whether to start third music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedD = Support.ImportBoolVariableWithDefault("Start Muted D", "Whether to start fourth music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedE = Support.ImportBoolVariableWithDefault("Start Muted E", "Whether to start fifth music layer as muted so it can be unmuted later, in sync with other music", true) +local myObject = Game.GetMyObject() +local requireTag = "Point Man" + +local function StartMusic() + if musicName ~= "" then + Audio.StartMusic(musicName, false, stopOtherMusic) + elseif stopOtherMusic then + Audio.StopMusic() + end + if musicNameB ~= "" then + Audio.StartMusic(musicNameB, startMutedB, false) + end + if musicNameC ~= "" then + Audio.StartMusic(musicNameC, startMutedC, false) + end + if musicNameD ~= "" then + Audio.StartMusic(musicNameD, startMutedD, false) + end + if musicNameE ~= "" then + Audio.StartMusic(musicNameE, startMutedE, false) + end + if killAfterActivation then + Game.Kill(myObject, 0) + end +end + +local function ShouldPerformAction() + local doAction = false + local globalPlayers = Player.GetNumPlayers() + if globalPlayers == 1 then + doAction = true + elseif globalPlayers ~= nil then + local tagFound = false + for globalPlayerIndex = 0, globalPlayers do + local playerObject = Player.GetPlayerControlledObjectByIndex(globalPlayerIndex) + if playerObject ~= nil then + local hasTag = ObjectTags.DoesObjectHaveTag(playerObject, requireTag) + if hasTag then + local inRegion = Regions.IsInRegion(myObject, playerObject) + if inRegion then + doAction = true + end + tagFound = true + break + end + end + end + if tagFound == false then + local globalPlayerIndex = 0 + local playerObject = Player.GetPlayerControlledObjectByIndex(globalPlayerIndex) + if playerObject ~= nil then + local inRegion = Regions.IsInRegion(myObject, playerObject) + if inRegion == true then + doAction = true + end + end + end + end + return doAction +end + +local function Main() + if ShouldPerformAction() then + StartMusic() + end +end + +Main() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerCinema.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerCinema.lua new file mode 100644 index 0000000..33e2398 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerCinema.lua @@ -0,0 +1,24 @@ +local Support = GameScript.Support +local Audio = GameScript.Audio +local stopOtherMusic = Support.ImportBoolVariableWithDefault("Stop Other Music", "Whether to stop playing any other music or allow it to continue to play", true) +local musicName = Support.ImportStringVariableWithDefault("Music Name", "Name of the base music to play", "Combat") +local musicNameB = Support.ImportStringVariableWithDefault("Music Name B", "Name of the second music layer to play", "") +local musicNameC = Support.ImportStringVariableWithDefault("Music Name C", "Name of the third music layer to play", "") +local musicNameD = Support.ImportStringVariableWithDefault("Music Name D", "Name of the fourth music layer to play", "") +local startMutedB = Support.ImportBoolVariableWithDefault("Start Muted B", "Whether to start secnod music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedC = Support.ImportBoolVariableWithDefault("Start Muted C", "Whether to start third music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedD = Support.ImportBoolVariableWithDefault("Start Muted D", "Whether to start fourth music layer as muted so it can be unmuted later, in sync with other music", true) +if musicName ~= "" then + Audio.StartMusic(musicName, false, stopOtherMusic) +elseif stopOtherMusic then + Audio.StopMusic() +end +if musicNameB ~= "" then + Audio.StartMusic(musicNameB, startMutedB, false) +end +if musicNameC ~= "" then + Audio.StartMusic(musicNameC, startMutedC, false) +end +if musicNameD ~= "" then + Audio.StartMusic(musicNameD, startMutedD, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerSpawner.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerSpawner.lua new file mode 100644 index 0000000..bc29432 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/MusicTriggerSpawner.lua @@ -0,0 +1,40 @@ +local Support = GameScript.Support +local Audio = GameScript.Audio +local Callbacks = GameScript.Callbacks +local Sets = GameScript.Game.Sets +local set = Support.ImportSetObject("Set", "Set or squad to use for checking contents") +local stopOtherMusic = Support.ImportBoolVariableWithDefault("Stop Other Music", "Whether to stop playing any other music or allow it to continue to play", true) +local musicName = Support.ImportStringVariableWithDefault("Music Name", "Name of the base music to play", "Combat") +local musicNameB = Support.ImportStringVariableWithDefault("Music Name B", "Name of the second music layer to play", "") +local musicNameC = Support.ImportStringVariableWithDefault("Music Name C", "Name of the third music layer to play", "") +local musicNameD = Support.ImportStringVariableWithDefault("Music Name D", "Name of the fourth music layer to play", "") +local startMutedB = Support.ImportBoolVariableWithDefault("Start Muted B", "Whether to start secnod music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedC = Support.ImportBoolVariableWithDefault("Start Muted C", "Whether to start third music layer as muted so it can be unmuted later, in sync with other music", true) +local startMutedD = Support.ImportBoolVariableWithDefault("Start Muted D", "Whether to start fourth music layer as muted so it can be unmuted later, in sync with other music", true) + +function OnSetAdd() +end + +function OnSetRemove() + local setCount = Sets.GetNumObjectsInSet(set) + if setCount == 0 then + if musicName ~= "" then + Audio.StartMusic(musicName, false, stopOtherMusic) + elseif stopOtherMusic then + Audio.StopMusic() + end + if musicNameB ~= "" then + Audio.StartMusic(musicNameB, startMutedB, false) + end + if musicNameC ~= "" then + Audio.StartMusic(musicNameC, startMutedC, false) + end + if musicNameD ~= "" then + Audio.StartMusic(musicNameD, startMutedD, false) + end + end +end + +if set ~= nil then + Callbacks.RegisterSetTracker(set, "OnSetAdd", "OnSetRemove") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/RegionEnabler.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/RegionEnabler.lua new file mode 100644 index 0000000..ec4eb40 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/RegionEnabler.lua @@ -0,0 +1,15 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +Support.ImportObjectHandleVariable("Objects", "Set of objects to enable or disable") +local objSet = Support.GetImportObjectTable("Objects") +local enable = Support.ImportBoolVariable("Enable", "Whether to enable or disable the set of objects") +if objSet ~= nil then + local strEnable = "DisableRegion" + if enable == true then + strEnable = "EnableRegion" + end + for i, v in ipairs(objSet) do + Game.SendTextMessage(v, strEnable) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Audio/ReverbFader.lua b/recovered/resources/EXTRACTresources/Script/Game/Audio/ReverbFader.lua new file mode 100644 index 0000000..f32b673 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Audio/ReverbFader.lua @@ -0,0 +1,69 @@ +local Audio = GameScript.Audio +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local busName = Support.ImportStringVariableWithDefault("Bus", "Name of bus which reverb effect is on", "World") +local effectName = Support.ImportStringVariableWithDefault("Effect", "Name of reverb effect", "WorldReverb") +local timerMax = Support.ImportFloatVariableWithDefault("Time", "Time over which to fade from previous reverb settings to those specified", 3) +local dryLevel = Support.ImportFloatVariableWithDefault("Dry Level", "", 0) +local room = Support.ImportFloatVariableWithDefault("Room", "", -10000) +local roomHF = Support.ImportFloatVariableWithDefault("Room HF", "", 0) +local roomRolloff = Support.ImportFloatVariableWithDefault("Room Rolloff", "", 0) +local decayTime = Support.ImportFloatVariableWithDefault("Decay Time", "", 1) +local decayHFRatio = Support.ImportFloatVariableWithDefault("Decay HF Ratio", "", 0.5) +local reflections = Support.ImportFloatVariableWithDefault("Reflections", "", -10000) +local reflectDelay = Support.ImportFloatVariableWithDefault("Reflect Delay", "", 0.02) +local reverb = Support.ImportFloatVariableWithDefault("Reverb", "", 0) +local reverbDelay = Support.ImportFloatVariableWithDefault("Reverb Delay", "", 0.04) +local diffusion = Support.ImportFloatVariableWithDefault("Diffusion", "", 100) +local density = Support.ImportFloatVariableWithDefault("Density", "", 100) +local hrReference = Support.ImportFloatVariableWithDefault("HR Reference", "", 5000) +local roomLF = Support.ImportFloatVariableWithDefault("Room LF", "", 0) +local lrReference = Support.ImportFloatVariableWithDefault("LR Reference", "", 250) +local dryLevelStart = Audio.GetEffectParam(busName, effectName, 0) +local roomStart = Audio.GetEffectParam(busName, effectName, 1) +local roomHFStart = Audio.GetEffectParam(busName, effectName, 2) +local roomRolloffStart = Audio.GetEffectParam(busName, effectName, 3) +local decayTimeStart = Audio.GetEffectParam(busName, effectName, 4) +local decayHFRatioStart = Audio.GetEffectParam(busName, effectName, 5) +local reflectionsStart = Audio.GetEffectParam(busName, effectName, 6) +local reflectDelayStart = Audio.GetEffectParam(busName, effectName, 7) +local reverbStart = Audio.GetEffectParam(busName, effectName, 8) +local reverbDelayStart = Audio.GetEffectParam(busName, effectName, 9) +local diffusionStart = Audio.GetEffectParam(busName, effectName, 10) +local densityStart = Audio.GetEffectParam(busName, effectName, 11) +local hrReferenceStart = Audio.GetEffectParam(busName, effectName, 12) +local roomLFStart = Audio.GetEffectParam(busName, effectName, 13) +local lrReferenceStart = Audio.GetEffectParam(busName, effectName, 14) +local myObject = Game.GetMyObject() +local timerCount = 0 +local timerPeriod = 0.1 +local Fade = function(q, valueStart, valueEnd) + return valueStart + (valueEnd - valueStart) * q +end + +function OnTimer() + timerCount = timerCount + 1 + local q = timerCount / (timerMax / timerPeriod) + q = math.max(0, math.min(1, q)) + Audio.SetEffectParam(busName, effectName, 0, Fade(q, dryLevelStart, dryLevel)) + Audio.SetEffectParam(busName, effectName, 1, Fade(q, roomStart, room)) + Audio.SetEffectParam(busName, effectName, 2, Fade(q, roomHFStart, roomHF)) + Audio.SetEffectParam(busName, effectName, 3, Fade(q, roomRolloffStart, roomRolloff)) + Audio.SetEffectParam(busName, effectName, 4, Fade(q, decayTimeStart, decayTime)) + Audio.SetEffectParam(busName, effectName, 5, Fade(q, decayHFRatioStart, decayHFRatio)) + Audio.SetEffectParam(busName, effectName, 6, Fade(q, reflectionsStart, reflections)) + Audio.SetEffectParam(busName, effectName, 7, Fade(q, reflectDelayStart, reflectDelay)) + Audio.SetEffectParam(busName, effectName, 8, Fade(q, reverbStart, reverb)) + Audio.SetEffectParam(busName, effectName, 9, Fade(q, reverbDelayStart, reverbDelay)) + Audio.SetEffectParam(busName, effectName, 10, Fade(q, diffusionStart, diffusion)) + Audio.SetEffectParam(busName, effectName, 11, Fade(q, densityStart, density)) + Audio.SetEffectParam(busName, effectName, 12, Fade(q, hrReferenceStart, hrReference)) + Audio.SetEffectParam(busName, effectName, 13, Fade(q, roomLFStart, roomLF)) + Audio.SetEffectParam(busName, effectName, 14, Fade(q, lrReferenceStart, lrReference)) + if timerCount * timerPeriod > timerMax then + Callbacks.UnregisterForTimer("OnTimer") + end +end + +Callbacks.RegisterForTimer("OnTimer", timerPeriod, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Camera/SetFilterLUT.lua b/recovered/resources/EXTRACTresources/Script/Game/Camera/SetFilterLUT.lua new file mode 100644 index 0000000..e7c658d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Camera/SetFilterLUT.lua @@ -0,0 +1,33 @@ +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Game = GameScript.Game +local Camera = GameScript.Game.Camera +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local thisObject = Game.GetMyObject() +local playerIndexArray = GameScript.PlayerIndexArray +Support.RegisterTextureVariable("ColorLUT", "The lookup table to use for color correction in the camera filters") +local texName = Support.ImportStringVariable("TextureName", "The name of the texture in the filter material") + +function SetLUT(globalPlayer) + Camera.SetCameraFilterNamedTexture(globalPlayer, texName, "ColorLUT") +end + +function HandleCameraFilterGroupChangeMsg(msg) + local globalPlayer = Camera.GetPlayerIndexFromCameraId(msg.camID) + SetLUT(globalPlayer) +end + +function Initialize() + local numPlayers = Player.GetNumPlayers() + for i = 1, numPlayers do + local playerIndex = playerIndexArray[i] + local globalIndex = Player.GetGlobalIndexFromLocalIndex(playerIndex) + SetLUT(globalIndex) + end +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.CameraFilterGroupChangeMessage, thisObject, "HandleCameraFilterGroupChangeMsg") +Initialize() +GameScript.Callbacks.RegisterForPostCheckpointActivation("Initialize") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/AddMyselfAsObjective.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/AddMyselfAsObjective.lua new file mode 100644 index 0000000..04a4598 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/AddMyselfAsObjective.lua @@ -0,0 +1,9 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Objectives = Game.Objectives +local objTextID = Support.ImportStaticTextVariable("Objective Text ID", "Text ID identifier for the objective (use blank for an anonymous objective)") +local objType = Support.ImportEnumVariable("GameScript.ObjectiveType", "Objective Type", "The Objective Type identifier for the objective") +local myObject = Game.GetMyObject() +Objectives.Add(objType, objTextID) +Objectives.AddObject(myObject, objType, objTextID) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/CalculateMinOfTwoValues.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/CalculateMinOfTwoValues.lua new file mode 100644 index 0000000..9d644f3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/CalculateMinOfTwoValues.lua @@ -0,0 +1,25 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Graphics = Game.Graphics +local fValue1 = Support.ImportWatchVariable("Value 1", "The script will expose the minimum of values 1 and 2 as Min Value") +local fValue2 = Support.ImportWatchVariable("Value 2", "The script will expose the minimum of values 1 and 2 as Min Value") +Support.ExportFloatVariable("Min Value", 0, "The minimum of Values 1 and 2.") +Extern.fMinValue = 0 + +function CalculateValue() + if fValue1 > fValue2 then + Extern.fMinValue = fValue2 + else + Extern.fMinValue = fValue1 + end +end + +function WatchChanged(msg) + CalculateValue() +end + +CalculateValue() +Callbacks.RegisterForWatchVariableChange("Value 1", "WatchChanged") +Callbacks.RegisterForWatchVariableChange("Value 2", "WatchChanged") +Callbacks.RegisterForPostCheckpointActivation("CalculateValue") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/EndCurrentLevel.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/EndCurrentLevel.lua new file mode 100644 index 0000000..0c6b865 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/EndCurrentLevel.lua @@ -0,0 +1,59 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local MP = Game.MP +local FEARScore = GameScript.FEARScore +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +local easyParTime = Support.ImportFloatVariable("Easy Par Time", "The level completion time players need to beat to get the bonus on Easy difficulty") +local parTime = Support.ImportFloatVariable("Par Completion Time", "The level completion time players need to beat to get the bonus on Normal difficulty") +local hardParTime = Support.ImportFloatVariable("Hard Par Time", "The level completion time players need to beat to get the bonus on Hard difficulty") +local insaneParTime = Support.ImportFloatVariable("Insane Par Time", "The level completion time players need to beat to get the bonus on Insane difficulty") + +function GetParTime() + local lowestDifficulty = FEARScore.GetLowestDifficultyUsed() + if lowestDifficulty == 1 then + return easyParTime + elseif lowestDifficulty == 2 then + return parTime + elseif lowestDifficulty == 3 then + return hardParTime + else + return insaneParTime + end +end + +if not MP.IsClient() then + FEARScore.StopMissionTimer() +end +local actualParTime = GetParTime() +FEARScore.SetParTime(actualParTime) +local missionTime = FEARScore.GetMissionTime() +if missionTime == nil then + Support.ExitScript() + return +end +local underParTime = actualParTime - missionTime +local difficultyPoints = FEARScore.GetLowestDifficultyUsed() - 1 +if not missionTime or parTime then +end +local GDObject = Utilities.GetGlobalDataObject() +if GDObject ~= nil and not MP.IsClient() then + Game.SendTextMessage(GDObject, "Mission Ended") +end +for key, index in pairs(GameScript.PlayerIndexArray) do + if Player.IsActivePlayer(index) and (not MP.IsNetworkGame() or not MP.IsClient()) then + if 0 < underParTime and GameScript.MissionScoreCategory.TimeBonus then + FEARScore.AwardMissionPointOccurences(index, GameScript.MissionScoreCategory.TimeBonus, underParTime) + end + if GameScript.MissionScoreCategory.DifficultyBonus then + FEARScore.AwardMissionPointOccurences(index, GameScript.MissionScoreCategory.DifficultyBonus, difficultyPoints) + end + end +end +FEARScore.CalculateMissionScore() +for key, index in pairs(GameScript.PlayerIndexArray) do + if Player.IsActivePlayer(index) and Game.HasPlayerStartedLevel(index) then + Game.CompleteCurrentLevel(index) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransitionBegin.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransitionBegin.lua new file mode 100644 index 0000000..11cd3ec --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransitionBegin.lua @@ -0,0 +1,95 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local Debug = GameScript.Debug +local MsgCallback = GameScript.MsgCallback +local Utilities = GameScript.Utilities +local ObjectTags = GameScript.Game.ObjectTags +local movePlayersScript = Support.ImportObjectHandleVariable("movePlayersScript", "Scripts to enable that move the players behind the movie playing") +local showMissionSummaryScreenScript = Support.ImportObjectHandleVariable("showMissionSummaryScreenScript", "Script that displays the mission summary screen") +local outroMissionNameStringVar = Support.ImportStringVariable("First Mission Name Hint", "The string name of the previous mission (Development hack option)") +local outroMovieType = 1 +local scriptObject = Game.GetMyObject() +local transitionMenu = "TransitionMenuPreloader" +Support.RegisterMenuVariable(transitionMenu, "Menu to be used for the transition. This should be the Campaign Loading Screen as it handles the transitions. Done this way to preload the menu so the miniloader doesn't show.") + +function Enable(enableObj) + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end +end + +function PlayOutroMovie() + Debug.PrintInfo("PlayOutroMovie!" .. GameScript.NonProduction.GetFrameNumber()) + Game.ShowLoadingScreenMovieWithMenu(outroMovieType, outroMissionNameStringVar, transitionMenu) + Callbacks.RegisterForMsg(GameScript.MsgCallback["Game::MovieStartMessage"], scriptObject, "MovePlayers") + Callbacks.RegisterForMsg(GameScript.MsgCallback.MovieEndMessage, scriptObject, "ShowMissionSummaryScreen") + Debug.PrintInfo("Leaving PlayOutroMovie!" .. GameScript.NonProduction.GetFrameNumber()) +end + +function MovePlayers() + Debug.PrintInfo("MovePlayers!" .. GameScript.NonProduction.GetFrameNumber()) + Debug.PrintInfo("Hiding Player View") + Game.HidePlayerView() + Enable(movePlayersScript) +end + +function ShowMissionSummaryScreen() + Debug.PrintInfo("ShowMissionSummaryScreen!" .. GameScript.NonProduction.GetFrameNumber()) + Callbacks.UnregisterForMsg(GameScript.MsgCallback["Game::MovieStartMessage"], scriptObject, "MovePlayers") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.MovieEndMessage, scriptObject, "ShowMissionSummaryScreen") + Enable(showMissionSummaryScreenScript) +end + +function PlayersAreAlive() + local pointManIndex, fettelIndex, pmAvatar, fettelAvatar + pointManIndex, fettelIndex, pmAvatar, fettelAvatar = Utilities.GetPointManAndFettel() + local pmControlled, fettelControlled = Utilities.GetPointManFettelControlledObjects() + local pmAlive = false + local fettelAlive = false + local pmRagdoll = false + local fettelRagdoll = false + if CheckObjectTag(pmAvatar, "Point Man") and pmControlled and Game.IsLoaded(pmControlled) then + if CheckObjectTag(pmControlled, "Ragdoll") then + pmRagdoll = true + Debug.PrintInfo("PM Alive but is ragdoll") + end + pmAlive = true + end + if CheckObjectTag(fettelAvatar, "Fettel") and fettelControlled and Game.IsLoaded(fettelControlled) then + if CheckObjectTag(fettelControlled, "Ragdoll") then + fettelRagdoll = true + Debug.PrintInfo("Fettel Alive but is ragdoll") + end + fettelAlive = true + end + Debug.PrintInfo("pmAlive is: " .. tostring(pmAlive)) + Debug.PrintInfo("pmRagdoll is: " .. tostring(pmRagdoll)) + Debug.PrintInfo("fettelAlive is: " .. tostring(fettelAlive)) + Debug.PrintInfo("fettelRagdoll is: " .. tostring(fettelRagdoll)) + return (pmAlive or fettelAlive) and (not pmAlive or not pmRagdoll) and (not fettelAlive or not fettelRagdoll) +end + +function CheckObjectTag(objectToCheck, tagToCheck) + if objectToCheck and Game.IsLoaded(objectToCheck) then + if ObjectTags.DoesObjectHaveTag(objectToCheck, tagToCheck) then + return true + end + else + Debug.PrintInfo("CheckObjectTag: objectToCheck is nil or isn't loaded ") + end + return false +end + +if PlayersAreAlive() then + GameScript.Audio.StopMusic() + PlayOutroMovie() +else + Debug.PrintInfo("Missing either a Pointman or Fettel object tag. One or both players is dead/in a state where we don't want to start the transition.") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransition_AfterSummary.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransition_AfterSummary.lua new file mode 100644 index 0000000..59147f9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/LevelTransition_AfterSummary.lua @@ -0,0 +1,44 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local Debug = GameScript.Debug +local MsgCallback = GameScript.MsgCallback +local DelayMovieTime = 0 +local outroMissionNameStringVar = Support.ImportStringVariable("First Mission Name Hint", "The string name of the previous mission (Development hack option)") +local wardMovieType = 2 +local scriptObject = Game.GetMyObject() +local transitionMenu = "TransitionMenuPreloader" +Support.RegisterMenuVariable(transitionMenu, "Menu to be used for the transition. This should be the Campaign Loading Screen as it handles the transitions. Done this way to preload the menu so the miniloader doesn't show.") +local nextLevelIndex = Support.ImportFloatVariableWithDefault("Next Level Index", "Integer indicating what the next level is.", 0) +local isThisWade = Support.ImportBoolVariableWithDefault("Is this a transition to Wade?", "Wade has no ward movie and so is handled differently", false) + +function Enable(enableObj) + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end +end + +function PlayWardMovie() + Debug.PrintInfo("PlayWardMovie!" .. GameScript.NonProduction.GetFrameNumber()) + Game.ShowLoadingScreenMovie(wardMovieType, outroMissionNameStringVar) + Callbacks.RegisterForMsg(GameScript.MsgCallback.MovieEndMessage, scriptObject, "PlayAndStreamIntroMovie") +end + +function PlayAndStreamIntroMovie() + Debug.PrintInfo("PlayAndStreamIntroMovie!" .. GameScript.NonProduction.GetFrameNumber()) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.MovieEndMessage, scriptObject, "PlayAndStreamIntroMovie") + GameScript.Game.ShowIntroLoadingMovieAndStreamWithMenu(nextLevelIndex, transitionMenu) +end + +GameScript.Audio.StopMusic() +if isThisWade then + PlayAndStreamIntroMovie() +else + PlayWardMovie() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteraction.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteraction.lua new file mode 100644 index 0000000..f994c64 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteraction.lua @@ -0,0 +1,65 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +local Math3d = GameScript.LuaMath3d +local interactiveObject = Support.ImportFirstObject("Interactive Object", "The object being interacted with") +local textToSend = Support.ImportStringVariable("Text Response", "The text message to be sent when the interactive object is used") +Support.ImportObjectHandleVariable("Text Recipients", "The object(s) that will receive the text message when the interactive object is used") +local XOffset = Support.ImportFloatVariableWithDefault("Local X Offset", "The interaction's x position offset from the object.", 0) +local YOffset = Support.ImportFloatVariableWithDefault("Local Y Offset", "The interaction's y position offset from the object.", 0) +local ZOffset = Support.ImportFloatVariableWithDefault("Local Z Offset", "The interaction's z position offset from the object.", 0) +local headingOffset = Support.ImportFloatVariableWithDefault("Local Heading Offset", "The interaction's heading rotation offset from the object.", 0) +local timeDelay = Support.ImportFloatVariable("Text Delay", "How long after the interaction do we send the text message?") +local singleUse = Support.ImportBoolVariableWithDefault("Single Use", "Should this script exit after one use?", false) +local movePlayer = Support.ImportBoolVariableWithDefault("Move Player", "Should this script move the player into position?", true) +local stopInteraction = Support.ImportBoolVariableWithDefault("Stop Interaction", "Should this script stop the interaction when you stop using?", false) +local blockUse = false +local interactionUser + +function OnUse(useMsg) + if blockUse then + return + end + interactionUser = Player.GetPlayerControlledObjectByIndex(useMsg.userPlayerIndex) + if interactionUser then + local interactionSuccessful + if movePlayer then + local InteractionRotation = Game.GetRotation(interactiveObject) + local Forward, Side, Up = Math3d.GetForwardSideUp(InteractionRotation) + InteractionRotation.h = InteractionRotation.h + headingOffset + local InteractionPosition = Math3d.VectorAdd(Game.GetPosition(interactiveObject), Math3d.VectorMultiply(Side, XOffset), Math3d.VectorMultiply(Up, YOffset), Math3d.VectorMultiply(Forward, ZOffset)) + interactionSuccessful = GameScript.Game.StartInteraction(interactionUser, interactiveObject, InteractionPosition, InteractionRotation) + else + interactionSuccessful = GameScript.Game.StartInteraction(interactionUser, interactiveObject, Game.GetPosition(interactionUser), Game.GetRotation(interactionUser)) + end + if interactionSuccessful == nil or interactionSuccessful == true then + GameScript.Callbacks.RegisterForTimer("SendTextMessages", timeDelay, false) + blockUse = true + end + end +end + +function OnStopUsing(StopUsingMsg) + GameScript.Game.StopInteraction(interactionUser, interactiveObject) + blockUse = false +end + +function SendTextMessages() + local recipientTable = Support.GetImportObjectTable("Text Recipients") + for k, recipient in pairs(recipientTable) do + GameScript.Game.SendTextMessage(recipient, textToSend) + end + blockUse = false + if singleUse then + Support.ExitScript() + end +end + +if interactiveObject ~= nil then + GameScript.Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, interactiveObject, "OnUse") + if stopInteraction then + GameScript.Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, interactiveObject, "OnStopUsing") + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteractionEndCrouched.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteractionEndCrouched.lua new file mode 100644 index 0000000..5cef356 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/ObjectInteractionEndCrouched.lua @@ -0,0 +1,68 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +local Math3d = GameScript.LuaMath3d +local interactiveObject = Support.ImportFirstObject("Interactive Object", "The object being interacted with") +local textToSend = Support.ImportStringVariable("Text Response", "The text message to be sent when the interactive object is used") +Support.ImportObjectHandleVariable("Text Recipients", "The object(s) that will receive the text message when the interactive object is used") +local XOffset = Support.ImportFloatVariableWithDefault("Local X Offset", "The interaction's x position offset from the object.", 0) +local YOffset = Support.ImportFloatVariableWithDefault("Local Y Offset", "The interaction's y position offset from the object.", 0) +local ZOffset = Support.ImportFloatVariableWithDefault("Local Z Offset", "The interaction's z position offset from the object.", 0) +local headingOffset = Support.ImportFloatVariableWithDefault("Local Heading Offset", "The interaction's heading rotation offset from the object.", 0) +local timeDelay = Support.ImportFloatVariable("Text Delay", "How long after the interaction do we send the text message?") +local singleUse = Support.ImportBoolVariableWithDefault("Single Use", "Should this script exit after one use?", false) +local movePlayer = Support.ImportBoolVariableWithDefault("Move Player", "Should this script move the player into position?", true) +local stopInteraction = Support.ImportBoolVariableWithDefault("Stop Interaction", "Should this script stop the interaction when you stop using?", false) +local endCrouched = Support.ImportBoolVariableWithDefault("End Crouched", "Should this script attempt to enable or disable crouch?", true) +local blockUse = false +local interactionUser + +function OnUse(useMsg) + if blockUse then + return + end + interactionUser = Player.GetPlayerControlledObjectByIndex(useMsg.userPlayerIndex) + if interactionUser then + local interactionSuccessful + if movePlayer then + local InteractionRotation = Game.GetRotation(interactiveObject) + local Forward, Side, Up = Math3d.GetForwardSideUp(InteractionRotation) + InteractionRotation.h = InteractionRotation.h + headingOffset + local InteractionPosition = Math3d.VectorAdd(Game.GetPosition(interactiveObject), Math3d.VectorMultiply(Side, XOffset), Math3d.VectorMultiply(Up, YOffset), Math3d.VectorMultiply(Forward, ZOffset)) + interactionSuccessful = GameScript.Game.StartInteraction(interactionUser, interactiveObject, InteractionPosition, InteractionRotation) + else + interactionSuccessful = GameScript.Game.StartInteraction(interactionUser, interactiveObject, Game.GetPosition(interactionUser), Game.GetRotation(interactionUser)) + end + if interactionSuccessful == nil or interactionSuccessful == true then + Player.SetCrouch(interactionUser, endCrouched) + GameScript.Callbacks.RegisterForTimer("SendTextMessages", timeDelay, false) + blockUse = true + end + end +end + +function OnStopUsing(StopUsingMsg) + GameScript.Game.StopInteraction(interactionUser, interactiveObject) + Player.SetCrouch(interactionUser, endCrouched) + blockUse = false +end + +function SendTextMessages() + local recipientTable = Support.GetImportObjectTable("Text Recipients") + for k, recipient in pairs(recipientTable) do + GameScript.Game.SendTextMessage(recipient, textToSend) + end + blockUse = false + if singleUse then + Support.ExitScript() + end +end + +if interactiveObject ~= nil then + GameScript.Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, interactiveObject, "OnUse") + if stopInteraction then + GameScript.Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, interactiveObject, "OnStopUsing") + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/SaveGame.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/SaveGame.lua new file mode 100644 index 0000000..82a4705 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/SaveGame.lua @@ -0,0 +1 @@ +GameScript.Game.SaveGame() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/SetCurrentLevel.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/SetCurrentLevel.lua new file mode 100644 index 0000000..a772807 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/SetCurrentLevel.lua @@ -0,0 +1,21 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local MP = Game.MP +local FEARScore = GameScript.FEARScore +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +Support.AddDescription("Record mission being started in player profile") +local MissionNumber = Support.ImportFloatVariable("Mission Number", "Integer indicating what mission this is") +if MissionNumber then + Game.SetCurrentLevel(MissionNumber) +end +Game.SetPlayersStartedLevel() +if not MP.IsNetworkGame() or not MP.IsClient() then + FEARScore.ResetMissionPoints() + FEARScore.ResetMissionTimer() + FEARScore.StartMissionTimer() +end +local GDObject = Utilities.GetGlobalDataObject() +if GDObject ~= nil and not MP.IsClient() then + Game.SendTextMessage(GDObject, "Mission Started") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion.lua new file mode 100644 index 0000000..d1989b9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion.lua @@ -0,0 +1,33 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +Support.RegisterWorldVectorVariable("Desired Worlds", "The worlds that we want to start streaming") +Support.RegisterWorldVectorVariable("Required Worlds", "The worlds that must exist when a player enters this region (must have been desired first!)") +local save = Support.ImportBoolVariableWithDefault("Auto Save?", "If system enablers autosave and this is true then an auto save will occur, use false to disable the autosave feature", true) +local regionObj = Support.ImportRegionObject("StreamingRegion", "Region to kick off streaming") +local Require_All_Inside = Support.NumberToBool(Support.ImportFloatVariable("All Players Inside?", "Is it necessary to have all players inside the region(s) before we enable the object(s)? 0 false; 1 true")) +local DelayTime = Support.ImportFloatVariableWithDefault("Delay Time", "Time in seconds to wait before streaming.", 0) + +function Stream() + GameScript.Game.StreamWorlds("Desired Worlds", "Required Worlds") + if save then + GameScript.Game.SaveGame() + end + GameScript.Debug.PrintInfoIf(g_debugMode > 0, "StreamDesiredRequiredWorlds") +end + +function OnEnter() + if not Require_All_Inside or Game.Regions.AllPlayersInTableOfRegions(regionObj) then + if DelayTime <= 0 then + Stream() + else + Callbacks.RegisterForTimer("Stream", DelayTime, false) + end + Callbacks.UnregisterPlayerEnterExitRegion(regionObj, "OnEnter", "") + end +end + +if regionObj ~= nil then + Callbacks.RegisterPlayerEnterExitRegion(regionObj, "OnEnter", "") + GameScript.Debug.PrintInfoIf(0 < g_debugMode, "StreamWorldsOnRegion startup") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay.lua b/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay.lua new file mode 100644 index 0000000..ba36a9b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay.lua @@ -0,0 +1,38 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +Support.RegisterWorldVectorVariable("Desired Worlds", "The worlds that we want to start streaming") +Support.RegisterWorldVectorVariable("Required Worlds", "The worlds that must exist when a player enters this region (must have been desired first!)") +local save = Support.ImportBoolVariableWithDefault("Auto Save?", "If system enablers autosave and this is true then an auto save will occur, use false to disable the autosave feature", true) +local regionObj = Support.ImportRegionObject("StreamingRegion", "Region to kick off streaming") +local Require_All_Inside = Support.NumberToBool(Support.ImportFloatVariable("All Players Inside?", "Is it necessary to have all players inside the region(s) before we enable the object(s)? 0 false; 1 true")) +local DelayTime = Support.ImportFloatVariableWithDefault("Delay Time", "Time in seconds to wait before streaming.", 0) +local SaveDelay = Support.ImportFloatVariableWithDefault("Delay Save", "Time in seconds to wait before saving.", 0.1) + +function Stream() + GameScript.Game.StreamWorlds("Desired Worlds", "Required Worlds") + if save then + Callbacks.RegisterForTimer("TheSaveGameFunction", SaveDelay, false) + end + GameScript.Debug.PrintInfoIf(g_debugMode > 0, "StreamDesiredRequiredWorlds") +end + +function OnEnter() + if not Require_All_Inside or Game.Regions.AllPlayersInTableOfRegions(regionObj) then + if DelayTime <= 0 then + Stream() + else + Callbacks.RegisterForTimer("Stream", DelayTime, false) + end + Callbacks.UnregisterPlayerEnterExitRegion(regionObj, "OnEnter", "") + end +end + +function TheSaveGameFunction() + GameScript.Game.SaveGame() +end + +if regionObj ~= nil then + Callbacks.RegisterPlayerEnterExitRegion(regionObj, "OnEnter", "") + GameScript.Debug.PrintInfoIf(0 < g_debugMode, "StreamWorldsOnRegion startup") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgun.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgun.lua new file mode 100644 index 0000000..f8a3b71 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgun.lua @@ -0,0 +1,119 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Player = GameScript.Game.Player +local Math3d = GameScript.LuaMath3d +local Self = Game.GetMyObject() +local FrameCount = 0 +local SourcePositon, DamagePosition +local DamagePositionTable = {} +local BoneNameTable = {} +local bInitialized = false +local TargetObject = Support.ImportFirstObject("Target Object", "The object that will have damage done to it. MUST be a body with bones.") +local SourceObject = Support.ImportFirstObject("Source Object", "The object position from which the damage is coming from.") +local TotalDamageAmount = Support.ImportFloatVariable("Total Damage Amount", "The total amount of damage done to the body from all the damage messages combined") +local Spread = Support.ImportFloatVariableWithDefault("Spread", "The distance away from the original Target point", 0.2) +local BoneName00 = Support.ImportStringVariable("Bone Name00", "The name of the bone to target in String form") +local BoneName01 = Support.ImportStringVariable("Bone Name01", "The name of the bone to target in String form") +local BoneName02 = Support.ImportStringVariable("Bone Name02", "The name of the bone to target in String form") +local BoneName03 = Support.ImportStringVariable("Bone Name03", "The name of the bone to target in String form") +local BoneName04 = Support.ImportStringVariable("Bone Name04", "The name of the bone to target in String form") + +function ProcessDamage() + if not bInitialized then + TargetObject = Support.ImportFirstObject("Target Object", "") + if TargetObject and Game.IsLoaded(TargetObject) then + BoneAddition(BoneName00, BoneName01, BoneName02, BoneName03, BoneName04) + InitializeDamageVals() + bInitialized = true + end + end +end + +function InitializeDamageVals() + if 0 < #BoneNameTable then + Debug.PrintInfoIf(0 < g_debugMode, "#BoneNameTable: " .. #BoneNameTable) + if TargetObject and SourceObject then + for key, value in pairs(BoneNameTable) do + DamagePosition = Game.GetSceneNodePosition(TargetObject, value) + SourcePositon = Game.GetPosition(SourceObject) + local Forward, Side, Up = Math3d.GetForwardSideUp(Math3d.GetRotationForForward(Math3d.VectorSubtract(SourcePositon, DamagePosition))) + local Side_Spread = Math3d.VectorMultiply(Side, Spread) + local Up_Spread = Math3d.VectorMultiply(Up, Spread) + local Position_1 = Math3d.VectorAdd(DamagePosition, Side_Spread) + local Position_2 = Math3d.VectorSubtract(DamagePosition, Side_Spread) + local Position_3 = Math3d.VectorAdd(DamagePosition, Up_Spread) + local Position_4 = Math3d.VectorSubtract(DamagePosition, Up_Spread) + DamagePositionTable[#DamagePositionTable + 1] = { + x = DamagePosition.x, + y = DamagePosition.y, + z = DamagePosition.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_1.x, + y = Position_1.y, + z = Position_1.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_2.x, + y = Position_2.y, + z = Position_2.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_3.x, + y = Position_3.y, + z = Position_3.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_4.x, + y = Position_4.y, + z = Position_4.z + } + end + FrameCount = 1 + Callbacks.RegisterForUpdateEveryFrame("DoDamage") + else + Debug.PrintError(Game.GetName(Self) .. ": One of the necessary Import objects was NIL ") + end + elseif Self then + Debug.PrintError(Game.GetName(Self) .. ": No bones Imported! ") + end +end + +function DoDamage() + if DamagePositionTable[FrameCount] ~= nil then + local DamageTable = { + damage = TotalDamageAmount, + impactX = DamagePositionTable[FrameCount].x, + impactY = DamagePositionTable[FrameCount].y, + impactZ = DamagePositionTable[FrameCount].z, + sourceX = SourcePositon.x, + sourceY = SourcePositon.y, + sourceZ = SourcePositon.z + } + if Game.IsLoaded(TargetObject) then + Game.DamageWithInfo(TargetObject, DamageTable) + end + if FrameCount >= #DamagePositionTable then + Debug.PrintInfoIf(g_debugMode > 0, "#DamagePositionTable: " .. #DamagePositionTable) + Callbacks.UnregisterForUpdateEveryFrame("DoDamage") + end + end + FrameCount = FrameCount + 1 +end + +function BoneAddition(...) + for i, v in ipairs({ + ... + }) do + if v then + BoneNameTable[#BoneNameTable + 1] = Game.DoesSceneNodeExist(TargetObject, v) and v or nil + end + end +end + +if TargetObject then + Callbacks.RegisterForTimer("ProcessDamage", 1, true) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgunToSelf.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgunToSelf.lua new file mode 100644 index 0000000..2b6cfa4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgunToSelf.lua @@ -0,0 +1,139 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Utilities = GameScript.Utilities +local Player = GameScript.Game.Player +local Math3d = GameScript.LuaMath3d +local Self = Game.GetMyObject() +local FrameCount = 0 +local SourcePositon = {} +local DamagePosition +local DamagePositionTable = {} +local BoneNameTable = {} +local bInitialized = false +local ReloadWait = 0 +local TargetObject = Support.ImportFirstObject("Target Object", "The object that will have damage done to it. MUST be a body with bones.") +local SourceObject = Support.ImportFirstObject("Source Object", "The object position from which the damage is coming from.") +local TotalDamageAmount = Support.ImportFloatVariable("Total Damage Amount", "The total amount of damage done to the body from all the damage messages combined") +local Spread = Support.ImportFloatVariableWithDefault("Spread", "The distance away from the original Target point", 0.2) +local Offset = Support.ImportFloatVariable("Offset", "Offset in X, Y, and Z to fire shotgun from(uses same value for offset in each direction + random value [0.0 - 1.0] )") +local BoneName00 = Support.ImportStringVariable("Bone Name00", "The name of the bone to target in String form") +local BoneName01 = Support.ImportStringVariable("Bone Name01", "The name of the bone to target in String form") +local BoneName02 = Support.ImportStringVariable("Bone Name02", "The name of the bone to target in String form") +local BoneName03 = Support.ImportStringVariable("Bone Name03", "The name of the bone to target in String form") +local BoneName04 = Support.ImportStringVariable("Bone Name04", "The name of the bone to target in String form") +local seed = Util.GenerateRandomSeed() + +function ProcessDamage() + if not bInitialized then + TargetObject = Support.ImportFirstObject("Target Object", "") + if TargetObject and Game.IsLoaded(TargetObject) then + BoneAddition(BoneName00, BoneName01, BoneName02, BoneName03, BoneName04) + InitializeDamageVals() + bInitialized = true + end + end +end + +function InitializeDamageVals() + if 0 < #BoneNameTable then + Debug.PrintInfoIf(0 < g_debugMode, "#BoneNameTable: " .. #BoneNameTable) + if TargetObject and SourceObject then + for key, value in pairs(BoneNameTable) do + DamagePosition = Game.GetSceneNodePosition(TargetObject, value) + SourcePosition = Game.GetPosition(TargetObject) + local offsetTable = { + x = Offset + Utilities.GetRandomPercent(), + y = Offset + Utilities.GetRandomPercent(), + z = Offset + Utilities.GetRandomPercent() + } + SourcePosition = Math3d.VectorAdd(SourcePosition, offsetTable) + local Forward, Side, Up = Math3d.GetForwardSideUp(Math3d.GetRotationForForward(Math3d.VectorSubtract(SourcePosition, DamagePosition))) + local Side_Spread = Math3d.VectorMultiply(Side, Spread) + local Up_Spread = Math3d.VectorMultiply(Up, Spread) + local Position_1 = Math3d.VectorAdd(DamagePosition, Side_Spread) + local Position_2 = Math3d.VectorSubtract(DamagePosition, Side_Spread) + local Position_3 = Math3d.VectorAdd(DamagePosition, Up_Spread) + local Position_4 = Math3d.VectorSubtract(DamagePosition, Up_Spread) + DamagePositionTable[#DamagePositionTable + 1] = { + x = DamagePosition.x, + y = DamagePosition.y, + z = DamagePosition.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_1.x, + y = Position_1.y, + z = Position_1.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_2.x, + y = Position_2.y, + z = Position_2.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_3.x, + y = Position_3.y, + z = Position_3.z + } + DamagePositionTable[#DamagePositionTable + 1] = { + x = Position_4.x, + y = Position_4.y, + z = Position_4.z + } + end + FrameCount = 1 + Callbacks.RegisterForUpdateEveryFrame("DoDamage") + else + Debug.PrintError(Game.GetName(Self) .. ": One of the necessary Import objects was NIL ") + end + elseif Self then + Debug.PrintError(Game.GetName(Self) .. ": No bones Imported! ") + end +end + +function DoDamage() + if 0 < FrameCount then + local DamageTable = { + damage = TotalDamageAmount, + impactX = DamagePositionTable[FrameCount].x, + impactY = DamagePositionTable[FrameCount].y, + impactZ = DamagePositionTable[FrameCount].z, + sourceX = SourcePositon.x, + sourceY = SourcePositon.y, + sourceZ = SourcePositon.z + } + if Game.IsLoaded(TargetObject) then + Game.DamageWithInfo(TargetObject, DamageTable) + end + if FrameCount >= #DamagePositionTable then + Debug.PrintInfoIf(0 < g_debugMode, "#DamagePositionTable: " .. #DamagePositionTable) + Callbacks.UnregisterForUpdateEveryFrame("DoDamage") + end + FrameCount = FrameCount + 1 + end +end + +function BoneAddition(...) + for i, v in ipairs({ + ... + }) do + if v then + BoneNameTable[#BoneNameTable + 1] = Game.DoesSceneNodeExist(TargetObject, v) and v or nil + end + end +end + +function Reload() + Callbacks.RegisterForTimer("ProcessDamage", 0, false) +end + +function DummyFunc() +end + +if TargetObject then + Callbacks.RegisterForTimer("ProcessDamage", 1, false) + Callbacks.RegisterForPostCheckpointActivation("Reload") + Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, GameScript.Game.GetMyObject(), "DummyFunc") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageToObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageToObject.lua new file mode 100644 index 0000000..27f78b9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/ApplyDamageToObject.lua @@ -0,0 +1,23 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Player = GameScript.Game.Player +local Self = Game.GetMyObject() +local TargetTable = Support.ImportObjectHandleVariable("Target Object(s)", "The object(s) that will have damage done to it.") +local DamageAmount = Support.ImportFloatVariable("Damage Amount", "The amount of damage done to the object(s).") +local DamageType = Support.ImportStringVariableWithDefault("Damage Type", "Do what type of damage? See Damage Global Data in the GlobalData object for types. Leave this blank if the type doesnt matter.", "") +local ReactionProb = GameScript.Support.ImportFloatVariableWithDefault("Full Reaction Probability", "What is the percent chance that the full hit reaction will play. 0 = No chance, 1 = Full hit reaction will always play.", 0) +if TargetTable then + local DamageTable = { + damage = DamageAmount, + type = DamageType, + hitReactionProbability = ReactionProb + } + for key, object in pairs(TargetTable) do + if Game.IsLoaded(object) then + Game.DamageWithInfo(object, DamageTable) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberDeleteLimbRagdoll.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberDeleteLimbRagdoll.lua new file mode 100644 index 0000000..427d098 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberDeleteLimbRagdoll.lua @@ -0,0 +1,103 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Game = GameScript.Game +local Util = GameScript.Utilities +local Player = Game.Player +local Physics = Game.Physics +local FEAR = GameScript.FEAR +local MP = Game.MP +local Self = Game.GetMyObject() +local NumberOfLimbsToDelete, ObjectTagID +local TF_Dismember_Head = Support.ImportBoolVariableWithDefault("Dismember Head?", "true will result in this limb being dismsmebered", false) +local TF_Dismember_LArm = Support.ImportBoolVariableWithDefault("Dismember Left Arm?", "true will result in this limb being dismsmebered", false) +local Delete_LArm = Support.ImportBoolVariableWithDefault("Delete LArm Limb?", "Should the dismembered limb be deleted?", false) +local TF_Dismember_RArm = Support.ImportBoolVariableWithDefault("Dismember Right Arm?", "true will result in this limb being dismsmebered", false) +local Delete_RArm = Support.ImportBoolVariableWithDefault("Delete RArm Limb?", "Should the dismembered limb be deleted?", false) +local TF_Dismember_LLeg = Support.ImportBoolVariableWithDefault("Dismember Left Leg?", "true will result in this limb being dismsmebered", false) +local Delete_LLeg = Support.ImportBoolVariableWithDefault("Delete LLeg Limb?", "Should the dismembered limb be deleted?", false) +local TF_Dismember_RLeg = Support.ImportBoolVariableWithDefault("Dismember Right Leg?", "true will result in this limb being dismsmebered", false) +local Delete_RLeg = Support.ImportBoolVariableWithDefault("Delete RLeg Limb?", "Should the dismembered limb be deleted?", false) +local DismembermentBody = Support.ImportFirstObject("Ragdoll To Dismember", "This is the object that will be Dismembered") +local DeletionRegion = Support.ImportFirstObject("Limb Deletion Region", "This iRegion will be used to delete the limbs. If no region is supplied then the limbs CANNOT be deleted.") +local RequiresTXT = Support.ImportBoolVariableWithDefault("Send TXT to Dismember?", "If True you will need to send a txt message 'Dismember' to the object to trigger the dismember.", false) + +function DismemberRagdoll() + if DismembermentBody then + if TF_Dismember_Head then + FEAR.DismemberObject(DismembermentBody, "Head") + end + if TF_Dismember_LArm then + FEAR.DismemberObject(DismembermentBody, "LArm") + end + if TF_Dismember_RArm then + FEAR.DismemberObject(DismembermentBody, "RArm") + end + if TF_Dismember_LLeg then + FEAR.DismemberObject(DismembermentBody, "LLeg") + end + if TF_Dismember_RLeg then + FEAR.DismemberObject(DismembermentBody, "RLeg") + end + GameScript.Support.ExitScript() + end +end + +function DismemberOnMessage(TXT_MSG) + if TXT_MSG.text == "Dismember" then + DismemberRagdoll() + end +end + +function DeleteLimb(MessageInfo) + local Kill = false + local Limb = MessageInfo.object + if Limb and 0 < NumberOfLimbsToDelete then + if Delete_LArm and Game.ObjectTags.DoesObjectHaveTag(Limb, "Limb LeftArm") then + Kill = true + end + if not Kill and Delete_RArm and Game.ObjectTags.DoesObjectHaveTag(Limb, "Limb RightArm") then + Kill = true + end + if not Kill and Delete_LLeg and Game.ObjectTags.DoesObjectHaveTag(Limb, "Limb LeftLeg") then + Kill = true + end + if not Kill and Delete_RLeg and Game.ObjectTags.DoesObjectHaveTag(Limb, "Limb RightLeg") then + Kill = true + end + if Kill and not MP.IsClient() then + Game.Kill(Limb, 0) + NumberOfLimbsToDelete = NumberOfLimbsToDelete - 1 + end + if NumberOfLimbsToDelete <= 0 then + Callbacks.UnregisterObjectEnterExitRegion(DeletionRegion, ObjectTagID, "DeleteLimb", "DeleteLimb") + end + end +end + +if DismembermentBody == nil then + Debug.PrintError("An Object was not submitted for dismemberment! This script will not continue!") +else + if DeletionRegion and (Delete_LArm or Delete_RArm or Delete_LLeg or Delete_RLeg) then + ObjectTagID = Game.ObjectTags.GetObjectTagUID("Limb All") + NumberOfLimbsToDelete = 0 + if Delete_LArm then + NumberOfLimbsToDelete = NumberOfLimbsToDelete + 1 + end + if Delete_RArm then + NumberOfLimbsToDelete = NumberOfLimbsToDelete + 1 + end + if Delete_LLeg then + NumberOfLimbsToDelete = NumberOfLimbsToDelete + 1 + end + if Delete_RLeg then + NumberOfLimbsToDelete = NumberOfLimbsToDelete + 1 + end + Callbacks.RegisterObjectTagEnterExitRegion(DeletionRegion, ObjectTagID, "DeleteLimb", "DeleteLimb") + end + if RequiresTXT == 1 then + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Self, "DismemberOnMessage") + else + DismemberRagdoll() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberRagdoll.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberRagdoll.lua new file mode 100644 index 0000000..368604e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/DismemberRagdoll.lua @@ -0,0 +1,48 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Game = GameScript.Game +local Util = GameScript.Utilities +local Player = Game.Player +local Physics = Game.Physics +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local TF_Dismember_Head = Support.ImportFloatVariable("Dismember Head?", "0 = False; 1 = True") +local TF_Dismember_LArm = Support.ImportFloatVariable("Dismember Left Arm?", "0 = False; 1 = True") +local TF_Dismember_RArm = Support.ImportFloatVariable("Dismember Right Arm?", "0 = False; 1 = True") +local TF_Dismember_LLeg = Support.ImportFloatVariable("Dismember Left Leg?", "0 = False; 1 = True") +local TF_Dismember_RLeg = Support.ImportFloatVariable("Dismember Right Leg?", "0 = False; 1 = True") +local DismembermentBody = Support.ImportFirstObject("Ragdoll To Dismember", "This is the object that will be Dismembered") +local RequiresTXT = Support.ImportFloatVariable("Send TXT to Dismember?", "0 = False; 1 = True. The txt message must be 'Dismember' ") + +function DismemberRagdoll() + if DismembermentBody then + if TF_Dismember_Head == 1 then + FEAR.DismemberObject(DismembermentBody, "Head") + end + if TF_Dismember_LArm == 1 then + FEAR.DismemberObject(DismembermentBody, "LArm") + end + if TF_Dismember_RArm == 1 then + FEAR.DismemberObject(DismembermentBody, "RArm") + end + if TF_Dismember_LLeg == 1 then + FEAR.DismemberObject(DismembermentBody, "LLeg") + end + if TF_Dismember_RLeg == 1 then + FEAR.DismemberObject(DismembermentBody, "RLeg") + end + end +end + +function DismemberOnMessage(TXT_MSG) + if TXT_MSG.text == "Dismember" then + DismemberRagdoll() + end +end + +if RequiresTXT == 1 then + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Self, "DismemberOnMessage") +else + DismemberRagdoll() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/RandomDismemberRagdoll.lua b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/RandomDismemberRagdoll.lua new file mode 100644 index 0000000..2a0983a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Dismemberment/RandomDismemberRagdoll.lua @@ -0,0 +1,55 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Game = GameScript.Game +local Util = GameScript.Utilities +local Utilities = GameScript.Utilities +local Player = Game.Player +local Physics = Game.Physics +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local TF_Dismember_Head = Support.ImportFloatVariable("Chance to Dismember Head?[0.0 - 1.0]", "0.0 = None; 1.0 = Always") +local TF_Dismember_LArm = Support.ImportFloatVariable("Chance to Dismember Left Arm?[0.0 - 1.0]", "0 = None; 1 = Always") +local TF_Dismember_RArm = Support.ImportFloatVariable("Chance to Dismember Right Arm?[0.0 - 1.0]", "0 = None; 1 = Always") +local TF_Dismember_LLeg = Support.ImportFloatVariable("Chance to Dismember Left Leg?[0.0 - 1.0]", "0 = None; 1 = Always") +local TF_Dismember_RLeg = Support.ImportFloatVariable("Chance to Dismember Right Leg?[0.0 - 1.0]", "0 = None; 1 = Always") +local DismembermentBody = Support.ImportFirstObject("Ragdoll To Dismember", "This is the object that will be Dismembered") +local RequiresTXT = Support.ImportFloatVariable("Send TXT to Dismember?", "0 = False; 1 = True. The txt message must be 'Dismember' ") + +function DismemberRagdoll() + local seed = Util.GenerateRandomSeed() + if DismembermentBody then + local chance = Utilities.GetRandomPercent() + if chance <= TF_Dismember_Head then + FEAR.DismemberObject(DismembermentBody, "Head") + end + chance = Utilities.GetRandomPercent() + if chance <= TF_Dismember_LArm then + FEAR.DismemberObject(DismembermentBody, "LArm") + end + chance = Utilities.GetRandomPercent() + if chance <= TF_Dismember_RArm then + FEAR.DismemberObject(DismembermentBody, "RArm") + end + chance = Utilities.GetRandomPercent() + if chance <= TF_Dismember_LLeg then + FEAR.DismemberObject(DismembermentBody, "LLeg") + end + chance = Utilities.GetRandomPercent() + if chance <= TF_Dismember_RLeg then + FEAR.DismemberObject(DismembermentBody, "RLeg") + end + end +end + +function DismemberOnMessage(TXT_MSG) + if TXT_MSG.text == "Dismember" then + DismemberRagdoll() + end +end + +if RequiresTXT == 1 then + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Self, "DismemberOnMessage") +else + DismemberRagdoll() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable.lua b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable.lua new file mode 100644 index 0000000..0d5c9e7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable.lua @@ -0,0 +1,16 @@ +GameScript.Support.AddDescription("Script to close and disable a set of doors") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local DoorsTable = Support.ImportObjectHandleVariable("Door Object(s)", "These doors will be closed and disabled") +if DoorsTable then + for key, value in pairs(DoorsTable) do + Door.MoveToPercentPosition(value, 0) + Door.Lock(value, true) + Door.Enable(value, false) + end +else + Debug.PrintWarning("Necessary Data was invalid") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent.lua b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent.lua new file mode 100644 index 0000000..f4a4508 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent.lua @@ -0,0 +1,16 @@ +GameScript.Support.AddDescription("Script to close and disable a set of doors") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local DoorsTable = Support.ImportObjectHandleVariable("Door Object(s)", "These doors will be closed and disabled") +if DoorsTable then + for key, value in pairs(DoorsTable) do + Door.MoveToPercentPositionSilent(value, 0) + Door.LockSilent(value, true) + Door.Enable(value, false) + end +else + Debug.PrintWarning("Necessary Data was invalid") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenClose.lua b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenClose.lua new file mode 100644 index 0000000..b7519c5 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenClose.lua @@ -0,0 +1,75 @@ +GameScript.Support.AddDescription("Script to toggle position/lock properties of a set of doors") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local DoorsTable = Support.ImportObjectHandleVariable("Door Object(s)", "These doors will be opened or closed") +local LockOptions = Support.ImportFloatVariable("Close and Lock Options", "0 = Door closed and locked. 1 = Door unlocked and opened. 2 = Door unlocked only. 3 = Door closed only.") +local DoorOpenPosition = Support.ImportFloatVariableWithDefault("Door Open Position", "0.0 = closed, 1.0 = fully open, -1.0 = fully open back.", 1) +local DelayTime = Support.ImportFloatVariableWithDefault("Delay Time", "Time in seconds to wait before door action.", 0) +local Silent = Support.ImportBoolVariableWithDefault("Silent?", "Should the door do its action silently?", false) +local DisableDoor = Support.ImportBoolVariableWithDefault("Disable?", "Should the door be disabled after this script runs? Shows the Red Hand", false) + +function DoorAction() + if DoorsTable then + if LockOptions == 0 then + for key, value in pairs(DoorsTable) do + if Silent then + Door.MoveToPercentPositionSilent(value, 0) + Door.LockSilent(value, true) + else + Door.MoveToPresetPosition(value, 0) + Door.Lock(value, true) + end + end + elseif LockOptions == 1 then + for key, value in pairs(DoorsTable) do + if Silent then + Door.LockSilent(value, false) + Door.MoveToPercentPositionSilent(value, DoorOpenPosition) + else + Door.Lock(value, false) + Door.MoveToPresetPosition(value, DoorOpenPosition) + end + end + elseif LockOptions == 2 then + for key, value in pairs(DoorsTable) do + if Silent then + Door.LockSilent(value, false) + else + Door.Lock(value, false) + end + if not DisableDoor then + for key, value in pairs(DoorsTable) do + Door.Enable(value, true) + end + end + end + elseif LockOptions == 3 then + for key, value in pairs(DoorsTable) do + if Silent then + Door.MoveToPercentPositionSilent(value, 0) + else + Door.MoveToPresetPosition(value, 0) + end + end + else + Debug.PrintWarning("LockOptions Data was invalid") + end + if DisableDoor then + for key, value in pairs(DoorsTable) do + Door.Enable(value, false) + end + end + else + Debug.PrintWarning("Necessary Data was invalid") + end +end + +if 0 < DelayTime then + Callbacks.RegisterForTimer("DoorAction", DelayTime, false) +else + DoorAction() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent.lua b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent.lua new file mode 100644 index 0000000..b278c26 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent.lua @@ -0,0 +1,33 @@ +GameScript.Support.AddDescription("Script to toggle position/lock properties of a set of doors") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local DoorsTable = Support.ImportObjectHandleVariable("Door Object(s)", "These doors will be opened or closed") +local LockOptions = Support.ImportFloatVariable("Close and Lock Options", "0 = Door closed and locked. 1 = Door unlocked and opened. 2 = Door unlocked only. 3 = Door closed only.") +if DoorsTable then + if LockOptions == 0 then + for key, value in pairs(DoorsTable) do + Door.MoveToPercentPositionSilent(value, 0) + Door.LockSilent(value, true) + end + elseif LockOptions == 1 then + for key, value in pairs(DoorsTable) do + Door.LockSilent(value, false) + Door.MoveToPercentPositionSilent(value, 1) + end + elseif LockOptions == 2 then + for key, value in pairs(DoorsTable) do + Door.LockSilent(value, false) + end + elseif LockOptions == 3 then + for key, value in pairs(DoorsTable) do + Door.MoveToPercentPositionSilent(value, 0) + end + else + Debug.PrintWarning("LockOptions Data was invalid") + end +else + Debug.PrintWarning("Necessary Data was invalid") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed.lua b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed.lua new file mode 100644 index 0000000..5bb9050 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed.lua @@ -0,0 +1,37 @@ +GameScript.Support.AddDescription("Script to control door movement speed along with position/lock properties of a specific door") +local Game = GameScript.Game +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Support = GameScript.Support +local Physics = GameScript.Game.Physics +local Callbacks = GameScript.Callbacks +local DoorObject = Support.ImportSingleObject("Door Object", "This doors will be opened or closed") +local LockOptions = Support.ImportFloatVariable("Close and Lock Options", "0 = Door closed and locked. 1 = Door unlocked and opened. 2 = Door closed only.") +local CloseSpeed = Support.ImportFloatVariableWithDefault("Close Speed", "The script will adjust the door speed 20 = Very Slow , 150 = Fast, 0 = Do Nothing. The new constraint max speed m/sec if prismatic, degrees/sec if hinge", 0) +local WaitTime = Support.ImportFloatVariableWithDefault("Wait Time", "Time we should wait before acting on the door.", 0) +local kFloat = CloseSpeed +local kHandle = DoorObject + +function ActionOnDoor() + if DoorObject then + if LockOptions == 0 then + Door.MoveToPercentPositionWithSpeedAndAcceleration(DoorObject, 0, CloseSpeed, 0) + Door.Lock(DoorObject, true) + end + if LockOptions == 1 then + Door.Lock(DoorObject, false) + Door.MoveToPercentPositionWithSpeedAndAcceleration(DoorObject, 1, CloseSpeed, 0) + end + if LockOptions == 2 then + Door.MoveToPercentPositionWithSpeedAndAcceleration(DoorObject, 0, CloseSpeed, 0) + end + elseif LockOptions == nil then + Debug.PrintWarning("LockOptions Data is Missing") + end +end + +if WaitTime <= 0 then + ActionOnDoor() +else + Callbacks.RegisterForTimer("ActionOnDoor", WaitTime, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript.lua new file mode 100644 index 0000000..2511483 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript.lua @@ -0,0 +1,88 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local LuaHelpers = GameScript.LuaHelpers +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Objectives = Game.Objectives +local Graphics = Game.Graphics +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GameScript.Utilities +local Physics = Game.Physics +local ObjectTags = Game.ObjectTags +local masterRegionSet = Support.ImportFirstObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +local debugDraw = Support.ImportBoolVariableWithDefault("Debug Draw", "", false) +local autoPopulate = Support.ImportBoolVariableWithDefault("Auto Populate?", "The region should search for all spawn points inside itself when added to the master region set (NOTE: This can be quite expensive)", true) +local myObject = Game.GetMyObject() +local numPlayersInRegion = 0 +local haveAddedSpawners = false +local spawnerObjectTag = ObjectTags.GetObjectTagUID("Multiplayer game type-specific") + +function PlayerEntersRegion() + numPlayersInRegion = numPlayersInRegion + 1 + if numPlayersInRegion == 1 then + Sets.AddObjectToSet(masterRegionSet, myObject) + end +end + +function PlayerExitsRegion() + numPlayersInRegion = numPlayersInRegion - 1 + if numPlayersInRegion == 0 then + Sets.RemoveObjectFromSet(masterRegionSet, myObject) + end +end + +function SpawnerAddedToRegion(spawner) + Sets.AddObjectToSet(myObject, spawner.object) +end + +function SpawnerRemovedFromRegion() + Sets.RemoveObjectToSet(myObject, spawner.object) +end + +function SpawnPosDebugString(vect) + return "(" .. math.floor(vect.x) .. ", " .. math.floor(vect.z) .. ")" +end + +function GetSpawnersFromMasterList() + local masterRegionList = Sets.GetObjectsInSet(masterRegionSet) + local masterSpawnerList = {} + local masterSpawnerCount = 0 + for r, spawnRegion in pairs(masterRegionList) do + local spawnerList = Sets.GetObjectsInSet(spawnRegion) + for s, spawner in pairs(spawnerList) do + table.insert(masterSpawnerList, spawner) + end + end + return masterSpawnerList +end + +function VerifyRegionHasSpawners() + local numSpawners = Sets.GetNumObjectsInSet(myObject) + if numSpawners == 0 then + Debug.PrintToScreenWithTimer(Game.GetName(myObject) .. " contains no spawners; add some or delete this region", 10, Utilities.kYellow, false) + end +end + +function DebugDrawMySpawners() + local spawnerList = Sets.GetObjectsInSet(myObject) + for s, spawner in pairs(spawnerList) do + if Game.IsLoaded(spawner) then + local spawnerPos = Game.GetPosition(spawner) + Debug.DrawSphere(spawnerPos, 0.45, Utilities.kRed) + end + end +end + +Callbacks.RegisterPlayerEnterExitRegion(myObject, "PlayerEntersRegion", "PlayerExitsRegion") +if masterRegionSet ~= nil then + if autoPopulate then + Callbacks.RegisterObjectTagEnterExitRegion(myObject, spawnerObjectTag, "SpawnerAddedToRegion", "SpawnerRemovedFromRegion") + Callbacks.RegisterForTimer("VerifyRegionHasSpawners", 3, false) + else + Debug.PrintInfo("Auto population of your set is disabled, I hope your set actually has spawn points") + end +else + Debug.PrintWarning("--- No master set was specified.") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc.lua new file mode 100644 index 0000000..0c63e57 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc.lua @@ -0,0 +1,224 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local Regions = Game.Regions +local AI = Game.AI +local Utilities = GS.Utilities +local MP = Game.MP +local ObjectTags = Game.ObjectTags +local aiTypes = GameScript.AIIdentityType +local kBrown = 1 +local kWhite = 2 +local kBlack = 3 +local kGrey = 4 +local kRed = 5 +local kGreen = 6 +local kBlue = 7 +local kCyan = 8 +local kMagenta = 9 +local kYellow = 10 +local kNumColorGroups = 10 +local kAllColors = 11 +local kColorRegionSets = {} +kColorRegionSets[kBrown] = Support.ImportObjectList("Brown Region Set", "") +kColorRegionSets[kWhite] = Support.ImportObjectList("------White Region Set", "") +kColorRegionSets[kBlack] = Support.ImportObjectList("------Black Region Set", "") +kColorRegionSets[kGrey] = Support.ImportObjectList("------Grey Region Set", "") +kColorRegionSets[kRed] = Support.ImportObjectList("------Red Region Set", "") +kColorRegionSets[kGreen] = Support.ImportObjectList("------Green Region Set", "") +kColorRegionSets[kBlue] = Support.ImportObjectList("------Blue Region Set", "") +kColorRegionSets[kCyan] = Support.ImportObjectList("------Cyan Region Set", "") +kColorRegionSets[kMagenta] = Support.ImportObjectList("------Magenta Region Set", "") +kColorRegionSets[kYellow] = Support.ImportObjectList("------Yellow Region Set", "") +local ATCGruntAIOrders = {} +ATCGruntAIOrders[kBrown] = Support.ImportSingleObject("ATC Grunt Brown AI Order", "") +ATCGruntAIOrders[kWhite] = Support.ImportSingleObject("------ATC Grunt White AI Order", "") +ATCGruntAIOrders[kBlack] = Support.ImportSingleObject("------ATC Grunt Black AI Order", "") +ATCGruntAIOrders[kGrey] = Support.ImportSingleObject("------ATC Grunt Grey AI Order", "") +ATCGruntAIOrders[kRed] = Support.ImportSingleObject("------ATC Grunt Red AI Order", "") +ATCGruntAIOrders[kGreen] = Support.ImportSingleObject("------ATC Grunt Green AI Order", "") +ATCGruntAIOrders[kBlue] = Support.ImportSingleObject("------ATC Grunt Blue AI Order", "") +ATCGruntAIOrders[kCyan] = Support.ImportSingleObject("------ATC Grunt Cyan AI Order", "") +ATCGruntAIOrders[kMagenta] = Support.ImportSingleObject("------ATC Grunt Magenta AI Order", "") +ATCGruntAIOrders[kYellow] = Support.ImportSingleObject("------ATC Grunt Yellow AI Order", "") +ATCGruntAIOrders[kAllColors] = Support.ImportSingleObject("------ATC Grunt All colors AI Order", "") +local CannibalAIOrders = {} +CannibalAIOrders[kBrown] = Support.ImportSingleObject("Cannibal Brown AI Order", "") +CannibalAIOrders[kWhite] = Support.ImportSingleObject("------Cannibal White AI Order", "") +CannibalAIOrders[kBlack] = Support.ImportSingleObject("------Cannibal Black AI Order", "") +CannibalAIOrders[kGrey] = Support.ImportSingleObject("------Cannibal Grey AI Order", "") +CannibalAIOrders[kRed] = Support.ImportSingleObject("------Cannibal Red AI Order", "") +CannibalAIOrders[kGreen] = Support.ImportSingleObject("------Cannibal Green AI Order", "") +CannibalAIOrders[kBlue] = Support.ImportSingleObject("------Cannibal Blue AI Order", "") +CannibalAIOrders[kCyan] = Support.ImportSingleObject("------Cannibal Cyan AI Order", "") +CannibalAIOrders[kMagenta] = Support.ImportSingleObject("------Cannibal Magenta AI Order", "") +CannibalAIOrders[kYellow] = Support.ImportSingleObject("------Cannibal Yellow AI Order", "") +CannibalAIOrders[kAllColors] = Support.ImportSingleObject("------Cannibal All colors AI Order", "") +local PhaseCasterAIOrders = {} +PhaseCasterAIOrders[kBrown] = Support.ImportSingleObject("PhaseCaster Brown AI Order", "") +PhaseCasterAIOrders[kWhite] = Support.ImportSingleObject("------PhaseCaster White AI Order", "") +PhaseCasterAIOrders[kBlack] = Support.ImportSingleObject("------PhaseCaster Black AI Order", "") +PhaseCasterAIOrders[kGrey] = Support.ImportSingleObject("------PhaseCaster Grey AI Order", "") +PhaseCasterAIOrders[kRed] = Support.ImportSingleObject("------PhaseCaster Red AI Order", "") +PhaseCasterAIOrders[kGreen] = Support.ImportSingleObject("------PhaseCaster Green AI Order", "") +PhaseCasterAIOrders[kBlue] = Support.ImportSingleObject("------PhaseCaster Blue AI Order", "") +PhaseCasterAIOrders[kCyan] = Support.ImportSingleObject("------PhaseCaster Cyan AI Order", "") +PhaseCasterAIOrders[kMagenta] = Support.ImportSingleObject("------PhaseCaster Magenta AI Order", "") +PhaseCasterAIOrders[kYellow] = Support.ImportSingleObject("------PhaseCaster Yellow AI Order", "") +PhaseCasterAIOrders[kAllColors] = Support.ImportSingleObject("------PhaseCaster All colors AI Order", "") +local PAAIOrders = {} +PAAIOrders[kBrown] = Support.ImportSingleObject("PA Brown AI Order", "") +PAAIOrders[kWhite] = Support.ImportSingleObject("------PA White AI Order", "") +PAAIOrders[kBlack] = Support.ImportSingleObject("------PA Black AI Order", "") +PAAIOrders[kGrey] = Support.ImportSingleObject("------PA Grey AI Order", "") +PAAIOrders[kRed] = Support.ImportSingleObject("------PA Red AI Order", "") +PAAIOrders[kGreen] = Support.ImportSingleObject("------PA Green AI Order", "") +PAAIOrders[kBlue] = Support.ImportSingleObject("------PA Blue AI Order", "") +PAAIOrders[kCyan] = Support.ImportSingleObject("------PA Cyan AI Order", "") +PAAIOrders[kMagenta] = Support.ImportSingleObject("------PA Magenta AI Order", "") +PAAIOrders[kYellow] = Support.ImportSingleObject("------PA Yellow AI Order", "") +PAAIOrders[kAllColors] = Support.ImportSingleObject("------PA All colors AI Order", "") +local EPAAIOrders = {} +EPAAIOrders[kBrown] = Support.ImportSingleObject("EPA Brown AI Order", "") +EPAAIOrders[kWhite] = Support.ImportSingleObject("------EPA White AI Order", "") +EPAAIOrders[kBlack] = Support.ImportSingleObject("------EPA Black AI Order", "") +EPAAIOrders[kGrey] = Support.ImportSingleObject("------EPA Grey AI Order", "") +EPAAIOrders[kRed] = Support.ImportSingleObject("------EPA Red AI Order", "") +EPAAIOrders[kGreen] = Support.ImportSingleObject("------EPA Green AI Order", "") +EPAAIOrders[kBlue] = Support.ImportSingleObject("------EPA Blue AI Order", "") +EPAAIOrders[kCyan] = Support.ImportSingleObject("------EPA Cyan AI Order", "") +EPAAIOrders[kMagenta] = Support.ImportSingleObject("------EPA Magenta AI Order", "") +EPAAIOrders[kYellow] = Support.ImportSingleObject("------EPA Yellow AI Order", "") +EPAAIOrders[kAllColors] = Support.ImportSingleObject("------EPA All colors AI Order", "") +local kDebugDraw = Support.ImportBoolVariable("Debug Draw", "") +local kMyObject = Game.GetMyObject() +local RegionPlayerIsIn = { + kAllColors, + kAllColors, + kAllColors, + kAllColors +} + +function UpdateAIOrders() + local AIObjects = ObjectTags.GetObjectsWithTag("AI") + for k, aiObject in pairs(AIObjects) do + if Game.GetHitPointPercent(aiObject) > 0 then + local targetInfo = AI.GetAITargetInfo(aiObject) + local regionColor = kAllColors + if targetInfo.m_bIsInfoValid and targetInfo.m_nControllingPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + regionColor = RegionPlayerIsIn[targetInfo.m_nControllingPlayerIndex + 1] + end + local aiIdentity = AI.GetAIIdentityType(aiObject) + if aiIdentity == aiTypes.Soldier or aiIdentity == aiTypes.Grunt or aiIdentity == aiTypes.Sniper or aiIdentity == aiTypes.HeavyRocket then + AI.AssignExternalAIOrder(ATCGruntAIOrders[regionColor], aiObject) + elseif aiIdentity == aiTypes.Cannibal then + AI.AssignExternalAIOrder(CannibalAIOrders[regionColor], aiObject) + elseif aiIdentity == aiTypes.PhaseCaster then + AI.AssignExternalAIOrder(PhaseCasterAIOrders[regionColor], aiObject) + elseif aiIdentity == aiTypes.PA then + AI.AssignExternalAIOrder(PAAIOrders[regionColor], aiObject) + elseif aiIdentity == aiTypes.EPA then + AI.AssignExternalAIOrder(EPAAIOrders[regionColor], aiObject) + end + end + end +end + +function PlayerEntersBrownRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kBrown +end + +function PlayerEntersWhiteRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kWhite +end + +function PlayerEntersBlackRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kBlack +end + +function PlayerEntersGreyRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kGrey +end + +function PlayerEntersRedRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kRed +end + +function PlayerEntersGreenRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kGreen +end + +function PlayerEntersBlueRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kBlue +end + +function PlayerEntersCyanRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kCyan +end + +function PlayerEntersMagentaRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kMagenta +end + +function PlayerEntersYellowRegion(PlayerInfo) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + 1 + RegionPlayerIsIn[playerIndex] = kYellow +end + +function DrawDebug() + Debug.PrintToScreen("Player1 Region = " .. RegionPlayerIsIn[1], 0.8, 0.72) + Debug.PrintToScreen("Player2 Region = " .. RegionPlayerIsIn[2], 0.8, 0.76) + Debug.PrintToScreen("Player3 Region = " .. RegionPlayerIsIn[3], 0.8, 0.8) + Debug.PrintToScreen("Player4 Region = " .. RegionPlayerIsIn[4], 0.8, 0.84) +end + +if not MP.IsClient() then + for k, region in pairs(kColorRegionSets[kBrown]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersBrownRegion", "") + end + for k, region in pairs(kColorRegionSets[kWhite]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersWhiteRegion", "") + end + for k, region in pairs(kColorRegionSets[kBlack]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersBlackRegion", "") + end + for k, region in pairs(kColorRegionSets[kGrey]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersGreyRegion", "") + end + for k, region in pairs(kColorRegionSets[kRed]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersRedRegion", "") + end + for k, region in pairs(kColorRegionSets[kGreen]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersGreenRegion", "") + end + for k, region in pairs(kColorRegionSets[kBlue]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersBlueRegion", "") + end + for k, region in pairs(kColorRegionSets[kCyan]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersCyanRegion", "") + end + for k, region in pairs(kColorRegionSets[kMagenta]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersMagentaRegion", "") + end + for k, region in pairs(kColorRegionSets[kYellow]) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersYellowRegion", "") + end + Callbacks.RegisterForTimer("UpdateAIOrders", 1, true) + if kDebugDraw then + Callbacks.RegisterForUpdateEveryFrame("DrawDebug") + end +else + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/FNR/FNRunPlayer.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/FNR/FNRunPlayer.lua new file mode 100644 index 0000000..dbfbb3c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/FNR/FNRunPlayer.lua @@ -0,0 +1,27 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local MP = Game.MP +local Camera = GS.Game.Camera +local FEAR = GS.FEAR +local myObject = Game.GetMyObject() +local glowComponent = Support.RegisterComponentHandle("Glow Rendering") +local myPlayerIndex = Player.GetPlayerIndexByObject(myObject) +local localPlayer = Player.IsLocalPlayer(myPlayerIndex) + +function SetInvulnerable(bInvulnerable) + Debug.PrintInfo("Player " .. myPlayerIndex .. " is now invulnerable.") + Game.SetHitPointPriorityInvulnerable(myObject, 1, bInvulnerable) +end + +function OnTextMessage(msg) + if msg.text == "InvulnerableOn" then + SetInvulnerable(true) + end +end + +Game.EnableComponent(glowComponent, true) +Callbacks.RegisterForMsg(GS.MsgCallback.TextMessage, myObject, "OnTextMessage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/HarvesterDamage.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/HarvesterDamage.lua new file mode 100644 index 0000000..56981d6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/HarvesterDamage.lua @@ -0,0 +1,63 @@ +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local LuaHelpers = GameScript.LuaHelpers +local PlayerDamageTable = {} +local RegionList = Support.ImportObjectHandleVariable("Region(s)", "A player entering this region(s), will be damaged") +local AffectRiders = Support.NumberToBool(Support.ImportFloatVariable("Affect Vehicle Riders?", "Should players that are riders in vehicles be damaged? 0 false; 1 true")) +local DamageTime = Support.ImportFloatVariable("Damage Time", "This is the amount of time between damage messages in seconds") +local AmountOfDamage = Support.ImportFloatVariable("Amount Of Damage", "The ammount of damage done to the player each interval of time") +local AmountOfDamageMech = Support.ImportFloatVariableWithDefault("Amount of Damage Mech", "The amount of damage done to the player if they are riding in a mech per interval of time", 10) +local DamageOverTime = GameScript.Support.ImportBoolVariableWithDefault("Damage Over Time?", "Should this continuously do damage at the specified interval?", true) + +function PlayerEntersRegion(PlayerInfo) + if PlayerInfo.object then + if LuaHelpers.GetNumTableKeys(PlayerDamageTable) == 0 then + Callbacks.RegisterForTimer("DamageToPlayers", DamageTime, true) + end + PlayerDamageTable[Player.GetPlayerIndexByObject(PlayerInfo.object)] = PlayerInfo.object + end +end + +function PlayerLeavesRegion(PlayerInfo) + if PlayerInfo.object then + local PlayerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + if not Game.Regions.IsPlayerInRegions(PlayerIndex, RegionList) then + PlayerDamageTable[PlayerIndex] = nil + if LuaHelpers.GetNumTableKeys(PlayerDamageTable) == 0 then + Callbacks.UnregisterForTimer("DamageToPlayers") + end + end + end +end + +function DamageToPlayers() + for key, value in pairs(PlayerDamageTable) do + if value and Game.IsLoaded(value) then + if not Util.IsPlayerARider(key) then + Debug.PrintInfo("Dealing damage to a non-mech Player") + Game.Damage(value, AmountOfDamage) + elseif Util.IsPlayerARider(key) and AffectRiders == true then + Debug.PrintInfo("Dealing damage to a MECH Player") + Game.Damage(value, AmountOfDamageMech) + end + if DamageOverTime == false then + Callbacks.UnregisterForTimer("DamageToPlayers") + end + end + end +end + +if RegionList then + for key, value in pairs(RegionList) do + Callbacks.RegisterPlayerEnterExitRegion(value, "PlayerEntersRegion", "PlayerLeavesRegion") + end +else + Debug.PrintError(Game.GetName(Game.GetMyObject()) .. ": One of the required fields contained no data") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/Corruption.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/Corruption.lua new file mode 100644 index 0000000..348d803 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/Corruption.lua @@ -0,0 +1,237 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local Utilities = GameScript.Utilities +local Debug = GameScript.Debug +local MP = GameScript.Game.MP +local FEAR = GameScript.FEAR +local scriptObject +local sentMessageStart = false +local sentMessageFailure = false +local inNearDeath = false +local thisPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer +local localPlayer = false +local timeStampCorruption = 0 +local corruptorObject +local corruptionUsableIndex = Support.RegisterComponentHandle("Corruption Usable") +local reviveUsableIndex = Support.RegisterComponentHandle("Revive Usable") +local CorruptionPeriod = Support.ImportFloatVariableWithDefault("Corruption Period", "How many seconds revive should take", 1.25) +Support.ExportFloatVariable("BeingCorrupted", 0, "This player is being corrupted") +Support.ExportFloatVariable("CorruptionPeriod", 1.25, "The time needed to corrupt the player") +Support.ExportFloatVariable("CorruptionSuccess", 0, "NET SYNC USE - Local Machine decides that corruption succeeded") + +function Initialize(thisObject) + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, thisObject, "HandleObjectStateChangeMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerRegistrationMessage, thisObject, "HandlePlayerRegistrationMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerTransferControlMessage, thisObject, "HandlePlayerTransferControlMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.MissionEventMessage, thisObject, "ProcessMissionEventMessage") + Extern.CorruptionPeriod = CorruptionPeriod + InitializeThisPlayer() +end + +function InitializeThisPlayer() + thisPlayerIndex = Player.GetPlayerIndexByObject(scriptObject) + localPlayer = Player.IsLocalPlayer(thisPlayerIndex) + inNearDeath = false +end + +function HandlePlayerTransferControlMsg() + if thisPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + InitializeThisPlayer() + end +end + +function HandleObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == GameScript.ObjectState.NearDeath + if newInNearDeath ~= inNearDeath then + if thisPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + InitializeThisPlayer() + end + inNearDeath = newInNearDeath + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, inNearDeath) + end + if inNearDeath then + Extern.CorruptionSuccess = 0 + if localPlayer then + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, scriptObject, "HandleUsablesStartUsingMsg") + else + Callbacks.RegisterForTimer("RemoteCorruptionCheck", 0.3, true) + end + else + CleanUpCorruptionAttempt() + end + elseif inNearDeath and msgTable.newState == GameScript.ObjectState.Default then + CleanUpCorruptionAttempt() + end +end + +function CleanUpCorruptionAttempt() + inNearDeath = false + Extern.CorruptionSuccess = 0 + if localPlayer then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, scriptObject, "HandleUsablesStartUsingMsg") + else + Callbacks.UnregisterForTimer("RemoteCorruptionCheck") + end + if corruptorObject ~= nil then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DoDyingMessage, corruptorObject, "HandleCorruptorDoDyingMsg") + corruptorObject = nil + end + if bKillObjectMessageRegistered then + bKillObjectMessageRegistered = false + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, scriptObject, "HandleDeleteObjectMessage") + end + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Callbacks.UnregisterForTimer("CorruptionTimeout") + Extern.BeingCorrupted = 0 + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + Game.SendTextMessage(playerObj, "FX_CorruptionEnd") +end + +function HandleCorruptorDoDyingMsg(msgObj) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DoDyingMessage, msgObj, "HandleCorruptorDoDyingMsg") + corruptorObject = nil + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, inNearDeath) + end + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + if Extern.BeingCorrupted == 1 then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Callbacks.UnregisterForTimer("CorruptionTimeout") + Extern.BeingCorrupted = 0 + Game.SendTextMessage(playerObj, "FX_CorruptionEnd") + end +end + +function HandleUsablesStartUsingMsg(message) + local userObject = Player.GetPlayerControlledObjectByIndex(message.userPlayerIndex) + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + if Extern.BeingCorrupted ~= 1 and not Game.AreAllies(scriptObject, userObject) then + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, false) + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.DoDyingMessage, userObject, "HandleCorruptorDoDyingMsg") + corruptorObject = userObject + Callbacks.RegisterForTimer("CorruptionTimeout", Extern.CorruptionPeriod, false) + timeStampCorruption = Support.GetGameTime() + Extern.BeingCorrupted = 1 + Game.SendTextMessage(playerObj, "FX_Corruption") + else + end +end + +function HandleUsablesStopUsingMsg(msg) + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + if Extern.BeingCorrupted == 1 then + local bInLastStand = Player.IsPlayerInState(thisPlayerIndex, GameScript.ObjectState.NearDeath) + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, bInLastStand) + end + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + local userObject = Player.GetPlayerControlledObjectByIndex(msg.userPlayerIndex) + if userObject ~= nil then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DoDyingMessage, userObject, "HandleCorruptorDoDyingMsg") + corruptorObject = nil + end + Callbacks.UnregisterForTimer("CorruptionTimeout") + Extern.BeingCorrupted = 0 + end + Game.SendTextMessage(playerObj, "FX_CorruptionEnd") +end + +function ProcessMissionEventMessage(EventMessage) + if EventMessage.textID == 143121 then + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + if Extern.BeingCorrupted == 1 then + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, false) + end + if corruptionUsableIndex ~= nil then + Game.EnableComponent(corruptionUsableIndex, false) + end + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Callbacks.UnregisterForTimer("CorruptionTimeout") + Extern.BeingCorrupted = 0 + end + Game.SendTextMessage(playerObj, "FX_CorruptionEnd") + end +end + +function CorruptionTimeout() + if Extern.BeingCorrupted == 1 then + Game.SendTextMessage(scriptObject, "CorruptionSuccess") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, scriptObject, "HandleUsablesStopUsingMsg") + Extern.BeingCorrupted = 0 + Extern.CorruptionSuccess = 1 + Debug.PrintInfo("LOCAL: Corruption took " .. Support.GetGameTime() - timeStampCorruption .. " seconds") + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, true) + end + if not bKillObjectMessageRegistered then + bKillObjectMessageRegistered = true + Callbacks.RegisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, scriptObject, "HandleDeleteObjectMessage") + end + if not MP.IsClient() then + MP.SetTeamForPlayer(thisPlayerIndex, 1) + Game.Kill(scriptObject, GameScript.KillObjectMessageType.Instant) + end + end + Game.SendTextMessage(Player.GetPlayerObjectByIndex(thisPlayerIndex), "FX_CorruptionEnd") +end + +function HandleDeleteObjectMessage() + bKillObjectMessageRegistered = false + local announcementID = FEAR.CreateAnnoucementPacket(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Soul Survivor Corruption") + FEAR.AddStringValueToAnnouncementPacket(announcementID, MP.GetPlayerName(thisPlayerIndex)) + FEAR.SetAnnoucementPacketPriority(announcementID, GameScript.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) +end + +function RemoteCorruptionCheck() + if Extern.CorruptionSuccess == 1 then + Game.SendTextMessage(scriptObject, "CorruptionSuccess") + Callbacks.UnregisterForTimer("RemoteCorruptionCheck") + Game.SendTextMessage(Player.GetPlayerControlledObjectByIndex(thisPlayerIndex), "FX_CorruptionEnd") + sentMessageStart = false + sentMessageFailure = false + Debug.PrintInfo("REMOTE: Corruption took " .. Support.GetGameTime() - timeStampCorruption .. " seconds") + if not MP.IsClient() then + MP.SetTeamForPlayer(thisPlayerIndex, 1) + Game.Kill(scriptObject, GameScript.KillObjectMessageType.Instant) + end + else + if sentMessageStart == false and Extern.BeingCorrupted == 1 then + sentMessageStart = true + sentMessageFailure = false + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, false) + end + if not bKillObjectMessageRegistered then + bKillObjectMessageRegistered = true + Callbacks.RegisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, scriptObject, "HandleDeleteObjectMessage") + end + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + timeStampCorruption = Support.GetGameTime() + Game.SendTextMessage(playerObj, "FX_Corruption") + end + if sentMessageFailure == false and Extern.BeingCorrupted == 0 then + sentMessageFailure = true + sentMessageStart = false + if reviveUsableIndex ~= nil then + Game.EnableComponent(reviveUsableIndex, true) + end + if bKillObjectMessageRegistered then + bKillObjectMessageRegistered = false + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, scriptObject, "HandleDeleteObjectMessage") + end + local playerObj = Player.GetPlayerControlledObjectByIndex(thisPlayerIndex) + Game.SendTextMessage(playerObj, "FX_CorruptionEnd") + end + end +end + +scriptObject = Game.GetMyObject() +Initialize(scriptObject) diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/InfectionPlayerScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/InfectionPlayerScript.lua new file mode 100644 index 0000000..9074f49 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/InfectionPlayerScript.lua @@ -0,0 +1,121 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Debug = GS.Debug +local Player = Game.Player +local Physics = Game.Physics +local MP = Game.MP +local Utilities = GS.Utilities +local stats = GS.PlayerStatistic +local Camera = GS.Game.Camera +local mpAward = GS.MPAwardType +local Msg = GS.MsgCallback +local ObjectTags = Game.ObjectTags +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local PlayerIndex = Player.GetPlayerIndexByObject(Self) +local bIsPossessing = false +Support.ExportFloatVariable("CanTeleport", 0, "Hack extern/export variable for the telporters to check if this player can teleport.") +local glowComponent, CorruptionUsable +if MP.GetTeamForPlayer(PlayerIndex) == 0 then + glowComponent = Support.RegisterComponentHandle("Glow Rendering") + CorruptionUsable = Support.RegisterComponentHandle("Corruption Usable") +end +local StartRoundMessageText = Support.ImportStaticTextVariable("MissionEvent: Start Round", "") +local EndRoundMessageText = Support.ImportStaticTextVariable("MissionEvent: End Round", "") +local TeleportTimer = 0 +local BeginTeleportMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Teleport", "") +local TimeBetweenTeleports = Support.ImportFloatVariableWithDefault("Time Between Teleports", "The amount of time between teleports allowed.", 10) +local spectreStunSlowTime = Support.ImportFloatVariableWithDefault("spectre Stun Slow Duration", "The length of time a player stays slowed when hit with the spectres blast.", 2) +local YScreenPosDelta = -0.05 +local YInitialScreenPos = 0.9 +local XInitialScreenPos = 0.025 +local IsSlowed = false + +function UpdateTeleportTimer() + Extern.CanTeleport = 0 + if 0 < TeleportTimer then + local delta = Support.GetGameTimeDelta() + TeleportTimer = TeleportTimer - delta + else + Callbacks.UnregisterForUpdateEveryFrame("UpdateTeleportTimer") + end +end + +function OnEndRound() + SetInvulnerable(true) + if MP.GetTeamForPlayer(PlayerIndex) == 0 then + Game.EnableComponent(CorruptionUsable, false) + end +end + +function OnStartRound() + SetInvulnerable(false) +end + +function SetInvulnerable(bInvulnerable) + Game.SetHitPointPriorityInvulnerable(Self, 1, bInvulnerable) +end + +function ProcessPossessionStartedMessage(possessionMessage) +end + +function ProcessPossessionEndedMessage(possessionMessage) +end + +function EnableMovement(bMovementOn) + local object = Player.GetPlayerObjectByIndex(PlayerIndex) + if object ~= nil then + Game.EnableObjectInput(object, true, true, bMovementOn, true) + end +end + +function ProcessMissionEventMessage(EventMessage) + if EventMessage.textID == BeginTeleportMsgId then + if 0 < TeleportTimer then + Callbacks.RegisterForUpdateEveryFrame("UpdateTeleportTimer") + end + TeleportTimer = TimeBetweenTeleports + elseif EventMessage.textID == StartRoundMessageText then + OnStartRound() + elseif EventMessage.textID == EndRoundMessageText then + OnEndRound() + end +end + +function EndOfSlowDown() + Player.SetVelocityScale(Self, 1) + IsSlowed = false +end + +function TextSpew(msgTable) + Debug.PrintToScreenWithTimer("Message: " .. msgTable.text, 5, GameScript.Utilities.kRed, false) +end + +function ProcessDamageMessage(damageMessage) + if damageMessage.nDamageType == 23 then + if IsSlowed then + Callbacks.UnregisterForTimer("EndOfSlowDown") + end + Player.SetVelocityScale(Self, 0.2) + Game.SendTextMessage(Self, "slowed down by spectre") + Callbacks.RegisterForTimer("EndOfSlowDown", spectreStunSlowTime, false) + IsSlowed = true + end +end + +if Self ~= nil then + if not MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, Self, "ProcessMissionEventMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.PossessionStartedMessage, Self, "ProcessPossessionStartedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.PossessionEndedMessage, Self, "ProcessPossessionEndedMessage") + end + if MP.GetTeamForPlayer(PlayerIndex) == 0 then + SetInvulnerable(true) + Game.EnableComponent(glowComponent, true) + end + if Player.IsLocalPlayer(PlayerIndex) then + Callbacks.RegisterForMsg(GS.MsgCallback.DamageMessage, Self, "ProcessDamageMessage") + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/PerformCorruption.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/PerformCorruption.lua new file mode 100644 index 0000000..dfd80f4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Infection/PerformCorruption.lua @@ -0,0 +1,3 @@ +local Support = GameScript.Support +local CorruptionPeriod = Support.ImportFloatVariableWithDefault("Corruption Period", "How many seconds corruption should take", 2) +Support.ExportFloatVariable("CorruptionPeriod", 1.25, "The time needed to corrupt the player") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/KillObjects.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/KillObjects.lua new file mode 100644 index 0000000..a042ce6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/KillObjects.lua @@ -0,0 +1,12 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local killType = Support.ImportFloatVariable("Kill Type", "The type of kill message that should be sent to the target objects. " .. "0 = Instant Delete, 1 = Kill, 2 = Kill Intro (recommended)") +Support.ImportObjectHandleVariable("Kill These", "The objects to be killed") +local killObjects = Support.GetImportObjectTable("Kill These") +if killObjects ~= nil then + for k, v in pairs(killObjects) do + if v ~= nil then + Game.Kill(v, killType) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/LastStandDLCWeapon.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/LastStandDLCWeapon.lua new file mode 100644 index 0000000..40cbc33 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/LastStandDLCWeapon.lua @@ -0,0 +1,5 @@ +function OnTimer() + GameScript.FEAR.SetDLCInventoryGroupOption() +end + +GameScript.Callbacks.RegisterForTimer("OnTimer", 0, false) diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeath.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeath.lua new file mode 100644 index 0000000..6f55c21 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeath.lua @@ -0,0 +1,71 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local scriptObject +local playingCoop = false +local inNearDeath = false +local nearDeathHitPointIndex = Support.ImportFloatVariable("Near Death HP Priority", "Priority level from the HP Controller Component") +local recoveryInvulnerablePeriod = Support.ImportFloatVariable("Recovery Invulnerability Period", "Priority level from the HP Controller Component") +local recoveryHitPointIndex = Support.ImportFloatVariable("Recovery HP Priority", "Priority level from the HP Controller Component") +local nearDeathStateChangeIndex = Support.RegisterComponentHandle("Near Death State Change") +local reviveStateChangeIndex = Support.RegisterComponentHandle("Revive State Change") +local isInvulnerable = false + +function Initialize(thisObject) + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerRegistrationMessage, thisObject, "OnPlayerRegistration") + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, thisObject, "HandleObjectStateChangeMsg") + local numPlayers = Player.GetNumPlayers() + playingCoop = 1 < numPlayers + HandleCoopStatusChange() +end + +function HandleCoopStatusChange() + Game.EnableHitPointPriority(scriptObject, nearDeathHitPointIndex, playingCoop) + if nearDeathStateChangeIndex ~= nil and 0 <= nearDeathStateChangeIndex then + Game.EnableComponent(nearDeathStateChangeIndex, playingCoop) + end + if reviveStateChangeIndex ~= nil and 0 <= reviveStateChangeIndex then + Game.EnableComponent(reviveStateChangeIndex, playingCoop) + end +end + +function InvulnerableTimout() + isInvulnerable = false + Game.SetHitPointPriorityInvulnerable(scriptObject, recoveryHitPointIndex, false) +end + +function HandleNearDeathStateChange() + if not inNearDeath then + Game.SetHitPointPriorityInvulnerable(scriptObject, recoveryHitPointIndex, true) + isInvulnerable = true + Callbacks.RegisterForTimer("InvulnerableTimout", recoveryInvulnerablePeriod, false) + end +end + +function HandleObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == GameScript.ObjectState.NearDeath + if newInNearDeath ~= inNearDeath then + inNearDeath = newInNearDeath + HandleNearDeathStateChange() + end +end + +function OnPlayerRegistration(registrationMsg) + if registrationMsg == nil then + return + end + Callbacks.RegisterForTimer("OnPlayerRegistrationTimer", 0.5, false) +end + +function OnPlayerRegistrationTimer() + local numPlayers = Player.GetNumPlayers() + local newPlayingCoop = 1 < numPlayers + if not newPlayingCoop == playingCoop then + playingCoop = newPlayingCoop + HandleCoopStatusChange() + end +end + +scriptObject = Game.GetMyObject() +Initialize(scriptObject) diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeathClient.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeathClient.lua new file mode 100644 index 0000000..c9ad654 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/NearDeathClient.lua @@ -0,0 +1,129 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local Debug = GameScript.Debug +local scriptObject +local inNearDeath = false +local reviveUsableIndex = Support.RegisterComponentHandle("Revive Usable") +local thisPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer +local localPlayer = false +local partnerAvatarObject +local partnerPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer +local partnerInNearDeath = false +Extern.partnerRegistered = false +Support.ExportFloatVariable("InNearDeathState", 0, "Has the player enetered the near death state?") +Support.ExportFloatVariable("PartnerInNearDeathState", 0, "Has the coop partner enetered the near death state?") + +function Initialize(thisObject) + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, thisObject, "HandleObjectStateChangeMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerRegistrationMessage, thisObject, "HandlePlayerRegistrationMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerTransferControlMessage, thisObject, "HandlePlayerTransferControlMsg") + Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, thisObject, "HandleLoadChangesCompleteMsg") + if 0 <= reviveUsableIndex then + Game.EnableComponent(reviveUsableIndex, inNearDeath) + end + Extern.InNearDeathState = 0 + Extern.PartnerInNearDeathState = 0 + InitializeThisPlayer() + InitializeCoopPartner() +end + +function InitializeThisPlayer() + thisPlayerIndex = Player.GetPlayerIndexByObject(scriptObject) + localPlayer = Player.IsLocalPlayer(thisPlayerIndex) + if thisPlayerIndex == GameScript.PlayerIndex.kGlobalPlayer1 then + partnerPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer2 + elseif thisPlayerIndex == GameScript.PlayerIndex.kGlobalPlayer2 then + partnerPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1 + else + partnerPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer + end +end + +function InitializeCoopPartner() + if partnerPlayerIndex ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + partnerAvatarObject = Player.GetPlayerAvatarObjectByIndex(partnerPlayerIndex) + end + if partnerAvatarObject ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "partnerRegistered:" .. tostring(Extern.partnerRegistered)) + if Extern.partnerRegistered == true then + Debug.PrintInfoIf(g_debugMode > 0, "UnregisterForMsg ObjectStateChangeMessage:") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, partnerAvatarObject, "HandlePartnerObjectStateChangeMsg") + Extern.partnerRegistered = false + end + Debug.PrintInfoIf(g_debugMode > 0, "RegisterForMsg ObjectStateChangeMessage:") + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, partnerAvatarObject, "HandlePartnerObjectStateChangeMsg") + Extern.partnerRegistered = true + end +end + +function HandlePlayerRegistrationMsg(regMsg) + if regMsg.playerIndex == partnerPlayerIndex and not regMsg.isRegistered then + partnerAvatarObject = nil + partnerPlayerIndex = GameScript.PlayerIndex.kNotAGlobalPlayer + partnerInNearDeath = false + Extern.PartnerInNearDeathState = 0 + end +end + +function HandlePlayerTransferControlMsg(msgInfo) + if thisPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + InitializeThisPlayer() + InitializeCoopPartner() + elseif msgInfo.globalPlayerIndex == partnerPlayerIndex then + InitializeCoopPartner() + end +end + +function HandleObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == GameScript.ObjectState.NearDeath + if newInNearDeath ~= inNearDeath then + inNearDeath = newInNearDeath + if 0 <= reviveUsableIndex then + Game.EnableComponent(reviveUsableIndex, inNearDeath) + end + if thisPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + InitializeThisPlayer() + end + if localPlayer then + if inNearDeath then + if partnerInNearDeath then + Game.Kill(scriptObject, GameScript.KillObjectMessageType.DoDying) + else + Game.Heal(scriptObject, "NearDeathHealth", 1, true) + end + else + Game.Heal(scriptObject, "Health", 100, false) + end + end + if inNearDeath then + Extern.InNearDeathState = 1 + else + Extern.InNearDeathState = 0 + end + end +end + +function HandlePartnerObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == GameScript.ObjectState.NearDeath + if newInNearDeath ~= partnerInNearDeath then + partnerInNearDeath = newInNearDeath + if partnerInNearDeath then + if inNearDeath and localPlayer then + Game.Kill(scriptObject, GameScript.KillObjectMessageType.DoDying) + end + Extern.PartnerInNearDeathState = 1 + else + Extern.PartnerInNearDeathState = 0 + end + end +end + +function HandleLoadChangesCompleteMsg() + Extern.InNearDeathState = 0 + Extern.PartnerInNearDeathState = 0 +end + +scriptObject = Game.GetMyObject() +Initialize(scriptObject) diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/PlayerKillRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/PlayerKillRegion.lua new file mode 100644 index 0000000..4da3534 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/PlayerKillRegion.lua @@ -0,0 +1,13 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Player = Game.Player +local myObject = Game.GetMyObject() + +function PlayerEnteredMe(info) + local avatar = info.object + if avatar ~= nil and Game.IsLoaded(avatar) then + Game.Kill(avatar, GameScript.KillObjectMessageType.DoDying) + end +end + +Callbacks.RegisterPlayerEnterExitRegion(myObject, "PlayerEnteredMe", "") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/RegionEnableTemp.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/RegionEnableTemp.lua new file mode 100644 index 0000000..9fac687 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/RegionEnableTemp.lua @@ -0,0 +1,192 @@ +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local RegionList = Support.ImportObjectHandleVariable("Region(s)", "A player entering this region(s), will enable/disable the object(s)") +local EnabledObjectList = Support.ImportObjectHandleVariable("Object(s)", "The object(s) that will be Enabled") +local DisabledObjectList = Support.ImportObjectHandleVariable("Disabled Object(s)", "The object(s) that will be Disabled") +local KillAfterUse = Support.ImportBoolVariableWithDefault("Kill After Use?", "Should this object kill itself after use?", true) +local bDisplayText = Support.ImportBoolVariableWithDefault("Display Text?", "Should the script display the 'Waiting For Other Players' text if multiple players are required?", false) +local Require_All_Inside = Support.NumberToBool(Support.ImportFloatVariable("All Players Inside?", "Is it necessary to have all players inside the region(s) before we enable the object(s)? 0 false; 1 true")) +local PlayerIn = {} +local myObject = Game.GetMyObject() +local DisplayTextTable_In = {} +DisplayTextTable_In.textId = 144880 +DisplayTextTable_In.textAreaName = "LocationText" +DisplayTextTable_In.displayTime = 0 +DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable_In.clearText = false +local DisplayTextTable_Out = {} +DisplayTextTable_Out.textId = 144881 +DisplayTextTable_Out.textAreaName = "LocationText" +DisplayTextTable_Out.displayTime = 0 +DisplayTextTable_Out.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable_Out.clearText = false +local numPlayersInside = 0 + +function MarkPlayerInRegion(index, bInsideRegion) + if bInsideRegion and PlayerIn[index] == nil then + PlayerIn[index] = index + numPlayersInside = numPlayersInside + 1 + elseif not bInsideRegion and PlayerIn[index] ~= nil then + PlayerIn[index] = nil + numPlayersInside = numPlayersInside - 1 + end +end + +function DoCleanUp() + local numPlayers = Player.GetNumPlayers() - 1 + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if not Player.IsActivePlayer(curPlayerIndex) or not IsPlayerInRegion(curPlayerIndex) then + MarkPlayerInRegion(curPlayerIndex, false) + end + end +end + +function DisplayText(playerIndex) + DisplayTextTable_In.textId = 144880 + DisplayTextTable_In.displayTime = 0 + DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable_In.clearText = false + Game.DisplayText(DisplayTextTable_In, playerIndex, false, Player.GetPlayerAvatarObjectByIndex(playerIndex)) +end + +function ClearText(playerIndex) + DisplayTextTable_In.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable_In.displayTime = 0 + DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable_In.clearText = true + Game.DisplayText(DisplayTextTable_In, playerIndex, false, Player.GetPlayerAvatarObjectByIndex(playerIndex)) +end + +function ClearTextForLocalPlayer() + local numPlayers = Player.GetNumPlayers() - 1 + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(curPlayerIndex) and Player.IsLocalPlayer(curPlayerIndex) then + ClearText(curPlayerIndex) + end + end +end + +function EnableObjectsInTable(set, bEnabled) + if set ~= nil then + for key, value in pairs(set) do + if value ~= myObject and Game.IsLoaded(value) then + Game.EnableAllEnableables(value, bEnabled) + else + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Your object is no longer loaded!") + end + end + end +end + +function HandleDeleteObject() + if bDisplayText then + ClearTextForLocalPlayer() + end + Support.ExitScript() +end + +function KillSelf() + if bDisplayText then + ClearTextForLocalPlayer() + end + Support.ExitScript() +end + +function PlayerEntersRegion(msgTable) + local playerIndex = Player.GetPlayerIndexByObject(msgTable.object) + MarkPlayerInRegion(playerIndex, true) + if MP.GetNumberOfActivePlayers() > 1 and Require_All_Inside and not AreAllPlayersInside() and bDisplayText and Player.IsActivePlayer(playerIndex) and Player.IsLocalPlayer(playerIndex) then + DisplayText(playerIndex) + end + if Require_All_Inside and AreAllPlayersInside() or not Require_All_Inside then + if EnabledObjectList ~= nil then + EnableObjectsInTable(EnabledObjectList, true) + end + if DisabledObjectList ~= nil then + EnableObjectsInTable(DisabledObjectList, false) + end + if bDisplayText then + ClearTextForLocalPlayer() + end + Support.ExitScript() + end +end + +function PlayerLeavesRegion(msgTable) + if msgTable.object ~= nil then + local playerIndex = Player.GetPlayerIndexByObject(msgTable.object) + MarkPlayerInRegion(Player.GetPlayerIndexByObject(msgTable.object), false) + if MP.GetNumberOfActivePlayers() > 1 and bDisplayText and Player.IsActivePlayer(playerIndex) and Player.IsLocalPlayer(playerIndex) then + ClearText(playerIndex) + end + else + DoCleanUp() + end +end + +function CheckInsideRegion() + local numPlayers = Player.GetNumPlayers() - 1 + numPlayersInside = 0 + local playersIn = 0 + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(curPlayerIndex) then + for key, value in pairs(RegionList) do + if Game.Regions.IsInRegion(value, Player.GetPlayerObjectByIndex(curPlayerIndex)) then + MarkPlayerInRegion(curPlayerIndex, true) + break + end + end + end + end +end + +function NumberOfPlayersInRegion() + return numPlayersInside +end + +function IsPlayerInRegion(index) + if PlayerIn[index] ~= nil then + return true + else + return false + end +end + +function AreAllPlayersInside() + local nNumActivePlayers = MP.GetNumberOfActivePlayers() + if numPlayersInside == nNumActivePlayers then + return true + else + return false + end +end + +if RegionList then + for key, value in pairs(RegionList) do + Callbacks.RegisterPlayerEnterExitRegion(value, "PlayerEntersRegion", "PlayerLeavesRegion") + end + CheckInsideRegion() + if Require_All_Inside and AreAllPlayersInside() or not Require_All_Inside and 0 < NumberOfPlayersInRegion() then + if EnabledObjectList ~= nil then + EnableObjectsInTable(EnabledObjectList, true) + end + if DisabledObjectList ~= nil then + EnableObjectsInTable(DisabledObjectList, false) + end + ClearTextForLocalPlayer() + Support.ExitScript() + end + if myObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, myObject, "HandleDeleteObject") + end +else + Debug.PrintError(Game.GetName(Game.GetMyObject()) .. ": One of the required fields contained no data") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommander.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommander.lua new file mode 100644 index 0000000..ccdfc66 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommander.lua @@ -0,0 +1,109 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local Utilities = GameScript.Utilities +local MP = Game.MP +local myObject = Game.GetMyObject() +local currentAISpawned = 0 +local playerIndex = -1 +local bHostIsLocalPlayer = false +local kMaxAI = 6 +local kTooCloseDistance = 5 +local inventoryStrings = { + "SMG", + "UZI", + "Assault Rifle", + "Shotgun" +} +Support.ExportFloatVariable("CanSpawnAI", 1, "Can the Replica Commander currently spawn AI?") +Support.ImportWatchVariable("InventoryGroup", "The currently selected invnetory group.") + +function OnAIDeath(deathMsg) + if deathMsg == nil then + return + end + if deathMsg.victimPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + currentAISpawned = currentAISpawned - 1 + if currentAISpawned < kMaxAI then + Extern.CanSpawnAI = 1 + end + end +end + +function OnAISpawn(spawnMsg) + if spawnMsg.text == "AISpawned" then + currentAISpawned = currentAISpawned + 1 + if currentAISpawned >= kMaxAI then + Extern.CanSpawnAI = 0 + end + end +end + +function DebugInventoryUpdate() + Debug.PrintToScreen("Can Spawn " .. Extern.CanSpawnAI, 0.75, 0.75) + if Extern.CanSpawnAI == 1 then + local inventoryGroup = Support.GetImportWatchVariableValue("InventoryGroup") + Debug.PrintToScreen(inventoryStrings[inventoryGroup + 1], 0.5, 0.5) + else + Debug.PrintToScreen("X", 0.5, 0.5) + end +end + +function SpawnLimitCheck() + local numPlayers = Player.GetNumPlayers() + for curPlayer = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if curPlayer ~= playerIndex then + otherPlayer = Player.GetPlayerControlledObjectByIndex(curPlayer) + if otherPlayer ~= nil then + distToPlayer = Utilities.GetDistanceBetweenObjects(myObject, otherPlayer) + if distToPlayer < 5 then + Extern.CanSpawnAI = 0 + return + elseif distToPlayer < 15 then + local inputData = { + dist = 15, + collisGroup = 12, + checkProxies = true + } + myPos = Game.GetPosition(myObject) + playerPos = Game.GetPosition(otherPlayer) + dirVector = { + x = myPos.x - playerPos.x, + y = myPos.y - playerPos.y, + z = myPos.z - playerPos.z + } + local hasHit = Utilities.CastRay(Game.GetPosition(otherPlayer), dirVector, inputData) + if hasHit == false then + Extern.CanSpawnAI = 0 + return + end + end + end + end + end + if currentAISpawned < kMaxAI then + Extern.CanSpawnAI = 1 + end +end + +function HostUpdate() + if bHostIsLocalPlayer then + DebugInventoryUpdate() + end +end + +playerIndex = Player.GetPlayerIndexByObject(myObject) +if Player.IsLocalPlayer(playerIndex) then + if MP.IsClient() then + Callbacks.RegisterForUpdateEveryFrame("DebugInventoryUpdate") + else + bHostIsLocalPlayer = true + end +end +if not MP.IsClient() then + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerDeathMessage, myObject, "OnAIDeath") + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, myObject, "OnAISpawn") + Callbacks.RegisterForUpdateEveryFrame("HostUpdate") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommanderSpawner.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommanderSpawner.lua new file mode 100644 index 0000000..b882aab --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/ReplicaCommanderSpawner.lua @@ -0,0 +1,29 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = GameScript.Game.Player +local AIActions = GameScript.AIActions +local MP = Game.MP +local ObjectTags = Game.ObjectTags +local Sets = Game.Sets +local myObject = Game.GetMyObject() +Support.RegisterObjectTemplateVariable("SpawnTemplate", "The template for AI to spawn") +if not MP.IsClient() then + local rotation = Game.GetRotation(myObject) + local spawnedObject = Game.SpawnWithRotation("SpawnTemplate", Game.GetPosition(myObject), rotation) + local orderObject = ObjectTags.GetObjectsWithTag("Multiplayer game type-specific") + if orderObject ~= nil then + for key, value in pairs(orderObject) do + if value ~= nil then + Sets.AddObjectToSet(value, spawnedObject) + end + end + end + local numPlayers = Player.GetNumPlayers() + for curPlayer = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if MP.GetTeamForPlayer(curPlayer) == 0 then + playerObj = Player.GetPlayerAvatarObjectByIndex(curPlayer) + Game.SendTextMessage(playerObj, "AISpawned") + Support.ExitScript() + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma.lua new file mode 100644 index 0000000..d948cbb --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma.lua @@ -0,0 +1,590 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local LuaHelpers = GameScript.LuaHelpers +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Objectives = Game.Objectives +local Graphics = Game.Graphics +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GameScript.Utilities +local MP = Game.MP +local Physics = Game.Physics +local AI = Game.AI +local ObjectState = GameScript.ObjectState +local AIDirector = MP.AIDirectorBase +local Math3d = GameScript.LuaMath3d +local alma = {object = nil, targetIndex = -1} +local localPlayerSlowedByAlma +local prevHackMsgID = 0 +local prevPlayerDownedByAlma = -1 +local prevPlayerBlindedByAlma = -1 +local prevPlayerTeleportedByAlma = -1 +local prevPlayerSlowedDownByAlma = -1 +local teleportCalledOnce = false +local numPlayers = Player.GetNumPlayers() +local maxPlayer = numPlayers - 1 +local newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +local beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local increaseAlmaDifficultyMsgId = Support.ImportStaticTextVariable("MissionEvent: Increase Alma Difficulty", "") +local almaSpawnTable = {} +Support.RegisterObjectTemplateVariable("Alma Object Template", "Used to spawn Alma.") +local almaSpawnPoints = Support.ImportObjectHandleVariable("Alma Spawn Points", "Valid points where Alma may randomly spawn.") +Support.ImportObjectHandleVariable("Alma Punishment Points", "Valid points where Alma may teleport players she punishes.") +Support.ExportFloatVariable("HackMsgID", 0, "Hack extern/export variable for the MissionEventMessage ID to be passed to clients.") +Support.ExportFloatVariable("PlayerDownedByAlma", -1, "Extern/export variable for broadcasting which player has been downed by Alma, if any.") +Support.ExportFloatVariable("PlayerBlindedByAlma", -1, "Extern/export variable for broadcasting which player has been blinded by Alma, if any.") +Support.ExportFloatVariable("PlayerTeleportedByAlma", -1, "Extern/export variable for broadcasting which player has been teleported by Alma, if any.") +Support.ExportFloatVariable("PlayerSlowedDownByAlma", -1, "Extern/export variable for broadcasting which player has been slowed down by Alma, if any.") +local debugSpawnAlmaOften = Support.ImportBoolVariableWithDefault("Debug Spawn Alma Often", "", false) +local enablePunishments = not Support.ImportBoolVariableWithDefault("Debug Disable Almas Punishments", "", false) +local spawnNearPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1 +local almaDifficultyLevel = 1 +local debugDrawAlmaAttack = Support.ImportBoolVariableWithDefault("Debug Draw Alma Attack", "", false) +debugDrawAlmaAttack = false +Support.ExportFloatVariable("Debug_AlmaPos_x", -1, "") +Support.ExportFloatVariable("Debug_AlmaPos_y", -1, "") +Support.ExportFloatVariable("Debug_AlmaPos_z", -1, "") +Support.ExportFloatVariable("Debug_AlmaVictimPos_x", -1, "") +Support.ExportFloatVariable("Debug_AlmaVictimPos_y", -1, "") +Support.ExportFloatVariable("Debug_AlmaVictimPos_z", -1, "") +local almaDebugInfo = { + herPos = { + x = -1, + y = -1, + z = -1 + }, + victimPos = { + x = -1, + y = -1, + z = -1 + }, + attackTime = 0 +} + +function almaDebugInfo.herPos.IsValid(this) + return this.x ~= -1 and this.y ~= -1 and this.z ~= -1 +end + +function almaDebugInfo.victimPos.IsValid(this) + return this.x ~= -1 and this.y ~= -1 and this.z ~= -1 +end + +function almaDebugInfo.Reset(this) + this.herPos.x, this.herPos.y, this.herPos.z = -1, -1, -1 + this.victimPos.x, this.victimPos.y, this.victimPos.z = -1, -1, -1 + this.attackTime = 0 +end + +local myObject = Game.GetMyObject() + +function OnMissionEventMessage(message) + if not MP.IsClient() then + Extern.HackMsgID = message.textID + end + if message.textID == newWaveMsgId then + OnStartOfWave() + elseif message.textID == beginRestPeriodMsgId then + OnEndOfWave() + elseif message.textID == increaseAlmaDifficultyMsgId then + almaDifficultyLevel = almaDifficultyLevel + 1 + end +end + +function OnStartOfWave() + if not MP.IsClient() then + ScheduleAlmaSpawn() + end +end + +function OnEndOfWave() + if not MP.IsClient() then + KillAlma() + Callbacks.UnregisterForTimer("KillAlmaAndScheduleRespawn") + Callbacks.UnregisterForTimer("SpawnAlma") + end +end + +function ScheduleAlmaSpawn() + if almaSpawnPoints ~= nil and 0 < #almaSpawnPoints then + local randMin, randMax = 10, 20 + if debugSpawnAlmaOften then + randMin, randMax = 10, 11 + end + local almaTime = Utilities.GetRandomRealNumber(randMin, randMax) + Callbacks.RegisterForTimer("SpawnAlma", almaTime, false) + end +end + +function GetSpawnpoint(targetIndex) + local maxDesiredSpawnDistance = 30 + local playerTable = {} + if targetIndex ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + table.insert(playerTable, targetIndex) + else + for curPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1, maxPlayer do + if Player.IsActivePlayer(curPlayerIndex) then + table.insert(playerTable, curPlayerIndex) + end + end + end + local nearbyPoints = {} + if debugSpawnAlmaOften or 1 < almaDifficultyLevel then + for k, curPlayerIndex in pairs(playerTable) do + for s, spawnInfo in pairs(almaSpawnTable) do + local distance = Player.GetPlayerDistanceToPosition(curPlayerIndex, spawnInfo.pos) + if maxDesiredSpawnDistance > distance then + LuaHelpers.AddUniqueItemToTable(nearbyPoints, spawnInfo) + end + end + end + end + local unobstructedPoints = {} + if debugSpawnAlmaOften or 2 < almaDifficultyLevel then + for k, curPlayerIndex in pairs(playerTable) do + for s, spawnInfo in pairs(nearbyPoints) do + if Game.IsPlayerLookRotFacingObject(curPlayerIndex, spawnInfo.point, 43) then + LuaHelpers.AddUniqueItemToTable(unobstructedPoints, spawnInfo) + end + end + end + end + local visiblePoints = {} + local candidatePoints + if 0 < #visiblePoints then + candidatePoints = visiblePoints + elseif 0 < #unobstructedPoints then + candidatePoints = unobstructedPoints + elseif 0 < #nearbyPoints then + candidatePoints = nearbyPoints + else + candidatePoints = almaSpawnTable + end + if debugSpawnAlmaOften or 4 < almaDifficultyLevel then + local minDist = maxDesiredSpawnDistance + local closestSpawnPoint + for s, spawnInfo in pairs(candidatePoints) do + local spawnPos = spawnInfo.pos + for k, curPlayerIndex in pairs(playerTable) do + local distance = Player.GetPlayerDistanceToPosition(curPlayerIndex, spawnInfo.pos) + if minDist > distance then + minDist = distance + closestSpawnPoint = spawnPoint + end + end + end + if closestSpawnPoint ~= nil then + return closestSpawnPoint + end + end + return LuaHelpers.GetRandomItemFromTable(candidatePoints) +end + +function SpawnAlma() + Extern.Debug_AlmaPos_x, Extern.Debug_AlmaPos_y, Extern.Debug_AlmaPos_z = -1, -1, -1 + Extern.Debug_AlmaVictimPos_x, Extern.Debug_AlmaVictimPos_y, Extern.Debug_AlmaVictimPos_z = -1, -1, -1 + Extern.PlayerDownedByAlma = -1 + Extern.PlayerBlindedByAlma = -1 + Extern.PlayerTeleportedByAlma = -1 + Extern.PlayerSlowedDownByAlma = -1 + local almasPreferredTargetPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer + if debugSpawnAlmaOften or 1 < almaDifficultyLevel then + spawnNearPlayerIndex = spawnNearPlayerIndex + 1 + if spawnNearPlayerIndex > MP.GetNumberOfActivePlayers() - 1 then + spawnNearPlayerIndex = GameScript.PlayerIndex.kGlobalPlayer1 + end + if Player.IsActivePlayer(spawnNearPlayerIndex) then + almasPreferredTargetPlayer = spawnNearPlayerIndex + end + end + local spawnPoint = GetSpawnpoint(almasPreferredTargetPlayer) + if spawnPoint == nil then + Debug.PrintError("almasPreferredTargetPlayer : " .. tostring(almasPreferredTargetPlayer) .. " @summary SpawnAlma() failed to find a valid spawnPoint - scheduling respawn") + ScheduleAlmaSpawn() + return + end + local almaSpawnPos = spawnPoint.pos + local almaSpawnRot = spawnPoint.rot + alma.object = Game.SpawnWithRotation("Alma Object Template", almaSpawnPos, almaSpawnRot) + alma.targetIndex = -1 + if alma.object == nil then + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.LabelStateAnimationTag, alma.object, "OnAlmaPoint") + Callbacks.RegisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, alma.object, "OnAlmaDeleted") + Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, alma.object, "OnAlmaKilled") + Game.SetAnimationVariable(alma.object, "Walk", 1) + local almaTime = Utilities.GetRandomRealNumber(20, 21) + Callbacks.RegisterForTimer("KillAlmaAndScheduleRespawn", almaTime, false) +end + +function PlayShortAlmaPunishmentSound() + Game.SendTextMessage(myObject, "play short alma punishment sound") +end + +function PlayLongAlmaPunishmentSound() + Game.SendTextMessage(myObject, "play long alma punishment sound") +end + +function OnAlmaPoint(TagInfo) + local targetInfo + if alma.object ~= nil then + targetInfo = AI.GetAITargetInfo(alma.object) + end + if targetInfo ~= nil and targetInfo.m_bIsInfoValid and targetInfo.m_bIsPlayerControlled then + alma.targetIndex = targetInfo.m_nControllingPlayerIndex + Game.SendTextMessage(alma.object, "alma is pointing") + Callbacks.UnregisterForTimer("KillAlmaAndScheduleRespawn") + Callbacks.RegisterForTimer("KillAlmaAndScheduleRespawn", 1.5, false) + RotateAlmaTowardTarget() + Callbacks.RegisterForTimer("TeleportAlma", 0.3, false) + DoAlmaPunishment() + end +end + +function OnAlmaDeleted() + OnAlmaRemovedUnexpectedly() +end + +function OnAlmaKilled() + OnAlmaRemovedUnexpectedly() +end + +function OnAlmaRemovedUnexpectedly() + alma.object = nil +end + +function RotateAlmaTowardTarget() + local playerObj = Player.GetPlayerControlledObjectByIndex(alma.targetIndex) + local playerLocation = Game.GetPosition(playerObj) + local almaLocation = Game.GetPosition(alma.object) + local almaToPlayerVect = Math3d.VectorSubtract(playerLocation, almaLocation) + Math3d.VectorNormalize(almaToPlayerVect) + local almaRotation = Math3d.GetRotationForForward(almaToPlayerVect) + Game.TeleportObjectWithRotation(alma.object, almaLocation, almaRotation) +end + +function TeleportAlma() + local playerObj = Player.GetPlayerControlledObjectByIndex(alma.targetIndex) + local playerLocation = Game.GetPosition(playerObj) + local almaLocation = Game.GetPosition(alma.object) + local playerToAlmaVect = Math3d.VectorSubtract(almaLocation, playerLocation) + Math3d.VectorNormalize(playerToAlmaVect) + almaLocation = Math3d.VectorAdd(playerLocation, Math3d.VectorMultiply(playerToAlmaVect, 2)) + local almaRotation = Math3d.GetRotationForForward(Math3d.VectorMultiply(playerToAlmaVect, -1)) + Game.TeleportObjectWithRotation(alma.object, almaLocation, almaRotation) +end + +function DoAlmaPunishment() + if alma.targetIndex == -1 then + return + end + if alma.object == nil then + return + end + local victimObj = Player.GetPlayerControlledObjectByIndex(alma.targetIndex) + if enablePunishments == false then + if not IsCarryingCrate(victimObj) then + Game.SendTextMessage(victimObj, "stunned by alma") + end + PlayShortAlmaPunishmentSound() + return + end + local almaPos = Game.GetPosition(alma.object) + Extern.Debug_AlmaPos_x, Extern.Debug_AlmaPos_y, Extern.Debug_AlmaPos_z = almaPos.x, almaPos.y, almaPos.z + local victimPos = Game.GetPosition(victimObj) + Extern.Debug_AlmaVictimPos_x, Extern.Debug_AlmaVictimPos_y, Extern.Debug_AlmaVictimPos_z = victimPos.x, victimPos.y, victimPos.z + local possiblePunishments = {AlmaPunishment_SlowDown, AlmaPunishment_Blinded} + if 1 < almaDifficultyLevel then + table.insert(possiblePunishments, AlmaPunishment_Teleport) + end + if 2 < almaDifficultyLevel then + table.insert(possiblePunishments, AlmaPunishment_NearDeath) + end + local chosenPunishment = LuaHelpers.GetRandomItemFromTable(possiblePunishments) + chosenPunishment(alma.targetIndex) +end + +function IsMech(playerControlledObject) + return Game.ObjectTags.DoesObjectHaveTag(playerControlledObject, "Power Armor") +end + +function GetPlayerInsideMech(playerControlledMech) + local InventoryTable = Game.GetInventoryItems(playerControlledMech, 4) + return InventoryTable[1] +end + +function KickPlayerOutOfMech(playerControlledMech) + local driver = GetPlayerInsideMech(playerControlledMech) + if driver and Game.IsRiding(driver) then + Game.ForceRiderOutOfVehicle(driver, playerControlledMech, true) + return true + end + return false +end + +function IsCarryingCrate(playerObj) + local augInv = Game.GetInventoryItemsByTypeAndName(playerObj, 3, "Medkit Inventory") + return 0 < #augInv +end + +function AlmaPunishment_NearDeath(playerIndex) + if Player.IsActivePlayer(playerIndex) then + local playerObj = Player.GetPlayerControlledObjectByIndex(playerIndex) + if playerObj == nil then + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The target for Alma's punishment has a nil avatar") + return + end + Game.SendTextMessage(playerObj, "enable alma attack glow effects 3 seconds") + local mechObj + if IsMech(playerObj) then + mechObj = playerObj + playerObj = GetPlayerInsideMech(mechObj) + end + if Player.IsLocalPlayer(playerIndex) and mechObj ~= nil then + KickPlayerOutOfMech(mechObj) + end + if not MP.IsClient() then + Game.Damage(playerObj, 100) + Extern.PlayerDownedByAlma = playerIndex + end + if Player.IsLocalPlayer(playerIndex) then + PlayShortAlmaPunishmentSound() + almaDebugInfo:Reset() + almaDebugInfo.attackTime = Support.GetGameTime() + end + else + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The player Alma targeted is not active any longer, possible disconnect") + end +end + +function AlmaPunishment_Blinded(playerIndex) + if Player.IsActivePlayer(playerIndex) then + local playerObj = Player.GetPlayerControlledObjectByIndex(playerIndex) + if playerObj == nil then + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The target for Alma's punishment has a nil avatar") + return + end + Game.SendTextMessage(playerObj, "enable alma attack glow effects 10 seconds") + if not IsCarryingCrate(playerObj) then + Game.SendTextMessage(playerObj, "stunned by alma") + end + if not MP.IsClient() then + Extern.PlayerBlindedByAlma = playerIndex + end + if Player.IsLocalPlayer(playerIndex) then + Game.SendTextMessage(playerObj, "blinded by alma") + PlayLongAlmaPunishmentSound() + almaDebugInfo:Reset() + almaDebugInfo.attackTime = Support.GetGameTime() + end + else + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The player Alma targeted is not active any longer, possible disconnect") + end +end + +function AlmaPunishment_Teleport(playerIndex) + if Player.IsActivePlayer(playerIndex) then + local playerObj = Player.GetPlayerControlledObjectByIndex(playerIndex) + if playerObj == nil then + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The target for Alma's punishment has a nil avatar") + return + end + Game.SendTextMessage(playerObj, "enable teleported by alma glow effects") + if not IsCarryingCrate(playerObj) then + Game.SendTextMessage(playerObj, "stunned by alma") + end + if not MP.IsClient() then + Extern.PlayerTeleportedByAlma = playerIndex + end + if Player.IsLocalPlayer(playerIndex) then + PlayShortAlmaPunishmentSound() + Game.SendTextMessage(playerObj, "teleported by alma fadeout") + Callbacks.RegisterForTimer("DoAlmaTeleport", 1.5, false) + teleportCalledOnce = false + almaDebugInfo:Reset() + almaDebugInfo.attackTime = Support.GetGameTime() + end + else + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The player Alma targeted is not active any longer, possible disconnect") + end +end + +function AlmaPunishment_SlowDown(playerIndex) + if Player.IsActivePlayer(playerIndex) then + local playerObj = Player.GetPlayerControlledObjectByIndex(playerIndex) + if playerObj == nil then + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The target for Alma's punishment has a nil avatar") + return + end + Game.SendTextMessage(playerObj, "enable alma attack glow effects 10 seconds") + if not IsCarryingCrate(playerObj) then + Game.SendTextMessage(playerObj, "stunned by alma") + end + if not MP.IsClient() then + Extern.PlayerSlowedDownByAlma = playerIndex + end + if Player.IsLocalPlayer(playerIndex) then + Player.SetVelocityScale(playerObj, 0.2) + PlayLongAlmaPunishmentSound() + Game.SendTextMessage(playerObj, "slowed down by alma") + Callbacks.RegisterForTimer("EndOfAlmaSlowDown", 9.5, false) + localPlayerSlowedByAlma = playerObj + almaDebugInfo:Reset() + almaDebugInfo.attackTime = Support.GetGameTime() + end + else + Debug.PrintError("Player " .. playerIndex .. " could not be punished " .. "@summary The player Alma targeted is not active any longer, possible disconnect") + end +end + +function DoAlmaTeleport() + local playerObj = Player.GetPlayerControlledObjectByIndex(Extern.PlayerTeleportedByAlma) + if teleportCalledOnce and (IsMech(playerObj) or Game.IsRiding(playerObj)) then + Callbacks.RegisterForTimer("DoAlmaTeleport", 0.1, false) + return + end + if IsMech(playerObj) then + KickPlayerOutOfMech(playerObj) + Callbacks.RegisterForTimer("DoAlmaTeleport", 0.25, false) + teleportCalledOnce = true + return + elseif Game.IsRiding(playerObj) then + Callbacks.RegisterForTimer("DoAlmaTeleport", 0.25, false) + teleportCalledOnce = true + return + end + Game.SendTextMessage(playerObj, "teleported by alma fadein") + local teleportPoints = Support.GetImportObjectTable("Alma Punishment Points") + local pointObject = LuaHelpers.GetRandomItemFromTable(teleportPoints) + local teleportPos = Game.GetPosition(pointObject) + local teleportRot = Game.GetRotation(pointObject) + Game.TeleportObjectWithRotation(playerObj, teleportPos, teleportRot) +end + +function EndOfAlmaSlowDown() + if localPlayerSlowedByAlma ~= nil and Game.IsLoaded(localPlayerSlowedByAlma) then + Player.SetVelocityScale(localPlayerSlowedByAlma, 1) + localPlayerSlowedByAlma = nil + end +end + +function KillAlmaAndScheduleRespawn() + KillAlma() + ScheduleAlmaSpawn() +end + +function KillAlma() + if alma.object ~= nil then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.LabelStateAnimationTag, alma.object, "OnAlmaPoint") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DeleteObjectMessage, alma.object, "OnAlmaDeleted") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.KillObjectMessage, alma.object, "OnAlmaKilled") + Callbacks.UnregisterForTimer("TeleportAlma") + Game.SendTextMessage(alma.object, "flicker out") + alma.object = nil + end +end + +function DebugAlma() + AlmaDebugUpdate() +end + +function ClientUpdateLoop() + if prevHackMsgID ~= Extern.HackMsgID then + local message = { + textID = Extern.HackMsgID + } + OnMissionEventMessage(message) + prevHackMsgID = Extern.HackMsgID + end + if prevPlayerDownedByAlma ~= Extern.PlayerDownedByAlma then + if Extern.PlayerDownedByAlma ~= -1 then + AlmaPunishment_NearDeath(Extern.PlayerDownedByAlma) + end + prevPlayerDownedByAlma = Extern.PlayerDownedByAlma + end + if prevPlayerBlindedByAlma ~= Extern.PlayerBlindedByAlma then + if Extern.PlayerBlindedByAlma ~= -1 then + AlmaPunishment_Blinded(Extern.PlayerBlindedByAlma) + end + prevPlayerBlindedByAlma = Extern.PlayerBlindedByAlma + end + if prevPlayerTeleportedByAlma ~= Extern.PlayerTeleportedByAlma then + if Extern.PlayerTeleportedByAlma ~= -1 then + AlmaPunishment_Teleport(Extern.PlayerTeleportedByAlma) + end + prevPlayerTeleportedByAlma = Extern.PlayerTeleportedByAlma + end + if prevPlayerSlowedDownByAlma ~= Extern.PlayerSlowedDownByAlma then + if Extern.PlayerSlowedDownByAlma ~= -1 then + AlmaPunishment_SlowDown(Extern.PlayerSlowedDownByAlma) + end + prevPlayerSlowedDownByAlma = Extern.PlayerSlowedDownByAlma + end +end + +function AlmaDebugUpdate() + if not debugDrawAlmaAttack then + return + end + if almaDebugInfo.attackTime == 0 then + return + end + local herPos = almaDebugInfo.herPos + local timeSinceAttack = Support.GetGameTime() - almaDebugInfo.attackTime + if 20 < timeSinceAttack then + almaDebugInfo:Reset() + return + end + if not herPos:IsValid() then + herPos.x, herPos.y, herPos.z = Extern.Debug_AlmaPos_x, Extern.Debug_AlmaPos_y + 1.3, Extern.Debug_AlmaPos_z + end + local victimPos = almaDebugInfo.victimPos + if not victimPos:IsValid() then + victimPos.x, victimPos.y, victimPos.z = Extern.Debug_AlmaVictimPos_x, Extern.Debug_AlmaVictimPos_y + 1.3, Extern.Debug_AlmaVictimPos_z + end + if herPos:IsValid() then + Debug.DrawSphere(herPos, 0.5, Utilities.kOrange) + if victimPos:IsValid() then + Debug.DrawLine(herPos, victimPos, Utilities.kOrange) + Debug.DrawSphere(victimPos, 0.2, Utilities.kRed) + end + end +end + +function HandleTextMessage(msgTable) + if msgTable.text == "EndLife" then + Callbacks.UnregisterForUpdateEveryFrame() + Support.ExitScript() + end +end + +function ImportAlmaSpawnPoints() + if almaSpawnPoints ~= nil then + for s, spawnPoint in pairs(almaSpawnPoints) do + if Game.IsLoaded(spawnPoint) then + local spawnInfo = { + pos = Game.GetPosition(spawnPoint), + rot = Game.GetRotation(spawnPoint), + point = spawnPoint + } + table.insert(almaSpawnTable, spawnInfo) + end + end + end +end + +if myObject ~= nil and not debugDisableAlma then + if not MP.IsClient() then + almaDifficultyLevel = 1 + Callbacks.RegisterForTimer("ImportAlmaSpawnPoints", 0.5, false) + if debugSpawnAlmaOften then + Callbacks.RegisterForTimer("ScheduleAlmaSpawn", 5, false) + else + Callbacks.RegisterForMsg(GameScript.MsgCallback.MissionEventMessage, myObject, "OnMissionEventMessage") + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, myObject, "HandleTextMessage") + else + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage.lua new file mode 100644 index 0000000..16e8801 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage.lua @@ -0,0 +1,42 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Support = GS.Support +local Graphics = GS.Game.Graphics +local Debug = GS.Debug +local MP = Game.MP +local BeginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local NewWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: New Wave Message", "") +Support.ExportFloatVariable("ShouldEnableGlow", 0, "Hack extern/export variable for the ShouldEnableUsables to be passed to clients.") +local kGlowAmount = 3 +local myObject = Game.GetMyObject() +Extern.lastShouldValue = -1 + +function ProcessMissionEventMessage(missionEventMessage) + if missionEventMessage.textID == BeginRestPeriodMsgId then + Extern.ShouldEnableGlow = 1 + Graphics.SetNamedMaterialScalar(myObject, "GLINT", kGlowAmount) + elseif missionEventMessage.textID == NewWaveMsgId then + Extern.ShouldEnableGlow = 0 + Graphics.SetNamedMaterialScalar(myObject, "GLINT", 0) + end +end + +function CheckToEnableGlow(removedObject) + local ShouldEnable = Extern.ShouldEnableGlow + if Extern.lastShouldValue ~= ShouldEnable then + if ShouldEnable == 1 then + Graphics.SetNamedMaterialScalar(myObject, "GLINT", kGlowAmount) + Extern.lastShouldValue = 1 + else + Graphics.SetNamedMaterialScalar(myObject, "GLINT", 0) + Extern.lastShouldValue = 0 + end + end +end + +if not MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "ProcessMissionEventMessage") +else + Callbacks.RegisterForScriptValueUpdated("CheckToEnableGlow") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableSmartnodesInObjectRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableSmartnodesInObjectRegion.lua new file mode 100644 index 0000000..9b97aff --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableSmartnodesInObjectRegion.lua @@ -0,0 +1,9 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Sets = GameScript.Game.Sets +local AI = Game.AI +local myObject = Game.GetMyObject() +if myObject ~= nil then + AI.EnableSmartMapsInRegion(myObject, true) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableWeaponRackGlows.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableWeaponRackGlows.lua new file mode 100644 index 0000000..3621035 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/EnableWeaponRackGlows.lua @@ -0,0 +1,36 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Graphics = Game.Graphics +local Debug = GS.Debug +local MP = Game.MP +local Camera = GS.Game.Camera +local FEAR = GS.FEAR +local WeaponRackGlowSet = Support.ImportObjectList("Weapon Rack Glow Set", "") + +function SetGlowObjectsSortMode(sortMode) + for k, obj in pairs(WeaponRackGlowSet) do + Graphics.SetMaterialSortMode(obj, sortMode) + end +end + +function CheckIfPlayerCarryingCrate(msgID) + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsLocalPlayer(index) then + playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + local augInv = Game.GetInventoryItemsByTypeAndName(playerObject, 3, "Medkit Inventory") + if 0 < #augInv then + SetGlowObjectsSortMode(5) + else + SetGlowObjectsSortMode(2) + end + end + end + end +end + +Callbacks.RegisterForTimer("CheckIfPlayerCarryingCrate", 0.5, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier.lua new file mode 100644 index 0000000..acb552b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier.lua @@ -0,0 +1,16 @@ +local GS = GameScript +local Game = GS.Game +local myObject = Game.GetMyObject() +local interactionObjects = Game.GetInteractionObjects(myObject) +if interactionObjects ~= nil then + for k, obj in pairs(interactionObjects) do + local healthPercent = Game.GetDestructibleObjectHealthPercent(obj) + if healthPercent < 0.33 then + Game.SendTextMessage(myObject, "SFX_RepairHeavy") + elseif healthPercent < 0.66 then + Game.SendTextMessage(myObject, "SFX_RepairMedium") + else + Game.SendTextMessage(myObject, "SFX_RepairLight") + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector.lua new file mode 100644 index 0000000..faf3f1b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector.lua @@ -0,0 +1,886 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local LuaHelpers = GS.LuaHelpers +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local Objectives = Game.Objectives +local Graphics = Game.Graphics +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GS.Utilities +local MP = Game.MP +local Physics = Game.Physics +local AI = Game.AI +local ObjectState = GS.ObjectState +local AIDirector = MP.AIDirectorBase +local FEAR = GS.FEAR +local FEARScore = GS.FEARScore +local kDebugMemoryTest = false +local kMaxNumWaves = 20 +local kMaxNumRounds = 3 +local kWrapWaves = false +local kCelebrationAnimGraphName = "Celebration Animation Graph Resource" +local localPlayer +local prevHackMsgID = 0 +local prevHackGameWon = 0 +local prevWaveNumber = 0 +local waveStartTime = 0 +local wavePlayersDowned = 0 +local waveTotalCratesReturned = 0 +local playerCratesReturned = {} +playerCratesReturned[GS.PlayerIndex.kGlobalPlayer1] = 0 +playerCratesReturned[GS.PlayerIndex.kGlobalPlayer2] = 0 +playerCratesReturned[GS.PlayerIndex.kGlobalPlayer3] = 0 +playerCratesReturned[GS.PlayerIndex.kGlobalPlayer4] = 0 +local consecutiveWavesNoCrates = 0 +local SentLastManStandingMsg = false +local debugMemorySizes = { + persistent = nil, + waste = {current = 0, max = 0}, + waves = {}, + waveUpdate = false +} + +function debugMemorySizes.Clear(this) + this.persistent = nil + this.waste.current = 0 + this.waste.max = 0 + this.waves = {} + waveUpdate = false +end + +local debugDisableRiftEvent = false +local m_bPlayersRegistered = false +local kNumWaves = Support.ImportFloatVariableWithDefault("Num Waves (max " .. kMaxNumWaves .. ")", "", 5) +local disableWithFogSet = Support.ImportObjectHandleVariable("Items to Disable When Fog Rolls In (SET)", "Set for collection of objects that should be disabled when the fog rolls in, and reenabled when it rolls out.") +local newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +local beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local increaseAlmaDifficultyMsgId = Support.ImportStaticTextVariable("MissionEvent: Increase Alma Difficulty", "") +local riftPulseCinemaObj = Support.ImportSingleObject("RiftPulse Cinema Object", "") +Support.RegisterWorldVectorVariable("Persistent Worlds", "") + +function MakeWaveWorldString(waveNum) + return "Wave " .. waveNum .. " World(s)" +end + +for i = 1, kMaxNumWaves do + Support.RegisterWorldVectorVariable(MakeWaveWorldString(i), "") +end +Support.CreateWorldVectorVariable("Desired Worlds", "") +Support.CreateWorldVectorVariable("Required Worlds", "") +Support.ExportFloatVariable("HackMsgID", 0, "Hack extern/export variable for the MissionEventMessage ID to be passed to clients.") +Support.ExportFloatVariable("HackGameWon", 0, "Hack extern/export variable for the host to tell clients to celebrate, they won the game!") +Support.ExportFloatVariable("WaveNumber", 1, "Extern/export variable for the wave number to be passed to clients.") +Support.ExportFloatVariable("RoundNumber", 1, "Extern/export variable for the round number to be passed to clients.") +local weaponRackSet = Support.ImportSetObject("Weapon Rack Objects Set", "The weapon rack objects placed in the level") +local barrierSet = Support.ImportSetObject("Barrier Objects Set", "The set of barrier objects placed in the level") +local AlmaScript = Support.ImportObjectHandleVariable("Wandering Alma Script Object", "") +Support.RegisterAnimationGraphResourceVariable(kCelebrationAnimGraphName, "The animation graph with the player celebration anims.") +local myObject = Game.GetMyObject() +local kWaveScores = {} +kWaveScores[1] = Support.ImportFloatVariableWithDefault("Score : Wave 1", "", 100) +for i = 2, kMaxNumWaves * kMaxNumRounds do + kWaveScores[i] = Support.ImportFloatVariableWithDefault("-----Score : Wave " .. i, "", 100) +end +local kScoreSurvivalIncrement = Support.ImportFloatVariableWithDefault("Score : Survival Increment", "", 100) +local score = { + totalPoints = 0, + wavePoints = kWaveScores[1], + survivalBonus = kScoreSurvivalIncrement +} +Support.ExportFloatVariable("totalPoints", 0, "Extern/export variable for score info to be passed to clients.") +Support.ExportFloatVariable("wavePoints", 0, "Extern/export variable for score info to be passed to clients.") +Support.ExportFloatVariable("survivalBonus", 1, "Extern/export variable for score info to be passed to clients.") + +function score.PlayerDown(this) + if this.survivalBonus > 0 then + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Survival Bonus Lost") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + end +end + +function score.WaveOver(this) + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + end + end + this.totalPoints = this.wavePoints + this.survivalBonus + this.survivalBonus = this.survivalBonus + kScoreSurvivalIncrement + this.wavePoints = kWaveScores[Extern.WaveNumber * Extern.RoundNumber] +end + +function score.NetworkSync(this) + if MP.IsClient() then + this.totalPoints = Extern.totalPoints + this.wavePoints = Extern.wavePoints + this.survivalBonus = Extern.survivalBonus + else + Extern.totalPoints = this.totalPoints + Extern.wavePoints = this.wavePoints + Extern.survivalBonus = this.survivalBonus + end +end + +function score.PrintEndOfWaveUpdate(this) + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Wave Score") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, score.wavePoints) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Survival Bonus") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, score.survivalBonus) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Round Total") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, score.wavePoints + score.survivalBonus) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Contraction Total Score") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, score.totalPoints + score.wavePoints + score.survivalBonus) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) +end + +function GetActualNumPlayers() + local ActualNumPlayers = 0 + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + ActualNumPlayers = ActualNumPlayers + 1 + end + end + return ActualNumPlayers +end + +function EnableRepairableBarriers() + if barrierSet ~= nil then + local barrierObjs = Sets.GetObjectsInSet(barrierSet) + for k, obj in pairs(barrierObjs) do + if obj ~= nil then + Game.SendMissionEventMessage(obj, beginRestPeriodMsgId) + end + end + end +end + +function DisableRepairableBarriers() + if barrierSet ~= nil then + local barrierObjs = Sets.GetObjectsInSet(barrierSet) + for k, obj in pairs(barrierObjs) do + if obj ~= nil then + Game.SendMissionEventMessage(obj, newWaveMsgId) + end + end + end +end + +function OnMissionEventMessage(message) + if not MP.IsClient() then + Extern.HackMsgID = message.textID + if AlmaScript ~= nil and 0 < #AlmaScript and AlmaScript[1] ~= nil and AlmaScript[1] ~= myObject then + Game.SendMissionEventMessage(AlmaScript[1], message.textID) + end + end + if message.textID == newWaveMsgId then + OnStartOfWave() + elseif message.textID == beginRestPeriodMsgId then + if not MP.IsClient() then + DisplayEndOfWaveMessages(Extern.WaveNumber) + end + OnEndOfWave() + end +end + +function DoStartupStreaming() + if kDebugMemoryTest then + Callbacks.RegisterForTimer("StreamNextWaveMap", 10, false) + return + else + Callbacks.UnregisterForMsg(GS.MsgCallback.EnterPlayableState, myObject, "DoStartupStreaming") + end + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + Support.AddToWorldVectorVariable("Desired Worlds", MakeWaveWorldString(1)) + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) + Callbacks.RegisterForTimer("StreamNextWaveMap", 15, false) +end + +function StreamNextWaveMap() + if Game.GetNumDesiredWorldsPending() > 0 then + if AIDirector.debugDraw then + Debug.PrintToScreenWithTimer("NOT Streaming in map for wave " .. Extern.WaveNumber, 1, Utilities.kGreen, false) + Debug.PrintToScreenWithTimer(" Wave world is still loading." .. Extern.WaveNumber, 1, Utilities.kGreen, false) + Debug.PrintToScreenWithTimer(" We'll try again in a second." .. Extern.WaveNumber, 1, Utilities.kGreen, false) + end + Callbacks.RegisterForTimer("StreamNextWaveMap", 1, false) + return + end + if kDebugMemoryTest then + debugMemorySizes.waveUpdate = false + if debugMemorySizes.waves[kMaxNumWaves] ~= nil then + StreamOutAllWaves() + return + end + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) + Callbacks.RegisterForTimer("MemoryTestDesireCurrentWave", 5, false) + return + end + if AIDirector.debugDraw then + Debug.PrintToScreenWithTimer("Streaming in map for wave " .. Extern.WaveNumber + (Extern.RoundNumber - 1) * kNumWaves, 10, Utilities.kGreen, false) + end + local nextWaveNum = Extern.WaveNumber + 1 + if nextWaveNum > kNumWaves then + if kDebugMemoryTest then + StreamOutAllWaves() + return + end + if kWrapWaves then + nextWaveNum = 1 + else + nextWaveNum = nil + end + end + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + if nextWaveNum ~= nil then + Support.AddToWorldVectorVariable("Desired Worlds", MakeWaveWorldString(nextWaveNum)) + end + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + Support.AddToWorldVectorVariable("Required Worlds", MakeWaveWorldString(Extern.WaveNumber)) + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) +end + +function MemoryTestDesireCurrentWave() + if AIDirector.debugDraw then + Debug.PrintToScreenWithTimer("Streaming in map for wave " .. Extern.WaveNumber, 10, Utilities.kGreen, false) + end + debugMemorySizes.waste.current = debugMemorySizes.persistent - Debug.GetSystemFreeMB() + if debugMemorySizes.waste.max < debugMemorySizes.waste.current then + debugMemorySizes.waste.max = debugMemorySizes.waste.current + end + debugMemorySizes.waveUpdate = true + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + Support.AddToWorldVectorVariable("Desired Worlds", MakeWaveWorldString(Extern.WaveNumber)) + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) + Callbacks.RegisterForTimer("MemoryTestRequireCurrentWave", 15, false) +end + +function MemoryTestRequireCurrentWave() + if Game.GetNumDesiredWorldsPending() > 0 then + Callbacks.RegisterForTimer("MemoryTestRequireCurrentWave", 1, false) + return + end + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + Support.AddToWorldVectorVariable("Required Worlds", MakeWaveWorldString(Extern.WaveNumber)) + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) +end + +function StreamOutAllWaves() + Support.RemoveFromWorldVectorVariable("Desired Worlds", "Desired Worlds") + Support.RemoveFromWorldVectorVariable("Required Worlds", "Required Worlds") + Support.AddToWorldVectorVariable("Required Worlds", "Persistent Worlds") + GS.Game.StreamWorldsWithSaveOverride("Desired Worlds", "Required Worlds", false) + if kDebugMemoryTest then + Callbacks.RegisterForTimer("AddEndOfTestMemoryLogMark", 5, false) + end +end + +function AddStartOfTestMemoryLogMark() + if Debug.MemoryLogMark ~= nil then + Debug.MemoryLogMark("Before Loading First Wave") + end + Debug.PrintToScreenWithTimer("*** No waves streamed in yet - Start of Test ***", 10, Utilities.kGreen, false) + if Debug.GetSystemMemoryAvailable ~= nil then + debugMemorySizes.persistent = Debug.GetSystemFreeMB() + end +end + +function AddEndOfTestMemoryLogMark() + if Debug.MemoryLogMark ~= nil then + Debug.MemoryLogMark("After Unloading Last Wave") + end + Debug.PrintToScreenWithTimer("*** All waves streamed out - Test Over ***", 999, Utilities.kGreen, false) + debugMemorySizes.waste.current = debugMemorySizes.persistent - Debug.GetSystemFreeMB() + if debugMemorySizes.waste.max < debugMemorySizes.waste.current then + debugMemorySizes.waste.max = debugMemorySizes.waste.current + end +end + +function HandleObjectStateChangeMsg(msgTable) + local newInNearDeath = msgTable.newState == GameScript.ObjectState.NearDeath + if newInNearDeath then + CheckForLastManStanding() + CheckForEndOfGame() + else + CheckForLastManStanding() + end +end + +function OnStartOfWave() + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Starting Wave") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, Extern.WaveNumber + (Extern.RoundNumber - 1) * kNumWaves) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + FEAR.SetGenericCounter(Extern.WaveNumber) + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + Game.SendMissionEventMessage(playerObject, newWaveMsgId) + end + end + StartRiftPulse() + DisableRepairableBarriers() + waveStartTime = Support.GetGameTime() + if not m_bPlayersRegistered then + CheckForEndOfGame() + RegisterAllPlayers() + end + Game.SendMissionEventMessage(Utilities.GetGlobalDataObject(), newWaveMsgId) +end + +function RegisterAllPlayers() + local numPlayers = Player.GetNumPlayers() - 1 + for playerIndex = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(playerIndex) then + RegisterPlayerCallback(playerIndex) + end + end + if FEARSquadSet ~= nil then + Callbacks.RegisterSetTracker(FEARSquadSet, "", "HandleRemovedFromSet") + end + m_bPlayersRegistered = true +end + +function RegisterPlayerCallback(playerIndex) + local playerAvatarObject = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if MP.GetTeamForPlayer(playerIndex) == 1 then + Debug.PrintError("Player " .. tostring(playerIndex) .. " callbacks not set, the player is a Spectre already. Weirdness will probably commence shortly. @summary Player is on team 1 during callback registration") + return + end + if playerAvatarObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, playerAvatarObject, "HandleObjectStateChangeMsg") + if FEARSquadSet ~= nil then + Sets.AddObjectToSet(FEARSquadSet, playerAvatarObject) + end + else + Debug.PrintError("Player " .. tostring(playerIndex) .. " callbacks not set, the player avatar is nil @summary Player callbacks not be set because the Avatar Object is nil") + end +end + +function UnregisterPlayerCallback(playerIndex) + local playerAvatarObject = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if playerAvatarObject ~= nil and MP.GetTeamForPlayer(playerIndex) == 0 then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, playerAvatarObject, "HandleObjectStateChangeMsg") + if FEARSquadSet ~= nil then + Sets.RemoveObjectFromSet(FEARSquadSet, playerAvatarObject) + end + end +end + +function OnEndOfWave() + local waveTime = Support.GetGameTime() - waveStartTime + local timeTextMins = math.floor(waveTime / 60) + local timeTextSecs = math.floor(waveTime % 60) + if timeTextSecs < 10 then + timeTextSecs = "0" .. timeTextSecs + end + if Extern.WaveNumber > 3 then + AIDirector.enableHarvesters() + end + score:NetworkSync() + Game.SendMissionEventMessage(Utilities.GetGlobalDataObject(), beginRestPeriodMsgId) + if not MP.IsClient() then + if kDebugMemoryTest then + debugMemorySizes.waveUpdate = false + end + if wavePlayersDowned == 0 and Game.GetDifficulty() == 4 and MP.GetNumberOfActivePlayers() == 1 then + for key, index in pairs(GameScript.PlayerIndex) do + if Player.IsActivePlayer(index) then + Game.AwardAchievementOccurrence(index, GameScript.Achievements.Hard_Wave_No_LS_Contractions) + end + end + end + if waveTotalCratesReturned == 0 then + consecutiveWavesNoCrates = consecutiveWavesNoCrates + 1 + if 3 <= consecutiveWavesNoCrates then + for key, index in pairs(GameScript.PlayerIndex) do + if Player.IsActivePlayer(index) then + Game.AwardAchievementOccurrence(index, GameScript.Achievements.No_Crates_Waves_Contractions) + end + end + end + end + Extern.WaveNumber = Extern.WaveNumber + 1 + if Extern.WaveNumber > 20 then + for key, index in pairs(GameScript.PlayerIndex) do + if Player.IsActivePlayer(index) then + Game.AwardAchievementOccurrence(index, GameScript.Achievements.Complete_Waves_Contractions) + end + end + end + if Extern.WaveNumber > kNumWaves then + if kWrapWaves then + Extern.WaveNumber = 1 + Extern.RoundNumber = Extern.RoundNumber + 1 + else + EndGameWin() + return + end + end + if Extern.WaveNumber % 4 == 0 then + local almaScriptObj = Support.GetImportObjectTable("Wandering Alma Script Object") + if almaScriptObj ~= nil and 0 < #almaScriptObj and almaScriptObj[1] ~= nil and almaScriptObj[1] ~= myObject then + Game.SendMissionEventMessage(almaScriptObj[1], increaseAlmaDifficultyMsgId) + end + end + if weaponRackSet ~= nil then + local weaponRackObjs = Sets.GetObjectsInSet(weaponRackSet) + for k, obj in pairs(weaponRackObjs) do + if obj ~= nil then + Game.SendMissionEventMessage(obj, beginRestPeriodMsgId) + end + end + end + if kDebugMemoryTest then + Callbacks.RegisterForTimer("StreamNextWaveMap", 2, false) + else + Callbacks.RegisterForTimer("StreamNextWaveMap", 15, false) + end + score:WaveOver() + Callbacks.RegisterForTimer("RevivePlayers", 1.5, false) + end + EnableRepairableBarriers() + wavePlayersDowned = 0 + waveTotalCratesReturned = 0 +end + +function DisplayEndOfWaveMessages(wave) + if wave < kNumWaves then + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "End of Wave") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Stock Up") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Rebuild") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + Game.SendMissionEventMessage(playerObject, beginRestPeriodMsgId) + end + end + end +end + +function SendTextMessageToLocalPlayer(Message) + local numPlayers = Player.GetNumPlayers() - 1 + for playerIndex = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsLocalPlayer(playerIndex) then + local curPlayerObject = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if curPlayerObject ~= nil then + Game.SendTextMessage(curPlayerObject, Message) + else + Debug.PrintInfo("The Player Avatar for player " .. playerIndex .. " is apparently null.") + end + end + end +end + +function SendBlackoutMessage() + SendTextMessageToLocalPlayer("PlayerGotSwallowed") +end + +function EndGameWin() + if not MP.IsClient() then + Extern.HackGameWon = 1 + end + DisplayWinMessage() + SendTextMessageToLocalPlayer("InvulnerableOn") + Callbacks.RegisterForTimer("SendBlackoutMessage", 5, false) + Callbacks.RegisterForTimer("EndGameWinCallback", 7, false) +end + +function DisplayWinMessage() + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "Contractions Win") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) +end + +function IsMech(playerControlledObject) + return Game.ObjectTags.DoesObjectHaveTag(playerControlledObject, "Power Armor") +end + +function GetPlayerInsideMech(playerControlledMech) + local InventoryTable = Game.GetInventoryItems(playerControlledMech, 4) + return InventoryTable[1] +end + +function KickPlayerOutOfMech(playerControlledMech) + local driver = GetPlayerInsideMech(playerControlledMech) + if driver and Game.IsRiding(driver) then + Game.ForceRiderOutOfVehicle(driver, playerControlledMech, true) + return true + end + return false +end + +function PlayAnimationAfterLastStand(msgTable) + if msgTable.oldState == GameScript.ObjectState.NearDeath and msgTable.newState == GameScript.ObjectState.Default and msgTable.object ~= nil then + Callbacks.RegisterForMsg(GS.MsgCallback.AnimationGraphPushedMessage, msgTable.object, "CelebrationAnimGraphPushed") + Game.SetAnimationGraphResource(msgTable.object, kCelebrationAnimGraphName) + end +end + +function PlayCelebrationAnimOnPlayers() + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + local playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + local mechObj + if IsMech(playerObject) then + mechObj = playerObject + playerObject = GetPlayerInsideMech(mechObj) + end + if Player.IsLocalPlayer(index) and mechObj ~= nil then + KickPlayerOutOfMech(mechObj) + end + if Player.IsPlayerInState(index, GameScript.ObjectState.NearDeath) then + if not MP.IsClient() then + Player.RevivePlayerInstant(index) + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, playerObject, "PlayAnimationAfterLastStand") + else + Callbacks.RegisterForMsg(GS.MsgCallback.AnimationGraphPushedMessage, playerObject, "CelebrationAnimGraphPushed") + Game.SetAnimationGraphResource(playerObject, kCelebrationAnimGraphName) + end + end + end + end +end + +function CelebrationAnimGraphPushed(object) + local index = Player.GetPlayerIndexByObject(object) + if Player.IsLocalPlayer(index) then + Game.EnableObjectInput(Player.GetPlayerObjectByIndex(index), false, false, false, false) + end + local animVarValue = 1 + (index - GS.PlayerIndex.kGlobalPlayer1) + Game.SetAnimationVariable(object, "Context_Celebration_Number", animVarValue) + Callbacks.RegisterForMsg(GS.MsgCallback.AnimationFinishedMessage, object, "CelebrationAnimFinished") +end + +function CelebrationAnimFinished(object) + Game.RemoveAnimationGraphResource(object) + local index = Player.GetPlayerIndexByObject(object) + if Player.IsLocalPlayer(index) then + Game.EnableObjectInput(Player.GetPlayerObjectByIndex(index), true, true, true, true) + end +end + +function EndGameWinCallback() + Debug.PrintWarning("--------------------- MP SCORING") + local killScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsKills) + local reviveScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsRevive) + local repairScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsBarricadeRepair) + local crateScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsCrates) + local total = killScore + reviveScore + repairScore + crateScore + Debug.PrintWarning("--------------------- Kill Score : " .. killScore) + Debug.PrintWarning("--------------------- Revive Score : " .. reviveScore) + Debug.PrintWarning("--------------------- Repair Score : " .. repairScore) + Debug.PrintWarning("--------------------- Crate Score : " .. crateScore) + Debug.PrintWarning("--------------------- TOTAL Score : " .. total) + Debug.PrintWarning("--------------------- MP SCORING") + Game.HidePlayerView() + if not MP.IsClient() then + Callbacks.RegisterForTimer("HostEndGame", 0.25, false) + else + Support.ExitScript() + end +end + +function EndGameLose() + Debug.PrintWarning("--------------------- MP SCORING") + local killScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsKills) + local reviveScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsRevive) + local repairScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsBarricadeRepair) + local crateScore = FEARScore.GetCurrentMissionPoints(GameScript.PlayerIndex.kGlobalPlayer1, GameScript.MissionScoreCategory.ContractionsCrates) + local total = killScore + reviveScore + repairScore + crateScore + Debug.PrintWarning("--------------------- Kill Score : " .. killScore) + Debug.PrintWarning("--------------------- Revive Score : " .. reviveScore) + Debug.PrintWarning("--------------------- Repair Score : " .. repairScore) + Debug.PrintWarning("--------------------- Crate Score : " .. crateScore) + Debug.PrintWarning("--------------------- TOTAL Score : " .. total) + Debug.PrintWarning("--------------------- MP SCORING") + if AlmaScript ~= nil and 0 < #AlmaScript and AlmaScript[1] ~= nil and AlmaScript[1] ~= myObject then + Game.SendTextMessage(AlmaScript[1], "EndLife") + end + Game.HidePlayerView() + if not MP.IsClient() then + Callbacks.RegisterForTimer("HostEndGame", 0.25, false) + else + Support.ExitScript() + end +end + +function HostEndGame() + FEARScore.CalculateMissionScore() + if Extern.HackGameWon then + Game.SetGameWon() + else + Game.SetGameFailed() + end + HandleLeaveGameMessage() + Support.ExitScript() +end + +function CheckForEndOfGame() + if MP.AreAllPlayersDown() then + EndGameLose() + end +end + +function RevivePlayers() + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) and Player.IsPlayerInState(index, ObjectState.NearDeath) then + Player.RevivePlayerInstant(index) + end + end +end + +function HandlePlayerDowned() + EndGameLose() +end + +function PlayerStateChanged(msgTable) + Debug.PrintToOutputAndScreenWithTimer("In Player State Changed") + if msgTable.newState == ObjectState.NearDeath then + if MP.GetNumberOfActivePlayers() == 1 then + HandlePlayerDowned() + end + score:PlayerDown() + end +end + +function StartRiftPulse() + if debugDisableRiftEvent then + return + end + if riftPulseCinemaObj ~= nil then + Game.RunCutscene(riftPulseCinemaObj, GS.PlayerIndex.kGlobalPlayer1, GS.PlayerIndex.kGlobalPlayer2) + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) and Player.IsLocalPlayer(index) then + local playerObj = Player.GetPlayerAvatarObjectByIndex(index) + Game.SendTextMessage(playerObj, "start rift event filter") + end + end + if AIDirector.debugDraw then + Debug.PrintToScreenWithTimer("Playing rift pulse cinema", 5, Utilities.kBlue, false) + end + elseif AIDirector.debugDraw then + Debug.PrintToScreenWithTimer("No rift pulse cinema to play", 5, Utilities.kBlue, false) + end +end + +function DisableFogDisableList() + if disableWithFogSet ~= nil and disableWithFogSet ~= myObject then + for key, effectObject in pairs(disableWithFogSet) do + Game.EnableAllEnableables(effectObject, false) + end + end +end + +function ReenableFogDisableList() + if disableWithFogSet ~= nil and disableWithFogSet ~= myObject then + for key, effectObject in pairs(disableWithFogSet) do + Game.EnableAllEnableables(effectObject, true) + end + end +end + +function CheckForLastManStanding() + local NumPlayers = MP.GetNumberOfActivePlayers() + if NumPlayers == 1 then + return + end + local numPlayersNotDown = MP.NumPlayersNotDown() + if numPlayersNotDown == 1 then + if not SentLastManStandingMsg then + local SendLocalMessage = false + if 1 < Player.GetNumLocalPlayers() then + local playerObj1 = Player.GetPlayerAvatarObjectByIndex(GS.PlayerIndex.kGlobalPlayer1) + local playerObj2 = Player.GetPlayerAvatarObjectByIndex(GS.PlayerIndex.kGlobalPlayer2) + if playerObj1 ~= nil and playerObj2 ~= nil then + local downedPlayerIndex = GS.PlayerIndex.kGlobalPlayer1 + local lastManPlayerIndex = GS.PlayerIndex.kGlobalPlayer2 + local player1Down = Player.IsPlayerInState(GS.PlayerIndex.kGlobalPlayer1, ObjectState.NearDeath) + if not player1Down then + downedPlayerIndex = GS.PlayerIndex.kGlobalPlayer2 + lastManPlayerIndex = GS.PlayerIndex.kGlobalPlayer1 + end + local announcementID = FEAR.CreateAnnoucementPacket(lastManPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "Last Actual Player Standing") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.SendAnnoucementPacket(announcementID) + local downedAnnouncementID = FEAR.CreateAnnoucementPacket(downedPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "Last Player Standing") + FEAR.SetAnnoucementPacketPriority(downedAnnouncementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.SendAnnoucementPacket(downedAnnouncementID) + end + else + for index = GS.PlayerIndex.kGlobalPlayer1, NumPlayers do + if Player.IsLocalPlayer(index) then + local playerObj = Player.GetPlayerAvatarObjectByIndex(index) + if not Player.IsPlayerInState(index, ObjectState.NearDeath) then + SendLocalMessage = true + break + end + end + end + if SendLocalMessage then + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "Last Actual Player Standing") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + else + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "Last Player Standing") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + end + end + SentLastManStandingMsg = true + end + else + SentLastManStandingMsg = false + end +end + +function MemoryTestUpdateLoop() + if kDebugMemoryTest and debugMemorySizes.persistent ~= nil then + if debugMemorySizes.waveUpdate then + debugMemorySizes.waves[Extern.WaveNumber] = debugMemorySizes.persistent - Debug.GetSystemFreeMB() + if debugMemorySizes.waste.current > 0 then + debugMemorySizes.waves[Extern.WaveNumber] = debugMemorySizes.waves[Extern.WaveNumber] - debugMemorySizes.waste.current + end + end + Debug.SetOnScreenTextColor(Utilities.kGrey.r, Utilities.kGrey.g, Utilities.kGrey.b) + local xPos, yPos = 0.7, 0.15 + Debug.PrintToScreen("persistent leaves free: " .. debugMemorySizes.persistent .. " MB", xPos, yPos) + yPos = yPos + 0.03 + if debugMemorySizes.waste ~= nil then + xPos = 0.7 + Debug.PrintToScreen("waste: " .. debugMemorySizes.waste.current .. " MB (max " .. debugMemorySizes.waste.max .. " MB)", xPos, yPos) + yPos = yPos + 0.03 + end + yPos = yPos + 0.02 + local yPosStart = yPos + for w, wave in ipairs(debugMemorySizes.waves) do + if w == 1 then + xPos = 0.7 + yPos = yPosStart + elseif w == 11 then + xPos = 0.82 + yPos = yPosStart + end + Debug.PrintToScreen("w[" .. w .. "] " .. wave .. " MB", xPos, yPos) + yPos = yPos + 0.03 + end + end +end + +function MemoryDebug() + if kDebugMemoryTest then + MemoryTestUpdateLoop() + end +end + +function ClientUpdateLoop() + if prevHackMsgID ~= Extern.HackMsgID then + local message = { + textID = Extern.HackMsgID + } + OnMissionEventMessage(message) + prevHackMsgID = Extern.HackMsgID + end + if prevHackGameWon ~= Extern.HackGameWon then + EndGameWin() + prevHackGameWon = Extern.HackGameWon + end + if prevWaveNumber ~= Extern.WaveNumber then + DisplayEndOfWaveMessages(prevWaveNumber) + prevWaveNumber = Extern.WaveNumber + end +end + +function OnCrateReturnedText(msg) + local index = GS.PlayerIndex.kNotAGlobalPlayer + if msg.text == "Crate Returned 0" then + index = GS.PlayerIndex.kGlobalPlayer1 + elseif msg.text == "Crate Returned 1" then + index = GS.PlayerIndex.kGlobalPlayer2 + elseif msg.text == "Crate Returned 2" then + index = GS.PlayerIndex.kGlobalPlayer3 + elseif msg.text == "Crate Returned 3" then + index = GS.PlayerIndex.kGlobalPlayer4 + end + if index ~= GS.PlayerIndex.kNotAGlobalPlayer then + Debug.PrintInfo("Crate returned by player " .. index) + waveTotalCratesReturned = waveTotalCratesReturned + 1 + consecutiveWavesNoCrates = 0 + playerCratesReturned[index] = playerCratesReturned[index] + 1 + if 30 <= playerCratesReturned[index] then + Game.AwardAchievementOccurrence(index, GS.Achievements.Return_Crates_Contractions) + end + end +end + +function HandleLeaveGameMessage(msg) + AIDirector.Reset() + AIDirector.ExitScript() + Callbacks.UnregisterForMsg(GS.MsgCallback.LeaveGameMessage, myObject, "HandleLeaveGameMessage") +end + +if myObject ~= nil then + FEAR.SetGenericCounter(Extern.WaveNumber) + prevWaveNumber = Extern.WaveNumber + if not MP.IsClient() then + AIDirector.debugDrawDirectorInfoOnly = true + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "OnMissionEventMessage") + if weaponRackSet ~= nil then + local weaponRackObjs = Sets.GetObjectsInSet(weaponRackSet) + for k, obj in pairs(weaponRackObjs) do + if obj ~= nil then + Callbacks.RegisterForMsg(GS.MsgCallback.TextMessage, obj, "OnCrateReturnedText") + end + end + end + if kDebugMemoryTest then + debugMemorySizes:Clear() + if Debug.MemoryLogMark ~= nil then + Callbacks.RegisterForTimer("AddStartOfTestMemoryLogMark", 5, false) + end + Callbacks.RegisterForTimer("DoStartupStreaming", 10, false) + else + Callbacks.RegisterForMsg(GS.MsgCallback.EnterPlayableState, myObject, "DoStartupStreaming") + end + else + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + end + Callbacks.RegisterForMsg(GS.MsgCallback.LeaveGameMessage, myObject, "HandleLeaveGameMessage") + FEAR.SetGenericCounter(0) + FEARScore.ResetMissionPoints() + FEARScore.ResetMissionTimer() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse.lua new file mode 100644 index 0000000..5495a8c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse.lua @@ -0,0 +1,211 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Support = GS.Support +local Player = Game.Player +local MP = Game.MP +local Debug = GS.Debug +local FEAR = GS.FEAR +local math3d = GS.LuaMath3d +local FEARScore = GameScript.FEARScore +local HealingPerSecond = Support.ImportFloatVariableWithDefault("Healing Per Second", "The amount of healing per second to apply", 50) +local BeginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local NewWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: New Wave Message", "") +local BarrierRepairedMsgId = Support.ImportStaticTextVariableWithDefault("MissionEvent: Barrier Repaired Message", "", 153154) +local ContractionsBarricadeRepair = GameScript.MissionScoreCategory.ContractionsBarricadeRepair +Support.ExportFloatVariable("ShouldEnableUsables", 0, "") +Support.ExportFloatVariable("SendRepairAnnounce", GS.PlayerIndex.kNotAGlobalPlayer, "") +Support.ExportFloatVariable("SendBrokenAnnounce", 0, "") +local MyObject = Game.GetMyObject() +local kBarrierDestroyedAnnounceDistSqrd = 25 +local nRepairingPlayerIndex = GS.PlayerIndex.kNotAGlobalPlayer +local nRepairStartTime = 0 +local AttemptToHeal = false +local IsEnabled = false +local SavedSendRepairAnnounce = false +local LocalSendBrokenAnnounce = 0 +local SinglePlayerModifier = 0.1 + +function ModifyScoreSinglePlayer(value) + value = value * SinglePlayerModifier + if value < 10 then + value = 10 + end + return math.floor(value) +end + +function ApplyHealing(removedObject) + local delta = Support.GetGameTimeDelta() + local healAmount = HealingPerSecond * 0.25 + Game.Heal(MyObject, "", healAmount, false) +end + +function OnAnyUsablesStartedUsing(removedObject) + AttemptToHeal = true + local interactionUser = Game.GetInteractionUser(MyObject) + if interactionUser ~= nil then + nRepairingPlayerIndex = Player.GetPlayerIndexByObject(interactionUser) + nRepairStartTime = MP.GetMultiplayerTime() + end +end + +function OnAnyUsablesStoppedUsing(removedObject) + AttemptToHeal = false + if nRepairingPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + local nRepairStopTime = MP.GetMultiplayerTime() + local timeRepaired = nRepairStopTime - nRepairStartTime + if not MP.IsClient() then + timeRepaired = math.floor(timeRepaired) + if 0 < timeRepaired then + local repairBonus = timeRepaired * 50 + if MP.GetNumberOfActivePlayers() == 1 then + repairBonus = ModifyScoreSinglePlayer(repairBonus) + end + FEARScore.AwardMissionPoints(nRepairingPlayerIndex, ContractionsBarricadeRepair, repairBonus) + FEARScore.AwardMissionPointOccurences(nRepairingPlayerIndex, ContractionsBarricadeRepair, timeRepaired) + end + end + nRepairingPlayerIndex = GS.PlayerIndex.kNotAGlobalPlayer + nRepairStartTime = 0 + nRepairStopTime = 0 + end +end + +function EnableBarrier(enable) + destObjects = Game.GetAllDestructibleObjects(MyObject) + for k, currentObject in pairs(destObjects) do + if enable then + Game.SendMissionEventMessage(currentObject, BeginRestPeriodMsgId) + else + Game.SendMissionEventMessage(currentObject, NewWaveMsgId) + end + end + Game.EnableAllUsables(MyObject, enable) + IsEnabled = enable + if enable then + Extern.ShouldEnableUsables = 1 + else + Extern.ShouldEnableUsables = 0 + end +end + +function FullyHealed() + if IsEnabled then + local interactionUser = Game.GetInteractionUser(MyObject) + if interactionUser then + Game.SendTextMessage(interactionUser, "SFX_BarrierRepaired") + Game.SendMissionEventMessage(interactionUser, BarrierRepairedMsgId) + Extern.SendRepairAnnounce = Player.GetPlayerIndexByObject(interactionUser) + else + Extern.SendRepairAnnounce = GS.PlayerIndex.kNotAGlobalPlayer + end + EnableBarrier(false) + end + AttemptToHeal = false +end + +function CheckForHealingDuringPause(removedObject) + local IsNotDamaged = Game.IsDestructibleInInitialState(MyObject) + if IsNotDamaged then + FullyHealed() + else + if not IsEnabled then + EnableBarrier(true) + Extern.SendRepairAnnounce = GS.PlayerIndex.kNotAGlobalPlayer + end + if AttemptToHeal then + ApplyHealing() + IsNotDamaged = Game.IsDestructibleInInitialState(MyObject) + if IsNotDamaged then + FullyHealed() + end + end + end +end + +function ProcessMissionEventMessage(missionEventMessage) + if missionEventMessage.textID == BeginRestPeriodMsgId then + Callbacks.RegisterForTimer("CheckForHealingDuringPause", 0.25, true) + elseif missionEventMessage.textID == NewWaveMsgId then + EnableBarrier(false) + Extern.SendRepairAnnounce = GS.PlayerIndex.kNotAGlobalPlayer + AttemptToHeal = false + Callbacks.UnregisterForTimer("CheckForHealingDuringPause", 0.25, true) + end +end + +function SendBrokenAnnouncment() + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Barricade Broken") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityUrgent) + FEAR.BroadcastAnnoucementPacket(announcementID) + local myPos = Game.GetPosition(MyObject) + local bestPlayerObject + local bestPlayerDist = kBarrierDestroyedAnnounceDistSqrd + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + local playerPos = Game.GetPosition(playerObject) + if math.abs(playerPos.y - myPos.y) < 2 then + playerPos.y = 0 + myPos.y = 0 + local distanceSqrd = math3d.DistanceBetweenPositionsSquared(playerPos, myPos) + if distanceSqrd < kBarrierDestroyedAnnounceDistSqrd and bestPlayerDist > distanceSqrd then + bestPlayerDist = distanceSqrd + bestPlayerObject = playerObject + end + end + end + end + if bestPlayerObject ~= nil then + Game.SendTextMessage(bestPlayerObject, "SFX_BarrierDestroyed") + end +end + +function CheckToDisable(removedObject) + if Extern.ShouldEnableUsables == 1 then + if not IsEnabled then + Game.EnableAllUsables(MyObject, true) + IsEnabled = true + end + elseif IsEnabled then + Game.EnableAllUsables(MyObject, false) + IsEnabled = false + end + if Extern.SendRepairAnnounce ~= GS.PlayerIndex.kNotAGlobalPlayer then + if not SentRepairAnnounce then + local playerObject = Player.GetPlayerAvatarObjectByIndex(Extern.SendRepairAnnounce) + if playerObject then + Game.SendTextMessage(playerObject, "SFX_BarrierRepaired") + SentRepairAnnounce = true + end + end + else + SentRepairAnnounce = false + end + if Extern.SendBrokenAnnounce ~= LocalSendBrokenAnnounce then + SendBrokenAnnouncment() + LocalSendBrokenAnnounce = Extern.SendBrokenAnnounce + end +end + +function ProcessDegradeMessage(missionEventMessage) + if Game.IsDestructibleInFinalState(MyObject) then + if Extern.SendBrokenAnnounce == 1 then + Extern.SendBrokenAnnounce = 0 + else + Extern.SendBrokenAnnounce = 1 + end + SendBrokenAnnouncment() + end +end + +if not MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.UsablesStartUsingMessage, MyObject, "OnAnyUsablesStartedUsing") + Callbacks.RegisterForMsg(GS.MsgCallback.UsablesStopUsingMessage, MyObject, "OnAnyUsablesStoppedUsing") + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, MyObject, "ProcessMissionEventMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.DestructibleDegradedMessage, MyObject, "ProcessDegradeMessage") + Callbacks.RegisterForTimer("CheckForHealingDuringPause", 0.25, true) +else + Callbacks.RegisterForScriptValueUpdated("CheckToDisable") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript.lua new file mode 100644 index 0000000..6191ae3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript.lua @@ -0,0 +1,161 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local MP = Game.MP +local Camera = GS.Game.Camera +local FEAR = GS.FEAR +local Utilities = GS.Utilities +local myObject = Game.GetMyObject() +local glowComponent = Support.RegisterComponentHandle("Glow Rendering") +local carryingCrateMsgId = Support.ImportStaticTextVariable("MissionEvent: Carrying Crate", "") +local weaponCrateRetrievedMsgId = Support.ImportStaticTextVariable("MissionEvent: Crate Retrieved", "") +local DeleteCrateOnNearDeath = Support.ImportBoolVariable("Delete Crate on Near Death", "The amount of time the text will be on screen") +local BarrierRepairedMsgId = Support.ImportStaticTextVariableWithDefault("MissionEvent: Barrier Repaired Message", "", 153154) +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local AreaName = Support.ImportStringVariable("Text Area Name", "The area this text will be placed in to.") +local TimeOnScreen = Support.ImportFloatVariableWithDefault("Time On Screen", "The ammount of time the text will be on screen", 0.5) +local StartFogFilterMsgId = Support.ImportStaticTextVariableWithDefault("MissionEvent: Start Fog Filter", "", 145236) +local StopFogFilterMsgId = Support.ImportStaticTextVariableWithDefault("MissionEvent: Stop Fog Filter", "", 145237) +local currentObjectState = -1 +local myPlayerIndex = Player.GetPlayerIndexByObject(myObject) +local localPlayer = Player.IsLocalPlayer(myPlayerIndex) +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = AreaName +DisplayTextTable.displayTime = TimeOnScreen +local PlayerInFog = false + +function WeaponCrateRemoved() +end + +function HandleObjectStateChangeMsg(msgTable) + currentObjectState = msgTable.newState + CheckIfItemsInInventory() +end + +function PrintBuddyWarningToScreen() + local partnerInNearDeathState = Support.GetScriptExportVariable(myObject, "PartnerInNearDeathState") + if partnerInNearDeathState == 1 then + Game.DisplayText(DisplayTextTable, myPlayerIndex, true, Game.GetMyObject()) + end +end + +function RemoveCrateFromInventory() + local augInv = Game.GetInventoryItemsByTypeAndName(myObject, 3, "Medkit Inventory") + if 0 < #augInv then + for k, obj in pairs(augInv) do + local announcementID = FEAR.CreateAnnoucementPacket(myPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Player Lost Crate") + FEAR.AddStringValueToAnnouncementPacket(announcementID, MP.GetPlayerName(myPlayerIndex)) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + Game.SendMissionEventMessage(obj, weaponCrateRetrievedMsgId) + end + end +end + +function CheckIfItemsInInventory() + if currentObjectState ~= GS.ObjectState.NearDeath then + Game.EnableComponent(glowComponent, false) + local augInv = Game.GetInventoryItemsByTypeAndName(myObject, 3, "Medkit Inventory") + if 0 < #augInv then + if currentObjectState ~= GS.ObjectState.ShieldsActivated then + Game.SendMissionEventMessage(myObject, carryingCrateMsgId) + end + Game.SetAnimationVariable(myObject, "Weapon Type", 29) + Game.SetAnimationVariable(myObject, "Dual Wield", 0) + elseif currentObjectState == GS.ObjectState.ShieldsActivated then + Game.SendMissionEventMessage(myObject, weaponCrateRetrievedMsgId) + end + else + Game.EnableComponent(glowComponent, true) + if DeleteCrateOnNearDeath then + RemoveCrateFromInventory() + end + end +end + +function OnMissionEventMessageHost(msg) + if msg.textID == BarrierRepairedMsgId then + Game.SendMissionEventMessage(Utilities.GetGlobalDataObject(), BarrierRepairedMsgId) + elseif msg.textID == StartFogFilterMsgId then + PlayerInFog = true + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + Game.SendTextMessage(playerContObject, "start heavy fog filter") + elseif msg.textID == StopFogFilterMsgId then + PlayerInFog = false + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + Game.SendTextMessage(playerContObject, "stop heavy fog filter") + end +end + +function OnMissionEventMessageClient(msg) + if msg.textID == StartFogFilterMsgId then + PlayerInFog = true + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + if playerContObject ~= myObject then + Game.SendTextMessage(playerContObject, "start heavy fog filter") + end + elseif msg.textID == StopFogFilterMsgId then + PlayerInFog = false + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + if playerContObject ~= myObject then + Game.SendTextMessage(playerContObject, "stop heavy fog filter") + end + end +end + +function OnRiderStateMessage(msg) + if PlayerInFog then + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + Game.SendTextMessage(playerContObject, "start heavy fog filter") + else + local playerContObject = Player.GetPlayerControlledObjectByIndex(myPlayerIndex) + Game.SendTextMessage(playerContObject, "stop heavy fog filter") + end +end + +function HandleItemStatusForCarrierMessage(msg) + if currentObjectState ~= GS.ObjectState.NearDeath and msg.wasItemPickedUp and msg.invListType == 3 then + local augInv = Game.GetInventoryItemsByTypeAndName(myObject, 3, "Medkit Inventory") + if 0 < #augInv then + if currentObjectState ~= GS.ObjectState.ShieldsActivated then + Game.SendMissionEventMessage(myObject, carryingCrateMsgId) + local announcementID = FEAR.CreateAnnoucementPacket(myPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapon Crate Picked Up") + FEAR.AddStringValueToAnnouncementPacket(announcementID, MP.GetPlayerName(myPlayerIndex)) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.BroadcastAnnoucementPacket(announcementID) + end + Game.SetAnimationVariable(myObject, "Weapon Type", 29) + Game.SetAnimationVariable(myObject, "Dual Wield", 0) + end + end +end + +function SetInvulnerable(bInvulnerable) + Game.SetHitPointPriorityInvulnerable(myObject, 1, bInvulnerable) +end + +function OnTextMessage(msg) + if msg.text == "WeaponCrateRemoved" then + Callbacks.RegisterForTimer("CheckIfItemsInInventory", 0.1, false) + elseif msg.text == "InvulnerableOn" then + SetInvulnerable(true) + end +end + +Game.EnableComponent(glowComponent, false) +Callbacks.RegisterForMsg(GS.MsgCallback.ObjectStateChangeMessage, myObject, "HandleObjectStateChangeMsg") +Callbacks.RegisterForMsg(GS.MsgCallback.ItemStatusForCarrierMessage, myObject, "HandleItemStatusForCarrierMessage") +Callbacks.RegisterForMsg(GS.MsgCallback.TextMessage, myObject, "OnTextMessage") +if localPlayer then + Callbacks.RegisterForWatchVariableChange("PartnerInNearDeathState", "PrintBuddyWarningToScreen") + Callbacks.RegisterForMsg(GS.MsgCallback.RiderStateMessage, myObject, "OnRiderStateMessage") +end +if MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "OnMissionEventMessageClient") +else + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "OnMissionEventMessageHost") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01.lua new file mode 100644 index 0000000..7813100 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01.lua @@ -0,0 +1,325 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_smg_noCharge", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_smg", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 0.95, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 15, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 4.1 +fogInfo.fogValues.heightTop = 4.5 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +fogInfo.fogValues.heightFar = 10 +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(30) + wave:RampUpTime(7) + wave:SustainEnemyCount(15) + wave:AddEnemy("atc_smg_noCharge", 0.8) + wave:AddEnemy("atc_smg", 0.2) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(6) + wave:MaxEnemies4P(7) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 1" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02.lua new file mode 100644 index 0000000..89f5411 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02.lua @@ -0,0 +1,327 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_smg_noCharge", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_smg", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_light_shotgun", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 15, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 4.1 +fogInfo.fogValues.heightTop = 4.5 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +fogInfo.fogValues.heightFar = 10 +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(30) + wave:RampUpTime(7) + wave:SustainEnemyCount(20) + wave:AddEnemy("atc_smg_noCharge", 0.3) + wave:AddEnemy("atc_smg", 0.2) + wave:AddEnemy("atc_light_shotgun", 0.5) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(6) + wave:MaxEnemies4P(7) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 2" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03.lua new file mode 100644 index 0000000..dd81134 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03.lua @@ -0,0 +1,323 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle_noCharge", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 15, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 4.675 +fogInfo.fogValues.heightTop = 5.075 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +fogInfo.fogValues.heightFar = 13 +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(30) + wave:RampUpTime(7) + wave:SustainEnemyCount(20) + wave:AddEnemy("atc_assault_rifle_noCharge", 1) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(8) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 3" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04.lua new file mode 100644 index 0000000..178d775 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04.lua @@ -0,0 +1,401 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local spawnLimit = {} +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName, numberAllowed) + local SetObject + if numberAllowed ~= nil then + SetObject = Support.ImportSetObject(variableName .. " set", "The set to limit spawning of template " .. variableName) + spawnLimit[variableName] = {set = SetObject, maxAllowed = numberAllowed} + end + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle_noCharge", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "scavenger", "scavenger_squad", "scavenger_orders", 6) + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local EnemyWeightAdjustment = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 15, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 4.675 +fogInfo.fogValues.heightTop = 5.075 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +fogInfo.fogValues.heightFar = 13 +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(30) + wave:RampUpTime(7) + wave:SustainEnemyCount(25) + wave:AddEnemy("atc_assault_rifle_noCharge", 0.2) + wave:AddEnemy("scavenger", 0.8) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + Debug.PrintInfo("Setting enemy table to optional table") + enemyInfoTable = optionalEnemyInfo + end + local templateName + local randomNum = Utilities.GetRandomPercent() - EnemyWeightAdjustment + for e, enemyInfo in ipairs(enemyInfoTable) do + templateName = enemyInfo.type + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order, GetSetForTemplate(enemyInfo.type) + end + end + if GetSetForTemplate(templateName) ~= nil then + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + end + return nil, nil, nil, nil +end + +function UpdateTemplateList() + local enemyInfoTable = {} + EnemyWeightAdjustment = 0 + for e, enemyInfo in ipairs(AIDirector.waveInfo.enemyInfo) do + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local spawnSet = GetSetForTemplate(enemyInfo.type) + if spawnSet ~= nil then + Debug.PrintInfo("Max allowed spawns for type " .. enemyInfo.type .. " is " .. GetMaxSpawnsForTemplate(enemyInfo.type)) + Debug.PrintInfo("Current number of enemies in the set: " .. GetAmountOfTemplateAlive(enemyInfo.type)) + if GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("We should totally kill this AI type now") + end + else + Debug.PrintInfo("No spawn limiting for type " .. enemyInfo.type) + end + if spawnSet ~= nil and GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("Killing index for type " .. enemyInfo.type) + EnemyWeightAdjustment = EnemyWeightAdjustment + enemyInfo.weight + else + table.insert(enemyInfoTable, enemyInfo) + end + end + for e, enemyInfo in ipairs(enemyInfoTable) do + Debug.PrintInfo("Found type " .. enemyInfo.type) + end + return enemyInfoTable +end + +function GetSetForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.set + else + return nil + end +end + +function GetAmountOfTemplateAlive(templateName) + local set = GetSetForTemplate(templateName) + if set ~= nil then + return Sets.GetNumObjectsInSet(set) + else + return nil + end +end + +function GetMaxSpawnsForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.maxAllowed + else + return nil + end +end + +function AIDirector.SpawnAI() + local newSpawnTable = UpdateTemplateList() + local templateName, squadName, orderName, set = AIDirector.GetRandomTemplateToSpawn(newSpawnTable) + if templateName == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, no valid template was found!") + return nil + end + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + if set ~= nil then + Debug.PrintInfo("Adding object to set") + Sets.AddObjectToSet(set, newAI) + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 4" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05.lua new file mode 100644 index 0000000..820c5d6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05.lua @@ -0,0 +1,322 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "scavenger", "scavenger_squad", "scavenger_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 15, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 0.95, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.75, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 5.225 +fogInfo.fogValues.heightTop = 5.625 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(25) + wave:RampUpTime(7) + wave:SustainEnemyCount(30) + wave:AddEnemy("scavenger", 1) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 5" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06.lua new file mode 100644 index 0000000..bc74d60 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_unarmed", "cultist_squad", "cultist_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_armed", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 6.05 +fogInfo.fogValues.heightTop = 6.45 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(25) + wave:RampUpTime(7) + wave:SustainEnemyCount(42) + wave:AddEnemy("cultist_unarmed", 0.5) + wave:AddEnemy("cultist_armed", 0.5) + wave:MaxEnemies1P(4) + wave:MaxEnemies2P(6) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 6" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07.lua new file mode 100644 index 0000000..5a6a4c0 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_unarmed", "cultist_squad", "cultist_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_armed", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 6.55 +fogInfo.fogValues.heightTop = 6.95 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(25) + wave:RampUpTime(7) + wave:SustainEnemyCount(48) + wave:AddEnemy("cultist_unarmed", 0.3) + wave:AddEnemy("cultist_armed", 0.7) + wave:MaxEnemies1P(5) + wave:MaxEnemies2P(7) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 7" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08.lua new file mode 100644 index 0000000..6ac7a3e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_armed", "cultist_squad", "cultist_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_suicide", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 16, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 6.55 +fogInfo.fogValues.heightTop = 6.95 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(25) + wave:RampUpTime(7) + wave:SustainEnemyCount(40) + wave:AddEnemy("cultist_armed", 0.7) + wave:AddEnemy("cultist_suicide", 0.3) + wave:MaxEnemies1P(5) + wave:MaxEnemies2P(7) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 8" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09.lua new file mode 100644 index 0000000..eefc374 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09.lua @@ -0,0 +1,322 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_suicide", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 15.8, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 7.3 +fogInfo.fogValues.heightTop = 7.7 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(25) + wave:RampUpTime(7) + wave:SustainEnemyCount(30) + wave:AddEnemy("cultist_suicide", 1) + wave:MaxEnemies1P(5) + wave:MaxEnemies2P(7) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 9" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10.lua new file mode 100644 index 0000000..349c3d3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_sniper_noCharge", "sniper_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 15.6, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 7.3 +fogInfo.fogValues.heightTop = 7.7 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(20) + wave:RampUpTime(5) + wave:SustainEnemyCount(22) + wave:AddEnemy("atc_sniper_noCharge", 0.3) + wave:AddEnemy("atc_assault_rifle", 0.7) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 10" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11.lua new file mode 100644 index 0000000..2fd7c36 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11.lua @@ -0,0 +1,322 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 15.4, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 7.925 +fogInfo.fogValues.heightTop = 8.325 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(19) + wave:RampUpTime(5) + wave:SustainEnemyCount(40) + wave:AddEnemy("atc_shotgun", 1) + wave:MaxEnemies1P(4) + wave:MaxEnemies2P(6) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 11" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12.lua new file mode 100644 index 0000000..65aba38 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12.lua @@ -0,0 +1,397 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local spawnLimit = {} +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName, numberAllowed) + local SetObject + if numberAllowed ~= nil then + SetObject = Support.ImportSetObject(variableName .. " set", "The set to limit spawning of template " .. variableName) + spawnLimit[variableName] = {set = SetObject, maxAllowed = numberAllowed} + end + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_rocket", "standard_squad", "soldier_orders", 2) + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local EnemyWeightAdjustment = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 15.2, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 7.925 +fogInfo.fogValues.heightTop = 8.325 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(18) + wave:RampUpTime(5) + wave:SustainEnemyCount(25) + wave:AddEnemy("atc_rocket", 0.6) + wave:AddEnemy("atc_shotgun", 0.4) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(8) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + local templateName + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() - EnemyWeightAdjustment + for e, enemyInfo in ipairs(enemyInfoTable) do + templateName = enemyInfo.type + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order, GetSetForTemplate(enemyInfo.type) + end + end + if GetSetForTemplate(templateName) ~= nil then + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + end + return nil, nil, nil, nil +end + +function UpdateTemplateList() + local enemyInfoTable = {} + EnemyWeightAdjustment = 0 + for e, enemyInfo in ipairs(AIDirector.waveInfo.enemyInfo) do + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local spawnSet = GetSetForTemplate(enemyInfo.type) + if spawnSet ~= nil then + Debug.PrintInfo("Max allowed spawns for type " .. enemyInfo.type .. " is " .. GetMaxSpawnsForTemplate(enemyInfo.type)) + Debug.PrintInfo("Current number of enemies in the set: " .. GetAmountOfTemplateAlive(enemyInfo.type)) + if GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("We should totally kill this AI type now") + end + else + Debug.PrintInfo("No spawn limiting for type " .. enemyInfo.type) + end + if spawnSet ~= nil and GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("Killing index for type " .. enemyInfo.type) + EnemyWeightAdjustment = EnemyWeightAdjustment + enemyInfo.weight + else + table.insert(enemyInfoTable, enemyInfo) + end + end + return enemyInfoTable +end + +function GetSetForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.set + else + Debug.PrintInfo("Set is nil here, that is bad") + return nil + end +end + +function GetAmountOfTemplateAlive(templateName) + local set = GetSetForTemplate(templateName) + if set ~= nil then + return Sets.GetNumObjectsInSet(set) + else + return nil + end +end + +function GetMaxSpawnsForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.maxAllowed + else + return nil + end +end + +function AIDirector.SpawnAI() + local newSpawnTable = UpdateTemplateList() + local templateName, squadName, orderName, set = AIDirector.GetRandomTemplateToSpawn(newSpawnTable) + if templateName == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, no valid template was found!") + return nil + end + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + if set ~= nil then + Debug.PrintInfo("Adding object to set") + Sets.AddObjectToSet(set, newAI) + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 12" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13.lua new file mode 100644 index 0000000..61cb380 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13.lua @@ -0,0 +1,322 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "scavenger", "scavenger_squad", "scavenger_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 15, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 8.675 +fogInfo.fogValues.heightTop = 9.075 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(17) + wave:RampUpTime(5) + wave:SustainEnemyCount(45) + wave:AddEnemy("scavenger", 1) + wave:MaxEnemies1P(5) + wave:MaxEnemies2P(7) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 13" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14.lua new file mode 100644 index 0000000..1606150 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14.lua @@ -0,0 +1,326 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_suicide", "cultist_squad", "cultist_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle_noCharge", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 14.8, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 8.675 +fogInfo.fogValues.heightTop = 9.075 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(16) + wave:RampUpTime(5) + wave:SustainEnemyCount(40) + wave:AddEnemy("cultist_suicide", 0.4) + wave:AddEnemy("atc_assault_rifle", 0.4) + wave:AddEnemy("atc_assault_rifle_noCharge", 0.2) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(8) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 14" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15.lua new file mode 100644 index 0000000..e1e6ba8 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15.lua @@ -0,0 +1,400 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local spawnLimit = {} +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName, numberAllowed) + local SetObject + if numberAllowed ~= nil then + SetObject = Support.ImportSetObject(variableName .. " set", "The set to limit spawning of template " .. variableName) + spawnLimit[variableName] = {set = SetObject, maxAllowed = numberAllowed} + end + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "phase_soldier", "phase_squad", "phase_orders", 1) + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local EnemyWeightAdjustment = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 14.6, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 9.05 +fogInfo.fogValues.heightTop = 9.45 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(15) + wave:RampUpTime(3) + wave:SustainEnemyCount(40) + wave:AddEnemy("phase_soldier", 0.2) + wave:AddEnemy("atc_shotgun", 0.8) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(8) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + Debug.PrintInfo("Setting enemy table to optional table") + enemyInfoTable = optionalEnemyInfo + end + local templateName + local randomNum = Utilities.GetRandomPercent() - EnemyWeightAdjustment + for e, enemyInfo in ipairs(enemyInfoTable) do + templateName = enemyInfo.type + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order, GetSetForTemplate(enemyInfo.type) + end + end + if GetSetForTemplate(templateName) ~= nil then + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + end + return nil, nil, nil, nil +end + +function UpdateTemplateList() + local enemyInfoTable = {} + EnemyWeightAdjustment = 0 + for e, enemyInfo in ipairs(AIDirector.waveInfo.enemyInfo) do + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local spawnSet = GetSetForTemplate(enemyInfo.type) + if spawnSet ~= nil then + Debug.PrintInfo("Max allowed spawns for type " .. enemyInfo.type .. " is " .. GetMaxSpawnsForTemplate(enemyInfo.type)) + Debug.PrintInfo("Current number of enemies in the set: " .. GetAmountOfTemplateAlive(enemyInfo.type)) + if GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("We should totally kill this AI type now") + end + else + Debug.PrintInfo("No spawn limiting for type " .. enemyInfo.type) + end + if spawnSet ~= nil and GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("Killing index for type " .. enemyInfo.type) + EnemyWeightAdjustment = EnemyWeightAdjustment + enemyInfo.weight + else + table.insert(enemyInfoTable, enemyInfo) + end + end + for e, enemyInfo in ipairs(enemyInfoTable) do + Debug.PrintInfo("Found type " .. enemyInfo.type) + end + return enemyInfoTable +end + +function GetSetForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.set + else + return nil + end +end + +function GetAmountOfTemplateAlive(templateName) + local set = GetSetForTemplate(templateName) + if set ~= nil then + return Sets.GetNumObjectsInSet(set) + else + return nil + end +end + +function GetMaxSpawnsForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.maxAllowed + else + return nil + end +end + +function AIDirector.SpawnAI() + local newSpawnTable = UpdateTemplateList() + local templateName, squadName, orderName, set = AIDirector.GetRandomTemplateToSpawn(newSpawnTable) + if templateName == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, no valid template was found!") + return nil + end + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + if set ~= nil then + Debug.PrintInfo("Adding object to set") + Sets.AddObjectToSet(set, newAI) + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 15" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16.lua new file mode 100644 index 0000000..e3acdc9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16.lua @@ -0,0 +1,322 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 14.4, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 9.05 +fogInfo.fogValues.heightTop = 9.45 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(14) + wave:RampUpTime(3) + wave:SustainEnemyCount(30) + wave:AddEnemy("atc_assault_rifle", 1) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(5) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 16" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17.lua new file mode 100644 index 0000000..51bb9e3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17.lua @@ -0,0 +1,454 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local Debug = GS.Debug +local Utilities = GS.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GS.Callbacks +local FEAR = GS.FEAR +Support.RegisterObjectTemplateVariable("phase_caster", "") +local kPhaseCasterSquad = Support.ImportSingleObject("phase_caster_squad", "") +local kPhaseCasterOrder = Support.ImportSingleObject("phase_caster_order", "") +local kPhaseCasterSpawnDelay = Support.ImportFloatVariable("phase_caster_spawn_delay", "") +local SpawnPointSet = Support.ImportSetObject("Enemy Spawn Point Sets", "The set of enemy spawn points placed in the level") +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 14.2, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 9.375 +fogInfo.fogValues.heightTop = 9.774999999999999 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function ProcessAIKilledMessage(killedMsg) + ProcessAIRemovedMessage(killedMsg.killedObject) +end + +function ProcessAIRemovedMessage(AIRemoved) + Callbacks.UnregisterForMsg(GS.MsgCallback.DeleteObjectMessage, AIRemoved, "ProcessAIRemovedMessage") + Callbacks.UnregisterForMsg(GS.MsgCallback.KillObjectMessage, AIRemoved, "ProcessAIKilledMessage") + local numEnemies = #AIDirector.spawnedEnemyInfo + for index = numEnemies, 1, -1 do + if AIDirector.spawnedEnemyInfo[index].object == AIRemoved then + table.remove(AIDirector.spawnedEnemyInfo, index) + break + end + end + AIDirector.Super.OnAIDeath() +end + +function ProcessPhaseCasterKilledMessage(killedMsg) + ProcessPhaseCasterRemovedMessage(killedMsg.killedObject) +end + +function ProcessPhaseCasterRemovedMessage(phaseCasterRemoved) + Callbacks.UnregisterForMsg(GS.MsgCallback.DeleteObjectMessage, phaseCasterRemoved, "ProcessPhaseCasterRemovedMessage") + Callbacks.UnregisterForMsg(GS.MsgCallback.KillObjectMessage, phaseCasterRemoved, "ProcessPhaseCasterKilledMessage") + AIDirector.numAIsKilledThisWave = AIDirector.numAIsKilledThisWave + 1 + AIDirector.numAIs = AIDirector.numAIsSpawnedThisWave - AIDirector.numAIsKilledThisWave + local numEnemies = #AIDirector.spawnedEnemyInfo + for index = numEnemies, 1, -1 do + if AIDirector.spawnedEnemyInfo[index].object == phaseCasterRemoved then + table.remove(AIDirector.spawnedEnemyInfo, index) + break + end + end + local phaseSquad = Sets.GetObjectsInSet(kPhaseCasterSquad) + for e, enemy in ipairs(phaseSquad) do + if enemy ~= phaseCasterRemoved and Game.HasHitPoints(enemy) and Game.GetHitPointPercent(enemy) > 0 then + Game.Damage(enemy, 100000) + end + end + if AIDirector.bEnabled then + if AIDirector.currentState == AIDirector.kSustain then + Callbacks.RegisterForTimer("SpawnPhaseCaster", kPhaseCasterSpawnDelay, false) + if AIDirector.waveInfo.sustainEnemyCount ~= nil then + local enemiesLeftToKill = AIDirector.waveInfo.sustainEnemyCount - AIDirector.numAIsKilledThisWave + if enemiesLeftToKill <= AIDirector.waveInfo:GetMaxEnemies() then + EnterRampDownState() + end + end + elseif AIDirector.currentState == AIDirector.kRampDown then + if AIDirector.numAIsKilledThisWave == AIDirector.numAIsSpawnedThisWave then + EnterRestState() + elseif #AIDirector.spawnedEnemyInfo > 0 then + local enemyInfo = AIDirector.spawnedEnemyInfo[1] + if AIDirector.IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + enemyInfo.aggressiveAttackSet = true + end + if 1 < #AIDirector.spawnedEnemyInfo then + enemyInfo = AIDirector.spawnedEnemyInfo[2] + if AIDirector.IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + enemyInfo.aggressiveAttackSet = true + end + end + end + end + end +end + +function SpawnPhaseCaster() + local spawnPoint = AIDirector.GetRandomSpawnPoint() + if spawnPoint == nil then + Debug.PrintToScreenWithTimer("NO SPAWN POINTS FOUND! FAIL! NO PLAYER IS IN ANY REGION WITH SPAWN POINTS. THE SCRIPT IS BROKEN.", 10, Utilities.kRed, false) + return nil + end + local position = spawnPoint.pos + local orientation = spawnPoint.rot + local newAI = Game.SpawnWithRotation("phase_caster", position, orientation) + if newAI ~= nil then + AIDirector.numAIsSpawnedThisWave = AIDirector.numAIsSpawnedThisWave + 1 + spawnedEnemy = AIDirector.Super.GetFirstValidSpawnedEnemy() + if spawnedEnemy ~= nil then + Game.CopyNation(spawnedEnemy, newAI) + end + if kPhaseCasterOrder ~= nil then + AI.AssignExternalAIOrder(kPhaseCasterOrder, newAI) + end + if kPhaseCasterSquad ~= nil then + Sets.AddObjectToSet(kPhaseCasterSquad, newAI) + end + Callbacks.RegisterForMsg(GS.MsgCallback.DeleteObjectMessage, newAI, "ProcessPhaseCasterRemovedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.KillObjectMessage, newAI, "ProcessPhaseCasterKilledMessage") + table.insert(AIDirector.spawnedEnemyInfo, { + object = newAI, + respawnCandidate = true, + aggressiveAttackSet = false + }) + else + Debug.PrintError("SpawnAI() could not spawn phase_caster at location [" .. math.floor(position.x) .. ", " .. math.floor(position.y) .. ", " .. math.floor(position.z) .. "]") + return nil + end + AIDirector.numAIs = AIDirector.numAIsSpawnedThisWave - AIDirector.numAIsKilledThisWave + return newAI +end + +function DoPhaseCasterWaves() + if not MP.IsClient() then + AIDirector.PopulateWaveTable() + AIDirector.UpdateAllSpawnPointList() + AIDirector.currentWave = 0 + AIDirector.spawnedEnemyInfo = {} + EnterRestState() + Callbacks.RegisterForMsg(GS.MsgCallback.PlayerDeathMessage, myObject, "OnAnyDeath") + AIDirector.RegisterForPlayerStateChanges() + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(13) + wave:RampUpTime(3) + wave:SustainEnemyCount(35) + wave:AddEnemy("atc_shotgun", 1) + wave:MaxEnemies1P(2) + wave:MaxEnemies2P(3) + wave:MaxEnemies3P(4) + wave:MaxEnemies4P(5) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.OnAIDeath(deathMsg) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + Callbacks.RegisterForMsg(GS.MsgCallback.DeleteObjectMessage, newAI, "ProcessAIRemovedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.KillObjectMessage, newAI, "ProcessAIKilledMessage") + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() + SpawnPhaseCaster() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + AIDirector.OnAIDeath = AIDirector.Super.OnAIDeath + FadeFogOut() + AIDirector.KillAllCastingProjectiles() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 17" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + DoPhaseCasterWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18.lua new file mode 100644 index 0000000..baa4a7e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_suicide", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 14, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 9.925 +fogInfo.fogValues.heightTop = 10.325 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(12) + wave:RampUpTime(3) + wave:SustainEnemyCount(35) + wave:AddEnemy("cultist_suicide", 0.5) + wave:AddEnemy("atc_shotgun", 0.5) + wave:MaxEnemies1P(4) + wave:MaxEnemies2P(6) + wave:MaxEnemies3P(8) + wave:MaxEnemies4P(9) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 18" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19.lua new file mode 100644 index 0000000..465d03b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19.lua @@ -0,0 +1,324 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GameScript.Callbacks +local myObject = Game.GetMyObject() +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName) + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_shotgun", "standard_squad", "soldier_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "atc_assault_rifle", "standard_squad", "soldier_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 13.8, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 10.55 +fogInfo.fogValues.heightTop = 10.95 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(11) + wave:RampUpTime(2) + wave:SustainEnemyCount(25) + wave:AddEnemy("atc_shotgun", 0.5) + wave:AddEnemy("atc_assault_rifle", 0.5) + wave:MaxEnemies1P(4) + wave:MaxEnemies2P(6) + wave:MaxEnemies3P(7) + wave:MaxEnemies4P(8) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local randomNum = Utilities.GetRandomPercent() + for e, enemyInfo in ipairs(enemyInfoTable) do + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order + end + end + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + return nil, nil, nil +end + +function AIDirector.SpawnAI() + local templateName, squadName, orderName = AIDirector.GetRandomTemplateToSpawn() + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + FadeFogOut() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 19" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + AIDirector.DoWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20.lua new file mode 100644 index 0000000..49e37a8 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20.lua @@ -0,0 +1,529 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local Debug = GS.Debug +local Utilities = GS.Utilities +local MP = Game.MP +local Sets = Game.Sets +local AI = Game.AI +local Graphics = Game.Graphics +local Callbacks = GS.Callbacks +local FEAR = GS.FEAR +Support.RegisterObjectTemplateVariable("phase_caster", "") +local kPhaseCasterSquad = Support.ImportSingleObject("phase_caster_squad", "") +local kPhaseCasterOrder = Support.ImportSingleObject("phase_caster_order", "") +local kPhaseCasterSpawnDelay = Support.ImportFloatVariable("phase_caster_spawn_delay", "") +local SpawnPointSet = Support.ImportSetObject("Enemy Spawn Point Sets", "The set of enemy spawn points placed in the level") +local myObject = Game.GetMyObject() +local spawnLimit = {} +local AIDirector = {} +if myObject ~= nil then + AIDirector = MP.AIDirectorBase.MakeChild(myObject) +end + +function RegisterEnemyTemplates(templateTable, variableName, squadName, orderName, numberAllowed) + local SetObject + if numberAllowed ~= nil then + SetObject = Support.ImportSetObject(variableName .. " set", "The set to limit spawning of template " .. variableName) + spawnLimit[variableName] = {set = SetObject, maxAllowed = numberAllowed} + end + templateTable[variableName] = {squad = squadName, order = orderName} + local MakeSpacer = function(num) + local result = "" + for i = 1, num do + result = result .. " " + end + return result + end + for v = 1, AIDirector.kAITypes_NumVarieties do + local spacer = " " + local varietyName + if v == 1 then + varietyName = variableName .. spacer .. " (variety " .. v .. ")" + else + varietyName = spacer .. variableName .. " (variety " .. v .. ")" + end + local found = Support.RegisterObjectTemplateVariable(varietyName, "") + if found then + table.insert(templateTable[variableName], varietyName) + end + end +end + +function RegisterTemplatesForAllEnemyTypes() + AIDirector.enemyTemplates = {} + RegisterEnemyTemplates(AIDirector.enemyTemplates, "phase_soldier", "phase_squad", "phase_orders") + RegisterEnemyTemplates(AIDirector.enemyTemplates, "cultist_suicide", "cultist_squad", "cultist_orders") + ImportSquadAndOrderVariables(AIDirector.enemyTemplates) +end + +function ImportSquadAndOrderVariables(templateTable) + AIDirector.aiSquads = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.squad ~= nil and enemyTemplate.squad ~= "" and AIDirector.aiSquads[enemyTemplate.squad] == nil then + AIDirector.aiSquads[enemyTemplate.squad] = Support.ImportSingleObject("Squad: " .. enemyTemplate.squad, "A squad.") + end + end + AIDirector.aiOrders = {} + for t, enemyTemplate in pairs(templateTable) do + if enemyTemplate.order ~= nil and enemyTemplate.order ~= "" and AIDirector.aiOrders[enemyTemplate.order] == nil then + AIDirector.aiOrders[enemyTemplate.order] = Support.ImportSingleObject("Order: " .. enemyTemplate.order, "An order.") + end + end +end + +AIDirector.kMinDistThreshold = Support.ImportFloatVariableWithDefault("Minimum Spawn Distance", "", 5) +AIDirector.kMaxDistThreshold = Support.ImportFloatVariableWithDefault("Maximum Spawn Distance", "", 30) +AIDirector.masterRegionSet = Support.ImportSingleObject("Active Region Set", "The set to dummy objects marking where AIs can spawn") +Support.RegisterObjectTemplateVariable("Harvester Object Template", "Used to spawn a Harvester.") +AIDirector.harvesterSpawnPoints = Support.ImportObjectHandleVariable("Harvester Spawn Points", "Valid points where Harvesters may randomly spawn.") +AIDirector.kAITypes_NumVarieties = 3 +RegisterTemplatesForAllEnemyTypes() +Support.ImportObjectHandleVariable("Status Message Registry", "Make sure the master director script object is in this list.") +AIDirector.newWaveMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin New Wave", "") +AIDirector.beginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +Support.ImportObjectHandleVariable("Heavy Fog Camera Filter Regions", "Region -- or set of regions -- where players will get a full-fog camera filter if they step inside.") +local waveSounds = { + none = 0, + newWaveAlert = 1, + startOfWave = 2, + endOfWave = 3 +} +Support.ExportFloatVariable("HostWaveSound", 0, "Hack extern/export variable for wave soundplay edges to be sent from local to remote machines.") +local localWaveSound = 0 +local EnemyWeightAdjustment = 0 +local fogInfo = {} +fogInfo.transitionTime = 10 +fogInfo.clearSkyObj = Support.ImportSingleObject("Clear Sky Object", "Normal clear sky, to be faded out as the foggy sky is faded in.") +fogInfo.foggySkyObj = Support.ImportSingleObject("Foggy Sky Object", "Foggy sky, to be faded in as the clear sky fades out.") +fogInfo.fogEffectObject = Support.ImportSingleObject("Fog Effect Object", "Fog object, faded in as the height fog blends in.") +fogInfo.levelFogObject = Support.ImportSingleObject("Level Fog Object", "Object that has the ambient fog that we are going to control.") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +Support.RegisterCurveTemplateVariable("Fog Transition Curve", "") +fogInfo.fogValues = { + depthNear = 1, + depthFar = 40, + depthMax = 1, + heightNear = 0, + heightFar = 13.6, + heightMax = 1, + heightBottom = -25, + heightTop = 0 +} +fogInfo.fogValuesBetweenWave = { + depthNear = 50, + depthFar = 100, + depthMax = 0.5, + heightNear = 30, + heightFar = 100, + heightMax = 1, + heightBottom = 8, + heightTop = 20 +} +fogInfo.fogValues.heightBottom = 10.55 +fogInfo.fogValues.heightTop = 10.95 +fogInfo.fogInWaveColor = { + r = 99, + g = 102, + b = 103, + a = 255 +} +fogInfo.fogBetweenWaveColor = { + r = 37, + g = 45, + b = 46, + a = 255 +} +fogInfo.fogInWaveParticleColor = { + r = 99, + g = 102, + b = 103, + a = 45 +} +fogInfo.fogBetweenWaveParticleColor = { + r = 37, + g = 45, + b = 46, + a = 0 +} +Support.ExportFloatVariable("FogFadedIn", 0, "Hack extern/export variable fog fading edges to be sent from local to remote machines.") +fogInfo.FogFadedIn = 0 + +function ClientUpdateLoop() + if fogInfo.FogFadedIn ~= Extern.FogFadedIn then + if Extern.FogFadedIn == 1 then + FadeFogIn() + else + FadeFogOut() + end + end + if localWaveSound ~= Extern.HostWaveSound then + if Extern.HostWaveSound == waveSounds.newWaveAlert then + AIDirector.PlaySoundNewWave() + elseif Extern.HostWaveSound == waveSounds.startOfWave then + AIDirector.PlaySoundWaveAmbient() + elseif Extern.HostWaveSound == waveSounds.endOfWave then + AIDirector.PlaySoundWaveOver() + AIDirector.StopSoundWaveAmbient() + end + localWaveSound = Extern.HostWaveSound + end +end + +function DoHardwareFogFadeIn() + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogInWaveColor, fogInfo.fogInWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValues) +end + +function FadeFogIn() + AIDirector.SetHeavyFogCameraFilterColorForLocalPlayers(fogInfo.fogInWaveColor) + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop - 2, fogInfo.fogValues.heightTop, fogInfo.fogBetweenWaveParticleColor, fogInfo.fogInWaveParticleColor, fogInfo.transitionTime) + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade in") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade in") + end + Callbacks.RegisterForTimer("DoHardwareFogFadeIn", 0, false) + Callbacks.RegisterForTimer("RegisterHeavyFogCameraFilterRegions", 0, false) + fogInfo.FogFadedIn = 1 + if not MP.IsClient() then + Extern.FogFadedIn = 1 + end +end + +function FadeFogOut() + if fogInfo.fogEffectObject then + Game.SendTextMessage(fogInfo.fogEffectObject, "fade out") + end + if fogInfo.foggySkyObj then + Game.SendTextMessage(fogInfo.foggySkyObj, "fade out") + end + AIDirector.SetFogEffectValues(fogInfo.fogEffectObject, fogInfo.fogValues.heightTop, fogInfo.fogValues.heightTop + 2, fogInfo.fogInWaveParticleColor, fogInfo.fogBetweenWaveParticleColor, fogInfo.transitionTime) + Graphics.SetContractionsFogColors(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogBetweenWaveColor, fogInfo.fogBetweenWaveColor) + Graphics.SetContractionsFogValues(fogInfo.levelFogObject, "Fog Transition Curve", fogInfo.transitionTime, fogInfo.fogValuesBetweenWave) + Callbacks.RegisterForTimer("UnregisterHeavyFogCameraFilterRegions", 10, false) + fogInfo.FogFadedIn = 0 + if not MP.IsClient() then + Extern.FogFadedIn = 0 + end +end + +function ProcessAIKilledMessage(killedMsg) + ProcessAIRemovedMessage(killedMsg.killedObject) +end + +function ProcessAIRemovedMessage(AIRemoved) + Callbacks.UnregisterForMsg(GS.MsgCallback.DeleteObjectMessage, AIRemoved, "ProcessAIRemovedMessage") + Callbacks.UnregisterForMsg(GS.MsgCallback.KillObjectMessage, AIRemoved, "ProcessAIKilledMessage") + local numEnemies = #AIDirector.spawnedEnemyInfo + for index = numEnemies, 1, -1 do + if AIDirector.spawnedEnemyInfo[index].object == AIRemoved then + table.remove(AIDirector.spawnedEnemyInfo, index) + break + end + end + AIDirector.Super.OnAIDeath() +end + +function ProcessPhaseCasterKilledMessage(killedMsg) + ProcessPhaseCasterRemovedMessage(killedMsg.killedObject) +end + +function ProcessPhaseCasterRemovedMessage(phaseCasterRemoved) + Callbacks.UnregisterForMsg(GS.MsgCallback.DeleteObjectMessage, phaseCasterRemoved, "ProcessPhaseCasterRemovedMessage") + Callbacks.UnregisterForMsg(GS.MsgCallback.KillObjectMessage, phaseCasterRemoved, "ProcessPhaseCasterKilledMessage") + AIDirector.numAIsKilledThisWave = AIDirector.numAIsKilledThisWave + 1 + AIDirector.numAIs = AIDirector.numAIsSpawnedThisWave - AIDirector.numAIsKilledThisWave + local numEnemies = #AIDirector.spawnedEnemyInfo + for index = numEnemies, 1, -1 do + if AIDirector.spawnedEnemyInfo[index].object == phaseCasterRemoved then + table.remove(AIDirector.spawnedEnemyInfo, index) + break + end + end + local phaseSquad = Sets.GetObjectsInSet(kPhaseCasterSquad) + for e, enemy in ipairs(phaseSquad) do + if enemy ~= phaseCasterRemoved and Game.HasHitPoints(enemy) and Game.GetHitPointPercent(enemy) > 0 then + Game.Damage(enemy, 100000) + end + end + if AIDirector.bEnabled then + if AIDirector.currentState == AIDirector.kSustain then + SpawnPhaseCaster() + if AIDirector.waveInfo.sustainEnemyCount ~= nil then + local enemiesLeftToKill = AIDirector.waveInfo.sustainEnemyCount - AIDirector.numAIsKilledThisWave + if enemiesLeftToKill <= AIDirector.waveInfo:GetMaxEnemies() then + EnterRampDownState() + end + end + elseif AIDirector.currentState == AIDirector.kRampDown then + if AIDirector.numAIsKilledThisWave == AIDirector.numAIsSpawnedThisWave then + EnterRestState() + elseif #AIDirector.spawnedEnemyInfo > 0 then + local enemyInfo = AIDirector.spawnedEnemyInfo[1] + if AIDirector.IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + enemyInfo.aggressiveAttackSet = true + end + if 1 < #AIDirector.spawnedEnemyInfo then + enemyInfo = AIDirector.spawnedEnemyInfo[2] + if AIDirector.IsEnemyLoadedAndLiving(enemyInfo.object) then + FEAR.UpdateAISettingsForAggressiveAttack(enemyInfo.object) + enemyInfo.aggressiveAttackSet = true + end + end + end + end + end +end + +function SpawnPhaseCaster() + local spawnPoint = AIDirector.GetRandomSpawnPoint(optionalSpawnpointTable) + if spawnPoint == nil then + Debug.PrintToScreenWithTimer("NO SPAWN POINTS FOUND! FAIL! NO PLAYER IS IN ANY REGION WITH SPAWN POINTS. THE SCRIPT IS BROKEN.", 10, Utilities.kRed, false) + return nil + end + local position = spawnPoint.pos + local orientation = spawnPoint.rot + local newAI = Game.SpawnWithRotation("phase_caster", position, orientation) + if newAI ~= nil then + AIDirector.numAIsSpawnedThisWave = AIDirector.numAIsSpawnedThisWave + 1 + spawnedEnemy = AIDirector.Super.GetFirstValidSpawnedEnemy() + if spawnedEnemy ~= nil then + Game.CopyNation(spawnedEnemy, newAI) + end + if kPhaseCasterOrder ~= nil then + AI.AssignExternalAIOrder(kPhaseCasterOrder, newAI) + end + if kPhaseCasterSquad ~= nil then + Sets.AddObjectToSet(kPhaseCasterSquad, newAI) + end + Callbacks.RegisterForMsg(GS.MsgCallback.DeleteObjectMessage, newAI, "ProcessPhaseCasterRemovedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.KillObjectMessage, newAI, "ProcessPhaseCasterKilledMessage") + table.insert(AIDirector.spawnedEnemyInfo, { + object = newAI, + respawnCandidate = true, + aggressiveAttackSet = false + }) + else + Debug.PrintError("SpawnAI() could not spawn phase_caster at location [" .. math.floor(position.x) .. ", " .. math.floor(position.y) .. ", " .. math.floor(position.z) .. "]") + return nil + end + AIDirector.numAIs = AIDirector.numAIsSpawnedThisWave - AIDirector.numAIsKilledThisWave + return newAI +end + +function DoPhaseCasterWaves() + if not MP.IsClient() then + AIDirector.PopulateWaveTable() + AIDirector.UpdateAllSpawnPointList() + AIDirector.currentWave = 0 + AIDirector.spawnedEnemyInfo = {} + EnterRestState() + Callbacks.RegisterForMsg(GS.MsgCallback.PlayerDeathMessage, myObject, "OnAnyDeath") + AIDirector.RegisterForPlayerStateChanges() + end +end + +function AIDirector.PopulateWaveTable() + Utilities.GenerateRandomSeed() + AIDirector.ClearWaveTable() + local wave = AIDirector.NewWave(1) + wave:RestTime(15) + wave:RampUpTime(2) + wave:SustainEnemyCount(25) + wave:AddEnemy("phase_soldier", 0.1) + wave:AddEnemy("cultist_suicide", 0.9) + wave:MaxEnemies1P(3) + wave:MaxEnemies2P(3) + wave:MaxEnemies3P(2) + wave:MaxEnemies4P(2) + AIDirector.NormalizeWaveTableWeights(AIDirector.waveInfoTable) +end + +function AIDirector.OnAIDeath(deathMsg) +end + +function AIDirector.NewWave(waveNum) + Debug.PrintErrorIf(1 < waveNum, "This script only supports ONE wave.") + return AIDirector.Super.NewWave(waveNum) +end + +function AIDirector.GetRandomTemplateToSpawn(optionalEnemyInfo) + local enemyInfoTable = AIDirector.waveInfo.enemyInfo + if optionalEnemyInfo ~= nil then + enemyInfoTable = optionalEnemyInfo + end + local templateName + local randomNum = Utilities.GetRandomPercent() - EnemyWeightAdjustment + for e, enemyInfo in ipairs(enemyInfoTable) do + templateName = enemyInfo.type + if randomNum > enemyInfo.weight then + randomNum = randomNum - enemyInfo.weight + else + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local numVariations = #enemyType + Debug.PrintErrorIf(numVariations == 0, "Enemy type " .. enemyInfo.type .. " has no templates set") + local varIndex = Utilities.GetRandomInteger(1, numVariations) + return enemyType[varIndex], enemyType.squad, enemyType.order, GetSetForTemplate(enemyInfo.type) + end + end + if GetSetForTemplate(templateName) ~= nil then + Debug.PrintError("GetRandomTemplateToSpawn() failed to find a good template") + end + return nil, nil, nil, nil +end + +function UpdateTemplateList() + local enemyInfoTable = {} + EnemyWeightAdjustment = 0 + for e, enemyInfo in ipairs(AIDirector.waveInfo.enemyInfo) do + local enemyType = AIDirector.enemyTemplates[enemyInfo.type] + local spawnSet = GetSetForTemplate(enemyInfo.type) + if spawnSet ~= nil then + Debug.PrintInfo("Max allowed spawns for type " .. enemyInfo.type .. " is " .. GetMaxSpawnsForTemplate(enemyInfo.type)) + Debug.PrintInfo("Current number of enemies in the set: " .. GetAmountOfTemplateAlive(enemyInfo.type)) + if GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("We should totally kill this AI type now") + end + else + Debug.PrintInfo("No spawn limiting for type " .. enemyInfo.type) + end + if spawnSet ~= nil and GetAmountOfTemplateAlive(enemyInfo.type) >= GetMaxSpawnsForTemplate(enemyInfo.type) then + Debug.PrintInfo("Killing index for type " .. enemyInfo.type) + EnemyWeightAdjustment = EnemyWeightAdjustment + enemyInfo.weight + else + table.insert(enemyInfoTable, enemyInfo) + end + end + return enemyInfoTable +end + +function GetSetForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.set + else + Debug.PrintInfo("Set is nil here, that is bad") + return nil + end +end + +function GetAmountOfTemplateAlive(templateName) + local set = GetSetForTemplate(templateName) + if set ~= nil then + return Sets.GetNumObjectsInSet(set) + else + return nil + end +end + +function GetMaxSpawnsForTemplate(templateName) + local enemyIndex = spawnLimit[templateName] + if enemyIndex ~= nil then + return enemyIndex.maxAllowed + else + return nil + end +end + +function AIDirector.SpawnAI() + local newSpawnTable = UpdateTemplateList() + local templateName, squadName, orderName, set = AIDirector.GetRandomTemplateToSpawn(newSpawnTable) + if templateName == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, no valid template was found!") + return nil + end + local newAI = AIDirector.Super.SpawnAI(templateName) + if newAI == nil then + Debug.PrintError("@summary SpawnAI() could not spawn AI in a wave script, the super class's SpawnAI function failed") + return nil + end + local order = AIDirector.aiOrders[orderName] + if order ~= nil then + AI.AssignExternalAIOrder(order, newAI) + end + if set ~= nil then + Debug.PrintInfo("Adding object to set") + Sets.AddObjectToSet(set, newAI) + end + local squad = AIDirector.aiSquads[squadName] + if squad ~= nil then + Sets.AddObjectToSet(squad, newAI) + end + Callbacks.RegisterForMsg(GS.MsgCallback.DeleteObjectMessage, newAI, "ProcessAIRemovedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.KillObjectMessage, newAI, "ProcessAIKilledMessage") + return newAI +end + +function AIDirector.StartNewWave() + AIDirector.Super.StartNewWave() + FadeFogIn() + SpawnPhaseCaster() +end + +function AIDirector.EnterRestState() + if AIDirector.currentWave == 0 then + AIDirector.Super.EnterRestState() + else + AIDirector.OnAIDeath = AIDirector.Super.OnAIDeath + FadeFogOut() + AIDirector.KillAllCastingProjectiles() + AIDirector.OnEndOfContractionsWave() + Callbacks.RegisterForTimer("ExitScript", 10, false) + end +end + +function AIDirector.GetCurrentWaveDebugText() + return "Wave 20" +end + +function AIDirector.PlaySoundNewWave() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.newWaveAlert + end + AIDirector.Super.PlaySoundNewWave() +end + +function AIDirector.PlaySoundWaveAmbient() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.startOfWave + end + AIDirector.Super.PlaySoundWaveAmbient() +end + +function AIDirector.PlaySoundWaveOver() + if not MP.IsClient() then + Extern.HostWaveSound = waveSounds.endOfWave + end + AIDirector.Super.PlaySoundWaveOver() +end + +StaggeredSpawns = AIDirector.StaggeredSpawns +UpdateAllSpawnPointList = AIDirector.UpdateAllSpawnPointList +RespawnLostEnemies = AIDirector.RespawnLostEnemies +EnterRampUpState = AIDirector.EnterRampUpState +OnAnyDeath = AIDirector.OnAnyDeath +DoRampUpState = AIDirector.DoRampUpState +EnterRampDownState = AIDirector.EnterRampDownState +EnterRestState = AIDirector.EnterRestState +PlaySoundNewWave = AIDirector.PlaySoundNewWave +OnHeavyFogRegionEnter = AIDirector.OnHeavyFogRegionEnter +OnHeavyFogRegionExit = AIDirector.OnHeavyFogRegionExit +UpdateHeavyFogAudioEffects = AIDirector.UpdateHeavyFogAudioEffects +RegisterHeavyFogCameraFilterRegions = AIDirector.RegisterHeavyFogCameraFilterRegions +UnregisterHeavyFogCameraFilterRegions = AIDirector.UnregisterHeavyFogCameraFilterRegions +ExitScript = AIDirector.ExitScript +CheckForAIDeaths = AIDirector.CheckForAIDeaths +SpawnHarvesterAndScheduleNext = AIDirector.SpawnHarvesterAndScheduleNext +DebugDisplay = AIDirector.DebugDisplay +OnPlayerStateChange = AIDirector.OnPlayerStateChange +UpdateFogEffectValues = AIDirector.UpdateFogEffectValues +if myObject ~= nil then + if MP.IsClient() then + Callbacks.RegisterForScriptValueUpdated("ClientUpdateLoop") + else + DoPhaseCasterWaves() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic.lua new file mode 100644 index 0000000..245062d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic.lua @@ -0,0 +1,87 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GS.Utilities +local MP = Game.MP +local Physics = Game.Physics +local ObjectTags = Game.ObjectTags +local CarriedStatus = GS.InventoryItemCarriedStatus +local myObject = Game.GetMyObject() +local ResupplyPickupNames = {} +ResupplyPickupNames[1] = "Standard Weapon Resupply Pickup" +ResupplyPickupNames[2] = "Special Weapon Resupply Pickup" +Support.RegisterObjectTemplateVariable(ResupplyPickupNames[1], "The object template for the Standard Weapon resupply pickup") +Support.RegisterObjectTemplateVariable(ResupplyPickupNames[2], "The object template for the Special Weapon resupply pickup") +local ResupplySpawnLocations = {} +local ResupplyMaxNumber = {} +local ResupplyCurrentNumber = {} +ResupplySpawnLocations[1] = Support.ImportSetObject("Standard Weapon spawn locations", "A set of spawn locations to spawn the Standard Weapon rack pickup") +ResupplyMaxNumber[1] = Support.ImportFloatVariableWithDefault("Max num Standard Weapon resupply pickups", "The maximum number of Standard Weapon rack pick ups at one time", 4) +ResupplyCurrentNumber[1] = 0 +ResupplySpawnLocations[2] = Support.ImportSetObject("------Special Weapon spawn locations", "A set of spawn locations to spawn the Special Weapon rack pickup") +ResupplyMaxNumber[2] = Support.ImportFloatVariableWithDefault("Max num Special Weapon resupply pickups", "The maximum number of Special Weapon rack pick ups at one time", 2) +ResupplyCurrentNumber[2] = 0 +local ResupplySpawnLocationsInUse = {} +local ResupplyPickupObjectsArray = {} +local BeginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") + +function OnAnyResupplyPickupPickedUp(itemStatusMsg) + if itemStatusMsg.carriedStatus == CarriedStatus.Selected or itemStatusMsg.carriedStatus == CarriedStatus.Unselected then + for i = 1, #ResupplySpawnLocationsInUse do + for j = 1, #ResupplySpawnLocationsInUse[i] do + if ResupplySpawnLocationsInUse[i][j] and ResupplyPickupObjectsArray[i][j] == itemStatusMsg.item then + Callbacks.UnregisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, ResupplyPickupObjectsArray[i][j], "OnAnyResupplyPickupPickedUp") + ResupplySpawnLocationsInUse[i][j] = false + ResupplyCurrentNumber[i] = ResupplyCurrentNumber[i] - 1 + end + end + end + end +end + +function SpawnResupplyPickups() + for i = 1, #ResupplySpawnLocations do + local numSpawnLocations = Sets.GetNumObjectsInSet(ResupplySpawnLocations[i]) + local spawnLocations = Sets.GetObjectsInSet(ResupplySpawnLocations[i]) + while ResupplyCurrentNumber[i] < ResupplyMaxNumber[i] and numSpawnLocations > ResupplyCurrentNumber[i] do + local randomSpawnLocation = Utilities.GetRandomInteger(1, numSpawnLocations) + if ResupplySpawnLocationsInUse[i][randomSpawnLocation] == false then + local spawnPosition = Game.GetPosition(spawnLocations[randomSpawnLocation]) + local spawnRotation = Game.GetRotation(spawnLocations[randomSpawnLocation]) + ResupplyPickupObjectsArray[i][randomSpawnLocation] = Game.SpawnWithRotation(ResupplyPickupNames[i], spawnPosition, spawnRotation) + ResupplySpawnLocationsInUse[i][randomSpawnLocation] = true + Callbacks.RegisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, ResupplyPickupObjectsArray[i][randomSpawnLocation], "OnAnyResupplyPickupPickedUp") + ResupplyCurrentNumber[i] = ResupplyCurrentNumber[i] + 1 + end + end + end +end + +function InitializeResupplySpawning() + for i = 1, #ResupplySpawnLocations do + ResupplySpawnLocationsInUse[i] = {} + ResupplyPickupObjectsArray[i] = {} + local spawnerObjs = Sets.GetObjectsInSet(ResupplySpawnLocations[i]) + local spawnerIndex = 1 + for k, spawner in pairs(spawnerObjs) do + ResupplySpawnLocationsInUse[i][spawnerIndex] = false + ResupplyPickupObjectsArray[i][spawnerIndex] = spawner + spawnerIndex = spawnerIndex + 1 + end + end +end + +function ProcessMissionEventMessage(missionEventMessage) + if missionEventMessage.textID == BeginRestPeriodMsgId then + SpawnResupplyPickups() + end +end + +InitializeResupplySpawning() +SpawnResupplyPickups() +Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "ProcessMissionEventMessage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic.lua new file mode 100644 index 0000000..4465c97 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic.lua @@ -0,0 +1,943 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GS.Utilities +local MP = Game.MP +local Physics = Game.Physics +local ObjectTags = Game.ObjectTags +local FEAR = GS.FEAR +local math3d = GS.LuaMath3d +local CarriedStatus = GS.InventoryItemCarriedStatus +local myObject = Game.GetMyObject() +local kSMGIndex = 1 +local kARIndex = 2 +local kShotgunIndex = 3 +local kUziIndex = 4 +local kNumStandardWeapons = 4 +local kFragIndex = 5 +local kSmokeIndex = 6 +local kFlashIndex = 7 +local kNumStandardGrenadeTypes = 3 +local kPenetratorIndex = 1 +local kSniperIndex = 2 +local kRLIndex = 3 +local kPhaseBeamIndex = 4 +local kRiotShieldIndex = 5 +local kNumSpecialWeapons = 5 +local kZapIndex = 6 +local kProximityMineIndex = 7 +local kNumSpecialGrenadeTypes = 2 +local RackStandardWeaponSpawners = {} +RackStandardWeaponSpawners[kSMGIndex] = Support.ImportSingleObject("SMG Weapon Rack Spawner", "Spawner in the weapon rack that spawn the SMG") +RackStandardWeaponSpawners[kARIndex] = Support.ImportSingleObject("------Assault Rifle Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Assault Rifle") +RackStandardWeaponSpawners[kShotgunIndex] = Support.ImportSingleObject("------Shotgun Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Shotgun") +RackStandardWeaponSpawners[kUziIndex] = Support.ImportSingleObject("------Uzi Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Uzi") +RackStandardWeaponSpawners[kFragIndex] = Support.ImportSingleObject("------Frag Grenade Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Frag Grenade") +RackStandardWeaponSpawners[kSmokeIndex] = Support.ImportSingleObject("------Smoke Grenade Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Frag Grenade") +RackStandardWeaponSpawners[kFlashIndex] = Support.ImportSingleObject("------Flash Grenade Weapon Rack Spawner", "Spawner in the weapon rack that spawn the Frag Grenade") +local NumInitialStandardWeapons = {} +NumInitialStandardWeapons[kSMGIndex] = Support.ImportFloatVariable("Initial Number of SMGs", "") +NumInitialStandardWeapons[kARIndex] = Support.ImportFloatVariable("------Initial Number of Assault Rifles", "") +NumInitialStandardWeapons[kShotgunIndex] = Support.ImportFloatVariable("------Initial Number of Shotguns", "") +NumInitialStandardWeapons[kUziIndex] = Support.ImportFloatVariable("------Initial Number of Uzis", "") +NumInitialStandardWeapons[kFragIndex] = Support.ImportFloatVariable("------Initial Number of Frag Grenades", "") +NumInitialStandardWeapons[kSmokeIndex] = Support.ImportFloatVariable("------Initial Number of Smoke Grenades", "") +NumInitialStandardWeapons[kFlashIndex] = Support.ImportFloatVariable("------Initial Number of Flash Grenades", "") +local NumStandardWeaponsAvailable = {} +local RackStandardWeaponObjectsArray = {} +local RackSpecialWeaponSpawners = {} +RackSpecialWeaponSpawners[kPenetratorIndex] = Support.ImportSingleObject("Penetrator Rack Spawners", "Spawners in the weapon rack that spawn the Penetrator") +RackSpecialWeaponSpawners[kSniperIndex] = Support.ImportSingleObject("------Sniper Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Sniper Rifle") +RackSpecialWeaponSpawners[kRLIndex] = Support.ImportSingleObject("------Rocket Launcher Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Rocket Launcher") +RackSpecialWeaponSpawners[kPhaseBeamIndex] = Support.ImportSingleObject("------Phase Beam Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Phase Beam") +RackSpecialWeaponSpawners[kRiotShieldIndex] = Support.ImportSingleObject("------Riot Shield Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Riot Shield") +RackSpecialWeaponSpawners[kZapIndex] = Support.ImportSingleObject("------Zap Grenade Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Zap Grenade") +RackSpecialWeaponSpawners[kProximityMineIndex] = Support.ImportSingleObject("------Proximity Mine Weapon Rack Spawner", "Spawners in the weapon rack that spawn the Proximity Mine") +local NumInitialSpecialWeapons = {} +NumInitialSpecialWeapons[kPenetratorIndex] = Support.ImportFloatVariable("Initial Number of Penetrators", "") +NumInitialSpecialWeapons[kSniperIndex] = Support.ImportFloatVariable("------Initial Number of Sniper Rifles", "") +NumInitialSpecialWeapons[kRLIndex] = Support.ImportFloatVariable("------Initial Number of Rocket Launchers", "") +NumInitialSpecialWeapons[kPhaseBeamIndex] = Support.ImportFloatVariable("------Initial Number of Phase Beams", "") +NumInitialSpecialWeapons[kRiotShieldIndex] = Support.ImportFloatVariable("------Initial Number of Riot Shields", "") +NumInitialSpecialWeapons[kZapIndex] = Support.ImportFloatVariable("------Initial Number of Zap Grenades", "") +NumInitialSpecialWeapons[kProximityMineIndex] = Support.ImportFloatVariable("------Initial Number of Proximity Mines", "") +local NumSpecialWeaponsAvailable = {} +local RackSpecialWeaponObjectsArray = {} +local BeginRestPeriodMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Rest Period", "") +local kMaxNumWaves = 20 +local kNumWaves = Support.ImportFloatVariableWithDefault("Num Waves (max " .. kMaxNumWaves .. ")", "", 20) +local StandardWeaponPickupsAllowedForWave = {} +for i = 1, kMaxNumWaves do + StandardWeaponPickupsAllowedForWave[i] = {} + StandardWeaponPickupsAllowedForWave[i][kSMGIndex] = Support.ImportFloatVariableWithDefault("Wave " .. i .. " Num SMGs", "The number of SMGs a single crate carries", 2) + StandardWeaponPickupsAllowedForWave[i][kARIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num AR", "The number of Assault Rifles a single crate carries", 2) + StandardWeaponPickupsAllowedForWave[i][kShotgunIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Shotgun", "The number of Shotguns a single crate carries", 2) + StandardWeaponPickupsAllowedForWave[i][kUziIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Uzi", "The number of Uzis a single crate carries", 2) + StandardWeaponPickupsAllowedForWave[i][kFragIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Frag Grenades", "The number of Frag Grenades a single crate carries", 2) + StandardWeaponPickupsAllowedForWave[i][kSmokeIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Smoke Grenades", "The number of Smoke Grenades a single crate carries", 0) + StandardWeaponPickupsAllowedForWave[i][kFlashIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Flash Grenades", "The number of Flash Grenades a single crate carries", 0) +end +local SpecialWeaponPickupsAllowedForWave = {} +for i = 1, kMaxNumWaves do + SpecialWeaponPickupsAllowedForWave[i] = {} + SpecialWeaponPickupsAllowedForWave[i][kPenetratorIndex] = Support.ImportFloatVariableWithDefault("Special Weapon Wave " .. i .. " Num Penetrators", "The number of Penetrators a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kSniperIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Sniper", "The number of Sniper Rifles a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kRLIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Rocket Launcher", "The number of Rocket Launchers a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kPhaseBeamIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Phase Beams", "The number of Phase Beams a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kRiotShieldIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Riot Shields", "The number of Riot Shields a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kZapIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Zap Grenades", "The number of Zap Grenades a single crate carries", 0) + SpecialWeaponPickupsAllowedForWave[i][kProximityMineIndex] = Support.ImportFloatVariableWithDefault(" Wave " .. i .. " Num Proximity Mines", "The number of Proximity Mines a single crate carries", 0) +end +local regionSet = Support.ImportSetObject("Region Set", "The set of regions to bring the weapon pickups to so they are collected") +local WeaponCrateRetrievedMsgId = Support.ImportStaticTextVariable("MissionEvent: Weapon Crate Retrieved", "") +local CurrentStandardWeaponSpawner1 = -1 +local CurrentStandardWeaponSpawner2 = -1 +local CurrentStandardGrenadeSpawner = -1 +local CurrentSpecialWeaponSpawner = -1 +local CurrentSpecialGrenadeSpawner = -1 +local CurrentWaveNum = 1 +local CurrentNumValidStandardWeaponTypes = 0 +local CurrentNumValidStandardGrenadeTypes = 0 +local CurrentNumValidSpecialWeaponTypes = 0 +local CurrentNumValidSpecialGrenadeTypes = 0 +Support.ExportFloatVariable("Player1InRetrieveRegion", 0, "") +Support.ExportFloatVariable("Player2InRetrieveRegion", 0, "") +Support.ExportFloatVariable("Player3InRetrieveRegion", 0, "") +Support.ExportFloatVariable("Player4InRetrieveRegion", 0, "") +local localPlayer1InRetrieveRegion = 0 +local localPlayer2InRetrieveRegion = 0 +local localPlayer3InRetrieveRegion = 0 +local localPlayer4InRetrieveRegion = 0 +Support.ExportFloatVariable("SMGsCollected", 0, "") +Support.ExportFloatVariable("ARsCollected", 0, "") +Support.ExportFloatVariable("ShotgunsCollected", 0, ".") +Support.ExportFloatVariable("UzisCollected", 0, "") +Support.ExportFloatVariable("FragGrenadesCollected", 0, "") +Support.ExportFloatVariable("SmokeGrenadesCollected", 0, "") +Support.ExportFloatVariable("FlashGrenadesCollected", 0, "") +Support.ExportFloatVariable("PenetratorsCollected", 0, "") +Support.ExportFloatVariable("SnipersCollected", 0, "") +Support.ExportFloatVariable("RLsCollected", 0, "") +Support.ExportFloatVariable("RiotShieldsCollected", 0, "") +Support.ExportFloatVariable("PhaseBeamsCollected", 0, "") +Support.ExportFloatVariable("ZapGrenadesCollected", 0, "") +Support.ExportFloatVariable("ProximityMinesCollected", 0, "") +local SMGName = Support.ImportStaticTextVariableWithDefault("SMGName", "", 145022) +local ARName = Support.ImportStaticTextVariableWithDefault("ARName", "", 145023) +local ShotgunName = Support.ImportStaticTextVariableWithDefault("ShotgunName", "", 145024) +local UziName = Support.ImportStaticTextVariableWithDefault("UziName", "", 145026) +local FragGrenadeName = Support.ImportStaticTextVariableWithDefault("FragGrenadeName", "", 145029) +local FlashGrenadeName = Support.ImportStaticTextVariableWithDefault("FlashGrenadeName", "", 145031) +local PenetratorName = Support.ImportStaticTextVariableWithDefault("PenetratorName", "", 145027) +local SniperRifleName = Support.ImportStaticTextVariableWithDefault("SniperRifleName", "", 145025) +local RLName = Support.ImportStaticTextVariableWithDefault("RLName", "", 145034) +local RiotShieldName = Support.ImportStaticTextVariableWithDefault("RiotShieldName", "", 145035) +local PhaseBeamName = Support.ImportStaticTextVariableWithDefault("PhaseBeamName", "", 145028) +local ZapGrenadeName = Support.ImportStaticTextVariableWithDefault("ZapGrenadeName", "", 145030) +local SMGsCollected = 0 +local ARsCollected = 0 +local ShotgunsCollected = 0 +local UzisCollected = 0 +local FragGrenadesCollected = 0 +local SmokeGrenadesCollected = 0 +local FlashGrenadesCollected = 0 +local PenetratorsCollected = 0 +local SnipersCollected = 0 +local RLsCollected = 0 +local RiotShieldsCollected = 0 +local PhaseBeamsCollected = 0 +local ZapGrenadesCollected = 0 +local ProximityMinesCollected = 0 +local LowAmmoVOSent = false +Support.ExportFloatVariable("TotalNumberOfWeapons", 0, "") +local LowWeaponAmount = 4 +local WeaponRackReferencePosition = Support.ImportSingleObject("Weapon Rack Reference Position", "") +local numberOfReturnedCrates = {} + +function SendLowAmmoVO() + local myPos = Game.GetPosition(WeaponRackReferencePosition) + local bestPlayerObject + local bestPlayerDist = 99999999 + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + playerObject = Player.GetPlayerControlledObjectByIndex(index) + if playerObject ~= nil then + local playerPos = Game.GetPosition(playerObject) + if math.abs(playerPos.y - myPos.y) < 2 then + playerPos.y = 0 + myPos.y = 0 + local distanceSqrd = math3d.DistanceBetweenPositionsSquared(playerPos, myPos) + if bestPlayerDist > distanceSqrd then + bestPlayerDist = distanceSqrd + bestPlayerObject = playerObject + end + end + end + end + if bestPlayerObject ~= nil then + Game.SendTextMessage(bestPlayerObject, "SFX_LowAmmo") + LowAmmoVOSent = true + end +end + +function CheckForLowAmmoAndSendVO() + if not LowAmmoVOSent and Extern.TotalNumberOfWeapons < LowWeaponAmount then + SendLowAmmoVO() + end +end + +function CheckForAmmoAndResetVO(inventoryMessage) + if Extern.TotalNumberOfWeapons >= LowWeaponAmount then + LowAmmoVOSent = false + end +end + +function OnAnyStandardWeaponRackPickupInventoryStatusChange(inventoryMessage) + for i = 1, #NumStandardWeaponsAvailable do + if RackStandardWeaponObjectsArray[i] == inventoryMessage.item and (inventoryMessage.carriedStatus == CarriedStatus.Selected or inventoryMessage.carriedStatus == CarriedStatus.Unselected) then + Callbacks.UnregisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupInventoryStatusChange") + Callbacks.UnregisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupExhausted") + RackStandardWeaponObjectsArray[i] = nil + EnableStandardWeaponSpawner(i) + if i < kNumStandardWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons - 1 + CheckForLowAmmoAndSendVO() + end + break + end + end +end + +function OnAnyStandardWeaponRackPickupExhausted(exhaustedObject) + for i = 1, #NumStandardWeaponsAvailable do + if RackStandardWeaponObjectsArray[i] == exhaustedObject then + Callbacks.UnregisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupInventoryStatusChange") + Callbacks.UnregisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupExhausted") + RackStandardWeaponObjectsArray[i] = nil + if i < kNumStandardWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons - 1 + CheckForLowAmmoAndSendVO() + end + EnableStandardWeaponSpawner(i) + break + end + end +end + +function OnAnyStandardWeaponRackPickupSpawned(spawnMessage) + for i = 1, #RackStandardWeaponSpawners do + if spawnMessage.spawner == RackStandardWeaponSpawners[i] then + RackStandardWeaponObjectsArray[i] = spawnMessage.object + NumStandardWeaponsAvailable[i] = NumStandardWeaponsAvailable[i] - 1 + Callbacks.RegisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupInventoryStatusChange") + Callbacks.RegisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackStandardWeaponObjectsArray[i], "OnAnyStandardWeaponRackPickupExhausted") + Game.EnableAllEnableables(RackStandardWeaponSpawners[i], false) + break + end + end +end + +function OnAnySpecialWeaponRackPickupInventoryStatusChange(inventoryMessage) + for i = 1, #NumSpecialWeaponsAvailable do + if RackSpecialWeaponObjectsArray[i] == inventoryMessage.item and (inventoryMessage.carriedStatus == CarriedStatus.Selected or inventoryMessage.carriedStatus == CarriedStatus.Unselected) then + Callbacks.UnregisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupInventoryStatusChange") + Callbacks.UnregisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupExhausted") + RackSpecialWeaponObjectsArray[i] = nil + EnableSpecialWeaponSpawner(i) + if i < kNumStandardWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons - 1 + CheckForLowAmmoAndSendVO() + end + break + end + end +end + +function OnAnySpecialWeaponRackPickupExhausted(exhaustedObject) + for i = 1, #NumSpecialWeaponsAvailable do + if RackSpecialWeaponObjectsArray[i] == exhaustedObject then + Callbacks.UnregisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupInventoryStatusChange") + Callbacks.UnregisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupExhausted") + RackSpecialWeaponObjectsArray[i] = nil + EnableSpecialWeaponSpawner(i) + if i < kNumStandardWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons - 1 + CheckForLowAmmoAndSendVO() + end + break + end + end +end + +function OnAnySpecialWeaponRackPickupSpawned(spawnMessage) + for i = 1, #RackSpecialWeaponSpawners do + if spawnMessage.spawner == RackSpecialWeaponSpawners[i] then + RackSpecialWeaponObjectsArray[i] = spawnMessage.object + NumSpecialWeaponsAvailable[i] = NumSpecialWeaponsAvailable[i] - 1 + Callbacks.RegisterForMsg(GS.MsgCallback.ItemStatusForItemMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupInventoryStatusChange") + Callbacks.RegisterForMsg(GS.MsgCallback.AllAmmoPickedUpMessage, RackSpecialWeaponObjectsArray[i], "OnAnySpecialWeaponRackPickupExhausted") + Game.EnableAllEnableables(RackSpecialWeaponSpawners[i], false) + break + end + end +end + +function RegisterForWeaponRackSpawnerMessage() + for i = 1, #RackStandardWeaponSpawners do + NumStandardWeaponsAvailable[i] = 0 + RackStandardWeaponObjectsArray[i] = nil + if RackStandardWeaponSpawners[i] ~= myObject then + Callbacks.RegisterForMsg(GS.MsgCallback.SpawnerMessage, RackStandardWeaponSpawners[i], "OnAnyStandardWeaponRackPickupSpawned") + end + end + for i = 1, #RackSpecialWeaponSpawners do + NumSpecialWeaponsAvailable[i] = 0 + RackSpecialWeaponObjectsArray[i] = nil + if RackSpecialWeaponSpawners[i] ~= myObject then + Callbacks.RegisterForMsg(GS.MsgCallback.SpawnerMessage, RackSpecialWeaponSpawners[i], "OnAnySpecialWeaponRackPickupSpawned") + end + end +end + +function EnableStandardWeaponSpawner(weaponTypeIndex) + if 0 < NumStandardWeaponsAvailable[weaponTypeIndex] then + Game.EnableAllEnableables(RackStandardWeaponSpawners[weaponTypeIndex], true) + end +end + +function EnableSpecialWeaponSpawner(weaponTypeIndex) + if 0 < NumSpecialWeaponsAvailable[weaponTypeIndex] then + Game.EnableAllEnableables(RackSpecialWeaponSpawners[weaponTypeIndex], true) + end +end + +function InitializeWeaponRackSpawners() + for i = 1, #NumInitialStandardWeapons do + if 0 < NumInitialStandardWeapons[i] then + NumStandardWeaponsAvailable[i] = NumInitialStandardWeapons[i] + if i < kNumStandardWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons + NumInitialStandardWeapons[i] + end + EnableStandardWeaponSpawner(i) + end + end + for i = 1, #NumInitialSpecialWeapons do + if 0 < NumInitialSpecialWeapons[i] then + NumSpecialWeaponsAvailable[i] = NumInitialSpecialWeapons[i] + if i < kNumSpecialWeapons then + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons + NumInitialSpecialWeapons[i] + end + EnableSpecialWeaponSpawner(i) + end + end +end + +function UpdateNumValidStandardWeaponTypesForWave(waveIndex) + CurrentNumValidStandardWeaponTypes = 0 + for i = 1, kNumStandardWeapons do + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][i] then + CurrentNumValidStandardWeaponTypes = CurrentNumValidStandardWeaponTypes + 1 + end + end + CurrentNumValidStandardGrenadeTypes = 0 + for i = kNumStandardWeapons + 1, kNumStandardWeapons + kNumStandardGrenadeTypes do + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][i] then + CurrentNumValidStandardGrenadeTypes = CurrentNumValidStandardGrenadeTypes + 1 + end + end +end + +function GetRandomValidStandardWeaponTypeForWave(waveIndex) + if CurrentNumValidStandardWeaponTypes <= 0 then + Debug.PrintError("Error in standard weapon wave " .. waveIndex .. ". Need at least 2 valid standard weapon types for each wave") + return -1 + elseif CurrentNumValidStandardWeaponTypes == 1 then + Debug.PrintError("Error in standard weapon wave " .. waveIndex .. ". Need at least 2 valid standard weapon types for each wave") + for i = 1, #StandardWeaponPickupsAllowedForWave[waveIndex] do + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][i] then + return i + end + end + elseif 2 <= CurrentNumValidStandardWeaponTypes then + local weaponSpawnerIndex = Utilities.GetRandomInteger(1, kNumStandardWeapons) + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][weaponSpawnerIndex] then + return weaponSpawnerIndex + else + local newWeaponSpawnerIndex = weaponSpawnerIndex + 1 + while newWeaponSpawnerIndex ~= weaponSpawnerIndex do + if newWeaponSpawnerIndex > kNumStandardWeapons then + newWeaponSpawnerIndex = 1 + end + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][newWeaponSpawnerIndex] then + return newWeaponSpawnerIndex + end + newWeaponSpawnerIndex = newWeaponSpawnerIndex + 1 + end + end + end +end + +function GetNextValidStandardWeaponTypeForWave(currentWeaponSpawnerIndex, waveIndex) + if CurrentNumValidStandardWeaponTypes <= 1 then + local errorMessage = "Error in standard weapon wave " .. waveIndex .. ". Need at least 2 valid standard weapon types for each wave" + Debug.PrintError(errorMessage) + return currentWeaponSpawnerIndex + elseif CurrentNumValidStandardWeaponTypes == 2 then + local newWeaponSpawnerIndex = currentWeaponSpawnerIndex + 1 + while newWeaponSpawnerIndex ~= currentWeaponSpawnerIndex do + if newWeaponSpawnerIndex > kNumStandardWeapons then + newWeaponSpawnerIndex = 1 + end + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][newWeaponSpawnerIndex] then + return newWeaponSpawnerIndex + end + newWeaponSpawnerIndex = newWeaponSpawnerIndex + 1 + end + elseif 2 < CurrentNumValidStandardWeaponTypes then + local newWeaponSpawnerIndex = currentWeaponSpawnerIndex + 1 + while newWeaponSpawnerIndex ~= currentWeaponSpawnerIndex do + if newWeaponSpawnerIndex > kNumStandardWeapons then + newWeaponSpawnerIndex = 1 + end + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][newWeaponSpawnerIndex] and CurrentStandardWeaponSpawner1 ~= newWeaponSpawnerIndex and CurrentStandardWeaponSpawner2 ~= newWeaponSpawnerIndex then + return newWeaponSpawnerIndex + end + newWeaponSpawnerIndex = newWeaponSpawnerIndex + 1 + end + end +end + +function ActivateRandomStandardWeaponSpawner() + if 0 < CurrentNumValidStandardWeaponTypes then + if CurrentStandardWeaponSpawner1 == -1 then + CurrentStandardWeaponSpawner1 = GetRandomValidStandardWeaponTypeForWave(CurrentWaveNum) + CurrentStandardWeaponSpawner2 = GetNextValidStandardWeaponTypeForWave(CurrentStandardWeaponSpawner1, CurrentWaveNum) + else + CurrentStandardWeaponSpawner1 = GetNextValidStandardWeaponTypeForWave(CurrentStandardWeaponSpawner1, CurrentWaveNum) + CurrentStandardWeaponSpawner2 = GetNextValidStandardWeaponTypeForWave(CurrentStandardWeaponSpawner2, CurrentWaveNum) + end + local numWeaponsToEnable = StandardWeaponPickupsAllowedForWave[CurrentWaveNum][CurrentStandardWeaponSpawner1] + if CurrentStandardWeaponSpawner1 == kSMGIndex then + Extern.SMGsCollected = Extern.SMGsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner1 == kARIndex then + Extern.ARsCollected = Extern.ARsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner1 == kShotgunIndex then + Extern.ShotgunsCollected = Extern.ShotgunsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner1 == kUziIndex then + Extern.UzisCollected = Extern.UzisCollected + numWeaponsToEnable + end + NumStandardWeaponsAvailable[CurrentStandardWeaponSpawner1] = NumStandardWeaponsAvailable[CurrentStandardWeaponSpawner1] + numWeaponsToEnable + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons + numWeaponsToEnable + EnableStandardWeaponSpawner(CurrentStandardWeaponSpawner1) + numWeaponsToEnable = StandardWeaponPickupsAllowedForWave[CurrentWaveNum][CurrentStandardWeaponSpawner2] + if CurrentStandardWeaponSpawner2 == kSMGIndex then + Extern.SMGsCollected = Extern.SMGsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner2 == kARIndex then + Extern.ARsCollected = Extern.ARsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner2 == kShotgunIndex then + Extern.ShotgunsCollected = Extern.ShotgunsCollected + numWeaponsToEnable + elseif CurrentStandardWeaponSpawner2 == kUziIndex then + Extern.UzisCollected = Extern.UzisCollected + numWeaponsToEnable + end + NumStandardWeaponsAvailable[CurrentStandardWeaponSpawner2] = NumStandardWeaponsAvailable[CurrentStandardWeaponSpawner2] + numWeaponsToEnable + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons + numWeaponsToEnable + EnableStandardWeaponSpawner(CurrentStandardWeaponSpawner2) + CheckForAmmoAndResetVO() + PrintGunsCollectedMessage() + end +end + +function GetRandomValidStandardGrenadeTypeForWave(waveIndex) + local GrenadeStartingIndex = kNumStandardWeapons + 1 + local GrenadeEndingIndex = kNumStandardWeapons + kNumStandardGrenadeTypes + if CurrentNumValidStandardGrenadeTypes <= 0 then + return -1 + elseif CurrentNumValidStandardGrenadeTypes == 1 then + for i = GrenadeStartingIndex, GrenadeEndingIndex do + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][i] then + return i + end + end + elseif 2 <= CurrentNumValidStandardGrenadeTypes then + local grenadeSpawnerIndex = Utilities.GetRandomInteger(GrenadeStartingIndex, GrenadeEndingIndex) + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][grenadeSpawnerIndex] then + return grenadeSpawnerIndex + else + local newGrenadeSpawnerIndex = grenadeSpawnerIndex + 1 + while newGrenadeSpawnerIndex ~= grenadeSpawnerIndex do + if newGrenadeSpawnerIndex > kNumSpecialWeapons then + newGrenadeSpawnerIndex = 1 + end + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][newGrenadeSpawnerIndex] then + return newGrenadeSpawnerIndex + end + newGrenadeSpawnerIndex = newGrenadeSpawnerIndex + 1 + end + end + end + return -1 +end + +function GetNextValidStandardGrenadeTypeForWave(currentGrenadeSpawnerIndex, waveIndex) + local GrenadeStartingIndex = kNumStandardWeapons + 1 + local GrenadeEndingIndex = kNumStandardWeapons + kNumStandardGrenadeTypes + if CurrentNumValidStandardGrenadeTypes <= 1 then + return currentGrenadeSpawnerIndex + elseif 2 <= CurrentNumValidStandardGrenadeTypes then + local newGrenadeSpawnerIndex = currentGrenadeSpawnerIndex + 1 + while newGrenadeSpawnerIndex ~= currentGrenadeSpawnerIndex do + if GrenadeEndingIndex < newGrenadeSpawnerIndex then + newGrenadeSpawnerIndex = GrenadeStartingIndex + end + if 0 < StandardWeaponPickupsAllowedForWave[waveIndex][newGrenadeSpawnerIndex] then + return newGrenadeSpawnerIndex + end + newGrenadeSpawnerIndex = newGrenadeSpawnerIndex + 1 + end + end + return -1 +end + +function ActivateRandomStandardGrenadeSpawner() + if 0 < CurrentNumValidStandardGrenadeTypes then + if CurrentStandardGrenadeSpawner == -1 then + CurrentStandardGrenadeSpawner = GetRandomValidStandardGrenadeTypeForWave(CurrentWaveNum) + else + CurrentStandardGrenadeSpawner = GetNextValidStandardGrenadeTypeForWave(CurrentStandardGrenadeSpawner, CurrentWaveNum) + end + local numWeaponsToEnable = StandardWeaponPickupsAllowedForWave[CurrentWaveNum][CurrentStandardGrenadeSpawner] + NumStandardWeaponsAvailable[CurrentStandardGrenadeSpawner] = NumStandardWeaponsAvailable[CurrentStandardGrenadeSpawner] + numWeaponsToEnable + EnableStandardWeaponSpawner(CurrentStandardGrenadeSpawner) + if CurrentStandardGrenadeSpawner == kFragIndex then + Extern.FragGrenadesCollected = Extern.FragGrenadesCollected + numWeaponsToEnable + elseif CurrentStandardGrenadeSpawner == kSmokeIndex then + Extern.SmokeGrenadesCollected = Extern.SmokeGrenadesCollected + numWeaponsToEnable + elseif CurrentStandardGrenadeSpawner == kFlashIndex then + Extern.FlashGrenadesCollected = Extern.FlashGrenadesCollected + numWeaponsToEnable + end + PrintGunsCollectedMessage() + end +end + +function UpdateNumValidSpecialWeaponTypesForWave(waveIndex) + CurrentNumValidSpecialWeaponTypes = 0 + for i = 1, #SpecialWeaponPickupsAllowedForWave[waveIndex] do + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][i] then + CurrentNumValidSpecialWeaponTypes = CurrentNumValidSpecialWeaponTypes + 1 + end + end + CurrentNumValidSpecialGrenadeTypes = 0 + for i = kNumSpecialWeapons + 1, kNumSpecialWeapons + kNumSpecialGrenadeTypes do + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][i] then + CurrentNumValidSpecialGrenadeTypes = CurrentNumValidSpecialGrenadeTypes + 1 + end + end +end + +function GetRandomValidSpecialWeaponTypeForWave(waveIndex) + if CurrentNumValidSpecialWeaponTypes <= 0 then + return -1 + elseif CurrentNumValidSpecialWeaponTypes == 1 then + for i = 1, #SpecialWeaponPickupsAllowedForWave[waveIndex] do + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][i] then + return i + end + end + elseif 2 <= CurrentNumValidSpecialWeaponTypes then + local weaponSpawnerIndex = Utilities.GetRandomInteger(1, kNumSpecialWeapons) + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][weaponSpawnerIndex] then + return weaponSpawnerIndex + else + local newWeaponSpawnerIndex = weaponSpawnerIndex + 1 + while newWeaponSpawnerIndex ~= weaponSpawnerIndex do + if newWeaponSpawnerIndex > kNumSpecialWeapons then + newWeaponSpawnerIndex = 1 + end + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][newWeaponSpawnerIndex] then + return newWeaponSpawnerIndex + end + newWeaponSpawnerIndex = newWeaponSpawnerIndex + 1 + end + end + end + return -1 +end + +function GetNextValidSpecialWeaponTypeForWave(currentWeaponSpawnerIndex, waveIndex) + if CurrentNumValidSpecialWeaponTypes <= 1 then + return currentWeaponSpawnerIndex + elseif 2 <= CurrentNumValidSpecialWeaponTypes then + local newWeaponSpawnerIndex = currentWeaponSpawnerIndex + 1 + while newWeaponSpawnerIndex ~= currentWeaponSpawnerIndex do + if newWeaponSpawnerIndex > kNumSpecialWeapons then + newWeaponSpawnerIndex = 1 + end + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][newWeaponSpawnerIndex] then + return newWeaponSpawnerIndex + end + newWeaponSpawnerIndex = newWeaponSpawnerIndex + 1 + end + end + return -1 +end + +function ActivateRandomSpecialWeaponSpawner() + if 0 < CurrentNumValidSpecialWeaponTypes then + if CurrentSpecialWeaponSpawner == -1 then + CurrentSpecialWeaponSpawner = GetRandomValidSpecialWeaponTypeForWave(CurrentWaveNum) + else + CurrentSpecialWeaponSpawner = GetNextValidSpecialWeaponTypeForWave(CurrentSpecialWeaponSpawner, CurrentWaveNum) + end + local numWeaponsToEnable = SpecialWeaponPickupsAllowedForWave[CurrentWaveNum][CurrentSpecialWeaponSpawner] + if CurrentSpecialWeaponSpawner == kPenetratorIndex then + Extern.PenetratorsCollected = Extern.PenetratorsCollected + numWeaponsToEnable + elseif CurrentSpecialWeaponSpawner == kSniperIndex then + Extern.SnipersCollected = Extern.SnipersCollected + numWeaponsToEnable + elseif CurrentSpecialWeaponSpawner == kRLIndex then + Extern.RLsCollected = Extern.RLsCollected + numWeaponsToEnable + elseif CurrentSpecialWeaponSpawner == kRiotShieldIndex then + Extern.RiotShieldsCollected = Extern.RiotShieldsCollected + numWeaponsToEnable + elseif CurrentSpecialWeaponSpawner == kPhaseBeamIndex then + Extern.PhaseBeamsCollected = Extern.PhaseBeamsCollected + numWeaponsToEnable + end + NumSpecialWeaponsAvailable[CurrentSpecialWeaponSpawner] = NumSpecialWeaponsAvailable[CurrentSpecialWeaponSpawner] + numWeaponsToEnable + Extern.TotalNumberOfWeapons = Extern.TotalNumberOfWeapons + numWeaponsToEnable + EnableSpecialWeaponSpawner(CurrentSpecialWeaponSpawner) + CheckForAmmoAndResetVO() + PrintGunsCollectedMessage() + else + ActivateRandomStandardWeaponSpawner() + end +end + +function GetRandomValidSpecialGrenadeTypeForWave(waveIndex) + local GrenadeStartingIndex = kNumSpecialWeapons + 1 + local GrenadeEndingIndex = kNumSpecialWeapons + kNumSpecialGrenadeTypes + if CurrentNumValidSpecialGrenadeTypes <= 0 then + return -1 + elseif CurrentNumValidSpecialGrenadeTypes == 1 then + for i = GrenadeStartingIndex, GrenadeEndingIndex do + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][i] then + return i + end + end + elseif 2 <= CurrentNumValidSpecialGrenadeTypes then + local grenadeSpawnerIndex = Utilities.GetRandomInteger(GrenadeStartingIndex, GrenadeEndingIndex) + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][grenadeSpawnerIndex] then + return grenadeSpawnerIndex + else + local newGrenadeSpawnerIndex = grenadeSpawnerIndex + 1 + while newGrenadeSpawnerIndex ~= grenadeSpawnerIndex do + if newGrenadeSpawnerIndex > kNumSpecialWeapons then + newGrenadeSpawnerIndex = 1 + end + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][newGrenadeSpawnerIndex] then + return newGrenadeSpawnerIndex + end + newGrenadeSpawnerIndex = newGrenadeSpawnerIndex + 1 + end + end + end + return -1 +end + +function GetNextValidSpecialGrenadeTypeForWave(currentGrenadeSpawnerIndex, waveIndex) + local GrenadeStartingIndex = kNumSpecialWeapons + 1 + local GrenadeEndingIndex = kNumSpecialWeapons + kNumSpecialGrenadeTypes + if CurrentNumValidSpecialGrenadeTypes <= 1 then + return currentGrenadeSpawnerIndex + elseif 2 <= CurrentNumValidSpecialGrenadeTypes then + local newGrenadeSpawnerIndex = currentGrenadeSpawnerIndex + 1 + while newGrenadeSpawnerIndex ~= currentGrenadeSpawnerIndex do + if GrenadeEndingIndex < newGrenadeSpawnerIndex then + newGrenadeSpawnerIndex = GrenadeStartingIndex + end + if 0 < SpecialWeaponPickupsAllowedForWave[waveIndex][newGrenadeSpawnerIndex] then + return newGrenadeSpawnerIndex + end + newGrenadeSpawnerIndex = newGrenadeSpawnerIndex + 1 + end + end +end + +function ActivateRandomSpecialGrenadeSpawner() + if 0 < CurrentNumValidSpecialGrenadeTypes then + if CurrentSpecialGrenadeSpawner == -1 then + CurrentSpecialGrenadeSpawner = GetRandomValidSpecialGrenadeTypeForWave(CurrentWaveNum) + else + CurrentSpecialGrenadeSpawner = GetNextValidSpecialGrenadeTypeForWave(CurrentSpecialGrenadeSpawner, CurrentWaveNum) + end + local numWeaponsToEnable = SpecialWeaponPickupsAllowedForWave[CurrentWaveNum][CurrentSpecialGrenadeSpawner] + NumSpecialWeaponsAvailable[CurrentSpecialGrenadeSpawner] = NumSpecialWeaponsAvailable[CurrentSpecialGrenadeSpawner] + numWeaponsToEnable + EnableSpecialWeaponSpawner(CurrentSpecialGrenadeSpawner) + if CurrentSpecialGrenadeSpawner == kZapIndex then + Extern.ZapGrenadesCollected = Extern.ZapGrenadesCollected + numWeaponsToEnable + elseif CurrentSpecialGrenadeSpawner == kProximityMineIndex then + Extern.ProximityMinesCollected = Extern.ProximityMinesCollected + numWeaponsToEnable + end + PrintGunsCollectedMessage() + else + ActivateRandomStandardGrenadeSpawner() + end +end + +function RemoveCrateFromInventory(playerObject) + augInv = Game.GetInventoryItemsByTypeAndName(playerObject, 3, "Medkit Inventory") + local playerIndex = Player.GetPlayerIndexByObject(playerObject) + for k, obj in pairs(augInv) do + if ObjectTags.DoesObjectHaveTag(obj, "MPSpecialWeaponsCrate") then + ActivateRandomSpecialWeaponSpawner() + ActivateRandomSpecialGrenadeSpawner() + else + ActivateRandomStandardWeaponSpawner() + ActivateRandomStandardGrenadeSpawner() + end + Game.SendMissionEventMessage(obj, WeaponCrateRetrievedMsgId) + Game.SendTextMessage(myObject, "Crate Returned " .. playerIndex) + Game.SendTextMessage(playerObject, "WeaponCrateRemoved") + end +end + +function PlayerEntersRegion(PlayerInfo) + if PlayerInfo.object ~= nil then + RemoveCrateFromInventory(PlayerInfo.object) + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + if playerIndex == 0 then + Extern.Player1InRetrieveRegion = 1 + elseif playerIndex == 1 then + Extern.Player2InRetrieveRegion = 1 + elseif playerIndex == 2 then + Extern.Player3InRetrieveRegion = 1 + elseif playerIndex == 3 then + Extern.Player4InRetrieveRegion = 1 + end + end +end + +function PlayerLeavesRegion(PlayerInfo) + if PlayerInfo.object ~= nil then + local playerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + if playerIndex == 0 then + Extern.Player1InRetrieveRegion = 0 + elseif playerIndex == 1 then + Extern.Player2InRetrieveRegion = 0 + elseif playerIndex == 2 then + Extern.Player3InRetrieveRegion = 0 + elseif playerIndex == 3 then + Extern.Player4InRetrieveRegion = 0 + end + end +end + +function ProcessMissionEventMessage(missionEventMessage) + if missionEventMessage.textID == BeginRestPeriodMsgId then + CurrentStandardWeaponSpawner1 = -1 + CurrentStandardWeaponSpawner2 = -1 + CurrentStandardGrenadeSpawner = -1 + CurrentSpecialWeaponSpawner = -1 + CurrentSpecialGrenadeSpawner = -1 + CurrentWaveNum = CurrentWaveNum + 1 + if CurrentWaveNum > kMaxNumWaves then + CurrentWaveNum = 1 + end + UpdateNumValidStandardWeaponTypesForWave(CurrentWaveNum) + UpdateNumValidSpecialWeaponTypesForWave(CurrentWaveNum) + end +end + +function PrintGunsCollectedMessage() + if SMGsCollected ~= Extern.SMGsCollected then + local difference = Extern.SMGsCollected - SMGsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, SMGName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + SMGsCollected = Extern.SMGsCollected + end + if ARsCollected ~= Extern.ARsCollected then + local difference = Extern.ARsCollected - ARsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, ARName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + ARsCollected = Extern.ARsCollected + end + if ShotgunsCollected ~= Extern.ShotgunsCollected then + local difference = Extern.ShotgunsCollected - ShotgunsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, ShotgunName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + ShotgunsCollected = Extern.ShotgunsCollected + end + if UzisCollected ~= Extern.UzisCollected then + local difference = Extern.UzisCollected - UzisCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, UziName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + UzisCollected = Extern.UzisCollected + end + if FragGrenadesCollected ~= Extern.FragGrenadesCollected then + local difference = Extern.FragGrenadesCollected - FragGrenadesCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, FragGrenadeName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + FragGrenadesCollected = Extern.FragGrenadesCollected + end + if SmokeGrenadesCollected ~= Extern.SmokeGrenadesCollected then + local difference = Extern.SmokeGrenadesCollected - SmokeGrenadesCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStringValueToAnnouncementPacket(announcementID, "Smoke Grenade") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + SmokeGrenadesCollected = Extern.SmokeGrenadesCollected + end + if FlashGrenadesCollected ~= Extern.FlashGrenadesCollected then + local difference = Extern.FlashGrenadesCollected - FlashGrenadesCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, FlashGrenadeName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + FlashGrenadesCollected = Extern.FlashGrenadesCollected + end + if PenetratorsCollected ~= Extern.PenetratorsCollected then + local difference = Extern.PenetratorsCollected - PenetratorsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, PenetratorName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + PenetratorsCollected = Extern.PenetratorsCollected + end + if SnipersCollected ~= Extern.SnipersCollected then + local difference = Extern.SnipersCollected - SnipersCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, SniperRifleName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + SnipersCollected = Extern.SnipersCollected + end + if RLsCollected ~= Extern.RLsCollected then + local difference = Extern.RLsCollected - RLsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, RLName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + RLsCollected = Extern.RLsCollected + end + if RiotShieldsCollected ~= Extern.RiotShieldsCollected then + local difference = Extern.RiotShieldsCollected - RiotShieldsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, RiotShieldName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + RiotShieldsCollected = Extern.RiotShieldsCollected + end + if PhaseBeamsCollected ~= Extern.PhaseBeamsCollected then + local difference = Extern.PhaseBeamsCollected - PhaseBeamsCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, PhaseBeamName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + PhaseBeamsCollected = Extern.PhaseBeamsCollected + end + if ZapGrenadesCollected ~= Extern.ZapGrenadesCollected then + local difference = Extern.ZapGrenadesCollected - ZapGrenadesCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStaticTextValueToAnnouncementPacket(announcementID, ZapGrenadeName) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + FEAR.BroadcastAnnoucementPacket(announcementID) + ZapGrenadesCollected = Extern.ZapGrenadesCollected + end + if ProximityMinesCollected ~= Extern.ProximityMinesCollected then + local difference = Extern.ProximityMinesCollected - ProximityMinesCollected + local announcementID = FEAR.CreateAnnoucementPacket(GS.PlayerIndex.kGlobalPlayer1, GS.AnnouncementDisplayDestination.kDisplayDestinationQueue, "Weapons added to Rack") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, difference) + FEAR.AddStringValueToAnnouncementPacket(announcementID, "Proximity Mine") + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityLow) + ProximityMinesCollected = Extern.ProximityMinesCollected + end +end + +function HandleClients() + PrintGunsCollectedMessage() + local playerObject + if localPlayer1InRetrieveRegion ~= Extern.Player1InRetrieveRegion then + localPlayer1InRetrieveRegion = Extern.Player1InRetrieveRegion + if localPlayer1InRetrieveRegion == 1 then + playerObject = Player.GetPlayerAvatarObjectByIndex(0) + if playerObject ~= nil then + RemoveCrateFromInventory(playerObject) + end + end + end + if localPlayer2InRetrieveRegion ~= Extern.Player2InRetrieveRegion then + localPlayer2InRetrieveRegion = Extern.Player2InRetrieveRegion + if localPlayer2InRetrieveRegion == 1 then + playerObject = Player.GetPlayerAvatarObjectByIndex(1) + if playerObject ~= nil then + RemoveCrateFromInventory(playerObject) + end + end + end + if localPlayer3InRetrieveRegion ~= Extern.Player3InRetrieveRegion then + localPlayer3InRetrieveRegion = Extern.Player3InRetrieveRegion + if localPlayer3InRetrieveRegion == 1 then + playerObject = Player.GetPlayerAvatarObjectByIndex(2) + if playerObject ~= nil then + RemoveCrateFromInventory(playerObject) + end + end + end + if localPlayer4InRetrieveRegion ~= Extern.Player4InRetrieveRegion then + localPlayer4InRetrieveRegion = Extern.Player4InRetrieveRegion + if localPlayer4InRetrieveRegion == 1 then + playerObject = Player.GetPlayerAvatarObjectByIndex(3) + if playerObject ~= nil then + RemoveCrateFromInventory(playerObject) + end + end + end + if Extern.TotalNumberOfWeapons < LowWeaponAmount then + if not LowAmmoVOSent then + SendLowAmmoVO() + end + else + LowAmmoVOSent = false + end +end + +if MP.IsClient() then + LowAmmoVOSent = true + Callbacks.RegisterForScriptValueUpdated("HandleClients") +else + RegisterForWeaponRackSpawnerMessage() + UpdateNumValidStandardWeaponTypesForWave(CurrentWaveNum) + UpdateNumValidSpecialWeaponTypesForWave(CurrentWaveNum) + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, myObject, "ProcessMissionEventMessage") + local regionObjs = Sets.GetObjectsInSet(regionSet) + if regionObjs ~= nil then + for k, region in pairs(regionObjs) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntersRegion", "PlayerLeavesRegion") + end + end + InitializeWeaponRackSpawners() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SinBinPlayer.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SinBinPlayer.lua new file mode 100644 index 0000000..8afe334 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SinBinPlayer.lua @@ -0,0 +1,53 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local GameAI = GameScript.Game.AI +local GameMP = GameScript.Game.MP +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Support = GameScript.Support +local Debug = GameScript.Debug +local Objectives = GameScript.Game.Objectives +local Graphics = GameScript.Game.Graphics +local Sets = GameScript.Game.Sets +local Utilities = GameScript.Utilities +local FEAR = GameScript.FEAR +local myObject = Game.GetMyObject() +local kInvalidPlayerIndex = GameScript.PlayerIndex.kMaxGlobalPlayers +local kCleanUpIndestructibilityTime = 5 +local kDamageMultiplier = 4 +Support.ExportFloatVariable("isInSinBin", 0, "Is this object in the sin bin") +local myObjectPlayerIndex = kInvalidPlayerIndex +local damageModifierActive = false + +function CleanUpPlayerIndestructiblity() + if myObjectPlayerIndex == kInvalidPlayerIndex then + return + end + Player.SetPlayerIndestructible(myObjectPlayerIndex, false) +end + +function HandleTextMessage(msg) + if msg.text == "ObjectEnteringSinBin" then + Extern.isInSinBin = 1 + elseif msg.text == "ObjectExitingSinBin" then + Extern.isInSinBin = 0 + local numPlayers = Player.GetNumPlayers() - 1 + for currentPlayer = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + local avatar = Player.GetPlayerAvatarObjectByIndex(currentPlayer) + if avatar == myObject then + myObjectPlayerIndex = currentPlayer + break + end + end + if myObjectPlayerIndex == kInvalidPlayerIndex then + return + end + Player.SetPlayerIndestructible(myObjectPlayerIndex, true) + Callbacks.RegisterForTimer("CleanUpPlayerIndestructiblity", kCleanUpIndestructibilityTime, false) + elseif msg.text == "ObjectGrantedQuadDamage" then + Game.SetPrimaryWeaponsDamageModifier(myObject, kDamageMultiplier) + damageModifierActive = true + end +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, myObject, "HandleTextMessage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner.lua new file mode 100644 index 0000000..12c5636 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner.lua @@ -0,0 +1,72 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Player = GS.Game.Player +local ObjectTags = Game.ObjectTags +local Physics = Game.Physics +local MP = Game.MP +local AI = Game.AI +local Sets = Game.Sets +Support.RegisterObjectTemplateVariable("SpawnedEnemy", "The object template for the spawned enemy") +local kMaxNumSpawnedAI = Support.ImportFloatVariableWithDefault("Max Num Spawned AI", "The maximum number of spawned AI form one players possessed phase caster", 2) +local kMinRestingSpeed = 0.075 +local myObject = Game.GetMyObject() +local minColNormal = 0.68 + +function ClientOnCollisionMessage(colMsg) + if colMsg.normalY >= minColNormal then + Game.SendTextMessage(myObject, "SpawnPortalEffects") + Callbacks.UnregisterForMsg(GS.MsgCallback.CollisionMessage, myObject, "ClientOnCollisionMessage") + end +end + +function HostOnCollisionMessage(colMsg) + if colMsg.normalY >= minColNormal then + Game.SendTextMessage(myObject, "SpawnPortalEffects") + local spawnPosition = Game.GetPosition(myObject) + local spawnRotation = Game.GetRotation(myObject) + local spawnedAI = Game.SpawnWithRotation("SpawnedEnemy", spawnPosition, spawnRotation) + local ownerObject = Game.GetOwnerObjectChangeHandlingObject(myObject) + if ownerObject ~= nil then + local playerIndex = Player.GetPlayerIndexByObject(ownerObject) + local playerContObject = Player.GetPlayerControlledObjectByIndex(playerIndex) + Game.CopyNation(playerContObject, spawnedAI) + local playerObject = Player.GetPlayerAvatarObjectByIndex(playerIndex) + Game.SetOwnerObject(playerObject, spawnedAI, true) + local playerSquadSet + if playerIndex == GS.PlayerIndex.kGlobalPlayer2 then + playerSquadSet = ObjectTags.GetObjectsWithTag("MPPhaseCasterSpawnSquadP2") + elseif playerIndex == GS.PlayerIndex.kGlobalPlayer3 then + playerSquadSet = ObjectTags.GetObjectsWithTag("MPPhaseCasterSpawnSquadP3") + elseif playerIndex == GS.PlayerIndex.kGlobalPlayer4 then + playerSquadSet = ObjectTags.GetObjectsWithTag("MPPhaseCasterSpawnSquadP4") + else + playerSquadSet = ObjectTags.GetObjectsWithTag("MPPhaseCasterSpawnSquadP1") + end + if playerSquadSet ~= nil then + for key, set in pairs(playerSquadSet) do + if set ~= nil then + local numObjectsInSet = Sets.GetNumObjectsInSet(set) + if numObjectsInSet >= kMaxNumSpawnedAI then + local objectsInSet = Sets.GetObjectsInSet(set) + for k, object in pairs(objectsInSet) do + Game.Damage(object, 100000) + break + end + end + Sets.AddObjectToSet(set, spawnedAI) + end + end + end + end + Callbacks.UnregisterForMsg(GS.MsgCallback.CollisionMessage, myObject, "HostOnCollisionMessage") + Game.Kill(myObject, 1) + end +end + +if MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.CollisionMessage, myObject, "ClientOnCollisionMessage") +else + Callbacks.RegisterForMsg(GS.MsgCallback.CollisionMessage, myObject, "HostOnCollisionMessage") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseSoldierTeleportRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseSoldierTeleportRegion.lua new file mode 100644 index 0000000..09ed77d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/PhaseSoldierTeleportRegion.lua @@ -0,0 +1,31 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local Debug = GS.Debug +local Callbacks = GS.Callbacks +local Player = Game.Player +local BeginTeleportMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Teleport", "") +local TeleportDestination = Support.ImportSingleObject("Teleport Destination Object", "") +local ExitPortal = Support.ImportSingleObject("Exit Portal", "") +Support.RegisterObjectTemplateVariable("Enter Teleport Effect", "Enter Teleport Effect.") +Support.RegisterObjectTemplateVariable("Exit Teleport Effect", "Exit Teleport Effect.") +local myObject = Game.GetMyObject() + +function OnAnyUsablesStartedUsing(usedObjectMsg) + local teleportLocation = Game.GetPosition(TeleportDestination) + local teleportRotation = Game.GetRotation(TeleportDestination) + local playerContObject = Player.GetPlayerControlledObjectByIndex(usedObjectMsg.userPlayerIndex) + local playerLocation = Game.GetPosition(playerContObject) + Game.Spawn("Enter Teleport Effect", playerLocation) + Game.Spawn("Exit Teleport Effect", teleportLocation) + Game.SendTextMessage(myObject, "StartPhaseWallFX") + Game.SendTextMessage(ExitPortal, "StartPhaseWallFX") + if Player.IsLocalPlayer(usedObjectMsg.userPlayerIndex) then + Game.TeleportObjectWithRotation(playerContObject, teleportLocation, teleportRotation) + Game.SetLookDirection(playerContObject, teleportRotation) + local playerObject = Player.GetPlayerObjectByIndex(usedObjectMsg.userPlayerIndex) + Game.SendMissionEventMessage(playerObject, BeginTeleportMsgId) + end +end + +Callbacks.RegisterForMsg(GS.MsgCallback.UsablesStartUsingMessage, myObject, "OnAnyUsablesStartedUsing") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulCoinPickupLogic.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulCoinPickupLogic.lua new file mode 100644 index 0000000..60ab3c1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulCoinPickupLogic.lua @@ -0,0 +1,66 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Player = Game.Player +local Support = GS.Support +local Debug = GS.Debug +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GS.Utilities +local MP = Game.MP +local Physics = Game.Physics +local Score = GS.FEARScore +local PointAward = Support.ImportFloatVariable("Soul Point Value", "The number of soul points awarded when this object is picked up.") +local DespawnTimer = Support.ImportFloatVariable("Despawn Timer", "The number of seconds to despawn after.") +local OnePlayerPointScalar = Support.ImportFloatVariableWithDefault("OnePlayerPointScalar", "The scalar to scale point values for only one player.", 1) +local MyObject = Game.GetMyObject() + +function GetActualNumPlayers() + local ActualNumPlayers = 0 + local numPlayers = Player.GetNumPlayers() + for index = GS.PlayerIndex.kGlobalPlayer1, numPlayers do + if Player.IsActivePlayer(index) then + ActualNumPlayers = ActualNumPlayers + 1 + end + end + return ActualNumPlayers +end + +function GivePlayerPoints(PlayerIndex, PointAmount) + Score.AwardMissionPointOccurences(PlayerIndex, GameScript.MissionScoreCategory.Souls, 1) + Score.AwardMissionPoints(PlayerIndex, GameScript.MissionScoreCategory.Souls, GetModifiedPoints(PointAmount)) +end + +function GetModifiedPoints(Points) + local points = Points + if GetActualNumPlayers() <= 1 then + points = points * OnePlayerPointScalar + end + if points < 10 then + points = 10 + end + return math.floor(points) +end + +function OnEnterRegion(PlayerHandle) + local PlayerIndex = Player.GetPlayerIndexByObject(PlayerHandle.object) + if Game.IsNeutral(PlayerHandle.object) then + return + end + if Game.AreAllies(MyObject, PlayerHandle.object) then + return + end + GivePlayerPoints(PlayerIndex, PointAward) + DespawnMe() +end + +function DespawnMe() + Game.Kill(MyObject, 1) +end + +if not MP.IsClient() then + Callbacks.RegisterPlayerEnterExitRegion(MyObject, "OnEnterRegion", "") + if 0 < DespawnTimer then + Callbacks.RegisterForTimer("DespawnMe", DespawnTimer, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterAIScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterAIScript.lua new file mode 100644 index 0000000..4165ce1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterAIScript.lua @@ -0,0 +1,27 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Player = Game.Player +local Debug = GS.Debug +local Self = Game.GetMyObject() +local PlayerIndex = Player.GetPlayerIndexByObject(Self) +local GlowComponent = Support.RegisterComponentHandle("Glow Rendering Component") +local EnableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Enable Glow", "") +local DisableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Disable Glow", "") +local spectreStunSlowTime = Support.ImportFloatVariableWithDefault("spectre Stun Slow Duration", "The length of time a player stays slowed when hit with the spectres blast.", 4) +local GlowForcedEnabled = false +local IsSlowed = false + +function ProcessMissionEventMessage(missionEventMsg) + if missionEventMsg.textID == EnableGlowMsgId and not GlowForcedEnabled then + Game.EnableComponent(GlowComponent, true) + GlowForcedEnabled = true + elseif missionEventMsg.textID == DisableGlowMsgId and GlowForcedEnabled then + Game.EnableComponent(GlowComponent, false) + GlowForcedEnabled = false + end +end + +Game.EnableComponent(GlowComponent, false) +Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, Self, "ProcessMissionEventMessage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGhost.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGhost.lua new file mode 100644 index 0000000..3e286c1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGhost.lua @@ -0,0 +1,117 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Energy = GS.Game.Energy +local Support = GS.Support +local Game = GS.Game +local Player = Game.Player +local Camera = Game.Camera +local Graphics = Game.Graphics +local Debug = GS.Debug +Support.ImportWatchVariable("Possession State", "What possession state we're currently in") +local PossessionTransform = Support.ImportWatchVariable("Possession Transform", "A watch variable controlling the filter blend to the possessed view.") +local PossessionTimeRemaining = Support.ImportWatchVariable("Possession Time Remaining", "How much possession time is left") +Support.ImportWatchVariable("Possessed Riding", "Observes whether we are possessing AND driving a vehicle") +local SpirtMeterAddAmt = Support.ImportFloatVariableWithDefault("Spirit Meter Add Amount", "Amount of Spirit energy to add when player runs out of Possession time", 0.5) +local kPossessionNone = 0 +local kPossessionFailAcquiring = 1 +local kPossessionAcquiring = 2 +local kPossessionAcquired = 3 +local kPossessionRiding = 4 +local energyIndex = Support.RegisterComponentHandle("Ghost Power Meter") +local CurrentPossessionState = kPossessionNone +local scriptObject = Game.GetMyObject() +local playerIndex = Player.GetPlayerIndexByObject(scriptObject) +local hitPointIndex = Support.ImportFloatVariable("Standard HP Priority", "Priority level from the HP Controller Component") +local isInvulnerable = false +local lowPossessionThreshold = 5 +local TriggerCameraFilter = false +local kRidingStateNone = 0 +local PossessedRidingState = kRidingStateNone +local CurrentFilterGroup = -1 + +function PossessionEnded(msgInfo) + Energy.SetEnergyLevel(energyIndex, SpirtMeterAddAmt) +end + +function InvulnerableTimeout() + if CurrentPossessionState == 0 then + isInvulnerable = false + Game.SetHitPointPriorityInvulnerable(scriptObject, hitPointIndex, false) + end +end + +function HandlePossessionChange(NewState) + if CurrentPossessionState == kPossessionNone then + Game.SetHitPointPriorityInvulnerable(scriptObject, hitPointIndex, true) + isInvulnerable = true + end + if NewState == kPossessionRiding then + TriggerCameraFilter = false + elseif NewState == kPossessionNone then + Callbacks.RegisterForTimer("InvulnerableTimeout", 0.75, false) + end + CurrentPossessionState = NewState +end + +function CheckPeriodically() + if Player.IsLocalPlayer(playerIndex) then + local NewFiltergroup = Camera.GetFilterGroupForPlayer(playerIndex, 0) + if NewFiltergroup and NewFiltergroup ~= CurrentFilterGroup then + Graphics.SetNamedMaterialScalar(NewFiltergroup, "FettelXform", PossessionTransform) + CurrentFilterGroup = NewFiltergroup + end + end +end + +function UpdatePossessionState(msg) + HandlePossessionChange(msg.newValue) +end + +function UpdatePossessionTransform(msg) + PossessionTransform = msg.newValue + local NewFiltergroup = Camera.GetFilterGroupForPlayer(playerIndex, 0) + if NewFiltergroup and NewFiltergroup ~= CurrentFilterGroup then + Graphics.SetNamedMaterialScalar(NewFiltergroup, "FettelXform", PossessionTransform) + CurrentFilterGroup = NewFiltergroup + end +end + +function UpdatePossessionTimeRemaining(msg) + PossessionTimeRemaining = msg.newValue + if CurrentPossessionState == kPossessionRiding and TriggerCameraFilter == false and PossessionTimeRemaining <= lowPossessionThreshold then + Game.SendTextMessage(scriptObject, "LowPossessionEnergy") + TriggerCameraFilter = true + end +end + +local PrintXVal, PrintYVal + +function MakeBooleanIntoText(Boolean) + if Boolean == true then + return "true" + else + return "false" + end +end + +function PrintToScreen(Message) + Debug.PrintToScreen(Message, PrintXVal, PrintYVal) + PrintYVal = PrintYVal + 0.025 +end + +function DisplayStats() + PrintXVal = 0.1 + PrintYVal = 0.1 + PrintToScreen("PossessionTransform: " .. PossessionTransform) + PrintToScreen("PossessionTimeRemaining: " .. PossessionTimeRemaining) + PrintToScreen("CurrentPossessionState: " .. CurrentPossessionState) + PrintToScreen("TriggerCameraFilter: " .. MakeBooleanIntoText(TriggerCameraFilter)) + PrintToScreen("PossessedRidingState: " .. PossessedRidingState) +end + +Callbacks.RegisterForWatchVariableChange("Possession State", "UpdatePossessionState") +Callbacks.RegisterForWatchVariableChange("Possession Time Remaining", "UpdatePossessionTimeRemaining") +if Player.IsLocalPlayer(playerIndex) then + Callbacks.RegisterForWatchVariableChange("Possession Transform", "UpdatePossessionTransform") +end +Callbacks.RegisterForMsg(GS.MsgCallback.PossessionEndedMessage, scriptObject, "PossessionEnded") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGlowScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGlowScript.lua new file mode 100644 index 0000000..55e2803 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGlowScript.lua @@ -0,0 +1,79 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Player = Game.Player +local MP = Game.MP +local FEARScore = GS.FEARScore +local Self = Game.GetMyObject() +local MyPlayerIndex = Player.GetPlayerIndexByObject(Self) +local Souls = GS.MissionScoreCategory.Souls +local GlowComponent = Support.RegisterComponentHandle("Glow Rendering Component") +local EnableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Enable Glow", "") +local DisableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Disable Glow", "") +local GlowForcedEnabled = false +local LeaderParticlesEnabled = false + +function GetPlayerScore(PlayerIndex) + return FEARScore.GetCurrentRoundPoints(PlayerIndex, Souls) +end + +function AmITheKing() + local numPlayers = Player.GetNumPlayers() + local LeaderPoints = 0 + local LeaderIndex = GS.PlayerIndex.kNotAGlobalPlayer + for CurPlayer = GS.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if Player.IsActivePlayer(CurPlayer) then + local Score = GetPlayerScore(CurPlayer) + if LeaderPoints < Score then + LeaderPoints = Score + LeaderIndex = CurPlayer + end + end + end + if LeaderIndex == MyPlayerIndex then + return true + end + return false +end + +function GlowUpdate() + if MyPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + if AmITheKing() == true then + if not LeaderParticlesEnabled then + Game.EnableComponent(GlowComponent, true) + Game.SendTextMessage(Self, "EnableLeaderParticles") + LeaderParticlesEnabled = true + end + elseif LeaderParticlesEnabled then + if not GlowForcedEnabled then + Game.EnableComponent(GlowComponent, false) + end + Game.SendTextMessage(Self, "DisableLeaderParticles") + LeaderParticlesEnabled = false + end + end +end + +function ProcessMissionEventMessage(missionEventMsg) + if missionEventMsg.textID == EnableGlowMsgId and not GlowForcedEnabled then + Game.EnableComponent(GlowComponent, true) + GlowForcedEnabled = true + elseif missionEventMsg.textID == DisableGlowMsgId and GlowForcedEnabled then + GlowForcedEnabled = false + if MyPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + if LeaderParticlesEnabled ~= true then + Game.EnableComponent(GlowComponent, false) + end + else + Game.EnableComponent(GlowComponent, false) + end + end +end + +Game.EnableComponent(GlowComponent, false) +if MyPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + Callbacks.RegisterForTimer("GlowUpdate", 0.5, true) +end +Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, Self, "ProcessMissionEventMessage") +Game.SendTextMessage(Self, "DisableLeaderParticles") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPlayerScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPlayerScript.lua new file mode 100644 index 0000000..79e8bcd --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPlayerScript.lua @@ -0,0 +1,369 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Debug = GS.Debug +local Player = Game.Player +local Physics = Game.Physics +local MP = Game.MP +local Utilities = GS.Utilities +local mpAward = GS.MPAwardType +local Msg = GS.MsgCallback +local ObjectTags = Game.ObjectTags +local FEAR = GS.FEAR +local FEARScore = GS.FEARScore +local Energy = Game.Energy +local MyObject = Game.GetMyObject() +local MyPlayerIndex = Player.GetPlayerIndexByObject(MyObject) +local Souls = GS.MissionScoreCategory.Souls +local NonKingPeriodicPointAccrualAmount = Support.ImportFloatVariableWithDefault("Periodic Point Accrual Ammount", "The number of soul points awarded at every interval while possessing.", 1) +local NonKingPointAccrualTimerInterval = Support.ImportFloatVariableWithDefault("Point Accrual Timer Interval", "The time interval (in seconds) at which to accrue points while possessing.", 1) +local PointDeductionTimerInterval = Support.ImportFloatVariableWithDefault("Point Deduction Timer Interval", "The time interval (in seconds) at which to deduct points while NOT possessing.", 1) +local PeriodicPointDeductionAmount = Support.ImportFloatVariableWithDefault("Periodic Point Deduction Ammount", "The number of soul points removed at every interval while NOT possessing.", 1) +local KingPeriodicPointAccrualAmount = Support.ImportFloatVariableWithDefault("King Periodic Point Accrual Ammount", "The number of soul points awarded at every interval while possessing for the king.", 1) +local KingPointAccrualTimerInterval = Support.ImportFloatVariableWithDefault("King Point Accrual Timer Interval", "The time interval (in seconds) at which to accrue points while possessing for the king.", 1) +local KingEnergyFillRate = Support.ImportFloatVariableWithDefault("King Energy Fill Rate", "The energy fill rate for the king", 0.75) +local PowerMeter = Support.RegisterComponentHandle("Ghost Power Meter") +PeriodicPointDeductionAmount = PeriodicPointDeductionAmount * -1 +local PeriodicPointAmount = NonKingPeriodicPointAccrualAmount +local PeriodicPointInterval = NonKingPointAccrualTimerInterval +local GracePeriod = Support.ImportFloatVariableWithDefault("Grace Period Length", "The time (in seconds) the player is invulnerable after respawning.", 3) +local bUsingGracePeriodInvulnerability = false +Support.ExportFloatVariable("CanTeleport", 0, "Hack extern/export variable for the telporters to check if this player can teleport.") +local bIsPossessing = false +local bIsKing = false +local bIsKingClient = false +local KingCount = 0 +local NumTimesKingPointsAdded = 0 +local StartRoundMessageText = Support.ImportStaticTextVariable("MissionEvent: Start Round", "") +local EndRoundMessageText = Support.ImportStaticTextVariable("MissionEvent: End Round", "") +local BecomeKingText = Support.ImportStaticTextVariable("MissionEvent: Become King", "The text event for becoming king.") +local LoseKingText = Support.ImportStaticTextVariable("MissionEvent: Lose King", "The text event for losing king.") +local bShouldDoPeriodicPoints = true +local kPointMessageRoundOff = 50 +local kPointMessageDisplayTime = 0.5 +local TeleportTimer = 0 +local BeginTeleportMsgId = Support.ImportStaticTextVariable("MissionEvent: Begin Teleport", "") +local TimeBetweenTeleports = Support.ImportFloatVariableWithDefault("Time Between Teleports", "The amount of time between teleports allowed.", 10) +local YScreenPosDelta = -0.05 +local YInitialScreenPos = 0.9 +local XInitialScreenPos = 0.025 + +function GetMyScore() + return GetPlayerScore(MyPlayerIndex) +end + +function GetPlayerScore(PlayerIndex) + return FEARScore.GetCurrentRoundPoints(PlayerIndex, Souls) +end + +local LastUpdateScore = GetMyScore() +local spectreStunSlowTime = Support.ImportFloatVariableWithDefault("spectre Stun Slow Duration", "The length of time a player stays slowed when hit with the spectres blast.", 4) +local IsSlowed = false +local AwardingPeriodicPoints = false + +function GivePlayerPoints(PointAmount) + FEARScore.AwardMissionPoints(MyPlayerIndex, Souls, PointAmount) +end + +function RoundPoints(Points) + local Scalar = 5 + Points = Points / Scalar + Points = math.floor(Points) + Points = Points * Scalar + return Points +end + +function ProcessPlayerScore() + if Player.IsLocalPlayer(MyPlayerIndex) then + local Score = GetMyScore() + if Score ~= LastUpdateScore then + local Delta = Score - LastUpdateScore + if MP.GetNumberOfActivePlayers() > 1 then + local scoreMultiplier = FEARScore.GetScoreMultiplier() + if Delta > KingPeriodicPointAccrualAmount * scoreMultiplier then + local modifiedRoundOff = kPointMessageRoundOff * scoreMultiplier + local DeltaMinusKingPoints = math.floor(Delta / modifiedRoundOff) * modifiedRoundOff + local announcementID = FEAR.CreateAnnoucementPacket(MyPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "KOS Aquired Points") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, RoundPoints(DeltaMinusKingPoints)) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.SetAnnoucementPacketTime(announcementID, kPointMessageDisplayTime) + FEAR.SendAnnoucementPacket(announcementID) + if DeltaMinusKingPoints > 250 * scoreMultiplier then + Game.SendTextMessage(MyObject, "SFX_GainedLotsOfPoints") + end + end + elseif 0 < Delta then + local announcementID = FEAR.CreateAnnoucementPacket(MyPlayerIndex, GS.AnnouncementDisplayDestination.kDisplayDestinationMarquee, "KOS Aquired Points") + FEAR.AddNumberValueToAnnouncementPacket(announcementID, RoundPoints(Delta)) + FEAR.SetAnnoucementPacketPriority(announcementID, GS.AnnouncementDisplayPriority.kDisplayPriorityMedium) + FEAR.SetAnnoucementPacketTime(announcementID, kPointMessageDisplayTime) + FEAR.SendAnnoucementPacket(announcementID) + if 250 < Delta then + Game.SendTextMessage(MyObject, "SFX_GainedLotsOfPoints") + end + end + end + LastUpdateScore = Score + end +end + +function SoulHunterPlayerUpdate() + if bIsPossessing and TeleportTimer <= 0 then + local playerObject = Player.GetPlayerControlledObjectByIndex(MyPlayerIndex) + local doesHaveTeleportTag = ObjectTags.DoesObjectHaveTag(playerObject, "MPTeleportUser") + if doesHaveTeleportTag then + Extern.CanTeleport = 1 + end + else + Extern.CanTeleport = 0 + if 0 < TeleportTimer then + local delta = Support.GetGameTimeDelta() + TeleportTimer = TeleportTimer - delta + end + end + if AmITheKing() == true then + if bIsKingClient == false then + Energy.SetEnergyFillRate(PowerMeter, KingEnergyFillRate) + bIsKingClient = true + end + elseif bIsKingClient == true then + Energy.ResetEnergyFillRate(PowerMeter) + bIsKingClient = false + end +end + +function SetInvulnerable(bInvulnerable) + Game.SetHitPointPriorityInvulnerable(MyObject, 1, bInvulnerable) +end + +function OnStartRound() + bShouldDoPeriodicPoints = true + EndGracePeriod() + SetInvulnerable(false) +end + +function OnEndRound() + bShouldDoPeriodicPoints = false + EndGracePeriod() + SetInvulnerable(true) +end + +function AdjustPointsPeriodically() + if bShouldDoPeriodicPoints == true then + if PeriodicPointAmount < 0 then + local Score = GetMyScore() + if Score <= 0 then + return + end + end + GivePlayerPoints(PeriodicPointAmount) + end +end + +function SetPointAdjustmentInfo(PointAmount, TimerInterval) + PeriodicPointAmount = PointAmount + PeriodicPointInterval = TimerInterval +end + +function StartPeriodicPointAdjustment() + if not AwardingPeriodicPoints then + AwardingPeriodicPoints = true + Callbacks.RegisterForTimer("AdjustPointsPeriodically", PeriodicPointInterval, true) + end +end + +function StopPeriodicPointAdjustment() + if AwardingPeriodicPoints then + AwardingPeriodicPoints = false + Callbacks.UnregisterForTimer("AdjustPointsPeriodically") + end +end + +function RestartPeriodicPointAdjustment() + StopPeriodicPointAdjustment() + StartPeriodicPointAdjustment() +end + +function ProcessPossessionStartedMessage(possessionMessage) + EndGracePeriod() + bIsPossessing = true + if MP.GetNumberOfActivePlayers() > 1 then + if bIsKing then + SetPointAdjustmentInfo(KingPeriodicPointAccrualAmount, KingPointAccrualTimerInterval) + else + SetPointAdjustmentInfo(NonKingPeriodicPointAccrualAmount, NonKingPointAccrualTimerInterval) + end + RestartPeriodicPointAdjustment() + end +end + +function ProcessPossessionEndedMessage(possessionMessage) + bIsPossessing = false + if MP.GetNumberOfActivePlayers() > 1 then + if bIsKing then + StopPeriodicPointAdjustment() + else + SetPointAdjustmentInfo(NonKingPeriodicPointAccrualAmount, NonKingPointAccrualTimerInterval) + RestartPeriodicPointAdjustment() + end + end +end + +function OnBecomeSoulLeader() + KingCount = KingCount + 1 + bIsKing = true + if 1 < MP.GetNumberOfActivePlayers() then + if bIsPossessing == true then + SetPointAdjustmentInfo(KingPeriodicPointAccrualAmount, KingPointAccrualTimerInterval) + RestartPeriodicPointAdjustment() + else + StopPeriodicPointAdjustment() + end + end +end + +function OnLoseSoulLeader() + KingCount = KingCount - 1 + bIsKing = false + if 1 < MP.GetNumberOfActivePlayers() then + if bIsPossessing == true then + SetPointAdjustmentInfo(NonKingPeriodicPointAccrualAmount, NonKingPointAccrualTimerInterval) + else + SetPointAdjustmentInfo(PeriodicPointDeductionAmount, PointDeductionTimerInterval) + end + RestartPeriodicPointAdjustment() + end +end + +function ProcessDamageMessage(damageMessage) + if damageMessage.nDamageType == 23 then + if IsSlowed then + Callbacks.UnregisterForTimer("EndOfSlowDown") + end + Player.SetVelocityScale(MyObject, 0.2) + Game.SendTextMessage(MyObject, "slowed down by spectre") + Callbacks.RegisterForTimer("EndOfSlowDown", spectreStunSlowTime, false) + IsSlowed = true + end +end + +function EndOfSlowDown(damageMessage) + Player.SetVelocityScale(MyObject, 1) + IsSlowed = false +end + +function EndGracePeriod() + if bUsingGracePeriodInvulnerability == true then + Callbacks.UnregisterForTimer("EndGracePeriod") + bUsingGracePeriodInvulnerability = false + SetInvulnerable(false) + end +end + +function StartGracePeriod() + bUsingGracePeriodInvulnerability = true + SetInvulnerable(true) + Callbacks.RegisterForTimer("EndGracePeriod", GracePeriod, false) +end + +function AmITheKing() + local numPlayers = Player.GetNumPlayers() + local LeaderPoints = 0 + local LeaderIndex = GS.PlayerIndex.kNotAGlobalPlayer + for CurPlayer = GS.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if Player.IsActivePlayer(CurPlayer) then + local Score = GetPlayerScore(CurPlayer) + if LeaderPoints < Score then + LeaderPoints = Score + LeaderIndex = CurPlayer + end + end + end + if LeaderIndex == MyPlayerIndex then + return true + end + return false +end + +function ProcessMissionEventMessage(EventMessage) + if EventMessage.textID == BeginTeleportMsgId then + TeleportTimer = TimeBetweenTeleports + elseif EventMessage.textID == StartRoundMessageText then + OnStartRound() + elseif EventMessage.textID == EndRoundMessageText then + OnEndRound() + elseif EventMessage.textID == BecomeKingText then + OnBecomeSoulLeader() + elseif EventMessage.textID == LoseKingText then + OnLoseSoulLeader() + end +end + +local YStart = 0.1 +local YIncrement = 0.025 +local SmallIncrementVal = YIncrement / 2 +local XStart = 0.05 +local XScreenWidth = 0.2 +local XScreenPos, YScreenPos +local Spacer = "..." + +function MakeBooleanIntoText(Boolean) + if Boolean == true then + return "true" + else + return "false" + end +end + +function Print(Message) + Debug.PrintToScreen(Message, XScreenPos, YScreenPos) +end + +function Increment() + YScreenPos = YScreenPos + YIncrement +end + +function SmallIncrement() + YScreenPos = YScreenPos + SmallIncrementVal +end + +function PrintAndIncrement(Message) + Print(Message) + Increment() +end + +function PlayerDisplay() + XScreenPos = XStart + XScreenWidth * MyPlayerIndex + YScreenPos = YStart + PrintAndIncrement("Player " .. MyPlayerIndex) + PrintAndIncrement("Do Periodic Points? " .. MakeBooleanIntoText(bShouldDoPeriodicPoints)) + PrintAndIncrement("IsKing = " .. MakeBooleanIntoText(bIsKing)) + PrintAndIncrement("King Count: " .. KingCount) + PrintAndIncrement("Possessing?" .. MakeBooleanIntoText(bIsPossessing)) + PrintAndIncrement("Point Adjust Amount: " .. PeriodicPointAmount) + PrintAndIncrement("Point Adjust Timer: " .. PeriodicPointInterval) + PrintAndIncrement("Energy Fill Rate: " .. Energy.GetEnergyFillRate(PowerMeter)) + PrintAndIncrement("Possession Delay: " .. Player.GetPossessionDelay(MyPlayerIndex)) + PrintAndIncrement("Max Possession Time: " .. Player.GetMaxPossessionTime(MyPlayerIndex)) +end + +if MyObject ~= nil then + if not MP.IsClient() then + Callbacks.RegisterForMsg(GS.MsgCallback.PossessionStartedMessage, MyObject, "ProcessPossessionStartedMessage") + Callbacks.RegisterForMsg(GS.MsgCallback.PossessionEndedMessage, MyObject, "ProcessPossessionEndedMessage") + if AmITheKing() == true then + OnBecomeSoulLeader() + else + OnLoseSoulLeader() + KingCount = 0 + end + end + Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, MyObject, "ProcessMissionEventMessage") + if Player.IsLocalPlayer(MyPlayerIndex) then + Callbacks.RegisterForMsg(GS.MsgCallback.DamageMessage, MyObject, "ProcessDamageMessage") + Callbacks.RegisterForTimer("ProcessPlayerScore", 0.5, true) + end + StartGracePeriod() + Callbacks.RegisterForTimer("SoulHunterPlayerUpdate", 0.25, true) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPossessedScript.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPossessedScript.lua new file mode 100644 index 0000000..2f09898 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPossessedScript.lua @@ -0,0 +1,133 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Player = Game.Player +local MP = Game.MP +local Debug = GS.Debug +local FEARScore = GS.FEARScore +local Souls = GS.MissionScoreCategory.Souls +local GlowComponent = Support.RegisterComponentHandle("Glow Rendering Component") +local EnableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Enable Glow", "") +local DisableGlowMsgId = Support.ImportStaticTextVariable("MissionEvent: Disable Glow", "") +local spectreStunSlowTime = Support.ImportFloatVariableWithDefault("spectre Stun Slow Duration", "The length of time a player stays slowed when hit with the spectres blast.", 4) +local KingBodyToBodyDelay = Support.ImportFloatVariableWithDefault("Body To Body Delay", "The body to body delay for the king", 1) +local KingMaxPossessionTime = Support.ImportFloatVariableWithDefault("King Max Possession Time", "The king's max possession time.", 120) +local NormalMaxPossessionTime = Support.ImportFloatVariableWithDefault("Normal Max Possession Time", "The king's max possession time", 60) +local Self = Game.GetMyObject() +local bActorControlChanged = false +local myPlayerIndex = Player.GetPlayerIndexByObject(Self) +local bGlowForcedEnabled = false +local bIsSlowed = false +local bLeaderParticlesEnabled = false + +function GetPlayerScore(PlayerIndex) + return FEARScore.GetCurrentRoundPoints(PlayerIndex, Souls) +end + +function AmITheKing() + local numPlayers = Player.GetNumPlayers() + local LeaderPoints = 0 + local LeaderIndex = GS.PlayerIndex.kNotAGlobalPlayer + for CurPlayer = GS.PlayerIndex.kGlobalPlayer1, numPlayers - 1 do + if Player.IsActivePlayer(CurPlayer) then + local Score = GetPlayerScore(CurPlayer) + if LeaderPoints < Score then + LeaderPoints = Score + LeaderIndex = CurPlayer + end + end + end + if LeaderIndex == myPlayerIndex then + return true + end + return false +end + +function PossessedScriptUpdate() + if bActorControlChanged == true then + myPlayerIndex = Player.GetPlayerIndexByObject(Self) + bActorControlChanged = false + end + if myPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + if AmITheKing() == true then + if not bLeaderParticlesEnabled then + Player.SetPossessionDelay(myPlayerIndex, KingBodyToBodyDelay) + Player.SetMaxPossessionTime(myPlayerIndex, KingMaxPossessionTime) + Game.EnableComponent(GlowComponent, true) + Game.SendTextMessage(Self, "EnableLeaderParticles") + bLeaderParticlesEnabled = true + end + elseif bLeaderParticlesEnabled then + if not bGlowForcedEnabled then + Game.EnableComponent(GlowComponent, false) + end + Player.SetMaxPossessionTime(myPlayerIndex, NormalMaxPossessionTime) + Game.SendTextMessage(Self, "DisableLeaderParticles") + bLeaderParticlesEnabled = false + end + end +end + +function ProcessMissionEventMessage(missionEventMsg) + if missionEventMsg.textID == EnableGlowMsgId and not bGlowForcedEnabled then + Game.EnableComponent(GlowComponent, true) + bGlowForcedEnabled = true + elseif missionEventMsg.textID == DisableGlowMsgId and bGlowForcedEnabled then + bGlowForcedEnabled = false + if myPlayerIndex ~= GS.PlayerIndex.kNotAGlobalPlayer then + if bLeaderParticlesEnabled ~= true then + Game.EnableComponent(GlowComponent, false) + end + else + Game.EnableComponent(GlowComponent, false) + end + end +end + +function ProcessPossessionEndedMessage(msg) + Support.ExitScript() +end + +function ProcessDamageMessage(damageMessage) + if damageMessage.nDamageType == 23 then + if bIsSlowed then + Callbacks.UnregisterForTimer("EndOfSlowDown") + end + Player.SetVelocityScale(Self, 0.2) + Game.SendTextMessage(Self, "slowed down by spectre") + Callbacks.RegisterForTimer("EndOfSlowDown", spectreStunSlowTime, false) + bIsSlowed = true + end +end + +function EndOfSlowDown(damageMessage) + Player.SetVelocityScale(Self, 1) + bIsSlowed = false +end + +function ProcessActorTakingControl(msg) + ProcessActorControlChanged() +end + +function ProcessActorReleasingControl(msg) + ProcessActorControlChanged() +end + +function ProcessActorControlChanged() + myPlayerIndex = Player.GetPlayerIndexByObject(Self) + PossessedScriptUpdate() + bActorControlChanged = true +end + +Game.EnableComponent(GlowComponent, false) +Game.SendTextMessage(Self, "DisableLeaderParticles") +if Player.IsLocalPlayer(myPlayerIndex) then + Callbacks.RegisterForMsg(GS.MsgCallback.DamageMessage, Self, "ProcessDamageMessage") +end +Callbacks.RegisterForMsg(GS.MsgCallback.MissionEventMessage, Self, "ProcessMissionEventMessage") +Callbacks.RegisterForMsg(GS.MsgCallback.PossessionEndedMessage, Self, "ProcessPossessionEndedMessage") +Callbacks.RegisterForMsg(GS.MsgCallback.ActorTakingControlMessage, Self, "ProcessActorTakingControl") +Callbacks.RegisterForMsg(GS.MsgCallback.ActorReleasingControlMessage, Self, "ProcessActorReleasingChanged") +Callbacks.RegisterForTimer("PossessedScriptUpdate", 0.5, true) +PossessedScriptUpdate() diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SpawnSoulCoinOnDeath.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SpawnSoulCoinOnDeath.lua new file mode 100644 index 0000000..7a9f903 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/SoulHunter/SpawnSoulCoinOnDeath.lua @@ -0,0 +1,36 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local Self = Game.GetMyObject() +local MP = Game.MP +local Msg = GS.MsgCallback +local Debug = GS.Debug +local Utilities = GS.Utilities +local MyObject = Game.GetMyObject() +Support.RegisterObjectTemplateVariable("Spawned Object Template", "") +local spawnOffset = Support.ImportFloatVariableWithDefault("Spawn Offset", "How High Off The Ground To Appear!", 1.35) + +function OnDeath() + local SpawnPos = Game.GetPosition(Self) + SpawnPos.y = SpawnPos.y + spawnOffset + local SpawnedObject = Game.Spawn("Spawned Object Template", SpawnPos) + Game.CopyNation(MyObject, SpawnedObject) +end + +function ExitScript() + Callbacks.UnregisterForMsg(Msg.DoDyingMessage, Self, "OnDeath") + Support.ExitScript() +end + +function OnTextMessage(Message) + if Message.text == "DisableCoinDrop" then + ExitScript() + end +end + +if not MP.IsClient() then + Callbacks.RegisterForMsg(Msg.DoDyingMessage, Self, "OnDeath") + Callbacks.RegisterForMsg(Msg.MPGameOverMsg, Self, "ExitScript") + Callbacks.RegisterForMsg(GS.MsgCallback.TextMessage, Self, "OnTextMessage") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/DoorTeleport.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/DoorTeleport.lua new file mode 100644 index 0000000..fa77b47 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/DoorTeleport.lua @@ -0,0 +1,24 @@ +GameScript.Support.AddDescription("Script to teleport Fettel using an existing object's location and rotation. Will keep trying until it finds fettel and teleports him.") +local Game = GameScript.Game +local Player = Game.Player +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local ObjectTags = Game.ObjectTags +local LocationTable = Support.ImportSingleObject("Teleport Location", "Teleport object to this location") +local RotationTable = Support.ImportSingleObject("Rotation of Location", "Teleport object with orientation to this location") +local TeleportLocation = Game.GetPosition(LocationTable) +local Rotation = Game.GetRotation(RotationTable) +local Region = Game.GetMyObject() + +function Teleport(msg) + local object = msg.object + if Game.IsRiding(object) then + local playerIndex = Player.GetPlayerIndexByObject(object) + object = Player.GetPlayerControlledObjectByIndex(playerIndex) + end + Game.TeleportObjectWithRotation(object, TeleportLocation, Rotation) +end + +Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "Teleport", "") +Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "Teleport", "") diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess.lua new file mode 100644 index 0000000..495a6d7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess.lua @@ -0,0 +1,58 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Game = GS.Game +local Support = GS.Support +local Player = Game.Player +local Utilities = GS.Utilities +local MP = Game.MP +local Debug = GS.Debug +local scriptObject +local possessionAllowed = true +local Suspending = 0 +Support.ExportFloatVariable("FettelCanPossess", 0, "Can Fettel possess people?") +Support.ImportWatchVariable("Possession Allowed", "Used to check if possession is allowed at init time") + +function Initialize() + scriptObject = Game.GetMyObject() + Callbacks.RegisterForMsg(GS.MsgCallback.PossessionAllowedMessage, scriptObject, "HandlePossessionAllowedMsg") + Callbacks.RegisterForMsg(GS.MsgCallback.PlayerCanPossessMessage, scriptObject, "HandlePlayerCanPossessMsg") + local PointManPlayerID = GS.PlayerIndex.kNotAGlobalPlayer + local FettelPlayerID = GS.PlayerIndex.kNotAGlobalPlayer + PointManPlayerID, FettelPlayerID = Utilities.GetPointManFettelIndices() + Extern.FettelCanPossess = 0 + if FettelPlayerID ~= GS.PlayerIndex.kNotAGlobalPlayer and Player.CanPlayerPossess(FettelPlayerID) then + Extern.FettelCanPossess = 1 + end + if Support.GetImportWatchVariableValue("Possession Allowed") == 0 then + possessionAllowed = false + end + UpdateMeshEffect() +end + +function UpdateMeshEffect() + if Extern.FettelCanPossess == 1 and possessionAllowed then + Game.SendTextMessage(scriptObject, "FettelCanPossess") + else + Game.SendTextMessage(scriptObject, "FettelCannotPossess") + end +end + +function HandlePossessionAllowedMsg(msgData) + possessionAllowed = msgData.bAllowed + UpdateMeshEffect() +end + +function HandlePlayerCanPossessMsg(msgData) + if msgData.bCanPossess then + Extern.FettelCanPossess = 1 + else + Extern.FettelCanPossess = 0 + end + UpdateMeshEffect() +end + +if MP.GetGameMode() == GS.MPGameMode.kCoop then + Initialize() +else + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalMultiWarningTetherZones.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalMultiWarningTetherZones.lua new file mode 100644 index 0000000..a5e38e1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalMultiWarningTetherZones.lua @@ -0,0 +1,293 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Utilities = GameScript.Utilities +local SafeZoneObjPtr = Support.ImportSingleObject("Safe Zone", "Zone that allows Fettel to escape being tethered") +local WarningZone1ObjPtr = Support.ImportSingleObject("Warning Zone 1", "Zone that causes Fettel to see low warning FX") +local WarningZone2ObjPtr = Support.ImportSingleObject("Warning Zone 2", "Zone that causes Fettel to see medium warning FX") +local WarningZone3ObjPtr = Support.ImportSingleObject("Warning Zone 3", "Zone that causes Fettel to see high warning FX") +local TetherZoneObjPtr = Support.ImportSingleObject("Tether Zone", "Zone that causes Fettel to be tethered (with timeout FX)") +local ClearBreadcrumbs = Support.ImportBoolVariableWithDefault("Clear Breadcrumbs", "Turn this on if the tether region is placed such that PM's tether breadcrumbs should no be used", false) +local DisableRegions = Support.ImportFloatVariableWithDefault("Number of Disable Regions", "Number of region levels that will disable this tether block, starting at the Tether and working back to Safe. Max is 5, min is 1", 5) +local SpawnTagSet = Support.ImportSetObject("Spawn Tag Set", "Object containing a set of spawn tag objects") +local LocalTimeoutPeriod = 0.01 +local Warning1Pct = 0.3 +local Warning2Pct = 0.6 +local Warning3Pct = 0.8 +local anchorPlayerID = GameScript.PlayerIndex.kGlobalPlayer1 +local tetherPlayerID = GameScript.PlayerIndex.kGlobalPlayer2 +local anchorPlayerInSafe = false +local anchorPlayerInWarning1 = false +local anchorPlayerInWarning2 = false +local anchorPlayerInWarning3 = false +local anchorPlayerInTether = false +local tetherPlayerInSafe = false +local tetherPlayerInWarning1 = false +local tetherPlayerInWarning2 = false +local tetherPlayerInWarning3 = false +local tetherPlayerInTether = false +local currentTetherZone = GameScript.TetherZone.kZoneSafe +local timeoutLock = false +local tetherSpawnTagOverride = false + +function Initialize() + Callbacks.RegisterPlayerEnterExitRegion(SafeZoneObjPtr, "PlayerEnteredSafeZone", "PlayerExitedSafeZone") + Callbacks.RegisterPlayerEnterExitRegion(WarningZone1ObjPtr, "PlayerEnteredWarning1Zone", "PlayerExitedWarning1Zone") + Callbacks.RegisterPlayerEnterExitRegion(WarningZone2ObjPtr, "PlayerEnteredWarning2Zone", "PlayerExitedWarning2Zone") + Callbacks.RegisterPlayerEnterExitRegion(WarningZone3ObjPtr, "PlayerEnteredWarning3Zone", "PlayerExitedWarning3Zone") + Callbacks.RegisterPlayerEnterExitRegion(TetherZoneObjPtr, "PlayerEnteredTetherZone", "PlayerExitedTetherZone") + if 5 < DisableRegions then + DisableRegions = 5 + elseif DisableRegions < 1 then + DisableRegions = 1 + end +end + +function GetPlayerIndicies() + anchorPlayerID, tetherPlayerID = Utilities.GetPointManFettelIndices() +end + +function DisableScript() + if Player.IsLocalPlayer(tetherPlayerID) then + Player.SetLocalTetherZone(tetherPlayerID, GameScript.TetherZone.kZoneSafe) + end + if tetherSpawnTagOverride then + Player.DisableTetherSpawnTagSet(SpawnTagSet) + end + Support.ExitScript() +end + +function TimeoutLockDone() + timeoutLock = false +end + +function CheckTetherZone() + local anchorPlayerWarningZonePct = 0 + local tetherPlayerWarningZonePct = 0 + local anchorPlayerRegion = 0 + local tetherPlayerRegion = 0 + local anchorPlayerZone = GameScript.TetherZone.kZoneSafe + if anchorPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + if anchorPlayerInTether then + anchorPlayerZone = GameScript.TetherZone.kZoneTimeout + anchorPlayerWarningZonePct = 1 + anchorPlayerRegion = 5 + if ClearBreadcrumbs then + Player.ClearTetherBreadcrumbs(anchorPlayerID) + end + elseif anchorPlayerInWarning3 then + anchorPlayerZone = GameScript.TetherZone.kZoneWarning + anchorPlayerWarningZonePct = Warning3Pct + anchorPlayerRegion = 4 + elseif anchorPlayerInWarning2 then + anchorPlayerZone = GameScript.TetherZone.kZoneWarning + anchorPlayerWarningZonePct = Warning2Pct + anchorPlayerRegion = 3 + elseif anchorPlayerInWarning1 then + anchorPlayerZone = GameScript.TetherZone.kZoneWarning + anchorPlayerWarningZonePct = Warning1Pct + anchorPlayerRegion = 2 + elseif anchorPlayerInSafe then + anchorPlayerRegion = 1 + end + end + local tetherPlayerZone = GameScript.TetherZone.kZoneSafe + if tetherPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + if tetherPlayerInTether then + tetherPlayerZone = GameScript.TetherZone.kZoneTimeout + tetherPlayerWarningZonePct = 1 + tetherPlayerRegion = 5 + elseif tetherPlayerInWarning3 then + tetherPlayerZone = GameScript.TetherZone.kZoneWarning + tetherPlayerWarningZonePct = Warning3Pct + tetherPlayerRegion = 4 + elseif tetherPlayerInWarning2 then + tetherPlayerZone = GameScript.TetherZone.kZoneWarning + tetherPlayerWarningZonePct = Warning2Pct + tetherPlayerRegion = 3 + elseif tetherPlayerInWarning1 then + tetherPlayerZone = GameScript.TetherZone.kZoneWarning + tetherPlayerWarningZonePct = Warning1Pct + tetherPlayerRegion = 2 + elseif tetherPlayerInSafe then + tetherPlayerRegion = 1 + end + end + if (anchorPlayerID == GameScript.PlayerIndex.kNotAGlobalPlayer or anchorPlayerRegion > 5 - DisableRegions) and (tetherPlayerID == GameScript.PlayerIndex.kNotAGlobalPlayer or tetherPlayerRegion > 5 - DisableRegions) then + DisableScript() + return + end + if Player.IsLocalPlayer(tetherPlayerID) and not timeoutLock and anchorPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + local newTetherZone = GameScript.TetherZone.kZoneSafe + local newWarningPct = 0 + if anchorPlayerRegion > tetherPlayerRegion then + newTetherZone = anchorPlayerZone + newWarningPct = anchorPlayerWarningZonePct + else + newTetherZone = tetherPlayerZone + newWarningPct = tetherPlayerWarningZonePct + end + if SpawnTagSet and Game.IsLoaded(SpawnTagSet) then + if 0 < anchorPlayerRegion and not tetherSpawnTagOverride then + Player.EnableTetherSpawnTagSet(SpawnTagSet) + tetherSpawnTagOverride = true + elseif anchorPlayerRegion == 0 and tetherSpawnTagOverride then + Player.DisableTetherSpawnTagSet(SpawnTagSet) + tetherSpawnTagOverride = false + end + end + if newTetherZone ~= currentTetherZone then + if newTetherZone == GameScript.TetherZone.kZoneTimeout then + timeoutLock = true + Player.SetLocalTetherTimeoutPeriod(tetherPlayerID, LocalTimeoutPeriod) + Callbacks.RegisterForTimer("TimeoutLockDone", LocalTimeoutPeriod, false) + end + Player.SetLocalTetherZone(tetherPlayerID, newTetherZone) + currentTetherZone = newTetherZone + end + Player.SetLocalTetherWarningPct(tetherPlayerID, newWarningPct) + end +end + +function PlayerEnteredSafeZone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInSafe = true + elseif playerIndex == tetherPlayerID then + tetherPlayerInSafe = true + end + CheckTetherZone() +end + +function PlayerExitedSafeZone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInSafe = false + elseif playerIndex == tetherPlayerID then + tetherPlayerInSafe = false + end + CheckTetherZone() +end + +function PlayerEnteredWarning1Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning1 = true + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning1 = true + end + CheckTetherZone() +end + +function PlayerExitedWarning1Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning1 = false + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning1 = false + end + CheckTetherZone() +end + +function PlayerEnteredWarning2Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning2 = true + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning2 = true + end + CheckTetherZone() +end + +function PlayerExitedWarning2Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning2 = false + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning2 = false + end + CheckTetherZone() +end + +function PlayerEnteredWarning3Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning3 = true + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning3 = true + end + CheckTetherZone() +end + +function PlayerExitedWarning3Zone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInWarning3 = false + elseif playerIndex == tetherPlayerID then + tetherPlayerInWarning3 = false + end + CheckTetherZone() +end + +function PlayerEnteredTetherZone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInTether = true + elseif playerIndex == tetherPlayerID then + tetherPlayerInTether = true + end + CheckTetherZone() +end + +function PlayerExitedTetherZone(msgData) + if msgData.object == nil then + return + end + GetPlayerIndicies() + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + anchorPlayerInTether = false + elseif playerIndex == tetherPlayerID then + tetherPlayerInTether = false + end + CheckTetherZone() +end + +Initialize() diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalTetherSpawnTags.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalTetherSpawnTags.lua new file mode 100644 index 0000000..3650046 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/LocalTetherSpawnTags.lua @@ -0,0 +1,33 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local SpawnTagSet = Support.ImportSetObject("Spawn Tag Set", "Object containing a set of spawn tag objects") +local PlayerRegion = Support.ImportRegionObject("Region", "Region that will activate the set when Player 1 is inside") +local anchorPlayerID = GameScript.PlayerIndex.kGlobalPlayer1 + +function Initialize() + Callbacks.RegisterPlayerEnterExitRegion(PlayerRegion, "PlayerEnterRegion", "PlayerExitRegion") +end + +function PlayerEnterRegion(msgData) + if msgData.object == nil then + return + end + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + Player.EnableTetherSpawnTagSet(SpawnTagSet) + end +end + +function PlayerExitRegion(msgData) + if msgData.object == nil then + return + end + local playerIndex = Player.GetPlayerIndexByObject(msgData.object) + if playerIndex == anchorPlayerID then + Player.DisableTetherSpawnTagSet(SpawnTagSet) + end +end + +Initialize() diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/SpawnFettelSkullOnDeath.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/SpawnFettelSkullOnDeath.lua new file mode 100644 index 0000000..ccbb56f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/SpawnFettelSkullOnDeath.lua @@ -0,0 +1,74 @@ +local GS = GameScript +local Callbacks = GS.Callbacks +local Support = GS.Support +local Game = GS.Game +local MP = Game.MP +local Msg = GS.MsgCallback +local Util = GS.Utilities +local Math3d = GS.LuaMath3d +local Debug = GS.Debug +local MyObject = Game.GetMyObject() +local Offset = Support.ImportFloatVariable("Offset", "Offset from ground.") +local CurrentGameDifficulty = Support.ImportWatchVariable("Current Game Difficulty", "What difficulty is the game currently being played?") +Support.RegisterObjectTemplateVariable("Easy - Spawned Object Template", "This is the power-up object template to spawn on Easy") +Support.RegisterObjectTemplateVariable("Normal - Spawned Object Template", "This is the power-up object template to spawn on Normal") +Support.RegisterObjectTemplateVariable("Hard - Spawned Object Template", "This is the power-up object template to spawn on Hard") +Support.RegisterObjectTemplateVariable("Insane - Spawned Object Template", "This is the power-up object template to spawn on Insane") + +function OnDoDying() + OnDeath() +end + +function OnDeath() + if MP.IsClient() then + return + end + local initialPos = Game.GetPosition(MyObject) + initialPos.y = initialPos.y + 0.5 + local directionPos = Game.GetPosition(MyObject) + directionPos.y = directionPos.y - 1 + local RayCastVector = Math3d.VectorSubtract(directionPos, initialPos) + local vectorLength = Math3d.VectorNormalize(RayCastVector) + local CollisionGroup = GS.CollisionGroups.PlayerPeople + local Options = { + dist = 10, + collisGroup = CollisionGroup, + checkProxies = false + } + local ResultsTable = Util.GetRayCollisionDistance(initialPos, RayCastVector, Options) + SpawnPos = Game.GetPosition(MyObject) + SpawnPos.y = SpawnPos.y + 0.5 + Offset + if ResultsTable.hasHit then + SpawnPos.y = SpawnPos.y - ResultsTable.collisDist + end + CurrentGameDifficulty = Support.GetImportWatchVariableValue("Current Game Difficulty") + local SpawnedObject + if CurrentGameDifficulty == 0 then + SpawnedObject = Game.Spawn("Easy - Spawned Object Template", SpawnPos) + elseif CurrentGameDifficulty == 1 then + SpawnedObject = Game.Spawn("Normal - Spawned Object Template", SpawnPos) + elseif CurrentGameDifficulty == 2 then + SpawnedObject = Game.Spawn("Hard - Spawned Object Template", SpawnPos) + else + SpawnedObject = Game.Spawn("Insane - Spawned Object Template", SpawnPos) + end + ExitScript() +end + +function ExitScript() + Callbacks.UnregisterForMsg(Msg.DoDyingMessage, MyObject, "OnDoDying") + Callbacks.UnregisterForMsg(Msg.DeleteObjectMessage, MyObject, "OnDeath") + Support.ExitScript() +end + +if MP.IsClient() then + ExitScript() +else + local gameMode = MP.GetGameMode() + if gameMode == GS.MPGameMode.kCoop or gameMode == -1 then + Callbacks.RegisterForMsg(Msg.DoDyingMessage, MyObject, "OnDoDying") + Callbacks.RegisterForMsg(Msg.DeleteObjectMessage, MyObject, "OnDeath") + else + ExitScript() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers.lua new file mode 100644 index 0000000..0d95df6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers.lua @@ -0,0 +1,106 @@ +GameScript.Support.AddDescription("Script to teleport pointman and tether fettel using existing objects' location and rotation. Whole process should take about 1.5-2 seconds.") +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local ObjectTags = Game.ObjectTags +local Callbacks = GameScript.Callbacks +local teleportPointMan = Support.ImportBoolVariableWithDefault("Teleport Point Man?", "Should we teleport Point Man?", true) +local teleportFettel = Support.ImportBoolVariableWithDefault("Teleport Fettel?", "Should we teleport Fettel?", true) +local teleportFettelWithBody = Support.ImportBoolVariableWithDefault("Fettel Keeps Body?", "Does Fettel get to teleport with his body?", true) +local LocationTable1 = Support.ImportSingleObject("Teleport Location 1", "Teleport Point Man to this location") +local RotationTable1 = Support.ImportSingleObject("Rotation of Location 1", "Teleport Point Man with orientation to this location") +local LocationTable2 = Support.ImportSingleObject("Teleport Location 2", "Teleport Fettel to this location if he keeps his body") +local RotationTable2 = Support.ImportSingleObject("Rotation of Location 2", "Teleport Fettel with orientation to this location if he keeps his body") +local SpawnTagSet = Support.ImportSetObject("Spawn Tag Set", "Object containing a set of spawn tag objects to tether Fettel. These should probably be playerspawnlocations that are disabled.") +local PointManPlayerID, FettelPlayerID, PointMan, Fettel +local TeleportLocation1 = Game.GetPosition(LocationTable1) +local Rotation1 = Game.GetRotation(RotationTable1) +local TeleportLocation2 = Game.GetPosition(LocationTable2) +local Rotation2 = Game.GetRotation(RotationTable2) +local PointManIsLocal = false +local FettelIsLocal = false +local FettelAlone = false + +function TeleportPointManAfterEject() + local pm = Player.GetPlayerControlledObjectByIndex(PointManPlayerID) + if pm and TeleportLocation1 and Rotation1 then + Game.TeleportObjectWithRotation(pm, TeleportLocation1, Rotation1) + end +end + +function TeleportFettelAfterEject() + local fet = Player.GetPlayerControlledObjectByIndex(FettelPlayerID) + if fet and TeleportLocation2 and Rotation2 then + Game.TeleportObjectWithRotation(fet, TeleportLocation2, Rotation2) + end +end + +function KillFettelPossessedBody() + Fettel = Player.GetPlayerControlledObjectByIndex(FettelPlayerID) + if Fettel and Game.IsLoaded(Fettel) and not ObjectTags.DoesObjectHaveTag(Fettel, "Fettel") then + Game.Kill(Fettel, 1) + end + Callbacks.RegisterForTimer("TeleportFettelAfterEject", 0.5, false) +end + +function KickFettelOut() + Fettel = Player.GetPlayerControlledObjectByIndex(FettelPlayerID) + if Fettel ~= nil and ObjectTags.DoesObjectHaveTag(Fettel, "Power Armor") then + local InventoryTable = Game.GetInventoryItems(Fettel, 4) + if InventoryTable[1] then + Game.ForceRiderOutOfVehicle(InventoryTable[1], Fettel, true) + end + else + end + if teleportFettelWithBody then + Callbacks.RegisterForTimer("TeleportFettelAfterEject", 0.5, false) + else + Callbacks.RegisterForTimer("KillFettelPossessedBody", 0.5, false) + end +end + +function KickPointManOut() + if PointMan ~= nil then + local InventoryTable = Game.GetInventoryItems(PointMan, 4) + if InventoryTable[1] then + Game.ForceRiderOutOfVehicle(InventoryTable[1], PointMan, true) + end + Callbacks.RegisterForTimer("TeleportPointManAfterEject", 0.5, false) + else + end +end + +function Setup() + PointManPlayerID, FettelPlayerID = Utilities.GetPointManFettelIndices() + if PointManPlayerID == GameScript.PlayerIndex.kNotAGlobalPlayer and FettelPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + FettelAlone = true + end + if PointManPlayerID and PointManPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + PointMan = Player.GetPlayerControlledObjectByIndex(PointManPlayerID) + if PointMan then + PointManIsLocal = Player.IsLocalPlayer(PointManPlayerID) + if PointManIsLocal and teleportPointMan then + if not ObjectTags.DoesObjectHaveTag(PointMan, "Point Man") then + KickPointManOut() + else + TeleportPointManAfterEject(PointMan) + end + end + end + end + if FettelPlayerID and FettelPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + Fettel = Player.GetPlayerControlledObjectByIndex(FettelPlayerID) + if Fettel then + Debug.PrintInfo("Fettel Controlled Object: " .. Game.GetName(Fettel)) + FettelIsLocal = Player.IsLocalPlayer(FettelPlayerID) + Debug.PrintInfo("Fettel Found - Local = " .. tostring(FettelIsLocal)) + if FettelIsLocal and teleportFettel then + Callbacks.RegisterForTimer("KickFettelOut", 1, false) + end + end + end +end + +Setup() diff --git a/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayersautoxyz.lua b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayersautoxyz.lua new file mode 100644 index 0000000..015302f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayersautoxyz.lua @@ -0,0 +1,56 @@ +GameScript.Support.AddDescription("Script to teleport both players using existing objects' location and rotation") +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local ObjectTags = Game.ObjectTags +local teleportPointMan = Support.ImportBoolVariableWithDefault("Teleport Point Man?", "Should we teleport Point Man?", true) +local teleportFettel = Support.ImportBoolVariableWithDefault("Teleport Fettel?", "Should we teleport Fettel?", true) +local teleportFettelWithBody = Support.ImportBoolVariableWithDefault("Fettel Keeps Body?", "Does Fettel get to teleport with his body?", true) +local LocationTable1 = Support.ImportSingleObject("Teleport Location 1", "Teleport Point Man to this location") +local RotationTable1 = Support.ImportSingleObject("Rotation of Location 1", "Teleport Point Man with orientation to this location") +local LocationTable2 = Support.ImportSingleObject("Teleport Location 2", "Teleport Fettel to this location") +local RotationTable2 = Support.ImportSingleObject("Rotation of Location 2", "Teleport Fettel with orientation to this location") +local PointManPlayerID = GameScript.PlayerIndex.kGlobalPlayer1 +local FettelPlayerID = GameScript.PlayerIndex.kGlobalPlayer2 +local PointMan, Fettel +local TeleportLocation1 = Game.GetPosition(LocationTable1) +local Rotation1 = Game.GetRotation(RotationTable1) +local TeleportLocation2 = Game.GetPosition(LocationTable2) +local Rotation2 = Game.GetRotation(RotationTable2) +local PointManIsLocal = false +local FettelIsLocal = false + +function EnterRegion() + if PointManIsLocal and teleportPointMan and TeleportLocation1 and Rotation1 then + Game.TeleportObjectWithRotation(PointMan, TeleportLocation1, Rotation1) + end + if FettelIsLocal and teleportFettel and TeleportLocation2 and Rotation2 then + Game.TeleportObjectWithRotation(Fettel, TeleportLocation2, Rotation2) + end +end + +function Setup() + PointManPlayerID, FettelPlayerID = Utilities.GetPointManFettelIndices() + if PointManPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + PointMan = Player.GetPlayerAvatarObjectByIndex(PointManPlayerID) + if PointMan then + PointManIsLocal = Player.IsLocalPlayer(PointManPlayerID) + Player.ClearTetherBreadcrumbs(PointManPlayerID) + end + end + if FettelPlayerID ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + Fettel = Player.GetPlayerControlledObjectByIndex(FettelPlayerID) + if Fettel then + FettelIsLocal = Player.IsLocalPlayer(FettelPlayerID) + if FettelIsLocal and teleportFettel and not teleportFettelWithBody and not ObjectTags.DoesObjectHaveTag(Fettel, "Fettel") then + Game.Kill(Fettel, 1) + Fettel = Player.GetPlayerAvatarObjectByIndex(FettelPlayerID) + end + end + end +end + +Setup() +EnterRegion() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/HideObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/HideObject.lua new file mode 100644 index 0000000..d582f63 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/HideObject.lua @@ -0,0 +1,9 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local bHide = Support.ImportBoolVariable("Hide", "If true, then we hide the object(s). If false, we unhide them.") +local objsToHide = Support.ImportObjectHandleVariable("Object(s) to Hide", "The object(s) to hide or unhide") +for k, obj in pairs(objsToHide) do + if obj ~= nil then + Game.HideObject(obj, bHide) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Hitpoints/HealDestructibleOnUse.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Hitpoints/HealDestructibleOnUse.lua new file mode 100644 index 0000000..2715dca --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Hitpoints/HealDestructibleOnUse.lua @@ -0,0 +1,56 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local MP = Game.MP +local HealingPerSecond = Support.ImportFloatVariableWithDefault("Healing Per Second", "The amount of healing per second to apply", 50) +Support.ExportFloatVariable("ShouldEnableUsables", 0, "Hack extern/export variable for the ShouldEnableUsables to be passed to clients.") +local myObject = Game.GetMyObject() +local AttemptToHeal = false + +function ApplyHealing(removedObject) + local delta = Support.GetGameTimeDelta() + local healAmount = HealingPerSecond * delta + Game.Heal(myObject, "", healAmount, false) +end + +function OnAnyUsablesStartedUsing(removedObject) + AttemptToHeal = true +end + +function OnAnyUsablesStoppedUsing(removedObject) + AttemptToHeal = false +end + +function CheckForHealingDuringPause(removedObject) + local IsNotDamaged = Game.IsDestructibleInInitialState(myObject) + if IsNotDamaged then + Game.EnableAllUsables(myObject, false) + Extern.ShouldEnableUsables = 0 + AttemptToHeal = false + else + Game.EnableAllUsables(myObject, true) + Extern.ShouldEnableUsables = 1 + if AttemptToHeal then + ApplyHealing() + end + end +end + +function CheckToDisable(removedObject) + if Extern.ShouldEnableUsables == 1 then + Debug.PrintInfo("Damaged") + Game.EnableAllUsables(myObject, true) + else + Debug.PrintInfo("Not Damaged") + Game.EnableAllUsables(myObject, false) + end +end + +if not MP.IsClient() then + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnAnyUsablesStartedUsing") + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, myObject, "OnAnyUsablesStoppedUsing") + Callbacks.RegisterForUpdateEveryFrame("CheckForHealingDuringPause") +else + Callbacks.RegisterForScriptValueUpdated("CheckToDisable") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Invulnerability/SetInvulnerable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Invulnerability/SetInvulnerable.lua new file mode 100644 index 0000000..f1e8cb7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Invulnerability/SetInvulnerable.lua @@ -0,0 +1,9 @@ +local Support = GameScript.Support +local Debug = GameScript.Debug +local Game = GameScript.Game +local ObjectTable = Support.ImportObjectHandleVariable("Object(s)", "This object(s) will be made invulnerable") +local Invulnerable = Support.ImportBoolVariableWithDefault("Invulnerable?", "TRUE makes the objects invulnerable. FALSE makes the vulnerable", true) +local SlotNumber = Support.ImportFloatVariableWithDefault("Slot Number", "The slot number as defined in HitPointControllerComponent", 1) +for key, object in pairs(ObjectTable) do + Game.SetHitPointPriorityInvulnerable(object, SlotNumber, Invulnerable) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/ExplosiveTankScript.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/ExplosiveTankScript.lua new file mode 100644 index 0000000..7354855 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/ExplosiveTankScript.lua @@ -0,0 +1,78 @@ +local Game = GameScript.Game +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local AI = Game.AI +local MP = Game.MP +local myObject = Game.GetMyObject() +if myObject == nil then + return +end +local bTookDamage = false +local bDied = false +local weaponType = -1 +local dmgInfo = {} +dmgInfo.damage = 10000 +dmgInfo.weaponType = -1 +dmgInfo.sourceObject = myObject +dmgInfo.type = "Suicide Mine" +dmgInfo.impactX = 0 +dmgInfo.impactY = 0 +dmgInfo.impactZ = 0 +dmgInfo.sourceX = 0 +dmgInfo.sourceY = 0 +dmgInfo.sourceZ = 0 +dmgInfo.hitReactionProbability = 0 +local attachedObject + +function OnKill(msg) + if myObject == nil then + return + end + local objectAttachedTo = Game.GetObjectAttachedTo(myObject) + if objectAttachedTo == nil then + return + end + if Player.IsPlayerControlled(objectAttachedTo) then + return + end + if AI.IsAIControlled(objectAttachedTo) and not MP.IsClient() then + local killerIndex = msg.killerPlayerIndex + if killerIndex ~= GameScript.PlayerIndex.kNotAGlobalPlayer and Game.GetHitPointPercent(myObject) == 0 then + local killerPlayerAvatar = Player.GetPlayerAvatarObjectByIndex(killerIndex) + if killerPlayerAvatar ~= nil then + dmgInfo.sourceObject = killerPlayerAvatar + end + bDied = true + attachedObject = objectAttachedTo + if bTookDamage then + DoExplosion(objectAttachedTo) + end + else + DoEffects(objectAttachedTo) + end + else + DoEffects(objectAttachedTo) + end +end + +function OnDamage(msg) + bTookDamage = true + dmgInfo.weaponType = msg.nWeaponType + if bDied then + DoExplosion(attachedObject) + end +end + +function DoExplosion(objectAttachedTo) + Game.DamageWithInfo(objectAttachedTo, dmgInfo) + DoEffects(objectAttachedTo) +end + +function DoEffects(objectAttachedTo) + Game.SendTextMessage(objectAttachedTo, "Create_DroneExplode") + Game.Kill(objectAttachedTo, 0) +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, myObject, "OnKill") +Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageMessage, myObject, "OnDamage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillAIOnEnterReg.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillAIOnEnterReg.lua new file mode 100644 index 0000000..5daeb83 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillAIOnEnterReg.lua @@ -0,0 +1,14 @@ +GameScript.Support.AddDescription("Script to kill AI which enter region") +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Region = Support.ImportRegionObject("Region To Monitor", "Region used to monitor for enter and kill objects") +local killType = Support.ImportFloatVariable("Kill Type", "What type of kill message should be sent to the object(s)?" .. "0 = Delete (Instant), 1 = Kill (Effects), 2 = Kill Intro (Recommended)") +local killObject + +function KillObjects(Info) + killObject = Info.object + Game.Kill(killObject, killType) +end + +Callbacks.RegisterAIEnterExitRegion(Region, "KillObjects", "") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillObjectsInRegionWithTag.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillObjectsInRegionWithTag.lua new file mode 100644 index 0000000..86ae529 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/KillObjectsInRegionWithTag.lua @@ -0,0 +1,19 @@ +GameScript.Support.AddDescription("Script to kill Objects which enter region") +local Game = GameScript.Game +local Regions = Game.Regions +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local ObjectTags = GameScript.Game.ObjectTags +local objectTag = Support.ImportStringVariable("Object Tag", "Object Tag to check for") +local region = Support.ImportRegionObject("Region To Monitor", "Region used to monitor for enter and kill objects") +local killType = Support.ImportFloatVariable("Kill Type", "What type of kill message should be sent to the object(s)?" .. "0 = Delete (Instant), 1 = Kill (Effects), 2 = Kill Intro (Recommended)") +local realObjectTag = ObjectTags.GetObjectTagUID(objectTag) +local killObject + +function KillObjects(Info) + killObject = Info.object + Game.Kill(killObject, killType) +end + +Callbacks.RegisterObjectTagEnterExitRegion(region, realObjectTag, "KillObjects", "") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/PossessedExplosiveTankScript.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/PossessedExplosiveTankScript.lua new file mode 100644 index 0000000..534ad2b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/PossessedExplosiveTankScript.lua @@ -0,0 +1,24 @@ +local Game = GameScript.Game +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local AI = Game.AI +local MP = Game.MP +local myObject = Game.GetMyObject() +if myObject == nil then + return +end + +function OnKill(msg) + if myObject == nil then + return + end + local objectAttachedTo = Game.GetObjectAttachedTo(myObject) + if objectAttachedTo == nil then + return + end + Game.SendTextMessage(objectAttachedTo, "Create_DroneExplode") + Game.Kill(objectAttachedTo, 1) +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, myObject, "OnKill") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval.lua new file mode 100644 index 0000000..b672ebe --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval.lua @@ -0,0 +1,26 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local intervalKill = Support.ImportFloatVariable("Interval", "Interval between killing specified object(s)") +local killType = Support.ImportFloatVariable("Kill Type", "What type of kill message should be sent to the object(s)?" .. "0 = Delete (Instant), 1 = Kill (Effects), 2 = Kill Intro (Recommended)") +Support.ImportObjectHandleVariable("Object(s) Set To Kill", "The object(s) set to be killed") +local IsPeriodic = Support.ImportBoolVariableWithDefault("Periodic", "Repeat the call every 'TimeInSeconds' seconds.", true) +local times = 0 +local count = 0 + +function KillObjects() + local objsToKill = Support.GetImportObjectTable("Object(s) Set To Kill") + if objsToKill and 0 < #objsToKill and times == 0 then + times = #objsToKill + end + if objsToKill and 0 < #objsToKill and count < times then + local key, value + key, value = next(objsToKill) + Game.Kill(value, killType) + count = count + 1 + else + GameScript.Exit() + end +end + +Callbacks.RegisterForTimer("KillObjects", intervalKill, IsPeriodic) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/killobjectswithtaginrange.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/killobjectswithtaginrange.lua new file mode 100644 index 0000000..61ba3dc --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Kill/killobjectswithtaginrange.lua @@ -0,0 +1,21 @@ +GameScript.Support.AddDescription("Script to kill Objects with a given Object Tag within a certain range.") +local Game = GameScript.Game +local Regions = Game.Regions +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local ObjectTags = GameScript.Game.ObjectTags +local objectTag = Support.ImportStringVariable("Object Tag", "Object Tag to check for") +local killType = Support.ImportFloatVariable("Kill Type", "What type of kill message should be sent to the object(s)?" .. "0 = Delete (Instant), 1 = Kill (Effects), 2 = Kill Intro (Recommended)") +local distance = Support.ImportFloatVariable("Distance", "Kill Object Tags within this distance") +local killObject +local myObject = Game.GetMyObject() +local objectTagTable = ObjectTags.GetObjectsWithTag(objectTag) +if objectTagTable then + for key, object in pairs(objectTagTable) do + if object and distance > Utilities.GetDistanceBetweenObjects(object, myObject) then + Game.Kill(object, killType) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Message/SendMissionEventMessage.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Message/SendMissionEventMessage.lua new file mode 100644 index 0000000..034c238 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Message/SendMissionEventMessage.lua @@ -0,0 +1,15 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local TxtObjectTable = Support.ImportObjectHandleVariable("Object(s) to Message", "The objects to send the message to") +local MissionEvent = Support.ImportStaticTextVariable("MissionEvent", "The text event.") + +function SendMissionEventMessage() + for k, object in pairs(TxtObjectTable) do + if object and Game.IsLoaded(object) then + Game.SendMissionEventMessage(object, MissionEvent) + end + end +end + +SendMissionEventMessage() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve.lua new file mode 100644 index 0000000..f96206a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve.lua @@ -0,0 +1,68 @@ +GameScript.Support.AddDescription([[ +impulsobject_cruve +This script is used to apply an impulse to an object's rigid body over time using a curve]]) +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Math3d = GameScript.LuaMath3d +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local StartTime, CurrentTime, EndTime = 0, 0, 0 +local ImpulseObject = Support.ImportObjectHandleVariable("Impulse Object", "This object will recieve an impulse when the event triggers") +local ImpulseStrength = Support.ImportFloatVariable("Impulse Force", "The force in Newtons to apply to the Impulse Object") +Support.RegisterCurveTemplateVariable("Curve Template", "The curve value for determing how much impulse to apply") +local CurveTime = Support.ImportFloatVariable("Curve Time", "The amount of time to apply the curve over.") +local UpdateSeconds = Support.ImportFloatVariableWithDefault("Update every X Seconds", "The script will test the player look-at every X seconds. The minimum value is 0.0333", 0.12) +local RigidBodyName = Support.ImportStringVariable("Rigid Body Name", "The name of the rigid body you would like to apply the impulse to") +local bRepeated = Support.ImportBoolVariable("Repeat Curve?", "Repeat the curve indefinitely?", false) +local WaitTime = Support.ImportFloatVariableWithDefault("Wait Time", "The time it should wait between applying the curve", 0) + +function ImpulseObjectFunc() + Callbacks.RegisterForTimer("MoveOverTime", UpdateSeconds, true) + StartTime = Support.GetGameTime() + EndTime = Support.GetGameTime() + CurveTime +end + +function MoveOverTime() + CurrentTime = Support.GetGameTime() + local ImpulseTable = Game.GetForward(Self) + local curveModifiedStrength = ImpulseStrength * Support.GetCurveValue("Curve Template", (CurrentTime - StartTime) / CurveTime) + ImpulseTable = Math3d.VectorMultiply(ImpulseTable, curveModifiedStrength) + for key, nextObj in pairs(ImpulseObject) do + if nextObj and Game.IsLoaded(nextObj) then + Physics.ApplyImpulseToRigidBody(nextObj, RigidBodyName, ImpulseTable) + end + end + if CurrentTime >= EndTime then + Callbacks.UnregisterForTimer("MoveOverTime") + if bRepeated then + Callbacks.RegisterForTimer("ImpulseObjectFunc", WaitTime, false) + end + end +end + +if ImpulseObject and 0 <= CurveTime then + local bValid = true + if UpdateSeconds < 0.03333 then + UpdateSeconds = 0.03333 + end + for key, nextObj in pairs(ImpulseObject) do + if nextObj and Game.DoesSceneNodeExist(nextObj, RigidBodyName) then + else + bValid = false + end + end + if bValid then + ImpulseObjectFunc() + else + Debug.PrintError("The Scene Node '" .. RigidBodyName .. "' does not exist, or the object is not loaded.") + end +else + Debug.PrintError("Supplied data is incorrect") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectWithCurve.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectWithCurve.lua new file mode 100644 index 0000000..9e5219a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectWithCurve.lua @@ -0,0 +1,56 @@ +GameScript.Support.AddDescription([[ +impulsobject_cruve +This script is used to apply an impulse to an object over time using a curve]]) +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Math3d = GameScript.LuaMath3d +local FEAR = GameScript.FEAR +local Self = Game.GetMyObject() +local registeredForTextMsg = false +local StartTime, CurrentTime, EndTime = 0, 0, 0 +local ImpulseObject = Support.ImportFirstObject("Impulse Object", "This object will recieve an impulse when the event triggers") +local ImpulseStrength = Support.ImportFloatVariable("Impulse Force", "The force in Newtons to apply to the Impulse Object") +Support.RegisterCurveTemplateVariable("Curve Template", "The curve value for determing how much impulse to apply") +local CurveTime = Support.ImportFloatVariable("Curve Time", "The amount of time to apply the curve over") +local UpdateSeconds = Support.ImportFloatVariableWithDefault("Update every X Seconds", "The script will test the player look-at every X seconds. The minimum value is 0.0333", 0.12) + +function ImpulseObjectFunc() + Callbacks.RegisterForTimer("MoveOverTime", UpdateSeconds, true) + if registeredForTextMsg then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.TextMessage, Self, "ImpulseObject_txt") + registeredForTextMsg = false + end + StartTime = Support.GetGameTime() + EndTime = Support.GetGameTime() + CurveTime +end + +function MoveOverTime() + if Game.IsLoaded(ImpulseObject) then + CurrentTime = Support.GetGameTime() + local ImpulseTable = Game.GetForward(Self) + local curveModifiedStrength = ImpulseStrength * Support.GetCurveValue("Curve Template", (CurrentTime - StartTime) / CurveTime) + ImpulseTable = Math3d.VectorMultiply(ImpulseTable, curveModifiedStrength) + Physics.ApplyImpulse(ImpulseObject, ImpulseTable) + if CurrentTime >= EndTime then + Callbacks.UnregisterForTimer("MoveOverTime") + if not registeredForTextMsg then + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Self, "ImpulseObject_txt") + registeredForTextMsg = true + end + end + end +end + +if ImpulseObject and 0 <= CurveTime then + if UpdateSeconds < 0.03333 then + UpdateSeconds = 0.03333 + end + ImpulseObjectFunc() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Nation/CopyNationFromRefObj.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Nation/CopyNationFromRefObj.lua new file mode 100644 index 0000000..7ccd249 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Nation/CopyNationFromRefObj.lua @@ -0,0 +1,18 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local nationRefObj = Support.ImportSingleObject("Nation Reference Object", "The object containing the nationality information that will be copied to others objects.") +local myObj = Game.GetMyObject() + +function AIEntersRegion(info) + local aiThatEntered = info.object + if aiThatEntered ~= nil and nationRefObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Object '" .. Game.GetName(aiThatEntered) .. "' entered region, copying nation into it") + Game.CopyNation(nationRefObj, aiThatEntered) + end +end + +if nationRefObj ~= nil and myObj ~= nil then + Callbacks.RegisterAIEnterExitRegion(myObj, "AIEntersRegion", "") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Random/RandomizeLinkableBodies.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Random/RandomizeLinkableBodies.lua new file mode 100644 index 0000000..c84d75a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Random/RandomizeLinkableBodies.lua @@ -0,0 +1,100 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Utilities = GameScript.Utilities +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Debug = GameScript.Debug +local MP = GameScript.Game.MP +local bFettelOnly = Support.ImportBoolVariableWithDefault("Fettel Only", "Don't spawn these in a Pointman Single Player game", false) +local Link1 = Support.ImportSingleObject("Ragdoll 1 Link", "Linkable ragdoll object") +local Link2 = Support.ImportSingleObject("Ragdoll 2 Link", "Linkable ragdoll object") +local Link3 = Support.ImportSingleObject("Ragdoll 3 Link", "Linkable ragdoll object") +local Link4 = Support.ImportSingleObject("Ragdoll 4 Link", "Linkable ragdoll object") +GameScript.Support.ExportFloatVariable("NetResult", 0, "Random selection that is returned.") +local fettelAvatar +local TimeInSeconds = 0.02 +local Groups = 0 +MyObject = GameScript.Game.GetMyObject() +AllLinks = {} + +function CheckForFettel() + local i = 0 + while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar and ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + fettelAvatar = avatar + end + i = i + 1 + end +end + +function RandomizeBodies() + Utilities.GenerateRandomSeed() + local numToRandom = Groups * 2 + local result = Utilities.GetRandomInteger(1, numToRandom) / 2 + result = math.ceil(result) + Extern.NetResult = result + RemoveUnchosen() +end + +function RemoveUnchosen() + RandomObject = AllLinks[Extern.NetResult] + if not MP.IsClient() then + for k, obj in pairs(AllLinks) do + if obj ~= nil and obj ~= AllLinks and obj ~= RandomObject then + Game.Kill(obj, 0) + end + end + end + Game.Kill(MyObject, 0) +end + +function RemoveAllBodies() + if not MP.IsClient() then + for k, obj in pairs(AllLinks) do + if obj ~= nil and obj ~= AllLinks then + Game.Kill(obj, 0) + end + end + end +end + +function BuildArrays() + if Link1 ~= nil and Link1 ~= MyObject then + Groups = Groups + 1 + AllLinks[Groups] = Link1 + end + if Link2 ~= nil and Link2 ~= MyObject then + Groups = Groups + 1 + AllLinks[Groups] = Link2 + end + if Link3 ~= nil and Link3 ~= MyObject then + Groups = Groups + 1 + AllLinks[Groups] = Link3 + end + if Link4 ~= nil and Link4 ~= MyObject then + Groups = Groups + 1 + AllLinks[Groups] = Link4 + end + if Groups < 2 then + Debug.PrintError("You must have more then one possible Linkable Body in this script!") + Support.ExitScript() + end +end + +BuildArrays() +if not MP.IsClient() then + if bFettelOnly then + CheckForFettel() + if fettelAvatar == nil then + RemoveAllBodies() + else + Callbacks.RegisterForTimer("RandomizeBodies", TimeInSeconds, false) + end + else + Callbacks.RegisterForTimer("RandomizeBodies", TimeInSeconds, false) + end +else + Callbacks.RegisterForScriptValueUpdated("RemoveUnchosen") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/Teleport/TeleportObjectAutoXYZ.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/Teleport/TeleportObjectAutoXYZ.lua new file mode 100644 index 0000000..4ba2ae7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/Teleport/TeleportObjectAutoXYZ.lua @@ -0,0 +1,14 @@ +GameScript.Support.AddDescription("Script to teleport an object using an existing object's location and rotation") +local Game = GameScript.Game +local Support = GameScript.Support +local TeleportObject = Support.ImportSingleObject("Teleport Object", "Teleport this object") +local LocationTable = Support.ImportSingleObject("Teleport Location", "Teleport object to this location") +local RotationTable = Support.ImportSingleObject("Rotation of Location", "Teleport object with orientation to this location") +local TeleportLocation = Game.GetPosition(LocationTable) +local Rotation = Game.GetRotation(RotationTable) + +function EnterRegion() + Game.TeleportObjectWithRotation(TeleportObject, TeleportLocation, Rotation) +end + +EnterRegion() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/AINoticesPlayerEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/AINoticesPlayerEnable.lua new file mode 100644 index 0000000..1b14871 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/AINoticesPlayerEnable.lua @@ -0,0 +1,28 @@ +GameScript.Support.AddDescription("") +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local SetObject = Support.ImportSetObject("Set of AI", "The set of AI that we are watching.") +local ObjectTable = Support.ImportObjectHandleVariable("Object(s) to Enable", "These are the objects we will enable or disable.") +local Enable = Support.ImportBoolVariableWithDefault("Enable the Object?", "False will Disable the Object.", true) +local RequireLOS = Support.ImportBoolVariable("Require LOS?", "Should this enable only if the AI has LOS to the player?", false) +local info +local AIInSet = {} + +function CheckTheAI() + AIInSet = Game.Sets.GetObjectsInSet(SetObject) + for k, AI_Obj in pairs(AIInSet) do + if Util.IsAITargetingPlayer(AI_Obj, RequireLOS) then + for _k, Object in pairs(ObjectTable) do + Game.EnableAllEnableables(Object, Enable) + end + Callbacks.UnregisterForTimer("CheckTheAI") + return + end + end +end + +Callbacks.RegisterForTimer("CheckTheAI", 0.12, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableAndEnableLists.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableAndEnableLists.lua new file mode 100644 index 0000000..2811fef --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableAndEnableLists.lua @@ -0,0 +1,18 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +Support.AddDescription("Enable a list of objects when script is started, and disable a separate list of objects at the same time") +local disableObjList = Support.ImportObjectList("DisableObjs", "Objects that are disabled when triggered") +local enableObjList = Support.ImportObjectList("EnableObjs", "Objects that are enabled when triggered") +if disableObjList ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Disable List of Objects - Number:" .. table.getn(disableObjList)) + for key, value in pairs(disableObjList) do + Game.EnableAllEnableables(value, false) + end +end +if enableObjList ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable List of Objects - Number:" .. table.getn(enableObjList)) + for key, value in pairs(enableObjList) do + Game.EnableAllEnableables(value, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableLightsAndOldLightControl.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableLightsAndOldLightControl.lua new file mode 100644 index 0000000..5da0122 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableLightsAndOldLightControl.lua @@ -0,0 +1,32 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +Support.AddDescription("Disable an object or objects in a set when the script is started") +local disableLightControlObj = Support.ImportObjectHandleVariable("Light Control Object to Disable", "The obsolete light control script object which needs to be disabled.") +local disableLights = Support.ImportObjectHandleVariable("Lights to Disable Initially", "Object or Objects that are disabled when script started") +local myObj = Game.GetMyObject() + +function DisableLightControlAndLights() + if disableLightControlObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Disable Object - Number:" .. table.getn(disableLightControlObj)) + for key, nextObj in pairs(disableLightControlObj) do + if nextObj == myObj then + Debug.PrintWarning(Game.GetName(myObj) .. ": Disabling your own object (as 'Light Control Object to Disable').") + end + Game.EnableAllEnableables(nextObj, false) + end + end + if disableLights ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Disable Object - Number:" .. table.getn(disableLights)) + for key, nextObj in pairs(disableLights) do + if nextObj == myObj then + Debug.PrintWarning(Game.GetName(myObj) .. ": Disabling your own object (as 'Lights to Disable Initially').") + end + Game.EnableAllEnableables(nextObj, false) + end + end +end + +DisableLightControlAndLights() +Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, myObj, "DisableLightControlAndLights") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableObject.lua new file mode 100644 index 0000000..a6ddf0f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/DisableObject.lua @@ -0,0 +1,11 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +Support.AddDescription("Disable an object or objects in a set when the script is started") +local disableObj = Support.ImportObjectHandleVariable("DisableObj", "Object or Objects that are disabled when script started") +if disableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Disable Object - Number:" .. table.getn(disableObj)) + for key, nextObj in pairs(disableObj) do + Game.EnableAllEnableables(nextObj, false) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnaSetOnDeathCount.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnaSetOnDeathCount.lua new file mode 100644 index 0000000..e2661a2 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnaSetOnDeathCount.lua @@ -0,0 +1,47 @@ +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Objectives = Game.Objectives +local Graphics = Game.Graphics +local Regions = Game.Regions +local Sets = Game.Sets +local Utilities = GameScript.Utilities +local MP = Game.MP +local Physics = Game.Physics +local AI = Game.AI +local Door = Game.Door +local myObject = Game.GetMyObject() +local minAIKilled = Support.ImportFloatVariable("Number of AIs Killed", "The number of AIs that must be killed for performing actions") +local setEnable = Support.ImportObjectHandleVariable("Object(s) To Enable", "The object(s) to be enabled or disabled") +local Enable = Support.ImportFloatVariable("Enable?", "0 will disable the object(s); 1 will enable the Object(s).") +local numAIKilled = 0 + +function OnAIDeath(deathMsg) + if deathMsg == nil then + return + end + if deathMsg.victimPlayerIndex == GameScript.PlayerIndex.kNotAGlobalPlayer then + numAIKilled = numAIKilled + 1 + if numAIKilled >= minAIKilled then + EnableSet() + Callbacks.UnregisterForMsg(GameScript.MsgCallback.PlayerDeathMessage, myObject, "OnAIDeath") + end + end +end + +function EnableSet() + local objs = Support.GetImportObjectTable("Object(s) To Enable") + for k, v in pairs(objs) do + if Enable == 0 then + Game.EnableAllEnableables(v, false) + elseif Enable == 1 then + Game.EnableAllEnableables(v, true) + end + end +end + +if not MP.IsClient() then + Callbacks.RegisterForMsg(GameScript.MsgCallback.PlayerDeathMessage, myObject, "OnAIDeath") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableLightsForLocalPlayerInRegionList.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableLightsForLocalPlayerInRegionList.lua new file mode 100644 index 0000000..9a441a3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableLightsForLocalPlayerInRegionList.lua @@ -0,0 +1,57 @@ +local Game = GameScript.Game +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local myObj = Game.GetMyObject() +local myObjName = Game.GetName(myObj) +local ObjectList = Support.ImportObjectHandleVariable("Light(s)", "The light(s) that will be Enabled/Disabled") + +function PlayerEntersRegion() + ObjectList = Support.GetImportObjectTable("Light(s)") + if ObjectList ~= nil then + for key, value in pairs(ObjectList) do + if Game.IsLoaded(value) then + Game.EnableAllEnableables(value, true) + else + Debug.PrintWarning(Game.GetName(myObj) .. ": Your object is no longer loaded!") + end + end + elseif myObjName ~= nil then + Debug.PrintWarning(myObjName .. ": 'Light(s)' is empty.") + end + Callbacks.RegisterForStopCondition("PlayerLeavesRegion") +end + +function PlayerLeavesRegion() + ObjectList = Support.GetImportObjectTable("Light(s)") + if ObjectList ~= nil then + for key, value in pairs(ObjectList) do + if Game.IsLoaded(value) then + if value == myObj and myObjName ~= nil then + Debug.PrintWarning(Game.GetName(myObj) .. ": Disabling your own object") + end + Game.EnableAllEnableables(value, false) + else + Debug.PrintWarning(Game.GetName(myObj) .. ": Your object is no longer loaded!") + end + end + elseif myObjName ~= nil then + Debug.PrintWarning(Game.GetName(myObj) .. ": 'Light(s)' is empty.") + end +end + +function Initialize() + if ObjectList then + PlayerEntersRegion() + elseif myObjName ~= nil then + Debug.PrintError(Game.GetName(myObj) .. ": The 'Light(s)' list is a required field, but it contained no data. (EnableLightsForLocalPlayerInRegionList.lua)") + end +end + +Initialize() +Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, myObj, "Initialize") +Callbacks.RegisterForPostCheckpointActivation("Initialize") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObject.lua new file mode 100644 index 0000000..3985481 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObject.lua @@ -0,0 +1,13 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +Support.AddDescription("Enable an object or objects in a set when the script is started") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectOnDoorOpen.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectOnDoorOpen.lua new file mode 100644 index 0000000..68c8589 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectOnDoorOpen.lua @@ -0,0 +1,24 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Door = GameScript.Game.Door +local usableObject = Support.ImportSingleObject("Door Object", "The object that can be used") +local enableObjs = Support.ImportObjectList("Object(s) to Enable", "The objects that are enabled") + +function UpdateEveryFrame() + if usableObject ~= nil and Game.IsLoaded(usableObject) then + if Door.GetPosition(usableObject) > 0 or Door.GetPosition(usableObject) < 0 then + for k, obj in pairs(enableObjs) do + if obj ~= nil and Game.IsLoaded(obj) then + Game.EnableAllEnableables(obj, true) + end + end + Support.ExitScript() + end + else + Support.ExitScript() + end +end + +Callbacks.RegisterForUpdateEveryFrame("UpdateEveryFrame") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponDeathInSet.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponDeathInSet.lua new file mode 100644 index 0000000..335915f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponDeathInSet.lua @@ -0,0 +1,43 @@ +GameScript.Support.AddDescription("Script to enable an object upon a member of a set dying") +local Game = GameScript.Game +local Sets = Game.Sets +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local killObjMsg = GameScript.MsgCallback.KillObjectMessage +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +local enableInSet = Support.ImportBoolVariable("Enable Objects In Set", "If the 'EnableObject' has a set, enable all of the objects in that set as well") + +function RegisterForDeath(msgObj) + Callbacks.RegisterForMsg(killObjMsg, msgObj, "OnDeath") +end + +function OnDeath() + Game.EnableAllEnableables(EnableObject, true) + if enableInSet and Sets.HasSetComponent(EnableObject) then + local enableObjList = Sets.GetObjectsInSet(EnableObject) + if enableObjList then + for key, objInEnableSet in pairs(enableObjList) do + Game.EnableAllEnableables(objInEnableSet, true) + end + end + end + Support.ExitScript() +end + +function OnAddToSet(addedObj) + RegisterForDeath(addedObj) +end + +if Set and EnableObject then + local objList = Sets.GetObjectsInSet(Set) + if objList then + for key, objInSet in pairs(objList) do + RegisterForDeath(objInSet) + end + end + Callbacks.RegisterSetTracker(Set, "OnAddToSet", "") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponSetSize.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponSetSize.lua new file mode 100644 index 0000000..d097550 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectUponSetSize.lua @@ -0,0 +1,24 @@ +GameScript.Support.AddDescription("Script to enable an object upon a given set being a given number") +local Game = GameScript.Game +local Sets = Game.Sets +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local MinContentsLeft = Support.ImportFloatVariable("Min Contents Left", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft = Support.ImportFloatVariable("Max Contents Left", "Maximum amount of contents that should be left before enabling object?") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") + +function SetSizeChange() + local ContentsLeft = Sets.GetNumObjectsInSet(Set) + if ContentsLeft >= MinContentsLeft and ContentsLeft <= MaxContentsLeft and Game.IsLoaded(EnableObject) then + Game.EnableAllEnableables(EnableObject, true) + Callbacks.UnregisterSetTracker(Set) + end +end + +if Set and EnableObject then + Callbacks.RegisterSetTracker(Set, "SetSizeChange", "SetSizeChange") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectWithTimer.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectWithTimer.lua new file mode 100644 index 0000000..8eb540e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableObjectWithTimer.lua @@ -0,0 +1,21 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Debug = GameScript.Debug +Support.AddDescription("Enable an object or objects in a set after 'Time In Seconds' has elapsed") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local TimeInSeconds = Support.ImportFloatVariable("Time In Seconds", "Delay before starting the script") +local IsPeriodic = Support.ImportBoolVariable("Periodic", "Do we repeat the call every 'Time In Seconds' seconds?") + +function Enable() + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end +end + +Callbacks.RegisterForTimer("Enable", TimeInSeconds, IsPeriodic) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject.lua new file mode 100644 index 0000000..739c6c8 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject.lua @@ -0,0 +1,36 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local ObjectsToEnable = Support.ImportObjectHandleVariable("Object(s) to Enable", "Object(s) to that will be randomly chosen from to enable") +local TimeBetweenEnables = Support.ImportFloatVariable("Time Between Enables", "This is how often the a new object will be chosen to enable") +local DisableOld = Support.ImportFloatVariable("Disable Previous?", "Should the script disable the previous object before it enables the next?") +local WaitToRun = Support.ImportBoolVariableWithDefault("Wait to randomize?", "Should the script wait an initial delay before it runs the first time?", true) +local Periodic = Support.ImportBoolVariableWithDefault("Periodic", "Should the script run more then once?", true) +local RandomObject + +function RandomEnable() + if ObjectsToEnable then + Utilities.GenerateRandomSeed() + if DisableOld and RandomObject and Game.IsLoaded(RandomObject) then + Game.EnableAllEnableables(RandomObject, false) + end + local numToRandom = #ObjectsToEnable * 2 + local result = Utilities.GetRandomInteger(1, numToRandom) / 2 + result = math.ceil(result) + RandomObject = ObjectsToEnable[result] + if RandomObject and Game.IsLoaded(RandomObject) then + Game.EnableAllEnableables(RandomObject, true) + end + end +end + +if not WaitToRun then + RandomEnable() + if TimeBetweenEnables ~= 0 then + Callbacks.RegisterForTimer("RandomEnable", TimeBetweenEnables, Periodic) + end +else + Callbacks.RegisterForTimer("RandomEnable", TimeBetweenEnables, Periodic) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject_RememberPrevious.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject_RememberPrevious.lua new file mode 100644 index 0000000..d12caae --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/EnableRandomObject_RememberPrevious.lua @@ -0,0 +1,49 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local ObjectsToEnable = Support.ImportObjectHandleVariable("Objects To Enable", "The objects we want to enable") +local RepeatEnable = Support.ImportBoolVariableWithDefault("Enable over and over?", "A False setting will result in this script running one time.", false) +local DelayTime = Support.ImportFloatVariableWithDefault("Delay Time", "This event must be enabled after the save", 0) +Support.ExportFloatVariable("lastObject", 0, "remembers which object was chosen previously") +Extern.lastObject = #ObjectsToEnable + 1 +local RandomObject + +function RandomEnable() + local whichObjectIndex + if #ObjectsToEnable == 1 then + whichObjectIndex = 1 + else + local numObjectsToChoose + if Extern.lastObject == #ObjectsToEnable + 1 then + numObjectsToChoose = #ObjectsToEnable + else + numObjectsToChoose = #ObjectsToEnable - 1 + end + whichObjectIndex = Support.GetRandomInteger(1, numObjectsToChoose) + if whichObjectIndex >= Extern.lastObject then + whichObjectIndex = whichObjectIndex + 1 + end + end + Extern.lastObject = whichObjectIndex + RandomObject = ObjectsToEnable[whichObjectIndex] + Callbacks.RegisterForTimer("EnableRandomlyChosen", DelayTime, false) +end + +function EnableRandomlyChosen() + if RandomObject and Game.IsLoaded(RandomObject) then + Game.EnableAllEnableables(RandomObject, true) + end +end + +function FirstTime() + if Extern.lastObject == #ObjectsToEnable + 1 then + RandomEnable() + end +end + +if ObjectsToEnable and 0 < #ObjectsToEnable then + Callbacks.RegisterForTimer("FirstTime", 0, false) + Callbacks.RegisterForPostCheckpointActivation("RandomEnable") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/FettelExistsEnableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/FettelExistsEnableObject.lua new file mode 100644 index 0000000..bb1115c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/FettelExistsEnableObject.lua @@ -0,0 +1,16 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local Utilities = GameScript.Utilities +Support.AddDescription("Enable an object or objects in a set when the script is started and if the game has Fettel in it.") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +if enableObj ~= nil then + local fettelAvatar = Utilities.GetFettelAvatar() + if fettelAvatar ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/HealthBelowValueEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/HealthBelowValueEnable.lua new file mode 100644 index 0000000..5333e8e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/HealthBelowValueEnable.lua @@ -0,0 +1,44 @@ +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local HealthCheck +local EanableBool = Support.ImportBoolVariableWithDefault("Enable?", "True will enable the objects, false will disable them", true) +local EnableTable = Support.ImportObjectHandleVariable("Object(s) to Enable", "These objects will be enabled when the targeted object's hit-points drop below the set percentage.") +local HealthTable = Support.ImportObjectHandleVariable("Target Object", "This is the object that we're watching it's hit point percentage. Supports Sets") +local HitPointPercentage = Support.ImportFloatVariableWithDefault("Hit Point Percentage", "If the Target Object's hit piont percentage drops below this value, it will set the enable state. Values are 0 to 1", 1) + +function CheckPercentage() + HealthCheck = false + for key, Object in pairs(HealthTable) do + if Game.IsLoaded(Object) and Game.GetHitPointPercent(Object) < HitPointPercentage then + HealthCheck = true + break + end + end + if HealthCheck then + if EnableTable then + for key, value in pairs(EnableTable) do + if Game.IsLoaded(value) then + Game.EnableAllEnableables(value, EanableBool) + end + end + end + for key, Object in pairs(HealthTable) do + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DamageTakenMessage, Object, "CheckPercentage") + end + end +end + +if HealthTable and 0 < #HealthTable then + CheckPercentage() + for key, Object in pairs(HealthTable) do + Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageTakenMessage, Object, "CheckPercentage") + end +elseif HealthTable == nil then + Debug.PrintError("\"Target Object\" was unspecified") +else + Debug.PrintError("\"Target Object\" table is empty. Make sure the object(s) exist at the time that this script executes") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/IfNetworkGameEnableObjects.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/IfNetworkGameEnableObjects.lua new file mode 100644 index 0000000..8f64b2f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/IfNetworkGameEnableObjects.lua @@ -0,0 +1,11 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local MP = Game.MP +Support.AddDescription("Enable an object or objects in a set when the script is started and if the game is over the network") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +if enableObj ~= nil and MP.IsNetworkGame() then + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/LookAtEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/LookAtEnable.lua new file mode 100644 index 0000000..f6ab6e4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/LookAtEnable.lua @@ -0,0 +1,48 @@ +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local PlayerCameraPosition = {} +local RayCastTable = {} +local EnableTable = Support.ImportObjectHandleVariable("Enable These", "The object(s) to be enabled") +local RequireLOS = Support.ImportBoolVariableWithDefault("Require Line of Sight?", "Should we have LOS to the position before enabling the object(s)?", false) +local PositionTable = Support.ImportObjectHandleVariable("Position(s)", "The positions of this object(s) will be used for the Look-At") +local MaxAngle = Support.ImportFloatVariable("Max Angle", "The maximum angle between the player's LookRot and object position.") +local Enable = Support.ImportBoolVariableWithDefault("Enable?", "1 will enable the object when it's in view.", true) +local UpdateSeconds = Support.ImportFloatVariableWithDefault("Update every X Seconds", "The script will test the player look-at every X seconds. The minimum value is 0.0333", 0.12) +local RunOnce = Support.ImportBoolVariableWithDefault("Run Once?", "Setting this to True will cause the script to stop checking after the first time", false) +local AllreadyRun = false + +function Update() + local NumberOfPlayers = Game.Player.GetNumPlayers() + local i = 1 + while NumberOfPlayers >= i do + if Player.IsActivePlayer(GameScript.PlayerIndexArray[i]) then + for k, position in pairs(PositionTable) do + if position and Game.IsLoaded(position) and Game.IsPlayerLookRotFacingObject(GameScript.PlayerIndexArray[i], position, MaxAngle) and (RequireLOS and Util.LineOfSight(GameScript.PlayerIndexArray[i], position) or not RequireLOS) then + for k, EnableObject in pairs(EnableTable) do + Game.EnableAllEnableables(EnableObject, Enable) + end + if RunOnce then + Callbacks.UnregisterForTimer("Update") + Support.ExitScript() + return + end + end + end + end + i = i + 1 + end +end + +local Self = Game.GetMyObject() +if EnableTable and 0 < #PositionTable then + if UpdateSeconds < 0.03333 then + UpdateSeconds = 0.03333 + end + Callbacks.RegisterForTimer("Update", UpdateSeconds, true) +elseif Self then + Debug.PrintError(Game.GetName(Self) .. ": Necessary script settings were invalid") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/ObjectRecievesMessageEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/ObjectRecievesMessageEnable.lua new file mode 100644 index 0000000..a7b6bf4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/ObjectRecievesMessageEnable.lua @@ -0,0 +1,24 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local MessageObjectTable = Support.ImportObjectHandleVariable("Message Object(s)", "The object(s) that to watch for the message") +local EnableObjectTable = Support.ImportObjectHandleVariable("Enable Object(s)", "The object(s) that will be Enabled/Disabled") +local Message = Support.ImportEnumVariable("GameScript.MsgCallback", "Message Recieved", "The Message that we're waiting for the objects to recieve") +local EnableSetting = Support.ImportBoolVariableWithDefault("Enable?", "True will enable the objects; false will disable.", true) + +function EnableObjects() + for key, value in pairs(EnableObjectTable) do + if Game.IsLoaded(value) then + Game.EnableAllEnableables(value, EnableSetting) + end + end +end + +if MessageObjectTable and EnableObjectTable then + for key, object in pairs(MessageObjectTable) do + Callbacks.RegisterForMsg(Message, object, "EnableObjects") + end +else + Debug.PrintError(": One of the required fields contained no data") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/OnEmptySetEnableObjects.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/OnEmptySetEnableObjects.lua new file mode 100644 index 0000000..bbc2b73 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/OnEmptySetEnableObjects.lua @@ -0,0 +1,72 @@ +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Callbacks = GameScript.Callbacks +local Camera = GameScript.Game.Camera +local Debug = GameScript.Debug +local Door = GameScript.Game.Door +local Energy = GameScript.Game.Energy +local Graphics = GameScript.Game.Graphics +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local SetToCheck = Support.ImportSetObject("SetToCheck", "Set to check to see if it's empty. Make sure you select ''Specific Object'' and chose a set or squad. ") +local SetToEnable = Support.ImportObjectHandleVariable("SetToEnable", "Enable or disable this object or set of objects when the above set is empty. Choose either ''Specific Object'' or ''Set of Objects'' as appropriate.") +local EnableOrDisableSet = Support.ImportFloatVariableWithDefault("EnableOrDisableSet", "Enter 1 to enable objects in this set or 0 to disable them.", 1) +local SecondsToWaitBeforeCheck = Support.ImportFloatVariableWithDefault("SecondsToWaitBeforeCheck", "Wait this many seconds before checking if the set is empty. Don't set this to a negative number unless you're dumb, in which case it's okay.", 0) +local StartCheckingNumber = Support.ImportFloatVariableWithDefault("StartCheckingNumber", "When there are at least this many objects in the set, start check to see if the set is empty.", 0) +local EnableAtNumber = Support.ImportFloatVariableWithDefault("EnableAtNumber", "When the set check has started, enable the next set when there are this many or less objects in the set.", 0) +local StartCheckingSet = false +local SetKey, SetObject, SetObjectTable, boolEnable + +function StartChecking() + if SecondsToWaitBeforeCheck < 0 then + SecondsToWaitBeforeCheck = 0 + end + if StartCheckingNumber < 0 then + StartCheckingNumber = 0 + end + if EnableAtNumber < 0 then + EnableAtNumber = 0 + end + Callbacks.RegisterForTimer("CheckSet", 0.25, true) + Debug.PrintInfoIf(0 < g_debugMode, "Registered CheckSet()") +end + +function CheckSet() + if Sets.GetNumObjectsInSet(SetToCheck) >= StartCheckingNumber then + if StartCheckingSet == false then + Debug.PrintInfoIf(g_debugMode > 0, "StartCheckingNumber reached.") + end + StartCheckingSet = true + end + if Sets.GetNumObjectsInSet(SetToCheck) <= EnableAtNumber and StartCheckingSet == true then + Debug.PrintInfoIf(g_debugMode > 0, "Set Empty. Calling EnableSet() and unregistering CheckSet()") + EnableSet() + Game.Kill(Game.GetMyObject(), 0) + Support.ExitScript() + end +end + +function EnableSet() + SetObjectTable = Support.GetImportObjectTable("SetToEnable") + if SetObjectTable then + if EnableOrDisableSet == 0 then + boolEnable = false + Debug.PrintInfoIf(0 < g_debugMode, "Disabling Set") + else + boolEnable = true + Debug.PrintInfoIf(0 < g_debugMode, "Enabling Set") + end + SetKey, SetObject = next(SetObjectTable, SetKey) + while SetKey do + Game.EnableAllEnableables(SetObject, boolEnable) + SetKey, SetObject = next(SetObjectTable, SetKey) + end + else + Debug.PrintInfoIf(0 < g_debugMode, "ERROR: OnEmptySetEnableObjects: SetObjectTable is empty. Aborting script . . . mmmnow") + end +end + +Callbacks.RegisterForTimer("StartChecking", SecondsToWaitBeforeCheck, false) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnable.lua new file mode 100644 index 0000000..d3ebdde --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnable.lua @@ -0,0 +1,37 @@ +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local RegionList = Support.ImportObjectHandleVariable("Region(s)", "A player entering this region(s), will enable/disable the object(s)") +local ObjectList = Support.ImportObjectHandleVariable("Object(s)", "The object(s) that will be Enabled/Disabled") +local Require_All_Inside = Support.NumberToBool(Support.ImportFloatVariable("All Players Inside?", "Is it necessary to have all players inside the region(s) before we enable the object(s)? 0 false; 1 true")) + +function PlayerEntersRegion() + if Require_All_Inside and Game.Regions.AllPlayersInTableOfRegions(RegionList) or not Require_All_Inside then + for key, value in pairs(ObjectList) do + if Game.IsLoaded(value) then + Game.EnableAllEnableables(value, true) + else + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Your object is no longer loaded!") + end + end + end +end + +if RegionList and ObjectList then + for key, value in pairs(RegionList) do + Callbacks.RegisterPlayerEnterExitRegion(value, "PlayerEntersRegion", "") + end + if Require_All_Inside and Game.Regions.AllPlayersInTableOfRegions(RegionList) or not Require_All_Inside and not Game.Regions.NoPlayerInRegions(RegionList) then + for key, value in pairs(ObjectList) do + Game.EnableAllEnableables(value, true) + end + end +else + Debug.PrintError(Game.GetName(Game.GetMyObject()) .. ": One of the required fields contained no data") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun.lua new file mode 100644 index 0000000..9c453ba --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun.lua @@ -0,0 +1,78 @@ +local Game = GameScript.Game +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local myObj = Game.GetMyObject() +local RegionList = Support.ImportObjectHandleVariable("Region(s)", "A player entering this region(s), will enable/disable the object(s)") +local ObjectList = Support.ImportObjectHandleVariable("Object(s)", "The object(s) that will be Enabled/Disabled") +local testAllInside = Support.ImportFloatVariable("All Players Inside?", "Is it necessary to have all players inside the region(s) before we enable the object(s)? 0 false; 1 true") +local Require_All_Inside = Support.NumberToBool(testAllInside) +local Require_All_Outside = Support.NumberToBool(Support.ImportFloatVariable("All Players Outside?", "Is it necessary to have all players outside the region(s) before we disable the object(s)? 0 false; 1 true")) + +function PlayerEntersRegion() + if Require_All_Inside and Game.Regions.AllPlayersInTableOfRegions(RegionList) or not Require_All_Inside then + ObjectList = Support.GetImportObjectTable("Object(s)") + for key, value in pairs(ObjectList) do + if Game.IsLoaded(value) then + Game.EnableAllEnableables(value, true) + else + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Your object is no longer loaded!") + end + end + end +end + +function PlayerLeavesRegion(PlayerInfo) + if Require_All_Outside then + if not Game.Regions.NoPlayerInRegions(RegionList) then + return + end + elseif PlayerInfo.object and Game.Regions.IsPlayerInRegions(Player.GetPlayerIndexByObject(PlayerInfo.object), RegionList) then + return + end + ObjectList = Support.GetImportObjectTable("Object(s)") + for key, value in pairs(ObjectList) do + if Game.IsLoaded(value) then + if value == myObj then + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Disabling your own object") + end + Game.EnableAllEnableables(value, false) + else + Debug.PrintWarning(Game.GetName(myObj) .. ": Your object is no longer loaded!") + end + end +end + +function InitialEnableDisable() + if Require_All_Inside and Game.Regions.AllPlayersInTableOfRegions(RegionList) or not Require_All_Inside and not Game.Regions.NoPlayerInRegions(RegionList) then + for key, value in pairs(ObjectList) do + Game.EnableAllEnableables(value, true) + end + else + for key, value in pairs(ObjectList) do + if value == myObj then + Debug.PrintWarning(Game.GetName(Game.GetMyObject()) .. ": Disabling your own object in intial pass") + end + Game.EnableAllEnableables(value, false) + end + end +end + +function HandleLoadChanges() + ObjectList = Support.GetImportObjectTable("Object(s)") + Callbacks.RegisterForTimer("InitialEnableDisable", 0, false) +end + +if RegionList and ObjectList then + for key, value in pairs(RegionList) do + Callbacks.RegisterPlayerEnterExitRegion(value, "PlayerEntersRegion", "PlayerLeavesRegion") + end + InitialEnableDisable() +else + Debug.PrintError(Game.GetName(myObj) .. ": One of the required fields contained no data") +end +Callbacks.RegisterForMsg(GameScript.MsgCallback.LoadChangesCompleteMessage, myObj, "HandleLoadChanges") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegionEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegionEnable.lua new file mode 100644 index 0000000..1cdf475 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PlayerInRegionEnable.lua @@ -0,0 +1,26 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +Support.ImportObjectHandleVariable("Region", "The region to watch.") +Support.ImportObjectHandleVariable("Object(s)", "The object(s) to enable.") +local Enable = Support.ImportFloatVariable("Enable?", "0 will disable the object(s); 1 will enable the Object(s).") +local regionTable = Support.GetImportObjectTable("Region") +local regionObject, rIdx +if regionTable ~= nil then + rIdx, regionObject = next(regionTable) +end +if regionObject ~= nil then + Callbacks.RegisterPlayerEnterExitRegion(regionObject, "PlayerEntersRegion", "") +end + +function PlayerEntersRegion(player) + local set = Support.GetImportObjectTable("Object(s)") + for name, object in pairs(set) do + if Enable == 0 then + Game.EnableAllEnableables(object, false) + elseif Enable == 1 then + Game.EnableAllEnableables(object, true) + end + end + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManAndFettelExistEnableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManAndFettelExistEnableObject.lua new file mode 100644 index 0000000..12b1ff7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManAndFettelExistEnableObject.lua @@ -0,0 +1,27 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +Support.AddDescription("Enable an object or objects in a set when the script is started and if the game has PM and Fettel in it.") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local PMAvatar, FettelAvatar +local i = 0 +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar then + if ObjectTags.DoesObjectHaveTag(avatar, "Point Man") then + PMAvatar = avatar + end + if ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + FettelAvatar = avatar + end + end + i = i + 1 +end +if PMAvatar and FettelAvatar and enableObj ~= nil then + Debug.PrintInfoIf(0 < g_debugMode, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesExistEnableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesExistEnableObject.lua new file mode 100644 index 0000000..a494af1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesExistEnableObject.lua @@ -0,0 +1,22 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +Support.AddDescription("Enable an object or objects in a set when the script is started and if the game doesn't PM in it.") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local PMAvatar +local i = 0 +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar and ObjectTags.DoesObjectHaveTag(avatar, "Point Man") then + PMAvatar = avatar + end + i = i + 1 +end +if PMAvatar and enableObj ~= nil then + Debug.PrintInfoIf(0 < g_debugMode, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesntExistEnableObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesntExistEnableObject.lua new file mode 100644 index 0000000..ad27732 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/PointManDoesntExistEnableObject.lua @@ -0,0 +1,22 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +Support.AddDescription("Enable an object or objects in a set when the script is started and if the game doesn't PM in it.") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local PMAvatar +local i = 0 +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar and ObjectTags.DoesObjectHaveTag(avatar, "Point Man") then + PMAvatar = avatar + end + i = i + 1 +end +if PMAvatar == nil and enableObj ~= nil then + Debug.PrintInfoIf(0 < g_debugMode, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/SetReachSizeBelowSizeEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/SetReachSizeBelowSizeEnable.lua new file mode 100644 index 0000000..4334a39 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/SetReachSizeBelowSizeEnable.lua @@ -0,0 +1,110 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Player = GameScript.Game.Player +local Sets = GameScript.Game.Sets +local Support = GameScript.Support +local SetToCheck = Support.ImportSetObject("SetToCheck", "Set to check to see if it's empty. Make sure you select ''Specific Object'' and chose a set or squad. ") +local SetToEnable = Support.ImportObjectHandleVariable("SetToEnable", "Enable or disable this object or set of objects when the above set is empty. Choose either ''Specific Object'' or ''Set of Objects'' as appropriate.") +local EnableOrDisableSet = Support.ImportFloatVariableWithDefault("EnableOrDisableSet", "Enter 1 to enable objects in this set or 0 to disable them.", 1) +local SecondsToWaitBeforeCheck = Support.ImportFloatVariableWithDefault("SecondsToWaitBeforeCheck", "Wait this many seconds before checking if the set is empty. Don't set this to a negative number unless you're dumb, in which case it's okay.", 0) +local StartCheckingNumber = Support.ImportFloatVariableWithDefault("StartCheckingNumber", "When there are at least this many objects in the set, start check to see if the set is empty.", 1) +local EnableAtNumber = Support.ImportFloatVariableWithDefault("EnableAtNumber", "When the set check has started, enable the next set when there are this many or less objects in the set.", 0) +local WaitTime = Support.ImportFloatVariableWithDefault("Wait Time", "Once we've determined that we want to enable our object(s) wait this long before we do it", 0) +Extern.ScriptState = 0 + +function LookForRemoval() + if Extern.ScriptState == 1 and Sets.GetNumObjectsInSet(SetToCheck) >= StartCheckingNumber then + Debug.PrintInfoIf(g_debugMode > 0, "StartCheckingNumber (" .. StartCheckingNumber .. ") reached. ScriptObject: " .. Game.GetName(Game.GetMyObject())) + Extern.ScriptState = 2 + end +end + +function LookToEnable() + if Extern.ScriptState == 2 and Sets.GetNumObjectsInSet(SetToCheck) <= EnableAtNumber then + Debug.PrintInfoIf(g_debugMode > 0, "Set below 'EnableAtNumber'(" .. EnableAtNumber .. "). Stop watching 'SetToCheck' ScriptObject: " .. Game.GetName(Game.GetMyObject())) + if 0 < WaitTime then + Callbacks.RegisterForTimer("EnableSet", WaitTime, false) + else + EnableSet() + end + Callbacks.UnregisterSetTracker(SetToCheck) + Extern.ScriptState = 3 + end +end + +function Empty() +end + +function OnAddToSet(info) + Debug.PrintInfoIf(g_debugMode > 0, "Object added to set (" .. Game.GetName(SetToCheck) .. ") ScriptObject: " .. Game.GetName(Game.GetMyObject())) + LookForRemoval() +end + +function OnRemoveFromSet(info) + Debug.PrintInfoIf(g_debugMode > 0, "Object Removed from set (" .. Game.GetName(SetToCheck) .. ") ScriptObject: " .. Game.GetName(Game.GetMyObject())) + LookToEnable() +end + +function OnStart() + if SetToCheck and Game.IsLoaded(SetToCheck) then + Debug.PrintInfoIf(g_debugMode > 0, "Wait Over. Starting to track " .. Game.GetName(SetToCheck)) + Extern.ScriptState = 1 + Callbacks.RegisterSetTracker(SetToCheck, "OnAddToSet", "OnRemoveFromSet") + LookForRemoval() + if Extern.ScriptState == 2 then + LookToEnable() + end + else + Debug.PrintInfo("ERROR: SetToCheck is empty.") + end +end + +function OnCheckpointLoad() + Debug.PrintInfoIf(g_debugMode > 0, "Script State: " .. Extern.ScriptState) + if 0 < Extern.ScriptState then + Callbacks.UnregisterForTimer("OnStart") + if Extern.ScriptState == 1 then + OnStart() + elseif Extern.ScriptState == 2 then + LookToEnable() + end + end +end + +function EnableSet() + local SetKey, SetObject, SetObjectTable + SetObjectTable = Support.GetImportObjectTable("SetToEnable") + local boolEnable = false + if SetObjectTable then + if EnableOrDisableSet == 0 then + boolEnable = false + Debug.PrintInfoIf(0 < g_debugMode, "Disabling Set") + else + boolEnable = true + Debug.PrintInfoIf(0 < g_debugMode, "Enabling Set") + end + SetKey, SetObject = next(SetObjectTable, SetKey) + while SetKey do + Debug.PrintInfoIf(0 < g_debugMode, "Enable object " .. Game.GetName(SetObject)) + Game.EnableAllEnableables(SetObject, boolEnable) + SetKey, SetObject = next(SetObjectTable, SetKey) + end + else + Debug.PrintInfoIf(0 < g_debugMode, "ERROR: OnEmptySetEnableObjects: SetObjectTable is empty. Aborting script . . . mmmnow") + end + Game.Kill(Game.GetMyObject(), 0) +end + +if StartCheckingNumber < 0 then + StartCheckingNumber = 0 +end +if EnableAtNumber < 0 then + EnableAtNumber = 0 +end +if SecondsToWaitBeforeCheck < 0 then + SecondsToWaitBeforeCheck = 0 +end +Callbacks.RegisterForTimer("OnStart", SecondsToWaitBeforeCheck, false) +Callbacks.RegisterForPostCheckpointActivation("OnCheckpointLoad") +Callbacks.RegisterForTimer("Empty", 1000000, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/TransitionDisableSpawnLocations.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/TransitionDisableSpawnLocations.lua new file mode 100644 index 0000000..f3a542f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/TransitionDisableSpawnLocations.lua @@ -0,0 +1,40 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local MP = Game.MP +local Utilities = GameScript.Utilities +local ObjectTags = Game.ObjectTags +Support.AddDescription("Disables all player spawn locations but one. Used before killing and respawning players over the network to get rid of their inventory.") +local enableSpawn = Support.ImportObjectHandleVariable("Spawn To Enable", "The Player Spawn Location to Enable") +local enableAfter = Support.ImportObjectHandleVariable("Object To Enable After", "The Object(s) to Enable after the script has done its work") + +function Enable(enableObj) + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + Debug.PrintInfo("Enabling Spawn Location: " .. Game.GetName(nextObj)) + end + end + end +end + +function DisableAllOtherSpawnLocations() + local spawnLocations = ObjectTags.GetObjectsWithTag("PlayerSpawnLocation") + if spawnLocations then + for key, nextObj in pairs(spawnLocations) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, false) + Debug.PrintInfo("Disabling Spawn Location: " .. Game.GetName(nextObj)) + end + end + else + Debug.PrintInfo("No spawn locations found") + end + Enable(enableSpawn) + Enable(enableAfter) +end + +DisableAllOtherSpawnLocations() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/enablerandomobject_network.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/enablerandomobject_network.lua new file mode 100644 index 0000000..503b595 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/enablerandomobject_network.lua @@ -0,0 +1,48 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local MP = Game.MP +local ObjectsToEnable = Support.ImportObjectHandleVariable("Object(s) to Enable", "Object(s) to that will be randomly chosen from to enable") +local TimeBetweenEnables = Support.ImportFloatVariable("Time Between Enables", "This is how often the a new object will be chosen to enable") +local DisableOld = Support.ImportFloatVariable("Disable Previous?", "Should the script disable the previous object before it enables the next?") +local WaitToRun = Support.ImportBoolVariableWithDefault("Wait to randomize?", "Should the script wait an initial delay before it runs the first time?", true) +GameScript.Support.ExportFloatVariable("NetResult", 0, "Random selection that is returned.") +local RandomObject +local kHackDelay = 0.06666666666666667 + +function EnableNow() + if DisableOld and RandomObject and Game.IsLoaded(RandomObject) then + Game.EnableAllEnableables(RandomObject, false) + end + RandomObject = ObjectsToEnable[Extern.NetResult] + if RandomObject and Game.IsLoaded(RandomObject) then + Game.EnableAllEnableables(RandomObject, true) + GameScript.Support.ExitScript() + end +end + +function RandomEnable() + if ObjectsToEnable then + Utilities.GenerateRandomSeed() + local numToRandom = #ObjectsToEnable * 2 + local result = Utilities.GetRandomInteger(1, numToRandom) / 2 + result = math.ceil(result) + Extern.NetResult = result + EnableNow() + end +end + +if not MP.IsClient() then + if not WaitToRun then + Callbacks.RegisterForTimer("RandomEnable", kHackDelay, true) + end + local periodTime = TimeBetweenEnables + if kHackDelay > periodTime then + periodTime = kHackDelay + end + Callbacks.RegisterForTimer("RandomEnable", TimeBetweenEnables, true) +else + Callbacks.RegisterForScriptValueUpdated("EnableNow") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/enable/networkenableobjonbothplayersinmyregion.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/networkenableobjonbothplayersinmyregion.lua new file mode 100644 index 0000000..79abf4d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/enable/networkenableobjonbothplayersinmyregion.lua @@ -0,0 +1,104 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local Debug = GameScript.Debug +local Regions = Game.Regions +local kTrue = 1 +local kFalse = 0 +local Player1Index = GameScript.PlayerIndex.kGlobalPlayer1 +local Player2Index = GameScript.PlayerIndex.kGlobalPlayer2 +Support.ExportFloatVariable("pointmanInRegion", kFalse, "A dummy net-sync'd variable to determine when pointman is in the region over the network") +Support.ExportFloatVariable("fettelInRegion", kFalse, "A dummy net-sync'd variable to determine when fettel is in the region over the network") +local enableObjs = Support.ImportObjectList("Object(s) to Enable", "The objects that are enabled") +local BothPlaPresent = Support.ImportBoolVariableWithDefault("Both Players Present?", "True : Will keep track if the players leave the region and won't run until both players are present in the region. False : Will run after both players have touched the region, allows for players to enter, then exit, and the script may still run.", false) +local myObj = Game.GetMyObject() +local PointManObjectTagUID = ObjectTags.GetObjectTagUID("Point Man") +local FettelObjectTagUID = ObjectTags.GetObjectTagUID("Fettel") +Extern.EnabledTriggered = false + +function DummyCallback() + Debug.PrintInfoIf(g_debugMode > 0, "DummyCallback()") +end + +function EnableNow() + if not Extern.EnabledTriggered then + Debug.PrintInfoIf(g_debugMode > 0, "EnableNow()") + for k, obj in pairs(enableObjs) do + if obj ~= nil and Game.IsLoaded(obj) then + Debug.PrintInfoIf(g_debugMode > 0, "Enable:" .. Game.GetName(obj)) + Game.EnableAllEnableables(obj, true) + end + end + if not MP.IsClient() then + Callbacks.UnregisterObjectEnterExitRegion(myObj, PointManObjectTagUID, "PointManInRegion", "") + Callbacks.UnregisterObjectEnterExitRegion(myObj, FettelObjectTagUID, "FettelInRegion", "") + end + Callbacks.RegisterForMsg(GameScript.MsgCallback.AnimationAnnotation, myObj, "DummyCallback") + Extern.EnabledTriggered = true + end +end + +function EnableIfAllPlayersCurrentlyInRegion() + Debug.PrintInfoIf(g_debugMode > 0, "EnableIfAllPlayersCurrentlyInRegion") + local PlayerObject1 = Player.GetPlayerControlledObjectByIndex(Player1Index) + local PlayerObject2 = Player.GetPlayerControlledObjectByIndex(Player2Index) + local TriggerEnable = false + if PlayerObject1 ~= nil and PlayerObject2 ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "TwoPlayersToCheck") + if Regions.IsInRegion(myObj, PlayerObject1) then + TriggerEnable = Regions.IsInRegion(myObj, PlayerObject2) + end + elseif PlayerObject1 ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "OnePlayerToCheck") + TriggerEnable = Regions.IsInRegion(myObj, PlayerObject1) + end + if TriggerEnable then + EnableNow() + end +end + +function PointManInRegion() + Debug.PrintInfoIf(g_debugMode > 0, "PointManInRegion") + Extern.pointmanInRegion = kTrue + if BothPlaPresent == kFalse and Extern.fettelInRegion then + EnableNow() + return + end + EnableIfAllPlayersCurrentlyInRegion() +end + +function FettelInRegion() + Debug.PrintInfoIf(g_debugMode > 0, "FettelInRegion") + Extern.fettelInRegion = kTrue + if BothPlaPresent == kFalse and Extern.pointmanInRegion then + EnableNow() + return + end + EnableIfAllPlayersCurrentlyInRegion() +end + +function OnReload() + Debug.PrintInfoIf(g_debugMode > 0, "OnReload") + if Extern.EnabledTriggered then + EnableNow() + else + EnableIfAllPlayersCurrentlyInRegion() + end +end + +function OnValueUpdated() + Debug.PrintInfoIf(g_debugMode > 0, "OnValueUpdated") + if Extern.EnabledTriggered then + EnableNow() + end +end + +if not MP.IsClient() and myObj ~= nil then + Callbacks.RegisterObjectTagEnterExitRegion(myObj, PointManObjectTagUID, "PointManInRegion", "") + Callbacks.RegisterObjectTagEnterExitRegion(myObj, FettelObjectTagUID, "FettelInRegion", "") +end +Callbacks.RegisterForPostCheckpointActivation("OnReload") +Callbacks.RegisterForScriptValueUpdated("OnValueUpdated") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt.lua new file mode 100644 index 0000000..dcc380f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt.lua @@ -0,0 +1,31 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local AddMssg = Support.ImportStringVariable("Object Added Variable", "Variable modified when an object is added to the set. Will be ignored if empty.") +local AddValue = Support.ImportFloatVariableWithDefault("Object Added Value", "The value to set the variable to", 0) +local RemoveMssg = Support.ImportStringVariable("Object Removed Variable", "Message sent to the object Removed to the set. Will be ignored if empty.") +local RemoveValue = Support.ImportFloatVariableWithDefault("Object Removed Value", "The value to set the variable to", 0) +local ObjectSet = Support.ImportSetObject("Object Set", "Objects spawned into this set will be sent the text mssg.") + +function ObjectAdded(Object) + Game.SetAnimationVariable(Object, AddMssg, AddValue) +end + +function ObjectRemoved(Object) + Game.SetAnimationVariable(Object, RemoveMssg, RemoveValue) +end + +if ObjectSet then + if 0 < #AddMssg and 0 < #RemoveMssg then + Callbacks.RegisterSetTracker(ObjectSet, "ObjectAdded", "ObjectRemoved") + elseif 0 < #AddMssg then + Callbacks.RegisterSetTracker(ObjectSet, "ObjectAdded", "") + elseif 0 < #RemoveMssg then + Callbacks.RegisterSetTracker(ObjectSet, "", "ObjectRemoved") + else + Debug.PrintError("You need to set at least one Varaible to be controlled") + end +else + Debug.PrintError("You need a set for this script to work on.") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/LookAtSendText.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/LookAtSendText.lua new file mode 100644 index 0000000..451cf88 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/LookAtSendText.lua @@ -0,0 +1,59 @@ +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local PlayerCameraPosition = {} +local RayCastTable = {} +local ObjectTable = Support.ImportObjectHandleVariable("Object(s)", "The object(s) to send text message to.") +local RequireLOS = Support.ImportBoolVariableWithDefault("Require Line of Sight?", "Should we have LOS to the position before enabling the object(s)?", false) +local PositionTable = Support.ImportObjectHandleVariable("Position(s)", "The positions of this object(s) will be used for the Look-At") +local MaxAngle = Support.ImportFloatVariable("Max Angle", "The maximum angle between the player's LookRot and object position.") +local UpdateSeconds = Support.ImportFloatVariableWithDefault("Update every X Seconds", "The script will test the player look-at every X seconds. The minimum value is 0.0333", 0.12) +local RunOnce = Support.ImportBoolVariableWithDefault("Run Once?", "Setting this to True will cause the script to stop checking after the first time", false) +local text = Support.ImportStringVariable("Text Message", "Text Message to send to object(s) when entering region") +local AllreadyRun = false + +function Update() + local NumberOfPlayers = Game.Player.GetNumPlayers() + local i = 1 + Debug.PrintInfoIf(g_debugMode > 0, "Starting Look Check") + while NumberOfPlayers >= i do + if Player.IsActivePlayer(GameScript.PlayerIndexArray[i]) then + for k, position in pairs(PositionTable) do + Debug.PrintInfoIf(g_debugMode > 0, "Is Player Facing?") + if Game.IsPlayerLookRotFacingObject(GameScript.PlayerIndexArray[i], position, MaxAngle) then + Debug.PrintInfoIf(g_debugMode > 0, "Is there line of sight?") + if RequireLOS and Util.LineOfSight(GameScript.PlayerIndexArray[i], position) or not RequireLOS then + Debug.PrintInfoIf(g_debugMode > 0, "About to Send Message") + SendText() + if RunOnce then + Callbacks.UnregisterForTimer("Update") + Support.ExitScript() + return + end + end + end + end + end + i = i + 1 + end +end + +function SendText() + local set = Support.GetImportObjectTable("Object(s)") + if set then + for name, object in pairs(set) do + Game.SendTextMessage(object, text) + end + end +end + +local Self = Game.GetMyObject() +if ObjectTable and 0 < #PositionTable then + if UpdateSeconds < 0.03333 then + UpdateSeconds = 0.03333 + end + Callbacks.RegisterForTimer("Update", UpdateSeconds, true) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendPlayerTextOnEnterExitRegions.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendPlayerTextOnEnterExitRegions.lua new file mode 100644 index 0000000..b31b71b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendPlayerTextOnEnterExitRegions.lua @@ -0,0 +1,47 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local Callbacks = GS.Callbacks +local Player = Game.Player +local TextOnEnter = Support.ImportStringVariable("Text on Enter", "The text to send when players enter a region") +local TextOnExit = Support.ImportStringVariable("Text on Exit", "The text to send when players exit a region") +local RegionsToMonitor = Support.ImportObjectList("Regions", "The regions to monitor") +local PlayersInRegionRefCount = { + 0, + 0, + 0, + 0 +} + +function SendEnterText(player) + Game.SendTextMessage(player, TextOnEnter) +end + +function SendExitText(player) + Game.SendTextMessage(player, TextOnExit) +end + +function PlayerEnteredRegion(playerInfo) + if playerInfo.object then + local index = Player.GetPlayerIndexByObject(playerInfo.object) + 1 + if PlayersInRegionRefCount[index] == 0 then + SendEnterText(playerInfo.object) + end + PlayersInRegionRefCount[index] = PlayersInRegionRefCount[index] + 1 + end +end + +function PlayerExitedRegion(playerInfo) + if playerInfo.object then + local index = Player.GetPlayerIndexByObject(playerInfo.object) + 1 + PlayersInRegionRefCount[index] = PlayersInRegionRefCount[index] - 1 + if PlayersInRegionRefCount[index] == 0 then + SendExitText(playerInfo.object) + end + end +end + +local numRegions = #RegionsToMonitor +for index = 1, numRegions do + Callbacks.RegisterPlayerEnterExitRegion(RegionsToMonitor[index], "PlayerEnteredRegion", "PlayerExitedRegion") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendTextToSelfOnNonZeroWatchVariable.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendTextToSelfOnNonZeroWatchVariable.lua new file mode 100644 index 0000000..f532cfb --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/SendTextToSelfOnNonZeroWatchVariable.lua @@ -0,0 +1,46 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local _WatchValue = Support.ImportWatchVariable("Watch Variable", "The watch variable whose value we are checking") +local zeroText = Support.ImportStringVariable("Zero Text", "Text message to send when the watch variable is has a value of 0") +local nonZeroText = Support.ImportStringVariable("Non-Zero Text", "Text message to send when the watch variable has a value other than 0") +local sendToInventory = Support.ImportBoolVariable("Send To Inventory?", "Should we also send the text message to our inventory items as well?") +local sendDeactivateOnInit = Support.ImportBoolVariableWithDefault("Send Deactivate if Initial Value is Zero?", "Should we send the deactivate text message if the initial value is zero?", true) +local previousValue = _WatchValue +local myObject = Game.GetMyObject() + +function CheckWatchVariable() + local currentValue = _WatchValue + if currentValue == 0 and previousValue ~= 0 then + SendText(zeroText) + elseif currentValue ~= 0 and previousValue == 0 then + SendText(nonZeroText) + end + previousValue = currentValue +end + +function SendText(textToSend) + Game.SendTextMessage(myObject, textToSend) + if sendToInventory then + local inventoryItems = Game.GetInventoryItems(myObject, 0) + for k, item in pairs(inventoryItems) do + if item ~= nil then + Game.SendTextMessage(myObject, textToSend) + end + end + end +end + +function UpdateWatch(msg) + _WatchValue = msg.newValue + CheckWatchVariable() +end + +Callbacks.RegisterForWatchVariableChange("Watch Variable", "UpdateWatch") +if previousValue == 0 then + if sendDeactivateOnInit == true then + SendText(zeroText) + end +else + SendText(nonZeroText) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TimerSendTextToObjectsAtInterval.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TimerSendTextToObjectsAtInterval.lua new file mode 100644 index 0000000..ae6e5ad --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TimerSendTextToObjectsAtInterval.lua @@ -0,0 +1,27 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +Support.ImportObjectHandleVariable("Object(s)", "The object(s) to send text message to.") +local text = Support.ImportStringVariable("Text Message", "Text Message to send to object(s) when entering region") +local timer = Support.ImportFloatVariable("Interval", "Time inbetween sending messages") +local initialWait = Support.ImportFloatVariable("Initial Delay", "Time before sending any messages", 0) + +function SendText() + GameScript.Debug.PrintInfoIf(g_debugMode > 0, "SendMessage:" .. text) + local set = Support.GetImportObjectTable("Object(s)") + if set and 0 < #set then + local key, value + key, value = next(set) + Game.SendTextMessage(value, text) + end +end + +function InitialDelay() + Callbacks.RegisterForTimer("SendText", timer, true) +end + +if timer == 0 then + SendText() +else + Callbacks.RegisterForTimer("InitialDelay", initialWait, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject.lua new file mode 100644 index 0000000..682a73d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject.lua @@ -0,0 +1,32 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Util = GameScript.Utilities +local ObjectsToEnable = Support.ImportObjectHandleVariable("Object(s) to Enable", "Object(s) to that will be randomly chosen from to enable") +local TimeBetweenEnables = Support.ImportFloatVariable("Time Between Enables", "This is how often the a new object will be chosen to enable") +local DisableOld = Support.ImportFloatVariable("Disable Previous?", "Should the script disable the previous object before it enables the next?") +local textEnable = Support.ImportStringVariable("Enable Text", "Text message sent to the object when intending to enable it.") +local textDisable = Support.ImportStringVariable("Disable Text", "Text message sent to the object when intending to disable it.") +local WaitToRun = Support.ImportBoolVariableWithDefault("Wait to randomize?", "Should the script wait an initial delay before it runs the first time?", true) +local RandomObject + +function RandomEnable() + if ObjectsToEnable then + if DisableOld and RandomObject and Game.IsLoaded(RandomObject) then + Game.SendTextMessage(RandomObject, textDisable) + end + local numToRandom = #ObjectsToEnable * 2 + local result = Util.GetRandomInteger(1, numToRandom) / 2 + local ObjectNum = math.ceil(result) + local RandomObject = ObjectsToEnable[ObjectNum] + if RandomObject and Game.IsLoaded(RandomObject) then + Game.SendTextMessage(RandomObject, textEnable) + end + end +end + +if not WaitToRun then + RandomEnable() +end +Callbacks.RegisterForTimer("RandomEnable", TimeBetweenEnables, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject_RememberPrevious.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject_RememberPrevious.lua new file mode 100644 index 0000000..a661f66 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject_RememberPrevious.lua @@ -0,0 +1,37 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local ObjectsToEnable = Support.ImportObjectHandleVariable("Objects To Enable", "The objects we want to enable") +local RepeatEnable = Support.ImportBoolVariableWithDefault("Enable over and over?", "A False setting will result in this script running one time.", false) +local TimeBetweenEnables = Support.ImportFloatVariableWithDefault("Time Between Enables", "if doing multiple enables, this is the time between runs", 0) +local textMssg = Support.ImportStringVariableWithDefault("Txt Message", "Text message to be sent to the randomly chosen object", "") +Support.ExportFloatVariable("lastObject", 0, "remembers which object was chosen previously") +Extern.lastObject = #ObjectsToEnable + 1 + +function RandomEnable() + local whichObjectIndex + if #ObjectsToEnable == 1 then + whichObjectIndex = 1 + else + local numObjectsToChoose = #ObjectsToEnable - 1 + whichObjectIndex = Support.GetRandomInteger(1, numObjectsToChoose) + if whichObjectIndex >= Extern.lastObject then + whichObjectIndex = whichObjectIndex + 1 + end + end + Extern.lastObject = whichObjectIndex + RandomObject = ObjectsToEnable[whichObjectIndex] + if RandomObject and Game.IsLoaded(RandomObject) then + Game.SendTextMessage(RandomObject, textMssg) + end +end + +if ObjectsToEnable and 0 < #ObjectsToEnable then + if RepeatEnable and 0 <= TimeBetweenEnables then + Callbacks.RegisterForTimer("RandomEnable", TimeBetweenEnables, true) + else + RandomEnable() + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/sendtexttofettel.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/sendtexttofettel.lua new file mode 100644 index 0000000..e1460e8 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/sendtext/sendtexttofettel.lua @@ -0,0 +1,28 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local text = Support.ImportStringVariable("Text Message", "Text Message to send to object(s) when entering region") +local timer = Support.ImportFloatVariable("Timer", "Time to wait until sending text message") +local fettelAvatar + +function SendText() + Game.SendTextMessage(fettelAvatar, text) +end + +local i = 0 +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar and ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + fettelAvatar = avatar + end + i = i + 1 +end +if fettelAvatar ~= nil then + if timer == 0 then + SendText() + else + Callbacks.RegisterForTimer("SendText", timer, false) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Object/showhide/hideobjects.lua b/recovered/resources/EXTRACTresources/Script/Game/Object/showhide/hideobjects.lua new file mode 100644 index 0000000..3816718 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Object/showhide/hideobjects.lua @@ -0,0 +1,10 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local hideObjects = Support.ImportObjectHandleVariable("Hide/Unhide Object(s)", "The objects to hide or unhide") +local bHide = Support.ImportBoolVariable("Hide?", "If true, then we hide the object(s). If false, then we unhide.") +for k, obj in pairs(hideObjects) do + if obj ~= nil then + Game.HideObject(obj, bHide) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/PhaseCaster/CastedSpawer.lua b/recovered/resources/EXTRACTresources/Script/Game/PhaseCaster/CastedSpawer.lua new file mode 100644 index 0000000..1c99d38 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/PhaseCaster/CastedSpawer.lua @@ -0,0 +1,18 @@ +local Game = GameScript.Game +local ObjectTags = Game.ObjectTags +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local me = Game.GetMyObject() +if me ~= nil then + local tagID = ObjectTags.GetObjectTagUID("Casting Projectile") + Callbacks.RegisterObjectTagEnterExitRegion(me, tagID, "ProjectileEntersRegion", "") +end + +function ProjectileEntersRegion(regionInfo) + local bIsTaget = regionInfo.region == Game.GetProjectileTarget(regionInfo.object) + if bIsTaget then + Game.SendTextMessage(me, "enableToSpawn") + Game.Kill(regionInfo.object, 1) + else + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/EnableInputOnSpecificPlayer.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/EnableInputOnSpecificPlayer.lua new file mode 100644 index 0000000..8aafd1e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/EnableInputOnSpecificPlayer.lua @@ -0,0 +1,54 @@ +local GS = GameScript +local Support = GS.Support +local Game = GS.Game +local Callbacks = GameScript.Callbacks +local Player = GameScript.Game.Player +local MP = Game.MP +local kTrue = 1 +local kFalse = 0 +Support.ExportFloatVariable("Done", kFalse, "An external net-sync'd variable that we use to trigger the same action on the client that the host script takes") +local bEnableHeading = Support.ImportBoolVariable("Enable Heading", "Do you wish to enable heading on this player?") +local bEnablePitch = Support.ImportBoolVariable("Enable Pitch", "Do you wish to enable pitch on this player?") +local bEnableMovement = Support.ImportBoolVariable("Enable Movement", "Do you wish to enable movement on this player?") +local bEnableOther = Support.ImportBoolVariable("Enable Other", "Do you wish to enable other on this player?") +local ObjectTag = Support.ImportStringVariable("Object Tag Name", "The ObjectTag name that will need to be on the player.") +local timer = Support.ImportFloatVariableWithDefault("Timer", "Time to wait before executing", 0) + +function TakeAction() + local numPlayers = Player.GetNumPlayers() + for index = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + local playerObject = Player.GetPlayerObjectByIndex(index) + if playerObject ~= nil then + local avatarObject = Player.GetPlayerAvatarObjectByIndex(index) + if avatarObject ~= nil and Game.ObjectTags.DoesObjectHaveTag(avatarObject, ObjectTag) then + Game.EnableObjectInput(playerObject, bEnableHeading, bEnablePitch, bEnableMovement, bEnableOther) + end + end + end +end + +function OnTakeActionForHost() + Extern.Done = kTrue + TakeAction() +end + +function OnValueUpdatedForClient() + if Extern.Done == kTrue then + TakeAction() + Callbacks.UnregisterForScriptValueUpdated() + end +end + +function Execute() + if not MP.IsClient() then + Callbacks.RegisterForTimer("OnTakeActionForHost", 0, false) + else + Callbacks.RegisterForScriptValueUpdated("OnValueUpdatedForClient") + end +end + +if timer == 0 then + Execute() +else + Callbacks.RegisterForTimer("Execute", timer, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/KillAllPlayers.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/KillAllPlayers.lua new file mode 100644 index 0000000..30a1d54 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/KillAllPlayers.lua @@ -0,0 +1,22 @@ +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local killTimer = Support.ImportFloatVariable("Kill Timer", "Time to wait before killing all players") +local killType = Support.ImportEnumVariable("GameScript.KillObjectMessageType", "Kill Type", "How do we kill the players?") + +function KillPlayers() + local numPlayers = Player.GetNumPlayers() + for i = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + local playerObjects = Player.GetAllPlayerControlledObjectsByIndex(i) + if playerObjects ~= nil then + for i = table.maxn(playerObjects), 1, -1 do + if playerObjects[i] ~= nil and Game.IsLoaded(playerObjects[i]) then + Game.Kill(playerObjects[i], killType) + end + end + end + end +end + +Callbacks.RegisterForTimer("KillPlayers", killTimer, false) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/PlayerInAirlockRegionAdvanced.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/PlayerInAirlockRegionAdvanced.lua new file mode 100644 index 0000000..ad1b9cd --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/PlayerInAirlockRegionAdvanced.lua @@ -0,0 +1,337 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Regions = Game.Regions +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local RegionTable = Support.ImportObjectHandleVariable("Region(s)", "The region(s) we'll be testing against.") +local AutoKill = Support.ImportBoolVariableWithDefault("Automatically Kill Self?", "Should the script automatically kill itself when both players enter region?", false) +local OwnDesired = Support.ImportBoolVariableWithDefault("Desired Worlds Loaded?", "Do all desired worlds need to be loaded before enabling/disabling the objects? If there are any desired worlds loading, then 'Object(s) to Enable' and 'Object(s) to Disable' will wait until they are loaded.", false) +Support.ImportObjectHandleVariable("Object(s) to Enable", "The object(s) to enable when the region is stopped/killed.") +Support.ImportObjectHandleVariable("Object(s) to Disable", "The object(s) to disable when the region is stopped/killed.") +local DisplayTextTable_In = {} +DisplayTextTable_In.textId = 144880 +DisplayTextTable_In.textAreaName = "LocationText" +DisplayTextTable_In.displayTime = 0 +DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable_In.clearText = false +local DisplayTextTable_Out = {} +DisplayTextTable_Out.textId = 144881 +DisplayTextTable_Out.textAreaName = "LocationText" +DisplayTextTable_Out.displayTime = 0 +DisplayTextTable_Out.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable_Out.clearText = false +local ShouldDisplay = false +local IsLastStand = false +local LocalPlayer +local BothPlayersLocal = false +local NotAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local Player1Index = GameScript.PlayerIndex.kGlobalPlayer1 +local Player2Index = GameScript.PlayerIndex.kGlobalPlayer2 +local LocalPlayerIndex = NotAPlayer +local LocalPlayerInRegion = false +local AllPlayersInRegion = false +local IsFettel_Player1 = false +local IsFettel_Local = false +local IsInMessageDisplayed = false +local IsOutMessageDisplayed = false +local CurrentlyHandleReload = false +local PlayerObject1, PlayerObject2 +local Player1InRegion = false +local Player2InRegion = false +Extern.ScriptClearedFinalTime = false +Extern.RegisteredPlayer1ObjectState = false +Extern.RegisteredPlayer2ObjectState = false +Extern.RegisteredPlayer1Possess = false +Extern.RegisteredPlayer2Possess = false + +function DisplayText() + if Extern.ScriptClearedFinalTime then + return + end + if LocalPlayer == nil or LocalPlayerIndex == NotAPlayer or not Game.IsLoaded(LocalPlayer) then + return + end + local messageShouldBeOnScreen = ShouldDisplay and not IsLastStand + local shouldDisplayInMessage = messageShouldBeOnScreen and LocalPlayerInRegion + local shouldDisplayOutMessage = messageShouldBeOnScreen and not LocalPlayerInRegion + if shouldDisplayInMessage == IsInMessageDisplayed and shouldDisplayOutMessage == IsOutMessageDisplayed then + if messageShouldBeOnScreen then + else + end + return + end + IsOutMessageDisplayed = shouldDisplayOutMessage + IsInMessageDisplayed = shouldDisplayInMessage + if messageShouldBeOnScreen then + DisplayTextTable_In.textId = 144880 + DisplayTextTable_In.displayTime = 0 + DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable_In.clearText = false + DisplayTextTable_Out.textId = 144881 + DisplayTextTable_Out.displayTime = 0 + DisplayTextTable_Out.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable_Out.clearText = false + else + DisplayTextTable_In.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable_In.displayTime = 0 + DisplayTextTable_In.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable_In.clearText = true + DisplayTextTable_Out.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable_Out.displayTime = 0 + DisplayTextTable_Out.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable_Out.clearText = true + end + if BothPlayersLocal then + if Player1InRegion then + Debug.PrintInfoIf(0 < g_debugMode, "FirstLocalPlayer In Region:" .. Player1Index) + Game.DisplayText(DisplayTextTable_In, Player1Index, false, PlayerObject1) + else + Debug.PrintInfoIf(0 < g_debugMode, "FirstLocalPlayer Out of Region:" .. Player1Index) + Game.DisplayText(DisplayTextTable_Out, Player1Index, false, PlayerObject1) + end + if Player2InRegion then + Debug.PrintInfoIf(0 < g_debugMode, "SecondLocalPlayer In Region:" .. Player2Index) + Game.DisplayText(DisplayTextTable_In, Player2Index, false, PlayerObject2) + else + Debug.PrintInfoIf(0 < g_debugMode, "SecondLocalPlayer Out of Region:" .. Player2Index) + Game.DisplayText(DisplayTextTable_Out, Player2Index, false, PlayerObject2) + end + elseif LocalPlayerInRegion then + Debug.PrintInfoIf(0 < g_debugMode, "LocalPlayer:" .. LocalPlayerIndex .. " In Region") + Game.DisplayText(DisplayTextTable_In, LocalPlayerIndex, false, LocalPlayer) + else + Debug.PrintInfoIf(0 < g_debugMode, "LocalPlayer:" .. LocalPlayerIndex .. " Not In Region") + Game.DisplayText(DisplayTextTable_Out, LocalPlayerIndex, false, LocalPlayer) + end +end + +function ClearText() + UpdatePlayerDisplayVariables() + ShouldDisplay = false + DisplayText() +end + +function LastStandChanged() + IsLastStand = Player.IsPlayerInState(Player1Index, GameScript.ObjectState.NearDeath) or Player.IsPlayerInState(Player2Index, GameScript.ObjectState.NearDeath) + UpdatePlayerDisplayVariables() + DisplayText() +end + +function UpdatePlayerDisplayVariables() + PlayerObject1 = Player.GetPlayerControlledObjectByIndex(Player1Index) + PlayerObject2 = Player.GetPlayerControlledObjectByIndex(Player2Index) + Player1InRegion = false + Player2InRegion = false + if PlayerObject1 ~= nil and PlayerObject2 ~= nil then + Player1InRegion = Regions.IsPlayerObjectInRegions(PlayerObject1, RegionTable) + Player2InRegion = Regions.IsPlayerObjectInRegions(PlayerObject2, RegionTable) + if Player1InRegion and Player2InRegion then + ShouldDisplay = false + AllPlayersInRegion = true + else + AllPlayersInRegion = false + if not Player1InRegion and not Player2InRegion then + ShouldDisplay = false + else + ShouldDisplay = true + end + end + else + AllPlayersInRegion = true + ShouldDisplay = false + end + if LocalPlayerIndex == Player1Index then + LocalPlayer = PlayerObject1 + LocalPlayerInRegion = Player1InRegion + Debug.PrintInfoIf(g_debugMode > 0, "LocalPlayerIndex:Player1Index(" .. Player1Index .. ")") + elseif LocalPlayerIndex == Player2Index then + LocalPlayer = PlayerObject2 + LocalPlayerInRegion = Player2InRegion + Debug.PrintInfoIf(g_debugMode > 0, "LocalPlayerIndex:Player2Index(" .. Player2Index .. ")") + end +end + +function EnterRegion() + if Player.GetNumPlayers() == 2 then + UpdatePlayerDisplayVariables() + if AllPlayersInRegion and AutoKill then + if RegionTable ~= nil then + for k, region in pairs(RegionTable) do + Callbacks.UnregisterPlayerEnterExitRegion(region, "EnterRegion", "ExitRegion") + end + end + OnStop() + end + DisplayText() + elseif AutoKill then + OnStop() + end +end + +function ExitRegion() + if Player.GetNumPlayers() == 2 then + UpdatePlayerDisplayVariables() + DisplayText() + end +end + +local firstOnTimerCallback = true + +function OnTimer() + if OwnDesired then + if Game.GetNumDesiredWorldsPending() == 0 then + Callbacks.UnregisterForTimer("OnTimer") + Kill() + elseif firstOnTimerCallback then + Callbacks.RegisterForTimer("OnTimer", 0.2, true) + firstOnTimerCallback = false + end + else + Kill() + end +end + +function OnStop() + Callbacks.RegisterForTimer("OnTimer", 0.8, false) + ClearText() + Extern.ScriptClearedFinalTime = true +end + +function Kill() + ClearText() + Extern.ScriptClearedFinalTime = true + local Self = Game.GetMyObject() + local set = Support.GetImportObjectTable("Object(s) to Enable") + for name, object in pairs(set) do + if object ~= Self then + Game.EnableAllEnableables(object, true) + end + end + set = Support.GetImportObjectTable("Object(s) to Disable") + for name, object in pairs(set) do + if object ~= Self then + Game.EnableAllEnableables(object, false) + end + end + Game.Kill(Self, 0) +end + +function WaitForPlayers() + local Player1 = Player.GetPlayerAvatarObjectByIndex(Player1Index) + local Player2 = Player.GetPlayerAvatarObjectByIndex(Player2Index) + BothPlayersLocal = false + if Player.IsLocalPlayer(Player1Index) then + Debug.PrintInfoIf(g_debugMode > 0, "Player1Index:" .. Player1Index .. " is local") + LocalPlayerIndex = Player1Index + if Player.IsLocalPlayer(Player2Index) then + BothPlayersLocal = true + end + elseif Player.IsLocalPlayer(Player2Index) then + Debug.PrintInfoIf(g_debugMode > 0, "Player2Index:" .. Player2Index .. " is local") + LocalPlayerIndex = Player2Index + else + Debug.PrintInfo("In WaitForPlayers neither player appeared to be local") + end + if Player1 ~= nil and Player2 ~= nil then + Callbacks.UnregisterForTimer("WaitForPlayers") + IsLastStand = IsLastStand or Player.IsPlayerInState(Player1Index, GameScript.ObjectState.NearDeath) + IsLastStand = IsLastStand or Player.IsPlayerInState(Player2Index, GameScript.ObjectState.NearDeath) + if not Extern.RegisteredPlayer1ObjectState then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, Player1, "LastStandChanged") + Extern.RegisteredPlayer1ObjectState = true + end + if not Extern.RegisteredPlayer2ObjectState then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, Player2, "LastStandChanged") + Extern.RegisteredPlayer2ObjectState = true + end + IsFettel_Player1 = Game.ObjectTags.DoesObjectHaveTag(Player1, "Fettel") + if IsFettel_Player1 then + if not Extern.RegisteredPlayer1Possess then + Callbacks.RegisterForMsg(GameScript.MsgCallback.PossessionEndedMessage, Player1, "RegisterWaitForEndPossession") + Extern.RegisteredPlayer1Possess = true + end + if LocalPlayerIndex == Player1Index then + IsFettel_Local = true + end + else + if not Extern.RegisteredPlayer2Possess then + Callbacks.RegisterForMsg(GameScript.MsgCallback.PossessionEndedMessage, Player2, "RegisterWaitForEndPossession") + Extern.RegisteredPlayer2Possess = true + end + if LocalPlayerIndex == Player2Index then + IsFettel_Local = true + end + end + end + RegisterForRegions() + if CurrentlyHandleReload then + CurrentlyHandleReload = false + UpdatePlayerDisplayVariables() + DisplayText() + end +end + +function RegisterWaitForEndPossession() + Callbacks.RegisterForTimer("WaitForEndPossession", 0.2, true) +end + +function WaitForEndPossession() + local avatar, controlled + if IsFettel_Player1 then + avatar = Player.GetPlayerAvatarObjectByIndex(Player1Index) + controlled = Player.GetPlayerControlledObjectByIndex(Player1Index) + else + avatar = Player.GetPlayerAvatarObjectByIndex(Player2Index) + controlled = Player.GetPlayerControlledObjectByIndex(Player2Index) + end + if avatar == controlled then + Callbacks.UnregisterForTimer("WaitForEndPossession") + if IsFettel_Local then + IsInMessageDisplayed = false + IsOutMessageDisplayed = false + end + UpdatePlayerDisplayVariables() + DisplayText() + end +end + +function HandleReload() + CurrentlyHandleReload = true + BothPlayersLocal = false + if Player.GetNumPlayers() == 2 then + Callbacks.RegisterForTimer("WaitForPlayers", 0.5, true) + else + Debug.PrintInfoIf(g_debugMode > 0, "Single player - LocalPlayerIndex:Player1Index(" .. Player1Index .. ")") + LocalPlayerIndex = Player1Index + end +end + +function OnReload() + Callbacks.RegisterForTimer("HandleReload", 0.01, false) +end + +function RegisterForRegions() + if RegionTable ~= nil then + for k, region in pairs(RegionTable) do + Callbacks.RegisterPlayerEnterExitRegion(region, "EnterRegion", "ExitRegion") + end + end +end + +function Initialize() + Callbacks.RegisterForStopCondition("OnStop") + Callbacks.RegisterForDisable("OnStop") + BothPlayersLocal = false + if Player.GetNumPlayers() == 2 then + Callbacks.RegisterForTimer("WaitForPlayers", 0.5, true) + else + LocalPlayerIndex = Player1Index + RegisterForRegions() + end +end + +Initialize() +Callbacks.RegisterForPostCheckpointActivation("OnReload") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/SetAnimVarOnPlayer.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/SetAnimVarOnPlayer.lua new file mode 100644 index 0000000..124b0a3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/SetAnimVarOnPlayer.lua @@ -0,0 +1,16 @@ +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = GameScript.Game.Player +local Support = GameScript.Support +local LuaHelpers = GameScript.LuaHelpers +local Util = GameScript.Utilities +local PlayersToWorkOn = Support.ImportFloatVariable("Players To Work On", "0 Just Point Man. 1 Just Fettel. 2 Both.") +local AnimationVariableName = Support.ImportStringVariable("Animation Variable", "The string name of the animation variable") +local AnimVarValue = Support.ImportFloatVariable("Animation Variable Value", "The number value to set the variable to.") +local PointManObject, FettelObject = Util.GetPointManFettelControlledObjects() +if PointManObject and (PlayersToWorkOn == 0 or PlayersToWorkOn == 2) then + Game.SetAnimationVariable(PointManObject, AnimationVariableName, AnimVarValue) +end +if FettelObject and (PlayersToWorkOn == 1 or PlayersToWorkOn == 2) then + Game.SetAnimationVariable(FettelObject, AnimationVariableName, AnimVarValue) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/WaterKillPlayer.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/WaterKillPlayer.lua new file mode 100644 index 0000000..22a4af9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/WaterKillPlayer.lua @@ -0,0 +1,34 @@ +local GS = GameScript +local Game = GS.Game +local Support = GS.Support +local Debug = GS.Debug +local Callbacks = GS.Callbacks +local ObjectTags = Game.ObjectTags +local Player = Game.Player +local Camera = Game.Camera +local testObj = Support.ImportFirstObject("testRegion", "Regions we check for the player to enter/exit") +local playerIndex +local RagdollDelay = Support.ImportFloatVariableWithDefault("Ragdoll Delay", "", 1) + +function KillPlayer(playerHandle) + playerIndex = Player.GetPlayerIndexByObject(playerHandle.object) + local firstAvatar = Player.GetPlayerAvatarObjectByIndex(playerIndex) + Game.SendTextMessage(firstAvatar, "Drowned") + Game.Kill(firstAvatar, GameScript.KillObjectMessageType.DoDying) + Callbacks.RegisterForTimer("StopRagdoll", RagdollDelay, false) +end + +function KillEPA(epa) + GameScript.Game.Kill(epa.object, 0) +end + +function StopRagdoll() + local currentAvatar = Player.GetPlayerAvatarObjectByIndex(playerIndex) + if currentAvatar ~= nil and ObjectTags.DoesObjectHaveTag(currentAvatar, "Ragdoll") then + GameScript.Game.Physics.SetToStatic(currentAvatar) + return + end +end + +Callbacks.RegisterPlayerEnterExitRegion(testObj, "KillPlayer", "") +Callbacks.RegisterObjectTagEnterExitRegion(testObj, 3, "KillEPA", "") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Player/enabledisableloadondeathandenableobjectafter.lua b/recovered/resources/EXTRACTresources/Script/Game/Player/enabledisableloadondeathandenableobjectafter.lua new file mode 100644 index 0000000..728da7c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Player/enabledisableloadondeathandenableobjectafter.lua @@ -0,0 +1,25 @@ +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local bEnable = Support.ImportBoolVariable("Enable Load on Death", "Are we enabling load on death or disabling it?") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "(Optional) Object or Objects that are enabled after script runs") +local kPlayer1 = GameScript.PlayerIndex.kGlobalPlayer1 + +function Enable() + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end + end +end + +local numPlayers = Player.GetNumPlayers() +for i = kPlayer1, numPlayers do + local playerObj = Player.GetPlayerObjectByIndex(i) + if playerObj ~= nil then + Player.SetCheckpointLoad(playerObj, bEnable) + end +end +Enable() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Score/AlmaDollChallenge.lua b/recovered/resources/EXTRACTresources/Script/Game/Score/AlmaDollChallenge.lua new file mode 100644 index 0000000..28536d9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Score/AlmaDollChallenge.lua @@ -0,0 +1,22 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Score = GameScript.FEARScore +local MP = Game.MP +local Player = Game.Player +local myObject = Game.GetMyObject() + +function OnObjectUsed(msg) + if MP.IsClient() then + return + end + local index = msg.userPlayerIndex + if index == GameScript.PlayerIndex.kNotAGlobalPlayer then + return + end + Score.AwardChallengeRequirement(index, GameScript.BoostChallenge.Mommy, 1) + local avatar = Player.GetPlayerAvatarObjectByIndex(index) + Game.SendTextMessage(avatar, "AlmaDoll") +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnObjectUsed") diff --git a/recovered/resources/EXTRACTresources/Script/Game/UI/PlayerColor.lua b/recovered/resources/EXTRACTresources/Script/Game/UI/PlayerColor.lua new file mode 100644 index 0000000..7a8c141 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/UI/PlayerColor.lua @@ -0,0 +1,5 @@ +local GameScript = GameScript +local Support = GameScript.Support +local Game = GameScript.Game +Support.ExportFloatVariable("Display Color", 4294967295, "Color to set the Text To") +Extern["Display Color"] = GameScript.FEAR.GetPlayerColor(Game.Player.GetPlayerIndexByObject(Game.GetMyObject())) diff --git a/recovered/resources/EXTRACTresources/Script/Game/UI/showmissionsummaryscreen.lua b/recovered/resources/EXTRACTresources/Script/Game/UI/showmissionsummaryscreen.lua new file mode 100644 index 0000000..15a434e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/UI/showmissionsummaryscreen.lua @@ -0,0 +1,30 @@ +local GameScript = GameScript +local Support = GameScript.Support +local Debug = GameScript.Debug +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local MsgCallback = GameScript.MsgCallback +local Score = GameScript.FEARScore +local missionSummary = "MissionSummaryPreloader" +Support.RegisterMenuVariable(missionSummary, "Menu to be used for the transition. This should be the Mission Summary menu. Done this way to preload the menu so the miniloader doesn't show.") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "(Optional) Object or Objects that are enabled when movie ends") +local myObject + +function OnMenuExitAnimationStartedMessage() + Debug.PrintInfo("Menu Exit Animation Start Message" .. GameScript.NonProduction.GetFrameNumber()) + Enable() + Callbacks.UnregisterForMsg(MsgCallback.MenuExitAnimationStartedMessage, myObject, "OnMenuExitAnimationStartedMessage") +end + +function Enable() + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + Game.EnableAllEnableables(nextObj, true) + end + end +end + +myObject = Game.GetMyObject() +Callbacks.RegisterForMsg(MsgCallback.MenuExitAnimationStartedMessage, myObject, "OnMenuExitAnimationStartedMessage") +Game.ShowMissionSummaryScreenNoPause() diff --git a/recovered/resources/EXTRACTresources/Script/Game/Usables/PlayerEnterExitRegionEnableUsables.lua b/recovered/resources/EXTRACTresources/Script/Game/Usables/PlayerEnterExitRegionEnableUsables.lua new file mode 100644 index 0000000..e09c15b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Usables/PlayerEnterExitRegionEnableUsables.lua @@ -0,0 +1,37 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Regions = Game.Regions +local BothPlayersRequired = Support.ImportBoolVariableWithDefault("Require Both Players in Region?", "Should the script require both players to be in the region?", false) +local RegionTable = Support.ImportObjectHandleVariable("Region(s)", "The region we'll be testing against") +local TxtObjectTable = Support.ImportObjectHandleVariable("Object(s) to Message", "The objects to send the message to") +local runOnce = Support.ImportBoolVariableWithDefault("Run Once", "Deactivate the script once all players are within region?", false) + +function EnterRegion() + if BothPlayersRequired and Regions.AllPlayersInTableOfRegions(RegionTable) or not BothPlayersRequired then + for k, obj in pairs(TxtObjectTable) do + if obj and Game.IsLoaded(obj) then + Game.EnableAllUsables(obj, true) + end + end + if runOnce then + Support.ExitScript() + end + end +end + +function ExitRegion() + for k, obj in pairs(TxtObjectTable) do + if obj and Game.IsLoaded(obj) then + Game.EnableAllUsables(obj, false) + end + end +end + +if RegionTable and TxtObjectTable then + for k, region in pairs(RegionTable) do + Callbacks.RegisterPlayerEnterExitRegion(region, "EnterRegion", "ExitRegion") + end +else + Debug.PrintError("No valid region supplied") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/Usables/PsyschicLink.lua b/recovered/resources/EXTRACTresources/Script/Game/Usables/PsyschicLink.lua new file mode 100644 index 0000000..30d1e5a --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Usables/PsyschicLink.lua @@ -0,0 +1,185 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local MP = Game.MP +local ObjectTags = Game.ObjectTags +local Utilities = GameScript.Utilities +local kTrue = 1 +local kFalse = 0 +Support.ImportWatchVariable("Started", "Is the \"Started\" Usable being used?") +Support.ImportWatchVariable("Shared", "Is the \"Shared\" Usable being used?") +Support.ImportWatchVariable("Stolen", "Is the \"Stolen\" Usable being used?") +Support.ExportFloatVariable("Link Active", kFalse, "Is a player currently linked to this object? 1 for yes, 0 for no") +Support.ExportFloatVariable("HasTriggeredKill", kFalse, "0 Not yet, 1 it is coming") +local linkedPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local linkedPlayerControlledObj, linkedPlayerAvatar +local myObject = Game.GetMyObject() +local registeredForMsgs = false +local linkActive = kFalse + +function OnObjectUsed(useMsg) + local index = useMsg.userPlayerIndex + if index == GameScript.PlayerIndex.kNotAGlobalPlayer then + return + end + local controlledObj = Player.GetPlayerControlledObjectByIndex(index) + if controlledObj == nil then + return + end + local avatar = Player.GetPlayerAvatarObjectByIndex(index) + if avatar == nil then + return + end + if not IsLinkActive() then + local isStarted = Support.GetImportWatchVariableValue("Started") + if isStarted ~= kFalse then + SetLinkerInfo(index, avatar, controlledObj) + if Player.GetNumPlayers() == 1 then + SendGlobalDataMessage(false) + Game.SendTextMessage(linkedPlayerAvatar, "PsychicLinkFeedback") + Game.SendTextMessage(linkedPlayerControlledObj, "PsychicLinkSteal") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnObjectUsed") + KillSelf() + else + StartLink() + end + else + PrintError("Unknown usage trying to start psychic link, usable component index = " .. useMsg.usableComponentIndex) + end + else + if index ~= linkedPlayer then + if linkedPlayer ~= GameScript.PlayerIndex.kNotAGlobalPlayer then + PrintError("Player " .. linkedPlayer .. " started the link, but Player " .. index .. " is the one using it.") + return + elseif MP.IsClient() then + SetLinkerInfo(index, avatar, controlledObj) + StartLink() + end + end + local isShared = Support.GetImportWatchVariableValue("Shared") + local isStolen = Support.GetImportWatchVariableValue("Stolen") + if isShared ~= kFalse then + SendGlobalDataMessage(true) + local pointMan, fettel = Utilities.GetPointManFettelAvatarObjects() + if pointMan ~= nil then + Game.SendTextMessage(pointMan, "PsychicLinkFeedback") + end + if fettel ~= nil then + Game.SendTextMessage(fettel, "PsychicLinkFeedback") + end + Game.SendTextMessage(linkedPlayerControlledObj, "PsychicLinkShare") + elseif isStolen ~= kFalse then + SendGlobalDataMessage(false) + Game.SendTextMessage(linkedPlayerAvatar, "PsychicLinkFeedback") + Game.SendTextMessage(linkedPlayerControlledObj, "PsychicLinkSteal") + else + PrintError("Unknown usage while psychic link started, usable component index = " .. useMsg.usableComponentIndex) + EndLink(false) + return + end + EndLink(true) + KillSelf() + end +end + +function SetLinkActive(linkState) + if not MP.IsRemoteScript() then + Extern["Link Active"] = linkState + end + linkActive = linkState +end + +function IsLinkActive() + return linkActive == kTrue +end + +function OnLinkerStateChanged(msg) + if msg.object == linkedPlayerControlledObj and msg.newState ~= GameScript.ObjectState.PsychicLink then + EndLink(false) + end +end + +function OnLinkerDied() + EndLink(false) +end + +function OnStopUsingObject(msg) + if msg.userPlayerIndex ~= linkedPlayer then + PrintError("Link being used by player " .. linkedPlayer .. ", but received Stop Using message from player " .. msg.userPlayerIndex) + return + end + EndLink(false) +end + +function SetLinkerInfo(index, avatar, controlledObj) + SetLinkActive(kTrue) + linkedPlayer = index + linkedPlayerAvatar = avatar + linkedPlayerControlledObj = controlledObj +end + +function StartLink() + Game.SendTextMessage(linkedPlayerControlledObj, "Psychic Link Start") + if not registeredForMsgs then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, linkedPlayerControlledObj, "OnLinkerStateChanged") + Callbacks.RegisterForMsg(GameScript.MsgCallback.DoDyingMessage, linkedPlayerControlledObj, "OnLinkerDied") + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, myObject, "OnStopUsingObject") + registeredForMsgs = true + end +end + +function EndLink(wasUsed) + Callbacks.UnregisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, linkedPlayerControlledObj, "OnLinkerStateChanged") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DoDyingMessage, linkedPlayerControlledObj, "OnLinkerDied") + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStopUsingMessage, myObject, "OnStopUsingObject") + registeredForMsgs = false + Game.SendTextMessage(linkedPlayerControlledObj, "Psychic Link End") + linkedPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer + linkedPlayerControlledObj = nil + linkedPlayeravatar = nil + SetLinkActive(kFalse) + if wasUsed then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnObjectUsed") + end +end + +function PrintError(err) + Debug.PrintWarning("Psychic Link object \"" .. Game.GetName(myObject) .. "\" was used in a way we did not expect! " .. err) +end + +function KillSelf() + if not MP.IsRemoteScript() then + Extern.HasTriggeredKill = kTrue + Game.SendTextMessage(Game.GetMyObject(), "PsychicLinkKill") + end +end + +function SendGlobalDataMessage(shared) + local globalDataObj = GameScript.Utilities.GetGlobalDataObject() + if globalDataObj == nil then + Debug.PrintError("Could not find global data object!") + end + if shared then + Game.SendTextMessage(globalDataObj, "Psychic Link Shared") + elseif ObjectTags.DoesObjectHaveTag(linkedPlayerAvatar, "Point Man") then + Game.SendTextMessage(globalDataObj, "Psychic Link Point Man") + elseif ObjectTags.DoesObjectHaveTag(linkedPlayerAvatar, "Fettel") then + Game.SendTextMessage(globalDataObj, "Psychic Link Fettel") + else + PrintError("Player avatar has neither \"Point Man\" nor \"Fettel\" object tags!") + end +end + +function OnCheckpointLoad() + Extern["Link Active"] = kFalse + Extern.HasTriggeredKill = kFalse + Callbacks.RegisterForTimer("", 0, false) + Callbacks.UnregisterAllMsgCallbacks() + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnObjectUsed") + Callbacks.UnregisterForTimer("", 0, false) +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, myObject, "OnObjectUsed") +Callbacks.RegisterForPostCheckpointActivation("OnCheckpointLoad") diff --git a/recovered/resources/EXTRACTresources/Script/Game/Vehicles/EPARechargeHealth.lua b/recovered/resources/EXTRACTresources/Script/Game/Vehicles/EPARechargeHealth.lua new file mode 100644 index 0000000..44fd977 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Vehicles/EPARechargeHealth.lua @@ -0,0 +1,275 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local AI = Game.AI +local Camera = Game.Camera +local Physics = Game.Physics +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Regions = Game.Regions +Support.ImportWatchVariable("Mech Health", "This needs to be the ABSOLUTE health") +Support.ImportWatchVariable("Mech Health Percentage", "This needs to be the health PERCENTAGE") +Support.ImportWatchVariable("Shield Charge", "This is how much of the shield is charged up") +Support.ImportWatchVariable("Is Controlled?", "Is there a EPA driver?") +Support.ImportWatchVariable("Lock Percentage", "The Missiles Lock Percentage") +local Time = Support.ImportFloatVariableWithDefault("Wait Time", "Once the health hits zero, how long before the player is kicked out", 10) +local ShieldPrompt = Support.ImportStaticTextVariable("Use Shield Prompt", "The prompt that should appear when explaining how to enable the shield") +local StompPrompt = Support.ImportStaticTextVariable("Use Stomp Prompt", "The prompt that should appear when explaining how to Stomp") +local TargetLockPrompt = Support.ImportStaticTextVariable("Target Lock Prompt", "The prompt that should appear when explaining what Target Lock does") +local MeleePrompt = Support.ImportStaticTextVariable("Melee Prompt", "The prompt that should appear when we would like them to melee") +local MeleeWallPrompt = Support.ImportStaticTextVariable("Melee Wall Prompt", "The prompt that will show up when we expect the player to Kool-Aid man the wall") +local hpHandle = Support.RegisterComponentHandle("HP - Health - Bucketed HP") +Support.ExportFloatVariable("PlayerEntranceAllowed", 1, "This watch variable tells the doors when they should be open") +Support.ExportFloatVariable("DisableHealthRecharge", 0, "This watch variable tells the health component when it should be allowed to recharge") +Support.ExportFloatVariable("CollisionRequired", 0, "This watch variable specifies situations where collision is required.") +Support.ExportFloatVariable("PlayEPAIntroduction", 0, "This says when we should play the EPA introduction") +local MechHealth_WatchValue, MechHealthPercentage_WatchValue, MechShiedlPercentage_WatchValue, IsControlled_WatchValue, LockPercentage_WathcValue +local Self = Game.GetMyObject() +local CountingDownToDumpOut = false +local PointManDoneIntro, FettelDoneIntro = false, false +local OverAllTimeBetweenSuggestions = 5 +local OverAllSuggestionTimerFinished = true +local SheildTimerFinished = true +local StompTimerFinished = true +local MeleeTimerFinished = true +local TrackingTimerFinished = true +local MeleeWallTimerFinished = true +local StompSuggested = false +local TrackingSuggested = false +local MeleeSuggested = false +local MeleeWallSuggested = false +local DisplayTextTable = {} +DisplayTextTable.textId = 0 +DisplayTextTable.textAreaName = "kTutorialTitleText" +DisplayTextTable.displayTime = 5 +local EPAStompID = Game.ObjectTags.GetObjectTagUID("EPA Stomp") +local EPAMeleeID = Game.ObjectTags.GetObjectTagUID("EPA Melee") +local TrackMeleeRunning = false + +function TakenDamage() + MechHealth_WatchValue = Support.GetImportWatchVariableValue("Mech Health") + if MechHealth_WatchValue <= 1 and not CountingDownToDumpOut then + Extern.DisableHealthRecharge = 1 + Callbacks.RegisterForTimer("DumpOutOfMech", Time, false) + CountingDownToDumpOut = true + end +end + +function DumpOutOfMech() + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + Game.ForceRiderOutOfVehicle(InventoryTable[1], Self, false) + end + CountingDownToDumpOut = false +end + +function TrackPlayerGettingOut() + Extern.PlayEPAIntroduction = 0 + Extern.DisableHealthRecharge = 0 + MechHealth_WatchValue = Support.GetImportWatchVariableValue("Mech Health") + if MechHealth_WatchValue <= 1 then + Game.SetRegeneratingHPDelay(hpHandle, 0) + Extern.PlayerEntranceAllowed = 0 + Extern.CollisionRequired = 1 + Callbacks.RegisterForTimer("TrackPlayerAllowedIn", 0.12, true) + end +end + +function TrackPlayerAllowedIn() + MechHealthPercentage_WatchValue = Support.GetImportWatchVariableValue("Mech Health Percentage") + if 0.99 <= MechHealthPercentage_WatchValue then + Extern.PlayerEntranceAllowed = 1 + Extern.CollisionRequired = 0 + Callbacks.UnregisterForTimer("TrackPlayerAllowedIn") + end +end + +function WaitForText(MSG) + if MSG.text == "Close" then + Extern.PlayerEntranceAllowed = 0 + elseif MSG.text == "Open" then + Extern.PlayerEntranceAllowed = 1 + elseif MSG.text == "MeleeWall_Enter" then + MeleeWallSuggested = true + elseif MSG.text == "MeleeWall_Exit" then + MeleeWallSuggested = false + elseif MSG.text == "TrackingRegion_Enter" then + TrackingSuggested = true + end +end + +function PlayerGetsInEPA() + Debug.PrintInfoIf(g_debugMode > 0, "PlayerGetsInEPA") + local PointManInd, FettelInd = Util.GetPointManFettelIndecies() + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] and Game.IsLoaded(InventoryTable[1]) then + local PlayerInd = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerInd == PointManInd and not PointManDoneIntro then + PointManDoneIntro = true + DisplayTextTable.textId = ShieldPrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + local PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + end + Extern.PlayEPAIntroduction = 1 + elseif PlayerInd == FettelInd and not FettelDoneIntro then + FettelDoneIntro = true + Extern.PlayEPAIntroduction = 1 + end + end +end + +function Suggestion() + IsControlled_WatchValue = Support.GetImportWatchVariableValue("Is Controlled?") + if OverAllSuggestionTimerFinished and IsControlled_WatchValue == 1 then + if MeleeWallSuggested and MeleeWallTimerFinished then + MeleeWallTimerFinished = false + OverAllSuggestionTimerFinished = false + DisplayTextTable.textId = MeleeWallPrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + local PlayerIndex + if InventoryTable[1] then + PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + end + end + Callbacks.RegisterForTimer("MeleeWallTimer", 10, false) + Callbacks.RegisterForTimer("OverAllSuggestionTimer", OverAllTimeBetweenSuggestions, false) + end + if SheildTimerFinished then + MechHealthPercentage_WatchValue = Support.GetImportWatchVariableValue("Mech Health Percentage") + MechShiedlPercentage_WatchValue = Support.GetImportWatchVariableValue("Shield Charge") + IsControlled_WatchValue = Support.GetImportWatchVariableValue("Is Controlled?") + if MechHealthPercentage_WatchValue < 0.3 and MechShiedlPercentage_WatchValue == 1 then + DisplayTextTable.textId = ShieldPrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + local PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + end + end + SheildTimerFinished = false + OverAllSuggestionTimerFinished = false + Callbacks.RegisterForTimer("SheildTimer", 20, false) + Callbacks.RegisterForTimer("OverAllSuggestionTimer", OverAllTimeBetweenSuggestions, false) + end + end + if StompSuggested and StompTimerFinished then + StompTimerFinished = false + OverAllSuggestionTimerFinished = false + DisplayTextTable.textId = StompPrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + local PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + end + end + Callbacks.RegisterForTimer("StompTimer", 15, false) + Callbacks.RegisterForTimer("OverAllSuggestionTimer", OverAllTimeBetweenSuggestions, false) + end + if MeleeSuggested and MeleeTimerFinished then + MeleeTimerFinished = false + OverAllSuggestionTimerFinished = false + DisplayTextTable.textId = MeleePrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + local PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + end + end + Callbacks.RegisterForTimer("MeleeTimer", 10, false) + Callbacks.RegisterForTimer("OverAllSuggestionTimer", OverAllTimeBetweenSuggestions, false) + end + if TrackingSuggested and TrackingTimerFinished then + LockPercentage_WathcValue = Support.GetImportWatchVariableValue("Lock Percentage") + if 0.5 <= LockPercentage_WathcValue then + TrackingTimerFinished = false + OverAllSuggestionTimerFinished = false + DisplayTextTable.textId = TargetLockPrompt + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + local PlayerIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + if PlayerIndex and Player.IsLocalPlayer(PlayerIndex) then + Game.DisplayText(DisplayTextTable, PlayerIndex, true, Self) + TrackingSuggested = false + end + end + Callbacks.RegisterForTimer("TrackingTimer", 15, false) + Callbacks.RegisterForTimer("OverAllSuggestionTimer", OverAllTimeBetweenSuggestions, false) + end + end + end +end + +function SheildTimer() + SheildTimerFinished = true +end + +function StompTimer() + StompTimerFinished = true +end + +function MeleeTimer() + MeleeTimerFinished = true +end + +function TrackingTimer() + TrackingTimerFinished = true +end + +function MeleeWallTimer() + MeleeWallTimerFinished = true +end + +function OverAllSuggestionTimer() + OverAllSuggestionTimerFinished = true +end + +function Track_EPA_STOMP_Enter() + StompSuggested = true +end + +function Track_EPA_STOMP_Exit() + StompSuggested = false +end + +function Track_EPA_MELEE_Enter() + MeleeSuggested = true +end + +function Track_EPA_MELEE_Exit() + MeleeSuggested = false +end + +function EPA_MELEE_LookAt() + local InventoryTable = Game.GetInventoryItems(Self, 4) + if 0 < #InventoryTable then + local PlaIndex = Player.GetPlayerIndexByObject(InventoryTable[1]) + local ObjectsWithTagInReg = Regions.GetObjectsInRegionWithTag(Self, EPAMeleeID) + local AtLeastOneTrue = false + for _k, obj in pairs(ObjectsWithTagInReg) do + if Game.IsPlayerLookRotFacingObject(PlaIndex, Game.GetPosition(obj), 30) then + AtLeastOneTrue = true + end + end + if AtLeastOneTrue then + MeleeSuggested = true + else + MeleeSuggested = false + end + end +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageTakenMessage, Self, "TakenDamage") +Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Self, "WaitForText") +Callbacks.RegisterForMsg(GameScript.MsgCallback.ActorTakingControlMessage, Self, "PlayerGetsInEPA") +Callbacks.RegisterForMsg(GameScript.MsgCallback.ActorReleasingControlMessage, Self, "TrackPlayerGettingOut") +Callbacks.RegisterObjectTagEnterExitRegion(Self, EPAStompID, "Track_EPA_STOMP_Enter", "Track_EPA_STOMP_Exit") +Callbacks.RegisterObjectTagEnterExitRegion(Self, EPAMeleeID, "Track_EPA_MELEE_Enter", "Track_EPA_MELEE_Exit") +Callbacks.RegisterForTimer("Suggestion", 0.5, true) diff --git a/recovered/resources/EXTRACTresources/Script/Game/Vehicles/ForcePlayerOutOnLowHealth.lua b/recovered/resources/EXTRACTresources/Script/Game/Vehicles/ForcePlayerOutOnLowHealth.lua new file mode 100644 index 0000000..970d9dc --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/Vehicles/ForcePlayerOutOnLowHealth.lua @@ -0,0 +1,32 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local AI = Game.AI +local Camera = Game.Camera +local Physics = Game.Physics +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +Support.ImportWatchVariable("Mech Health", "This needs to be the absolute health, not the percentage") +local Time = Support.ImportFloatVariableWithDefault("Wait Time", "Once the health hits zero, how long before the player is kicked out", 10) +local WatchValue +local Self = Game.GetMyObject() +local CountingDownToDumpOut = false + +function TakenDamage() + WatchValue = Support.GetImportWatchVariableValue("Mech Health") + if WatchValue <= 1 and not CountingDownToDumpOut then + Callbacks.RegisterForTimer("DumpOutOfMech", Time, false) + CountingDownToDumpOut = true + end +end + +function DumpOutOfMech() + local InventoryTable = Game.GetInventoryItems(Self, 4) + if InventoryTable[1] then + Game.ForceRiderOutOfVehicle(InventoryTable[1], Self, false) + end + CountingDownToDumpOut = false +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageTakenMessage, Self, "TakenDamage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton.lua new file mode 100644 index 0000000..c787715 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton.lua @@ -0,0 +1,123 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Msg = GameScript.MsgCallback +local Util = GameScript.Utilities +local AI = Game.AI +local spawner = Game.GetMyObject() +local mySet = Game.GetMyObject() +local kUpdateTime = 0.1 +local AnimGraphName = "Animation Graph Resource" +local AnimLabelInfo = Util.CreateAnimLabelTag("Intro", "Status", GameScript.AnimTagType.kEnd) +Support.RegisterAnimationGraphResourceVariable(AnimGraphName, "The animation graph we want to use'") +local AnimationVar = Support.ImportStringVariable("Animation Variable", "The name of the Animation Variable to set on the spawned object.") +local AnimationValue = Support.ImportFloatVariable("Animation Value", "Value to set 'Animation Variable'. This is set once '" .. AnimGraphName .. "' is active") +local InterruptOnDamage = Support.ImportBoolVariableWithDefault("Interrupt On Damage", "if true animation graph will be removed when the spawned object takes damage. This option is meaningless if 'Interrupt On Target' is true.", false) +local InterruptRegion = Support.ImportRegionObject("Interrupt Region", "If a region is specified, the graph will be removed when a player enters the region. You do not have to specify a region. If you are getting a red screen simply re-save your level.") +local InterruptOnTarget = GameScript.Support.ImportBoolVariableWithDefault("Interrupt On Target", "if true animation graph will be removed when the spawned AI aquires a target through its sensors or given an order that has a target.", false) + +function DebugOutput(msg) + Debug.PrintInfoIf(g_debugMode > 0, msg) +end + +function Done(object) + if object == nil then + return + end + DebugOutput("Removing graph on " .. Game.GetName(object)) + Game.RemoveAnimationGraphResource(object) + Game.Sets.RemoveObjectFromSet(mySet, object) +end + +function AnimOver(info) + if Util.IsAnimLabelTag(AnimLabelInfo, info) then + Done(info.object) + DebugOutput("Anim Tag Over") + end +end + +function HasTarget(object) + if ai ~= nil then + info = AI.GetAITargetInfo(object) + if info.m_bIsInfoValid then + return true + end + end + return false +end + +function AISpawned(info) + local object = info.object + DebugOutput("spawned " .. Game.GetName(object)) + Callbacks.RegisterForMsg(Msg.AnimationGraphPushedMessage, object, "GraphPushed") + Game.SetAnimationGraphResource(object, "Animation Graph Resource") + Game.Sets.AddObjectToSet(mySet, object) +end + +function GraphPushed(object) + DebugOutput("Graph Pushed " .. Game.GetName(object)) + if AnimationVar ~= nil then + Game.SetAnimationVariable(object, AnimationVar, AnimationValue) + end + Callbacks.RegisterForMsg(Msg.LabelAnimationTag, object, "AnimTagOver") + Callbacks.RegisterForMsg(Msg.LabelStateAnimationTag, object, "AnimStateOver") + Callbacks.RegisterForMsg(Msg.AnimationFinishedMessage, object, "AnimFinished") + Callbacks.RegisterForMsg(Msg.SuspendMessage, object, "Suspended") + if InterruptOnDamage then + DebugOutput("Registering to handle Damage") + Callbacks.RegisterForMsg(Msg.DamageTakenMessage, object, "DamageOver") + end + if InterruptRegion then + DebugOutput("Registering to handle player enter region. " .. Game.GetName(InterruptRegion)) + Callbacks.RegisterPlayerEnterExitRegion(InterruptRegion, "PlayerEnterRegion", "") + end + if InterruptOnTarget then + Callbacks.RegisterForTimer("LookForTarget", kUpdateTime, true) + end +end + +function AnimTagOver(info) + AnimOver(info) +end + +function AnimStateOver(info) + AnimOver(info) +end + +function AnimFinished(info) + Done(info) +end + +function DamageOver(object) + Done(object) +end + +function Suspended(msg) + Done(msg.target) +end + +function PlayerEnterRegion() + local objects = Game.Sets.GetObjectsInSet(mySet) + for idx, obj in ipairs(objects) do + Done(obj) + end +end + +function LookForTarget() + local set = GameScript.Game.Sets.GetObjectsInSet(mySet) + for idx, ai in ipairs(set) do + if ai ~= nil then + info = AI.GetAITargetInfo(ai) + if info.m_bIsInfoValid then + Done(ai) + end + end + end +end + +if spawner then + Callbacks.RegisterForMsg(Msg.SpawnerMessage, spawner, "AISpawned") +else + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event.lua new file mode 100644 index 0000000..4cae2c6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event.lua @@ -0,0 +1,140 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Msg = GameScript.MsgCallback +local Util = GameScript.Utilities +local AI = GameScript.Game.AI +local spawner = Game.GetMyObject() +local mySet = Game.GetMyObject() +local kUpdateTime = 0.1 +local AnimGraphName = "Animation Graph Resource" +local AnimLabelInfo = Util.CreateAnimLabelTag("Intro", "Status", GameScript.AnimTagType.kEnd) +Support.RegisterAnimationGraphResourceVariable(AnimGraphName, "The animation graph we want to use'") +local AnimationVar = Support.ImportStringVariable("Animation Variable", "The name of the Animation Variable to set on the spawned object.") +local AnimationValue = Support.ImportFloatVariable("Animation Value", "Value to set 'Animation Variable'. This is set once '" .. AnimGraphName .. "' is active") +local InterruptOnDamage = Support.ImportBoolVariable("Interrupt On Damage", "if true animation graph will be removed when the spawned object takes damage.") +local TriggerOnDamage = Support.ImportBoolVariableWithDefault("Trigger On Damage", "if true the event will be triggered on damage(only will function if Interrupt On Damage is false.", false) +local InterruptOnTarget = GameScript.Support.ImportBoolVariableWithDefault("Interrupt On Target", "if true animation graph will be removed when the spawned AI aquires a target through its sensors or given an order that has a target.", false) +local StartEventRegion = Support.ImportRegionObject("Event Region!", "When a player enters this region the Spawned AI will have it's Event Variable set with the Event Value") +local StartEventMessage = Support.ImportBoolVariableWithDefault("Text Message to Start?", "When this object recieves a text message of 'Event' the Spawned AI will have it's Event Variable set with the Event Value", false) +local EventAnimationVar = Support.ImportStringVariable("Event Variable", "The name of the Animation Variable to set on the spawned object when ") +local EventAnimationValue = Support.ImportFloatVariable("Event Value", "Value to set 'Animation Variable'. This is set once '" .. AnimGraphName .. "' is active") +local ObjectTable = {} +local bRegisteredPlayerInRegion = false +local bRegisteredTextMessage = false + +function DebugOutput(msg) +end + +function Done(object) + if object == nil then + return + end + DebugOutput("Removing graph on " .. Game.GetName(object)) + Game.RemoveAnimationGraphResource(object) + Game.Sets.RemoveObjectFromSet(mySet, object) +end + +function AnimOver(info) + if Util.IsAnimLabelTag(AnimLabelInfo, info) then + Done(info.object) + DebugOutput("Anim Tag Over") + end +end + +function AISpawned(info) + local object = info.object + DebugOutput("spawned " .. Game.GetName(object)) + Callbacks.RegisterForMsg(Msg.AnimationGraphPushedMessage, object, "GraphPushed") + Game.SetAnimationGraphResource(object, "Animation Graph Resource") + Game.Sets.AddObjectToSet(mySet, object) +end + +function GraphPushed(object) + ObjectTable[#ObjectTable + 1] = object + DebugOutput("Graph Pushed " .. Game.GetName(object)) + if AnimationVar ~= nil then + Game.SetAnimationVariable(object, AnimationVar, AnimationValue) + end + Callbacks.RegisterForMsg(Msg.LabelAnimationTag, object, "AnimTagOver") + Callbacks.RegisterForMsg(Msg.LabelStateAnimationTag, object, "AnimStateOver") + Callbacks.RegisterForMsg(Msg.SuspendMessage, object, "Suspended") + if InterruptOnDamage then + DebugOutput("Registering to handle Damage") + Callbacks.RegisterForMsg(Msg.DamageTakenMessage, object, "DamageOver") + end + if TriggerOnDamage and not InterruptOnDamage then + DebugOutput("Registering to handle Damage") + Callbacks.RegisterForMsg(Msg.DamageTakenMessage, object, "Force_StartEvent") + end + if InterruptOnTarget then + Callbacks.RegisterForTimer("LookForTarget", kUpdateTime, true) + end + if StartEventRegion and not bRegisteredPlayerInRegion then + DebugOutput("Registering to handle player enter region. " .. Game.GetName(StartEventRegion)) + Callbacks.RegisterPlayerEnterExitRegion(StartEventRegion, "Force_StartEvent", "") + bRegisteredPlayerInRegion = true + end + if StartEventMessage and not bRegisteredTextMessage then + DebugOutput("Registering to handle receive text msg. " .. Game.GetName(StartEventRegion)) + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Game.GetMyObject(), "Force_StartEvent", "") + bRegisteredTextMessage = true + end +end + +function Force_StartEvent() + if EventAnimationVar ~= nil and ObjectTable[1] and Game.IsLoaded(ObjectTable[1]) then + Game.SetAnimationVariable(ObjectTable[1], EventAnimationVar, EventAnimationValue) + end +end + +function AquireTarget_StartEvent(ai) + if AquireTarget_AnimVar ~= nil and AquireTarget_AnimValue > 0 then + if ai and Game.IsLoaded(ai) then + Game.SetAnimationVariable(ai, EventAnimationVar, EventAnimationValue) + end + else + Done(ai) + end +end + +function AnimTagOver(info) + AnimOver(info) +end + +function AnimStateOver(info) + AnimOver(info) +end + +function Suspended(msg) + Done(msg.target) +end + +function DamageOver(object) + Done(object) +end + +function PlayerEnterRegion() + for idx, val in ipairs(objects) do + Done(val) + end +end + +function LookForTarget() + local set = GameScript.Game.Sets.GetObjectsInSet(mySet) + for idx, ai in ipairs(set) do + if ai ~= nil then + info = AI.GetAITargetInfo(ai) + if info.m_bIsInfoValid then + AquireTarget_StartEvent(ai) + end + end + end +end + +if spawner then + Callbacks.RegisterForMsg(Msg.SpawnerMessage, spawner, "AISpawned") +else + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrder.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrder.lua new file mode 100644 index 0000000..789a2d1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrder.lua @@ -0,0 +1,19 @@ +GameScript.Support.AddDescription("Script to assign an AIOrder to an enemy") +local Game = GameScript.Game +local AI = Game.AI +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Assignee = Support.ImportSingleObject("Assignee", "Enemy AI that is assigned an external order") +local Order = Support.ImportSingleObject("AI Order", "External order that enemy AI is assigned") +local WaitTime = Support.ImportFloatVariableWithDefault("Wait Time", "Once created/enabled how long should the script wait before assigning the AI Order?", 0) + +function AssignOrder() + AI.AssignExternalAIOrder(Order, Assignee) +end + +if 0 < WaitTime then + Callbacks.RegisterForTimer("AssignOrder", WaitTime, false) +else + AssignOrder() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrderToSet.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrderToSet.lua new file mode 100644 index 0000000..c34648e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/AssignOrderToSet.lua @@ -0,0 +1,19 @@ +GameScript.Support.AddDescription("Script to assign an AIOrder to an enemy") +local Game = GameScript.Game +local AI = Game.AI +local Sets = Game.Sets +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local AssigneeSet = Support.ImportSetObject("Set of Assignees", "The set containing the AIs that will receive the new order") +local Order = Support.ImportSingleObject("AI Order", "External order that enemy AI is assigned") + +function AssignOrder() + if AssigneeSet ~= nil then + local AssigneeTable = Sets.GetObjectsInSet(AssigneeSet) + for k, Assignee in pairs(AssigneeTable) do + AI.AssignExternalAIOrder(Order, Assignee) + end + end +end + +AssignOrder() diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/DisableSmartnodesInObjectRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/DisableSmartnodesInObjectRegion.lua new file mode 100644 index 0000000..b1313ab --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/DisableSmartnodesInObjectRegion.lua @@ -0,0 +1,9 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Sets = GameScript.Game.Sets +local AI = Game.AI +local myObject = Game.GetMyObject() +if myObject ~= nil then + AI.EnableSmartMapsInRegion(myObject, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/EnableDisableAI.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/EnableDisableAI.lua new file mode 100644 index 0000000..56a8a9e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/EnableDisableAI.lua @@ -0,0 +1,9 @@ +local AI = GameScript.Game.AI +local Support = GameScript.Support +local bEnable = Support.ImportBoolVariable("Enable", "Do we enable the AI (true), or disable it (false)") +local AIsToEnable = Support.ImportObjectHandleVariable("AI(s)", "The AI to enable/disable") +for k, aiObj in pairs(AIsToEnable) do + if aiObj ~= nil then + AI.EnableAIObject(aiObj, bEnable) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/KillAfterMeleeAttack.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/KillAfterMeleeAttack.lua new file mode 100644 index 0000000..0aa23f4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/KillAfterMeleeAttack.lua @@ -0,0 +1,23 @@ +GameScript.Support.AddDescription("Kill creep after Melee attack or label tag with group = 'Attacks' and type = 'kEnd' .") +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Msg = GameScript.MsgCallback +local Util = GameScript.Utilities +local me = Game.GetMyObject() +local AttackTag = Util.CreateAnimLabelTag("Kill", "Kill", GameScript.AnimTagType.kStart) + +function Kill() + Game.SendKillMessage(me, GameScript.KillObjectMessageType.DoDying) +end + +function MeleeOver() + Kill() +end + +function LabelStateTag(info) + if Util.IsAnimLabelTag(AttackTag, info) then + Kill() + end +end + +Callbacks.RegisterForMsg(Msg.LabelAnimationTag, me, "LabelStateTag") diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/MakeAINeutral.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/MakeAINeutral.lua new file mode 100644 index 0000000..efee62b --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/MakeAINeutral.lua @@ -0,0 +1,9 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local bEnable = Support.ImportBoolVariable("Enable", "Do we make the AI Neutral (true), or non-Neutral (false)") +local AIsToNeutral = Support.ImportObjectHandleVariable("AI(s)", "The AI to make Neutral/non-Neutral") +for k, aiObj in pairs(AIsToNeutral) do + if aiObj ~= nil then + Game.SetNeutral(aiObj, bEnable) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/SetWatchVariableOnWeaponFired.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/SetWatchVariableOnWeaponFired.lua new file mode 100644 index 0000000..bd5f478 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/SetWatchVariableOnWeaponFired.lua @@ -0,0 +1,22 @@ +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local myObject = Game.GetMyObject() +local WeaponFiredMessage = GameScript.MsgCallback.WeaponStartingFireMessage +Support.ExportFloatVariable("Weapon Fired", 0, "Has the weapon been fired? 0 = false, 1 = true") +local weapon + +function OnWeaponFired() + Extern["Weapon Fired"] = 1 + if weapon ~= nil then + Callbacks.UnregisterForMsg(WeaponFiredMessage, weapon, "OnWeaponFired") + end +end + +local weaponTable = Game.GetInventoryItems(myObject, 1) +if weaponTable ~= nil then + weapon = weaponTable[1] + if weapon ~= nil then + Callbacks.RegisterForMsg(WeaponFiredMessage, weapon, "OnWeaponFired") + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/Suicide/BlinkPeriod.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/Suicide/BlinkPeriod.lua new file mode 100644 index 0000000..9226dab --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/Suicide/BlinkPeriod.lua @@ -0,0 +1,68 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local Player = Game.Player +local LuaHelpers = GameScript.LuaHelpers +local AI = Game.AI +local SpeedVariable = "Speed" +local SpeedValue = 0 +local MinSpeed = 0.1 +local MaxSpeed = 0.5 +local EndSpeed = 0 +local MinDistance = Support.ImportFloatVariable("Min Distance", "Min distance for the curve; X axis scaler") +local MaxDistance = Support.ImportFloatVariable("Max Distance", "Max distance for the curve; X axis scaler") +local MinPeriod = Support.ImportFloatVariable("Min Period", "Min period of time for the curve; Y axis scaler") +local MaxPeriod = Support.ImportFloatVariable("Max Period", "Max period of time for the curve; Y axis scaler") +Support.RegisterCurveTemplateVariable("Player Distance Curve", "This curve details the ramping of the Lights/Audio speed based on distance") +Support.RegisterCurveTemplateVariable("Blinking Light Curve", "This curve details the light intensity") +Support.ExportFloatVariable("Period", 1, "The period of time to scale the Light blinking to.") +Support.ExportFloatVariable("LightIntensity", 1, "The intensity of lights 0 - 1") +Support.ExportFloatVariable("BeepOn", 0, "The Beep is allowed to play") +local Self = Game.GetMyObject() +local Value, TextToScreen, CurveFunction_PlayerDistance, CurveFunction_LightIntensity, PlayerObject +local PlayerDistance = "nil" +local CurrentTime = 0 +local EndTime = 1 + +function TestForDistance() + if Self ~= nil then + PlayerDistance = AI.GetDistanceToClosestEnemy(Self) + Extern.Period = CurveFunction_PlayerDistance(PlayerDistance) + Callbacks.RegisterForTimer("TestForDistance", Extern.Period, false) + CurrentTime = Support.GetGameTime() + EndTime = CurrentTime + Extern.Period + CurveFunction_LightIntensity = Utilities.GetCurveFunction("Blinking Light Curve", 1, 0, EndTime, CurrentTime) + end +end + +local Beeped = false + +function RunCurve() + Extern.LightIntensity = CurveFunction_LightIntensity(Support.GetGameTime()) + if Extern.LightIntensity > 0.95 then + if not Beeped then + Extern.BeepOn = 1 + Beeped = true + else + Extern.BeepOn = 0 + end + elseif Extern.LightIntensity < 0.5 then + Beeped = false + end + if 0 < g_debugMode then + TextToScreen = "PlayerDistance: " .. PlayerDistance + Debug.PrintToScreen(TextToScreen, 0.04, 0.5) + TextToScreen = "PeriodValue: " .. Extern.Period + Debug.PrintToScreen(TextToScreen, 0.04, 0.55) + TextToScreen = "LightIntensity: " .. Extern.LightIntensity + Debug.PrintToScreen(TextToScreen, 0.04, 0.6) + TextToScreen = "BeepOn: " .. Extern.BeepOn + Debug.PrintToScreen(TextToScreen, 0.04, 0.65) + end +end + +CurveFunction_PlayerDistance = Utilities.GetCurveFunction("Player Distance Curve", MaxPeriod, MinPeriod, MaxDistance, MinDistance) +TestForDistance() +Callbacks.RegisterForUpdateEveryFrame("RunCurve") diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/Survivior/SurvivorPossession.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/Survivior/SurvivorPossession.lua new file mode 100644 index 0000000..4d0672f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/Survivior/SurvivorPossession.lua @@ -0,0 +1,40 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local _leftLeg = Support.ImportWatchVariable("LeftLeg", "The Watch Variable whose value will be polled") +local _rightLeg = Support.ImportWatchVariable("RightLeg", "The Watch Variable whose value will be polled") +local _leftArm = Support.ImportWatchVariable("LeftArm", "The Watch Variable whose value will be polled") +local _rightArm = Support.ImportWatchVariable("RightArm", "The Watch Variable whose value will be polled") +Support.ExportFloatVariable("CanPossess", 1, "If this value is greater than 0.0 the cultist can be possessed.") + +function UpdateEveryFrame() + if _leftLeg == 1 or _rightLeg == 1 or _leftArm == 1 and _rightArm == 1 then + Extern.CanPossess = 0 + Support.ExitScript() + end +end + +function LeftLegChange(msg) + _leftLeg = msg.newValue + UpdateEveryFrame() +end + +function RightLegChange(msg) + _rightLeg = msg.newValue + UpdateEveryFrame() +end + +function LeftArmChange(msg) + _leftArm = msg.newValue + UpdateEveryFrame() +end + +function RightArmChange(msg) + _rightArm = msg.newValue + UpdateEveryFrame() +end + +Callbacks.RegisterForWatchVariableChange("LeftLeg", "LeftLegChange") +Callbacks.RegisterForWatchVariableChange("RightLeg", "RightLegChange") +Callbacks.RegisterForWatchVariableChange("LeftArm", "LeftArmChange") +Callbacks.RegisterForWatchVariableChange("RightArm", "RightArmChange") diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/SwitchNextInventory.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/SwitchNextInventory.lua new file mode 100644 index 0000000..40e9c24 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/SwitchNextInventory.lua @@ -0,0 +1,25 @@ +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Msg = GameScript.MsgCallback +local me = GameScript.Game.GetMyObject() +local AnimLabelTag = Util.CreateAnimLabelTag("SwitchInventory", "SwitchInventory", GameScript.AnimTagType.kEnd) +local InventoryType = GameScript.InventoryType.kPrimaryWeaponInventory +local InvGroup = 1 + +function AnimOver(info) + if Util.IsAnimLabelTag(AnimLabelTag, info) then + GameScript.Game.SelectInventory(me, InventoryType, InvGroup) + GameScript.Support.ExitScript() + end +end + +function OnAnimLabel(label) + AnimOver(label) +end + +function OnAnimStateLabel(label) + AnimOver(label) +end + +Callbacks.RegisterForMsg(Msg.LabelAnimationTag, me, "OnAnimLabel") +Callbacks.RegisterForMsg(Msg.LabelStateAnimationTag, me, "OnAnimStateLabel") diff --git a/recovered/resources/EXTRACTresources/Script/Game/ai/aistunscript.lua b/recovered/resources/EXTRACTresources/Script/Game/ai/aistunscript.lua new file mode 100644 index 0000000..47d687f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/ai/aistunscript.lua @@ -0,0 +1,27 @@ +local GS = GameScript +local Game = GS.Game +local AI = Game.AI +local Callbacks = GS.Callbacks +local Debug = GS.Debug +local Support = GS.Support +local timer = Support.ImportFloatVariableWithDefault("Timer", "Length of time to be Stunned", 5) +local scriptObject = Game.GetMyObject() +local stunned = 0 + +function Unstun() + stunned = 0 + AI.EnableAIObject(scriptObject, true) +end + +function OnTextMessage(message) + if message.text == "Stunned" then + if stunned then + Callbacks.UnregisterForTimer("Unstun", timer, false) + end + stunned = 1 + AI.EnableAIObject(scriptObject, false) + Callbacks.RegisterForTimer("Unstun", timer, false) + end +end + +Callbacks.RegisterForMsg(GS.MsgCallback.TextMessage, scriptObject, "OnTextMessage") diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/EnableObjectAfterIntroMovie.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/EnableObjectAfterIntroMovie.lua new file mode 100644 index 0000000..c8f0cf3 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/EnableObjectAfterIntroMovie.lua @@ -0,0 +1,21 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local scriptObject = Game.GetMyObject() +Support.AddDescription("Enable an object or objects in a set when the script is started") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") + +function enable() + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end + Callbacks.UnregisterForMsg(GameScript.MsgCallback.EnterPlayableState, scriptObject, "enable") +end + +Callbacks.RegisterForMsg(GameScript.MsgCallback.EnterPlayableState, scriptObject, "enable") diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/LookAtPlayCinema.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/LookAtPlayCinema.lua new file mode 100644 index 0000000..0fdf19c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/LookAtPlayCinema.lua @@ -0,0 +1,54 @@ +local Game = GameScript.Game +local Player = Game.Player +local Regions = Game.Regions +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local LuaHelpers = GameScript.LuaHelpers +local PlayerCameraPosition = {} +local RayCastTable = {} +local InRegionsTable = {} +local CinemaObject = Support.ImportFirstObject("Cinema Object", "The object containing the Cutscene Component") +local SecondaryCinemaObject = Support.ImportFirstObject("Secondary Cinema Object", "This is necessary if Both Players in Cinema is set to 0(false)") +local RequireLOS = Support.ImportBoolVariableWithDefault("Require Line of Sight?", "Should we have LOS to the position before enabling the object(s)?", true) +local PositionTable = Support.ImportObjectHandleVariable("Position(s)", "The positions of this object(s) will be used for the Look-At") +local MaxAngle = Support.ImportFloatVariable("Max Angle", "The maximum angle between the player's LookRot and object position.") +local UpdateSeconds = Support.ImportFloatVariableWithDefault("Update every X Seconds", "The script will test the player look-at every X seconds. The minimum value is 0.0333", 0.12) +local RunOnce = Support.ImportBoolVariableWithDefault("Run Once?", "Setting this to True will cause the script to stop checking after the first time", false) +local BothPlayers = Support.ImportBoolVariableWithDefault("Both Players in Cinema?", "1 Both Players will be passed to the cinema. 0 Each player will get their own cinema. REQUIRES a Secondary Cinema Object.", true) +local RegionTable = Support.ImportObjectHandleVariable("Region(s)", "If a region(s) is submitted then Only players in the region will be tested for Look-At") + +function Update() + local NumberOfPlayers = Game.Player.GetNumPlayers() + local i = 1 + while NumberOfPlayers >= i do + if 0 < #RegionTable and Regions.IsPlayerInRegions(GameScript.PlayerIndexArray[i], RegionTable) or #RegionTable == 0 then + for k, position in pairs(PositionTable) do + if Game.IsPlayerLookRotFacingObject(GameScript.PlayerIndexArray[i], position, MaxAngle) and (RequireLOS and Util.LineOfSight(GameScript.PlayerIndexArray[i], position) or not RequireLOS) then + if not BothPlayers then + local i_Avatar = Player.GetPlayerAvatarObjectByIndex(GameScript.PlayerIndexArray[i]) + if Game.ObjectTags.DoesObjectHaveTag(i_Avatar, "Point Man") then + LuaHelpers.StartCinema(CinemaObject, false, true) + else + LuaHelpers.StartCinema(SecondaryCinemaObject, true, true) + end + else + LuaHelpers.StartCinema(CinemaObject, false, false) + end + if RunOnce then + Callbacks.UnregisterForTimer("Update") + end + end + end + end + i = i + 1 + end +end + +if CinemaObject and 0 < #PositionTable then + if UpdateSeconds < 0.03333 then + UpdateSeconds = 0.03333 + end + Callbacks.RegisterForTimer("Update", UpdateSeconds, true) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay.lua new file mode 100644 index 0000000..ef939a4 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay.lua @@ -0,0 +1,64 @@ +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local LuaHelpers = GameScript.LuaHelpers +local EnablesLeft +local IsPointManOutsideRegion = true +local IsFettelOutsideRegion = true +local RegionList = Support.ImportObjectHandleVariable("Region(s) to Enter", "A player entering this region(s), will trigger start the cinema") +local CinemaObject = Support.ImportFirstObject("Cinema Object", "The object containing the Cutscene Component") +local SecondaryCinemaObject = Support.ImportFirstObject("Secondary Cinema Object", "The object containing the Cutscene Component") +local NumberOfEnables = Support.ImportFloatVariable("Number Of Enables", "The number of times this cinema will run. 0 is Infinite") +local PlayerCheck = Support.ImportFloatVariableWithDefault("Player Check", "Player check to perform: 0: no player check required; 1: only Pointman must exist; 2: only Fettel must exist", 0) +local BothPlayersInCinema = Support.NumberToBool(Support.ImportFloatVariable("Both Players In Cinema?", "1 Any time any player enters the region(s) the cinema will be attempted with both players. PointMan as Primary and Fettel as Secondary. 0 The cinema will be started on just the player that has entered the Region. NOTE: With this set to 0 the Cinema Object will be played on PointMan and the Secondary Cinema Object will be played on Fettel")) +local RequireAllPlayersInRegion = Support.NumberToBool(Support.ImportFloatVariable("Require All Players In Region to Enable?", "0 The Cinema will start when any player enters the region. 1 The Cinema will only start when both players are in the Region. NOTE: Should ONLY be used when both players are in the cinema.")) + +function PlayerEntRegion(PlayerInfo) + if PlayerInfo.object and (RequireAllPlayersInRegion and Game.Regions.AllPlayersInTableOfRegions(RegionList) or not RequireAllPlayersInRegion) then + if 0 < PlayerCheck then + local numPlayers = Player.GetNumPlayers() + for index = GameScript.PlayerIndex.kGlobalPlayer1, numPlayers do + local playerObject = Player.GetPlayerAvatarObjectByIndex(index) + if playerObject ~= nil then + if PlayerCheck == 2 then + if Game.ObjectTags.DoesObjectHaveTag(playerObject, "Point Man") then + return + end + elseif PlayerCheck == 1 and Game.ObjectTags.DoesObjectHaveTag(playerObject, "Fettel") then + return + end + end + end + end + if BothPlayersInCinema then + LuaHelpers.StartCinema(CinemaObject, false, false) + else + local PlayerIndex = Player.GetPlayerIndexByObject(PlayerInfo.object) + local playerObject = Player.GetPlayerAvatarObjectByIndex(PlayerIndex) + if Game.ObjectTags.DoesObjectHaveTag(playerObject, "Point Man") then + LuaHelpers.StartCinema(CinemaObject, false, true) + elseif SecondaryCinemaObject then + LuaHelpers.StartCinema(SecondaryCinemaObject, true, true) + else + LuaHelpers.StartCinema(CinemaObject, true, true) + end + end + if EnablesLeft then + EnablesLeft = EnablesLeft - 1 + if EnablesLeft <= 0 then + for key, region in pairs(RegionList) do + Callbacks.UnregisterPlayerEnterExitRegion(region, "PlayerEntRegion", "") + end + end + end + end +end + +if RegionList then + for key, region in pairs(RegionList) do + Callbacks.RegisterPlayerEnterExitRegion(region, "PlayerEntRegion", "") + end + EnablesLeft = 0 < NumberOfEnables and NumberOfEnables or nil +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers.lua new file mode 100644 index 0000000..88ef046 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers.lua @@ -0,0 +1,33 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local LuaHelpers = GameScript.LuaHelpers +local EnablesLeft +local IsPointManOutsideRegion = true +local IsFettelOutsideRegion = true +local CinemaObject = Support.ImportFirstObject("Cinema Object", "The object containing the Cutscene Component") +local SecondaryCinemaObject = Support.ImportFirstObject("Secondary Cinema Object", "If Players In Cinema is 2 and second cinema object is added then it will be used on Fettel") +local PlayersInCinema = Support.ImportFloatVariable("Players In Cinema", "0: Just PointMan. 1: Just Fettel. 2: PointMan and Fettel.") +local timeTillPlay = Support.ImportFloatVariableWithDefault("Delay", "How long before we activate the cinema?", 0) + +function Play() + if CinemaObject then + if PlayersInCinema == 0 then + LuaHelpers.StartCinema(CinemaObject, false, true) + elseif PlayersInCinema == 1 then + LuaHelpers.StartCinema(CinemaObject, true, true) + elseif PlayersInCinema == 2 then + if SecondaryCinemaObject then + LuaHelpers.StartCinema(CinemaObject, false, true) + LuaHelpers.StartCinema(SecondaryCinemaObject, true, true) + else + LuaHelpers.StartCinema(CinemaObject, false, false) + end + end + end +end + +if PlayersInCinema == 0 or PlayersInCinema == 1 or PlayersInCinema == 2 then + Callbacks.RegisterForTimer("Play", timeTillPlay, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/StopLooping.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/StopLooping.lua new file mode 100644 index 0000000..a1a2b0e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/StopLooping.lua @@ -0,0 +1,13 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +Support.AddDescription("Tell an object with a Cutscene component to stop looping") +local ObjTable = Support.ImportObjectHandleVariable("Cutscene Object(s)", "Object or Objects that will stoop looping") +if ObjTable then + Debug.PrintInfoIf(g_debugMode > 0, "Stop Looping Object - Number:" .. table.getn(ObjTable)) + for key, nextObj in pairs(ObjTable) do + if Game.IsLoaded(nextObj) then + Game.SendCutsceneStopLoopMessage(nextObj) + end + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/cinema/startcinemaonplayerswithtimer.lua b/recovered/resources/EXTRACTresources/Script/Game/cinema/startcinemaonplayerswithtimer.lua new file mode 100644 index 0000000..2238093 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/cinema/startcinemaonplayerswithtimer.lua @@ -0,0 +1,34 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Debug = GameScript.Debug +local Callbacks = GameScript.Callbacks +local LuaHelpers = GameScript.LuaHelpers +local CinemaObject = Support.ImportFirstObject("Cinema Object", "The object containing the Cutscene Component") +local SecondaryCinemaObject = Support.ImportFirstObject("Secondary Cinema Object", "If Players In Cinema is 2 and second cinema object is added then it will be used on Fettel") +local PlayersInCinema = Support.ImportFloatVariable("Players In Cinema", "0: Just PointMan. 1: Just Fettel. 2: PointMan and Fettel.") +local timer = Support.ImportFloatVariableWithDefault("Timer", "How long to wait before playing cinema", 0) + +function OnTimer() + if PlayersInCinema == 0 or PlayersInCinema == 1 or PlayersInCinema == 2 then + if CinemaObject then + if PlayersInCinema == 0 then + LuaHelpers.StartCinema(CinemaObject, false, true) + elseif PlayersInCinema == 1 then + LuaHelpers.StartCinema(CinemaObject, true, true) + elseif PlayersInCinema == 2 then + if SecondaryCinemaObject then + LuaHelpers.StartCinema(CinemaObject, false, true) + LuaHelpers.StartCinema(SecondaryCinemaObject, true, true) + else + LuaHelpers.StartCinema(CinemaObject, false, false) + end + end + end + else + Debug.PrintWarning("Invalid number entered for players in cinema") + end +end + +if 0 <= timer then + Callbacks.RegisterForTimer("OnTimer", timer, false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/coop/RevivePlayersAndMakeInvulnerable.lua b/recovered/resources/EXTRACTresources/Script/Game/coop/RevivePlayersAndMakeInvulnerable.lua new file mode 100644 index 0000000..8ed97ce --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/coop/RevivePlayersAndMakeInvulnerable.lua @@ -0,0 +1,35 @@ +local Game = GameScript.Game +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Utilities = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local LuaHelpers = GameScript.LuaHelpers +local MP = Game.MP +local ObjectTags = Game.ObjectTags +local makeInvulnerable = Support.ImportBoolVariableWithDefault("Make Players Invulnerable?", "TRUE makes the players invulnerable when in region. FALSE makes the players vulnerable", true) +local revivePlayers = Support.ImportBoolVariableWithDefault("Revive Players?", "Should we revive players in last stand", true) + +function ReviveAndMakePlayersInvulnerable(avatarObject) + if avatarObject then + local PlayerIndex = Player.GetPlayerIndexByObject(avatarObject) + if revivePlayers then + Player.RevivePlayerInstant(PlayerIndex) + end + local playerControlledObject = Player.GetPlayerControlledObjectByIndex(PlayerIndex) + if playerControlledObject ~= nil and not ObjectTags.DoesObjectHaveTag(playerControlledObject, "Power Armor") then + Player.SetPlayerIndestructible(PlayerIndex, makeInvulnerable) + else + end + end +end + +if not MP.IsClient() then + local avatar1, avatar2 = Utilities.GetPointManFettelAvatarObjects() + if avatar1 and Game.IsLoaded(avatar1) then + ReviveAndMakePlayersInvulnerable(avatar1) + end + if avatar2 and Game.IsLoaded(avatar2) then + ReviveAndMakePlayersInvulnerable(avatar2) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/death/Creep_SelectDeathSequence.lua b/recovered/resources/EXTRACTresources/Script/Game/death/Creep_SelectDeathSequence.lua new file mode 100644 index 0000000..0cf96c9 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/death/Creep_SelectDeathSequence.lua @@ -0,0 +1,6 @@ +local chosenDeathSequence = "Normal Death" +GameScript.Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") + +function ChooseDeathSequence() + GameScript.Game.Death.SetDeathChoreographerSequence(chosenDeathSequence) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/death/RocketSoldier_SelectDeathSequence.lua b/recovered/resources/EXTRACTresources/Script/Game/death/RocketSoldier_SelectDeathSequence.lua new file mode 100644 index 0000000..75bf0d7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/death/RocketSoldier_SelectDeathSequence.lua @@ -0,0 +1,151 @@ +local Death = GameScript.Game.Death +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local Support = GameScript.Support +local Math3d = GameScript.LuaMath3d +local chosenDeathSequence = "Ragdoll Death" +local maxDistance = Support.ImportFloatVariableWithDefault("maxGibDistance", "The max distance for distance probablity curve. All values greater than this values will be treated as the max value.", 10) +Support.RegisterCurveTemplateVariable("distanceCurve", "Curved used to control distance based gib deaths. This curve changes the probablity of a full chance of gib death") +Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") +Callbacks.RegisterForDeathSequenceNetFixupCallback("FixupDeathSequence") + +function FixupDeathSequence() + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + chosenDeathSequence = Death.GetDeathChoreographerSequence(GameScript.Game.GetMyObject()) + GameScript.Debug.PrintInfo("Original Death Sequence " .. chosenDeathSequence) + AdjustForLowGoreOption() + GameScript.Debug.PrintInfo("Final Death Sequence " .. chosenDeathSequence) + Death.SetDeathChoreographerSequence(chosenDeathSequence) + end +end + +function ChooseDeathSequence() + local damageInfo = Death.GetLastDamageInfo() + local damageType = damageInfo.type + local myObject = GameScript.Game.GetMyObject() + if GameScript.FEAR.IsPhasing(myObject) then + chosenDeathSequence = "Explode into Gibs" + elseif damageType == "Bullet" then + HandleBulletDamage() + elseif damageType == "Shotgun" then + HandleShotgunDamage(damageInfo) + elseif damageType == "Frag Grenade" or damageType == "Bullet Mech" then + HandleExplosionDamage() + elseif damageType == "White Phosphor" or damageType == "Fire" or damageType == "Beam" then + HandleBurningDamage() + elseif damageType == "MeleeFinisher" then + HandleMeleeFinisherDamage() + elseif damageType == "Melee" then + HandleMeleeDamage() + elseif damageType == "MeleeKnife" then + HandleMeleeKnifeDamage() + elseif damageType == "Flechette" then + HandleFlechetteDamage() + elseif damageType == "Sniper Bullet" then + HandleSniperBulletDamage() + elseif damageType == "Mech MeleeStomp" then + HandleExplosionDamage() + end + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + AdjustForLowGoreOption() + end + Death.SetDeathChoreographerSequence(chosenDeathSequence) +end + +function ChooseRandomDeathSequenceFromTable(selectionTable) + strSelection = "" + local total = 0 + for key, value in pairs(selectionTable) do + total = total + value + selectionTable[key] = total + end + randomPick = math.random() * total + for key, value in pairs(selectionTable) do + if value > randomPick then + strSelection = key + break + end + end +end + +function HandleBulletDamage() + chosenDeathSequence = "Generic Animated Death" +end + +function HandleSniperBulletDamage() + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" +end + +function HandleShotgunDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Dismember = otherValues + selectionTable.Animated = otherValues + selectionTable.Gib = curveValue + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Animated" then + chosenDeathSequence = "Generic Animated Death + Shoot weapon" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleExplosionDamage() + local selectionTable = {} + selectionTable.Dismember = 0.5 + selectionTable.Explode = 0.25 + selectionTable.Gib = 0.25 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleBurningDamage() + chosenDeathSequence = "On Fire Death" +end + +function HandleMeleeFinisherDamage() + chosenDeathSequence = "Generic Animated Death" +end + +function HandleMeleeDamage() + chosenDeathSequence = "Generic Animated Death" +end + +function HandleMeleeKnifeDamage() + chosenDeathSequence = "Generic Animated Death" +end + +function HandleFlechetteDamage() + chosenDeathSequence = "Pinning Death" +end + +function AdjustForLowGoreOption() + if chosenDeathSequence == "Explode into Gibs" then + chosenDeathSequence = "Generic Animated Death" + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/death/Soldier_SelectDeathSequence.lua b/recovered/resources/EXTRACTresources/Script/Game/death/Soldier_SelectDeathSequence.lua new file mode 100644 index 0000000..7fa4a01 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/death/Soldier_SelectDeathSequence.lua @@ -0,0 +1,300 @@ +local Death = GameScript.Game.Death +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local Support = GameScript.Support +local Math3d = GameScript.LuaMath3d +local chosenDeathSequence = "Ragdoll Death" +local maxDistance = Support.ImportFloatVariableWithDefault("maxGibDistance", "The max distance for distance probablity curve. All values greater than this values will be treated as the max value.", 10) +Support.RegisterCurveTemplateVariable("distanceCurve", "Curved used to control distance based gib deaths. This curve changes the probablity of a full chance of gib death") +Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") +Callbacks.RegisterForDeathSequenceNetFixupCallback("FixupDeathSequence") + +function FixupDeathSequence() + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + chosenDeathSequence = Death.GetDeathChoreographerSequence(GameScript.Game.GetMyObject()) + GameScript.Debug.PrintInfo("Original Death Sequence " .. chosenDeathSequence) + AdjustForLowGoreOption() + GameScript.Debug.PrintInfo("Final Death Sequence " .. chosenDeathSequence) + Death.SetDeathChoreographerSequence(chosenDeathSequence) + end +end + +function ChooseDeathSequence() + local damageInfo = Death.GetLastDamageInfo() + local damageType = damageInfo.type + local myObject = GameScript.Game.GetMyObject() + if GameScript.FEAR.IsPhasing(myObject) then + chosenDeathSequence = "Explode into Gibs" + elseif damageType == "Bullet" then + HandleBulletDamage(damageInfo) + elseif damageType == "Shotgun" then + HandleShotgunDamage(damageInfo) + elseif damageType == "Stun" then + HandleShotgunDamage(damageInfo) + elseif damageType == "Rocket Launcher" then + HandleRocketLauncherDamage(damageInfo) + elseif damageType == "Bullet Stream" then + HandleBulletStreamDamage(damageInfo) + elseif damageType == "Rock Fall" then + HandleRockFallDamage() + elseif damageType == "Suicide Mine" then + HandleSuicideMineDamage() + elseif damageType == "Frag Grenade" then + HandleExplosionDamage() + elseif damageType == "Bullet Mech" then + HandleMechExplosionDamage() + elseif damageType == "White Phosphor" or damageType == "Fire" or damageType == "Beam" then + HandleBurningDamage() + elseif damageType == "MeleeFinisher" then + HandleMeleeFinisherDamage() + elseif damageType == "Melee" then + HandleMeleeDamage() + elseif damageType == "MeleeKnife" then + HandleMeleeKnifeDamage() + elseif damageType == "FettelMelee" then + HandleFettelMeleeDamage() + elseif damageType == "FettelMeleeFinisher" then + HandleFettelMeleeFinisherDamage() + elseif damageType == "FettelSuspendMelee" then + HandleFettelSuspendMeleeDamage() + elseif damageType == "Flechette" then + HandleFlechetteDamage() + elseif damageType == "Sniper Bullet" then + HandleSniperBulletDamage() + elseif damageType == "MeleeSlide" then + HandleMeleeSlideDamage() + elseif damageType == "MeleeJumpKick" then + HandleMeleeJumpKickDamage() + elseif damageType == "Explosive Tank" then + HandleExplosiveTankDamage() + elseif damageType == "Mech MeleeStomp" then + HandleExplosionDamage() + end + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + AdjustForLowGoreOption() + end + Death.SetDeathChoreographerSequence(chosenDeathSequence) +end + +function ChooseRandomDeathSequenceFromTable(selectionTable) + strSelection = "" + local total = 0 + for key, value in pairs(selectionTable) do + total = total + value + selectionTable[key] = total + end + randomPick = math.random() * total + for key, value in pairs(selectionTable) do + if value > randomPick then + strSelection = key + break + end + end +end + +function HandleBulletDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleSniperBulletDamage() + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" +end + +function HandleBulletStreamDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Dismember = curveValue + selectionTable.Animated = otherValues + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Animated" then + chosenDeathSequence = "Generic Animated Death + Shoot weapon" + end +end + +function HandleSuicideMineDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function HandleShotgunDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Dismember = otherValues + selectionTable.Animated = otherValues + selectionTable.Gib = curveValue + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Animated" then + chosenDeathSequence = "Generic Animated Death + Shoot weapon" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleRocketLauncherDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Explode = otherValues + selectionTable.Dismember = otherValues + selectionTable.Gib = curveValue + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleExplosionDamage() + local selectionTable = {} + selectionTable.Dismember = 0.5 + selectionTable.Explode = 0.25 + selectionTable.Gib = 0.25 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleRockFallDamage(damageInfo) + local selectionTable = {} + selectionTable.Dismember = 0.75 + selectionTable.Gib = 0.25 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + local dismemberTable = {} + dismemberTable.LArm = 0.25 + dismemberTable.RArm = 0.25 + dismemberTable.LLeg = 0.25 + dismemberTable.RLeg = 0.25 + ChooseRandomDeathSequenceFromTable(dismemberTable) + GameScript.FEAR.DismemberObject(GameScript.Game.GetMyObject(), strSelection) + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleMechExplosionDamage() + local selectionTable = {} + selectionTable.Dismember = 0.3 + selectionTable.Explode = 0.1 + selectionTable.Gib = 0.6 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleBurningDamage() + chosenDeathSequence = "On Fire Death" +end + +function HandleMeleeFinisherDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeSlideDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeJumpKickDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeKnifeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleFettelMeleeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleFettelMeleeFinisherDamage() + chosenDeathSequence = "Fettel Melee Finisher" +end + +function HandleFettelSuspendMeleeDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function HandleFlechetteDamage() + chosenDeathSequence = "Pinning Death" +end + +function HandleExplosiveTankDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function AdjustForLowGoreOption() + if chosenDeathSequence == "Explode into Gibs" then + chosenDeathSequence = "Generic Animated Death" + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/death/Survivor_SelectDeathSequence.lua b/recovered/resources/EXTRACTresources/Script/Game/death/Survivor_SelectDeathSequence.lua new file mode 100644 index 0000000..8993ab7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/death/Survivor_SelectDeathSequence.lua @@ -0,0 +1,316 @@ +local Death = GameScript.Game.Death +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local Support = GameScript.Support +local Math3d = GameScript.LuaMath3d +local chosenDeathSequence = "Ragdoll Death" +local maxDistance = Support.ImportFloatVariableWithDefault("maxGibDistance", "The max distance for distance probablity curve. All values greater than this values will be treated as the max value.", 10) +Support.RegisterCurveTemplateVariable("distanceCurve", "Curved used to control distance based gib deaths. This curve changes the probablity of a full chance of gib death") +local leftLegDismember = GameScript.Support.ImportWatchVariable("LeftLeg", "Has the left leg been removed via dismemberment?") +local rightLegDismember = GameScript.Support.ImportWatchVariable("RightLeg", "Has the right leg been removed via dismemberment?") +Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") +Callbacks.RegisterForDeathSequenceNetFixupCallback("FixupDeathSequence") + +function FixupDeathSequence() + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + chosenDeathSequence = Death.GetDeathChoreographerSequence(GameScript.Game.GetMyObject()) + GameScript.Debug.PrintInfo("Original Death Sequence " .. chosenDeathSequence) + AdjustForLowGoreOption() + GameScript.Debug.PrintInfo("Final Death Sequence " .. chosenDeathSequence) + Death.SetDeathChoreographerSequence(chosenDeathSequence) + end +end + +function ChooseDeathSequence() + local damageInfo = Death.GetLastDamageInfo() + local damageType = damageInfo.type + local myObject = GameScript.Game.GetMyObject() + if GameScript.FEAR.IsPhasing(myObject) then + chosenDeathSequence = "Explode into Gibs" + elseif damageType == "Bullet" then + HandleBulletDamage(damageInfo) + elseif damageType == "Shotgun" then + HandleShotgunDamage(damageInfo) + elseif damageType == "Stun" then + HandleShotgunDamage(damageInfo) + elseif damageType == "Rocket Launcher" then + HandleRocketLauncherDamage(damageInfo) + elseif damageType == "Bullet Stream" then + HandleBulletStreamDamage(damageInfo) + elseif damageType == "Rock Fall" then + HandleRockFallDamage() + elseif damageType == "Suicide Mine" then + HandleSuicideMineDamage() + elseif damageType == "Frag Grenade" then + HandleExplosionDamage() + elseif damageType == "Bullet Mech" then + HandleMechExplosionDamage() + elseif damageType == "White Phosphor" or damageType == "Fire" or damageType == "Beam" then + HandleBurningDamage() + elseif damageType == "MeleeFinisher" then + HandleMeleeFinisherDamage() + elseif damageType == "Melee" then + HandleMeleeDamage() + elseif damageType == "MeleeKnife" then + HandleMeleeKnifeDamage() + elseif damageType == "FettelMelee" then + HandleFettelMeleeDamage() + elseif damageType == "FettelMeleeFinisher" then + HandleFettelMeleeFinisherDamage() + elseif damageType == "FettelSuspendMelee" then + HandleFettelSuspendMeleeDamage() + elseif damageType == "Flechette" then + HandleFlechetteDamage() + elseif damageType == "Sniper Bullet" then + HandleSniperBulletDamage() + elseif damageType == "MeleeSlide" then + HandleMeleeSlideDamage() + elseif damageType == "MeleeJumpKick" then + HandleMeleeJumpKickDamage() + elseif damageType == "Explosive Tank" then + HandleExplosiveTankDamage() + elseif damageType == "Mech MeleeStomp" then + HandleExplosionDamage() + end + if not Death.IsGoreEnabled() or not Death.IsBloodEnabled() then + AdjustForLowGoreOption() + end + Death.SetDeathChoreographerSequence(chosenDeathSequence) +end + +function ChooseRandomDeathSequenceFromTable(selectionTable) + strSelection = "" + local total = 0 + for key, value in pairs(selectionTable) do + total = total + value + selectionTable[key] = total + end + randomPick = math.random() * total + for key, value in pairs(selectionTable) do + if value > randomPick then + strSelection = key + break + end + end +end + +function HandleBulletDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleSniperBulletDamage() + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" +end + +function HandleBulletStreamDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Dismember = curveValue + selectionTable.Animated = otherValues + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Animated" then + chosenDeathSequence = "Generic Animated Death + Shoot weapon" + end +end + +function HandleSuicideMineDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function HandleShotgunDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Dismember = otherValues + selectionTable.Animated = otherValues + selectionTable.Gib = curveValue + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Animated" then + chosenDeathSequence = "Generic Animated Death + Shoot weapon" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleRocketLauncherDamage(damageInfo) + local source = { + x = damageInfo.sourceX, + y = damageInfo.sourceY, + z = damageInfo.sourceZ + } + local dest = { + x = damageInfo.impactX, + y = damageInfo.impactY, + z = damageInfo.impactZ + } + local diff = Math3d.VectorSubtract(source, dest) + local distance = Math3d.VectorLength(diff) + if distance > maxDistance then + distance = maxDistance + end + local curveInput = distance / maxDistance + local curveValue = Support.GetCurveValue("distanceCurve", curveInput) + local otherValues = (1 - curveValue) / 2 + local selectionTable = {} + selectionTable.Explode = otherValues + selectionTable.Dismember = otherValues + selectionTable.Gib = curveValue + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleExplosionDamage() + local selectionTable = {} + selectionTable.Dismember = 0.5 + selectionTable.Explode = 0.25 + selectionTable.Gib = 0.25 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleRockFallDamage(damageInfo) + local selectionTable = {} + selectionTable.Dismember = 0.75 + selectionTable.Gib = 0.25 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + local dismemberTable = {} + dismemberTable.LArm = 0.25 + dismemberTable.RArm = 0.25 + dismemberTable.LLeg = 0.25 + dismemberTable.RLeg = 0.25 + ChooseRandomDeathSequenceFromTable(dismemberTable) + GameScript.FEAR.DismemberObject(GameScript.Game.GetMyObject(), strSelection) + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleMechExplosionDamage() + local selectionTable = {} + selectionTable.Dismember = 0.3 + selectionTable.Explode = 0.1 + selectionTable.Gib = 0.6 + ChooseRandomDeathSequenceFromTable(selectionTable) + if strSelection == "Dismember" then + chosenDeathSequence = "Animated Dismember Death - 3 Dismemberments Max" + elseif strSelection == "Explode" then + chosenDeathSequence = "Explode Animated Death" + elseif strSelection == "Gib" then + chosenDeathSequence = "Explode into Gibs" + end +end + +function HandleBurningDamage() + local leftLegDismember = GameScript.Support.GetImportWatchVariableValue("LeftLeg") + local rightLegDismember = GameScript.Support.GetImportWatchVariableValue("RightLeg") + if leftLegDismember == 1 or rightLegDismember == 1 then + chosenDeathSequence = "Ragdoll Death" + else + chosenDeathSequence = "On Fire Death" + end +end + +function HandleMeleeFinisherDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeSlideDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeJumpKickDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleMeleeKnifeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleFettelMeleeDamage() + chosenDeathSequence = "Generic Animated Death + Shoot weapon" +end + +function HandleFettelMeleeFinisherDamage() + chosenDeathSequence = "Fettel Melee Finisher" +end + +function HandleFettelSuspendMeleeDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function HandleFlechetteDamage() + chosenDeathSequence = "Pinning Death" +end + +function HandleExplosiveTankDamage() + chosenDeathSequence = "Explode into Gibs" +end + +function LeftLegChange(msg) + leftLegDismember = msg.newValue +end + +function RightLegChange(msg) + rightLegDismember = msg.newValue +end + +function AdjustForLowGoreOption() + if chosenDeathSequence == "Explode into Gibs" then + chosenDeathSequence = "Ragdoll Death" + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/death/scavenger_selectdeathsequence.lua b/recovered/resources/EXTRACTresources/Script/Game/death/scavenger_selectdeathsequence.lua new file mode 100644 index 0000000..c0d8eef --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/death/scavenger_selectdeathsequence.lua @@ -0,0 +1,23 @@ +local Death = GameScript.Game.Death +local Callbacks = GameScript.Callbacks +local Print = GameScript.Debug.PrintInfo +local Support = GameScript.Support +local Math3d = GameScript.LuaMath3d +local chosenDeathSequence = "Ragdoll Death" +Callbacks.RegisterForDeathSequenceSelectCallback("ChooseDeathSequence") + +function ChooseDeathSequence() + local damageInfo = Death.GetLastDamageInfo() + local damageType = damageInfo.type + local myObject = GameScript.Game.GetMyObject() + if GameScript.FEAR.IsPhasing(myObject) then + chosenDeathSequence = "Ragdoll Death" + elseif damageType == "Flechette" then + HandleFlechetteDamage() + end + Death.SetDeathChoreographerSequence(chosenDeathSequence) +end + +function HandleFlechetteDamage() + chosenDeathSequence = "Pinning Death" +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/lighting/GlobalLightingAdjust.lua b/recovered/resources/EXTRACTresources/Script/Game/lighting/GlobalLightingAdjust.lua new file mode 100644 index 0000000..6ac5d89 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/lighting/GlobalLightingAdjust.lua @@ -0,0 +1,53 @@ +GameScript.Support.AddDescription([[ +GlobalLightingAdjust +This Script is for creating a Lighting flash]]) +local Game = GameScript.Game +local AI = GameScript.Game.AI +local Camera = GameScript.Game.Camera +local Physics = GameScript.Game.Physics +local Player = GameScript.Game.Player +local Support = GameScript.Support +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Math3d = GameScript.LuaMath3d +local FEAR = GameScript.FEAR +local Graphics = Game.Graphics +local LightObject, CurveScale +local LightObject = Support.ImportFirstObject("Global Light", "The global light object that we'll be modifying") +Support.RegisterCurveTemplateVariable("Flat Curve", "This should be the 100% flat value 1 curve") +Support.RegisterCurveTemplateVariable("Return Curve", "This is the curve to get to the Return Lighting Color") +local CurveTime = Support.ImportFloatVariableWithDefault("Curve Time", "The amount of time in seconds to get to the return value", 1) +local FlashLightColor = Support.ImportColorVariable("Flash Lighting Color", "The color setting for the lightning flash.") +local ReturnLightColor = Support.ImportColorVariable("Return Lighting Color", "The color setting for after the lightning flash") +local FlashLightDirrection = Support.ImportFloatVariable("Flash Light Dirrection", "direction, in degrees") +local FlashLightInclination = Support.ImportFloatVariable("Flash Light Angle from Horizon", "angle from the horizon, in degrees") +local ReturnLightDirrection = Support.ImportFloatVariable("Return Light Dirrection", "direction, in degrees") +local ReturnLightInclination = Support.ImportFloatVariable("Return Light Angle from Horizon", "angle from the horizon, in degrees") + +function LightingStart() + local FlashLightValues = { + red = FlashLightColor.r, + green = FlashLightColor.g, + blue = FlashLightColor.b, + alpha = FlashLightColor.a, + theta = FlashLightDirrection, + phi = FlashLightInclination + } + Graphics.SetEnvironmentLight(LightObject, "Flat Curve", 0.03, FlashLightValues) + Callbacks.RegisterForTimer("Return", 0.03, false) +end + +function Return() + local ReturnLightValues = { + red = ReturnLightColor.r, + green = ReturnLightColor.g, + blue = ReturnLightColor.b, + alpha = ReturnLightColor.a, + theta = ReturnLightDirrection, + phi = ReturnLightInclination + } + Graphics.SetEnvironmentLight(LightObject, "Return Curve", CurveTime, ReturnLightValues) +end + +LightingStart() diff --git a/recovered/resources/EXTRACTresources/Script/Game/lighting/ModifyHardwareLightControl.lua b/recovered/resources/EXTRACTresources/Script/Game/lighting/ModifyHardwareLightControl.lua new file mode 100644 index 0000000..68c979e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/lighting/ModifyHardwareLightControl.lua @@ -0,0 +1,32 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Graphics = Game.Graphics +Support.RegisterCurveTemplateVariable("Color Control Curve", "Curve for controlling the lights color transitions.") +local lightToModify = Support.ImportSingleObject("Light To Modify", "The hardware light to modify.") +local colorA = Support.ImportColorVariable("Color A", "Color A.") +local colorB = Support.ImportColorVariable("Color B", "Color B.") +local delay = Support.ImportFloatVariable("Delay", "Delay before modifying the light.") +local modifyCurve = Support.ImportBoolVariable("Modify Curve", "Wether this should modify the curve or use the existing one.") +local timedCurveValues = { + period = 1, + maxIterations = 0, + amplitude = 1, + repeatType = 0, + resetCurve = false +} +timedCurveValues.period = Support.ImportFloatVariableWithDefault("Period", "Timed curve period.", 1) +timedCurveValues.maxIterations = Support.ImportFloatVariable("Max Iterations", "Timed curve max iterations. 0 = infinite.") +timedCurveValues.amplitude = Support.ImportFloatVariableWithDefault("Amplitude", "Timed curve amplitude.", 1) +timedCurveValues.repeatType = Support.ImportFloatVariable("Repeat Type", "Timed curve repeat type. 0 = Loop. 1 = Ping-Pong") +timedCurveValues.resetCurve = Support.ImportBoolVariable("Reset Curve", "When modifying the curve should it be reset.") + +function ApplyLightControls() + if modifyCurve then + Graphics.SetLightControlAndCurve(lightToModify, colorA, colorB, "Color Control Curve", timedCurveValues) + else + Graphics.SetLightControl(lightToModify, colorA, colorB) + end +end + +Callbacks.RegisterForTimer("ApplyLightControls", delay, false) diff --git a/recovered/resources/EXTRACTresources/Script/Game/lighting/SetAmbientFog.lua b/recovered/resources/EXTRACTresources/Script/Game/lighting/SetAmbientFog.lua new file mode 100644 index 0000000..36b5b8c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/lighting/SetAmbientFog.lua @@ -0,0 +1,41 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Graphics = Game.Graphics +fogType = { + none = 0, + depth = 1, + height = 2 +} +fogSource = {} +fogSource.color = 0 +fogSource["cube map"] = 1 +local fogValues = { + near = 0, + far = 0, + max = 0, + top = 0, + bottom = 0, + type = fogType.depth, + source = fogSource.color +} +local fogObj = Support.ImportSingleObject("Ambient Fog Object", "Object that has the ambient light that we are going to control.") +Support.RegisterCurveTemplateVariable("Ambient Fog Curve", "Curve used to calculate new value of ambient fog based on player entering 'testRegion.'") +fogValues.type = Support.ImportEnumVariable("fogType", "Fog Type", "The type of fog: depth, height, or none") +fogValues.source = Support.ImportEnumVariable("fogSource", "Fog Color Source", "The source of the fog's color: either constant color or a cube map") +local fogTransitionTime = Support.ImportFloatVariableWithDefault("Fog Transition Time", "How quickly the fog should change value once the player enters 'testRegion.'", 0) +local fogAmbientColor = Support.ImportColorVariable("Fog Color", "Ambient Fog Color value.") +fogValues.near = Support.ImportFloatVariableWithDefault("Fog near plane distance", "Fog Near Plane", 0) +fogValues.far = Support.ImportFloatVariableWithDefault("Fog far plane distance", "Fog Far Plane", 100) +fogValues.max = Support.ImportFloatVariableWithDefault("Maximum amount of fog", "Max Fog", 1) +fogValues.top = Support.ImportFloatVariableWithDefault("Top of Fog", "For Top", 100) +fogValues.bottom = Support.ImportFloatVariableWithDefault("Bottom of Fog", "Fog Bottom", 0) +local setFogCubeMap = Support.ImportBoolVariable("Set Fog Cube Map", "Whether this should set the cube map on the fog") +Support.RegisterTextureVariable("Fog Diffuse Cube Map", "Texture to switch the fog diffuse ambient cube map to.") +if fogObj ~= nil then + if setFogCubeMap then + Graphics.SetFogCubeMap(fogObj, "Fog Diffuse Cube Map") + else + Graphics.SetFogColor(fogObj, "Ambient Fog Curve", fogTransitionTime, fogAmbientColor) + end + Graphics.SetFogValues(fogObj, "Ambient Fog Curve", fogTransitionTime, fogValues) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/lighting/SetLightProbeToOptionalCurve.lua b/recovered/resources/EXTRACTresources/Script/Game/lighting/SetLightProbeToOptionalCurve.lua new file mode 100644 index 0000000..49441e1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/lighting/SetLightProbeToOptionalCurve.lua @@ -0,0 +1,56 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Graphics = Game.Graphics +local Debug = GameScript.Debug +local TimedCurveValue, PreviousTimedCurveValue = 1, 10000 +Support.ImportWatchVariable("Watch Variable A", "WatchVariable option #1") +Support.ImportWatchVariable("Watch Variable B", "WatchVariable option #2") +Support.ImportWatchVariable("Watch Variable C", "WatchVariable option #3") +local LightProbe = Support.ImportSingleObject("Light Proble", "The light probe I'm driving") + +function PassValuesThrough_A() + TimedCurveValue = Support.GetImportWatchVariableValue("Watch Variable A") + if TimedCurveValue ~= PreviousTimedCurveValue then + PreviousTimedCurveValue = TimedCurveValue + Graphics.SetLightIntensity(LightProbe, TimedCurveValue) + else + Callbacks.UnregisterForUpdateEveryFrame() + end +end + +function PassValuesThrough_B() + TimedCurveValue = Support.GetImportWatchVariableValue("Watch Variable B") + if TimedCurveValue ~= PreviousTimedCurveValue then + PreviousTimedCurveValue = TimedCurveValue + Graphics.SetLightIntensity(LightProbe, TimedCurveValue) + else + Callbacks.UnregisterForUpdateEveryFrame() + end +end + +function PassValuesThrough_C() + TimedCurveValue = Support.GetImportWatchVariableValue("Watch Variable C") + if TimedCurveValue ~= PreviousTimedCurveValue then + PreviousTimedCurveValue = TimedCurveValue + Graphics.SetLightIntensity(LightProbe, TimedCurveValue) + else + Callbacks.UnregisterForUpdateEveryFrame() + end +end + +function WaitForTxtMssg(TXT_MSG) + if TXT_MSG.text == "Dark" then + Callbacks.RegisterForUpdateEveryFrame("PassValuesThrough_A") + elseif TXT_MSG.text == "Black" then + Callbacks.RegisterForUpdateEveryFrame("PassValuesThrough_B") + elseif TXT_MSG.text == "SlowDark" then + Callbacks.RegisterForUpdateEveryFrame("PassValuesThrough_C") + end +end + +if LightProbe ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.TextMessage, Game.GetMyObject(), "WaitForTxtMssg") +else + Debug.PrintError("Light Probe not defined") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/output/PrintToScreenWithTimer.lua b/recovered/resources/EXTRACTresources/Script/Game/output/PrintToScreenWithTimer.lua new file mode 100644 index 0000000..409ed5c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/output/PrintToScreenWithTimer.lua @@ -0,0 +1,15 @@ +GameScript.Support.AddDescription("Script that will print to screen for a given amount of time") +local Game = GameScript.Game +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local TextToScreen = Support.ImportStringVariableWithDefault("Text On Screen", "The text you enter here will show up on screen", "Text To Screen") +local TimeOnScreen = Support.ImportFloatVariableWithDefault("Time On Screen", "The ammount of time the text will be on screen", 5) +local COLOR = Support.ImportColorVariable("Text Color", "The color setting for the Text on screen") +local IsCentered = Support.ImportBoolVariableWithDefault("Centered", "Should the text be centered on screen?", true) + +function PrintToScreenWithTimer() + Debug.PrintToScreenWithTimer(TextToScreen, TimeOnScreen, COLOR, IsCentered) +end + +Callbacks.RegisterForTimer("PrintToScreenWithTimer", 0, false) diff --git a/recovered/resources/EXTRACTresources/Script/Game/output/PrintWatchVarValueToScreen.lua b/recovered/resources/EXTRACTresources/Script/Game/output/PrintWatchVarValueToScreen.lua new file mode 100644 index 0000000..9ca528e --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/output/PrintWatchVarValueToScreen.lua @@ -0,0 +1,23 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local AI = Game.AI +local Camera = Game.Camera +local Physics = Game.Physics +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local COLOR = Support.ImportColorVariable("Text Color", "The color setting for the Text on screen") +local xScreenPos = Support.ImportFloatVariableWithDefault("ScreenPosition: X", "Position to start the text on the screen (0.0 to 1.0) where 0 is the left side of screen.", 0.1) +local yScreenPos = Support.ImportFloatVariableWithDefault("ScreenPosition: Y", "Position to start the text on the screen (0.0 to 1.0) where 0 is the top side of screen", 0.5) +Support.ImportWatchVariable("Watch Variable", "The Variable Value we'll be printing every frame.") +local WatchValue, TextToScreen + +function PrintEveryFrame() + WatchValue = Support.GetImportWatchVariableValue("Watch Variable") + TextToScreen = "Watch Variable: " .. WatchValue + Debug.PrintToScreen(TextToScreen, xScreenPos, yScreenPos) +end + +Debug.SetOnScreenTextColor(COLOR.r, COLOR.g, COLOR.b) +Callbacks.RegisterForUpdateEveryFrame("PrintEveryFrame") diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutEnable.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutEnable.lua new file mode 100644 index 0000000..689507c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutEnable.lua @@ -0,0 +1,32 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local playerIndex, playerobject +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local possessionEndMsg = GameScript.MsgCallback.PossessionEndedMessage + +function PlayerTransferredControl(MSG) + local newAvatar = MSG.currentPlayerAvatarObject + if newAvatar ~= nil and Game.IsPossessed(newAvatar) then + Callbacks.RegisterForMsg(possessionEndMsg, newAvatar, "PlayerPossessionEnded") + end +end + +function PlayerPossessionEnded(MSG) + if (MSG.nType == 1 or MSG.nType == 3) and enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end + Callbacks.UnregisterForMsg(possessionEndMsg, MSG.possessedObject, "PlayerPossessionEnded") +end + +Callbacks.RegisterForMsg(playerTransferMsg, Game.GetMyObject(), "PlayerTransferredControl") diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutTutorial_Reg_Enable.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutTutorial_Reg_Enable.lua new file mode 100644 index 0000000..53069ec --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/BurnOutTutorial_Reg_Enable.lua @@ -0,0 +1,123 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false +local playerIndex, playerobject +local show = true +local hide = false +local hide2 = true +local playerleft = false +local padlock = true +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local possessionEndMsg = GameScript.MsgCallback.PossessionEndedMessage + +function ShowTutorialText(MSG) + Debug.PrintInfo("ShowTutorialText") + if MSG.object and show then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndex = Player.GetPlayerIndexByObject(MSG.object) + playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + show = false + hide = true + end +end + +function PlayerTransferredControl(MSG) + Debug.PrintInfo("Player exited possessed body pt1!") + PlayerPossessionEnded2() +end + +function PlayerPossessionEnded2() + Debug.PrintInfo("Player exited possessed body pt2!") + if hide and hide2 and not playerleft then + Debug.PrintInfo("Player exited possessed body pt3!") + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + Debug.PrintInfo("Enable Set") + if enableObj ~= nil then + Debug.PrintInfoIf(0 < g_debugMode, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end + hide2 = false + end +end + +function PlayerLeftRegion(MSG) + if not playerleft then + Debug.PrintInfo("Player exited region!") + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + hide2 = false + playerleft = true + end +end + +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialText", "PlayerLeftRegion") +end +Callbacks.RegisterForMsg(playerTransferMsg, Game.GetMyObject(), "PlayerTransferredControl") diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/Challenges.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Challenges.lua new file mode 100644 index 0000000..ba50b8c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Challenges.lua @@ -0,0 +1,108 @@ +local Game = GameScript.Game +local Player = Game.Player +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local Support = GameScript.Support +local MP = Game.MP +local Debug = GameScript.Debug +local ObjectTags = Game.ObjectTags +local TimeOnScreen = Support.ImportFloatVariableWithDefault("Time on Screen", "The length of time this should stay on screen.", 5) +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local pointMan, fettel, playerIndexPM, playerIndexFettel +local PMtext = true +local FettelText = true +local pointmanAvatar, fettelAvatar +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayTime = TimeOnScreen +local i = 0 +Debug.PrintInfo("Init") +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar then + if ObjectTags.DoesObjectHaveTag(avatar, "Point Man") then + pointmanAvatar = avatar + playerIndexPM = i + end + if ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + fettelAvatar = avatar + playerIndexFettel = i + end + end + i = i + 1 +end + +function PMChallenge() + if playerIndexPM ~= nil and PMtext then + if MP.IsNetworkGame() == false then + Debug.PrintInfo("PM Print") + local playerIndex = playerIndexPM + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + elseif MP.IsNetworkGame() == true then + local playerIndex = playerIndexPM + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + end + end + PMtext = false + end +end + +function FettelChallenge() + if playerIndexFettel ~= nil and FettelText then + if MP.IsNetworkGame() == false then + Debug.PrintInfo("Fettel Print") + local playerIndex = playerIndexFettel + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + elseif MP.IsNetworkGame() == true then + local playerIndex = playerIndexFettel + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + end + end + FettelText = false + end +end + +if pointmanAvatar ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ChallengeUpdateMessage, pointmanAvatar, "PMChallenge") + Debug.PrintInfo("PM Callback") +end +if fettelAvatar ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ChallengeUpdateMessage, fettelAvatar, "FettelChallenge") + Debug.PrintInfo("Fettel Callback") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial.lua new file mode 100644 index 0000000..d4a88d1 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial.lua @@ -0,0 +1,189 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local PwasInCover = false +local FwasInCover = false +local pointMan +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local CoverMovePrompt = Support.ImportStaticTextVariable("Use Move Title Prompt", "The prompt that should appear when explaining how to move along cover") +local CoverMoveTextPrompt = Support.ImportStaticTextVariable("Use Move Text Prompt", "The prompt that should appear when explaining how to move along cover") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local playerIndexPM = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectPM, playerConObjPM +local playerIndexFettel = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectFettel, playerConObjFettel +local PMC = false +local PMM = false +local FC = false +local FM = false +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialTextPM(MSG) + if not PMC then + if MSG.object then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + playerConObjPM = Player.GetPlayerControlledObjectByIndex(playerIndexPM) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFramePM") + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + end + PMC = true + end +end + +function HideCoverTextPM() + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end +end + +function HideCoverTextPMExit() + PMM = true + HideCoverTextPM() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFramePM") +end + +function ShowTutorialTextMovePM() + if not PMM then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + PMM = true + end +end + +function ShowTutorialTextFettel(MSG) + if not FC then + if MSG.object then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexFettel = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFettel = Player.GetPlayerObjectByIndex(playerIndexFettel) + playerConObjFettel = Player.GetPlayerControlledObjectByIndex(playerIndexFettel) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFrameFettel") + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + end + FC = true + end +end + +function HideCoverTextFettel() + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end +end + +function HideCoverTextFettelExit() + FM = true + HideCoverTextFettel() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFrameFettel") +end + +function ShowTutorialTextMoveFettel() + if not FM then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + FM = true + end +end + +function CheckEveryFramePM() + if playerConObjPM then + local PinCover = Game.IsActiveCoverOn(playerConObjPM) + if PinCover and not PwasInCover then + PointManEnteredCover() + end + PwasInCover = PinCover + end +end + +function CheckEveryFrameFettel() + if playerConObjFettel then + local FinCover = Game.IsActiveCoverOn(playerConObjFettel) + if FinCover and not FwasInCover then + FettelEnteredCover() + end + FwasInCover = FinCover + end +end + +function PointManEnteredCover() + HideCoverTextPM() + ShowTutorialTextMovePM() +end + +function FettelEnteredCover() + HideCoverTextFettel() + ShowTutorialTextMoveFettel() +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialTextPM", "HideCoverTextPMExit") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideCoverTextFettelExit") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_2.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_2.lua new file mode 100644 index 0000000..5d0213d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_2.lua @@ -0,0 +1,231 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local PwasInCover = false +local FwasInCover = false +local pointMan +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local CoverMovePrompt = Support.ImportStaticTextVariable("Use Move Title Prompt", "The prompt that should appear when explaining how to move along cover") +local CoverMoveTextPrompt = Support.ImportStaticTextVariable("Use Move Text Prompt", "The prompt that should appear when explaining how to move along cover") +local enableObj = Support.ImportObjectHandleVariable("EnableObj", "Object or Objects that are enabled when trigger entered") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local playerIndexPM = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectPM, playerConObjPM +local playerIndexFettel = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectFettel, playerConObjFettel +local framecount = 0 +local PMC = false +local PMM = false +local PMP = false +local PMEC = false +local PMPC = false +local FC = false +local FM = false +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialTextPM(MSG) + if not PMC then + if MSG.object then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + playerConObjPM = Player.GetPlayerControlledObjectByIndex(playerIndexPM) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFramePM") + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + end + PMC = true + end +end + +function HideCoverTextPM() + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end +end + +function HideCoverTextPMExit() + PMM = true + HideCoverTextPM() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFramePM") +end + +function ShowTutorialTextMovePM() + if not PMM then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + PMM = true + end +end + +function ShowTutorialTextFettel(MSG) + if not FC then + if MSG.object then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexFettel = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFettel = Player.GetPlayerObjectByIndex(playerIndexFettel) + playerConObjFettel = Player.GetPlayerControlledObjectByIndex(playerIndexFettel) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFrameFettel") + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + end + FC = true + end +end + +function HideCoverTextFettel() + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end +end + +function HideCoverTextFettelExit() + FM = true + HideCoverTextFettel() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFrameFettel") +end + +function ShowTutorialTextMoveFettel() + if not FM then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) and Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + FM = true + end +end + +function CheckEveryFramePM() + if playerConObjPM then + local pmExitsStill = Game.IsLoaded(playerConObjPM) + local PinCover = false + if pmExitsStill then + PinCover = Game.IsActiveCoverOn(playerConObjPM) + end + if PinCover and not PwasInCover then + PointManEnteredCover() + end + PwasInCover = PinCover + local PisPeeking = false + if pmExitsStill then + PisPeeking = Support.GetObjectVariableFromComponent(playerConObjPM, "popoverMagnitude", "Active Cover Control") + end + if PinCover and 0.25 <= PisPeeking then + if 10 <= framecount then + PointManIsPeeking() + end + framecount = framecount + 1 + end + end +end + +function CheckEveryFrameFettel() + if playerConObjFettel then + local FinCover = false + local fettelExitsStill = Game.IsLoaded(playerConObjFettel) + if playerConObjFettel then + FinCover = Game.IsActiveCoverOn(playerConObjFettel) + end + if FinCover and not FwasInCover then + FettelEnteredCover() + end + FwasInCover = FinCover + end +end + +function PointManEnteredCover() + if not PMEC then + HideCoverTextPM() + PMEC = true + end + ShowTutorialTextMovePM() +end + +function PointManIsPeeking() + if not PMPC then + HideCoverTextPM() + PMPC = false + end + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFramePM") + if enableObj ~= nil then + Debug.PrintInfoIf(g_debugMode > 0, "Enable Object - Number:" .. table.getn(enableObj)) + for key, nextObj in pairs(enableObj) do + if nextObj and Game.IsLoaded(nextObj) then + Game.EnableAllEnableables(nextObj, true) + end + end + end +end + +function FettelEnteredCover() + HideCoverTextFettel() + ShowTutorialTextMoveFettel() +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialTextPM", "") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideCoverTextFettelExit") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_3.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_3.lua new file mode 100644 index 0000000..99516eb --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/CoverTutorial_3.lua @@ -0,0 +1,193 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local PwasInCover = false +local PExitCover = false +local FwasInCover = false +local FExitCover = false +local pointMan +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local CoverMovePrompt = Support.ImportStaticTextVariable("Use Move Title Prompt", "The prompt that should appear when explaining how to move along cover") +local CoverMoveTextPrompt = Support.ImportStaticTextVariable("Use Move Text Prompt", "The prompt that should appear when explaining how to move along cover") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local playerIndexPM = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectPM, playerConObjPM +local playerIndexFettel = GameScript.PlayerIndex.kNotAGlobalPlayer +local playerobjectFettel, playerConObjFettel +local PMC = false +local PMM = false +local FC = false +local FM = false +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialTextPM(MSG) + if not PMC then + if MSG.object then + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + playerConObjPM = Player.GetPlayerControlledObjectByIndex(playerIndexPM) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFramePM") + end + PMC = true + end +end + +function HideCoverTextPM() + if playerobjectPM and Game.IsLoaded(playerobjectPM) then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + end +end + +function HideCoverTextPMExit() + PMM = true + HideCoverTextPM() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFramePM") +end + +function ShowTutorialTextMovePM() + if not PMM then + if playerobjectPM and Game.IsLoaded(playerobjectPM) then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + end + PMM = true + end +end + +function ShowTutorialTextFettel(MSG) + if not FC then + if MSG.object then + playerIndexFettel = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFettel = Player.GetPlayerObjectByIndex(playerIndexFettel) + playerConObjFettel = Player.GetPlayerControlledObjectByIndex(playerIndexFettel) + Callbacks.RegisterForUpdateEveryFrame("CheckEveryFrameFettel") + end + FC = true + end +end + +function HideCoverTextFettel() + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + end +end + +function HideCoverTextFettelExit() + FM = true + HideCoverTextFettel() + Callbacks.UnregisterForUpdateEveryFrame("CheckEveryFrameFettel") +end + +function ShowTutorialTextMoveFettel() + if not FM then + if playerobjectFettel and Game.IsLoaded(playerobjectFettel) then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + if Player.IsLocalPlayer(playerIndexFettel) then + DisplayTextTable.textId = CoverMovePrompt + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + DisplayTextTable.textId = CoverMoveTextPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFettel, true, playerobjectFettel) + end + end + FM = true + end +end + +function CheckEveryFramePM() + if playerConObjPM then + local PinCover = Game.IsActiveCoverOn(playerConObjPM) + if PinCover and not PwasInCover then + PointManEnteredCover() + PExitCover = true + end + PwasInCover = PinCover + if not PwasInCover and PExitCover then + PointManExitedCover() + PExitCover = false + end + end +end + +function CheckEveryFrameFettel() + if playerConObjFettel then + local FinCover = Game.IsActiveCoverOn(playerConObjFettel) + if FinCover and not FwasInCover then + FettelEnteredCover() + FExitCover = true + end + FwasInCover = FinCover + if not FwasInCover and FExitCover then + FettelExitedCover() + FExitCover = false + end + end +end + +function PointManEnteredCover() + ShowTutorialTextMovePM() +end + +function PointManExitedCover() + HideCoverTextPMExit() +end + +function FettelEnteredCover() + ShowTutorialTextMoveFettel() +end + +function FettelExitedCover() + HideCoverTextFettelExit() +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialTextPM", "HideCoverTextPMExit") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideCoverTextFettelExit") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergy.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergy.lua new file mode 100644 index 0000000..ca5fe18 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergy.lua @@ -0,0 +1,16 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Energy = GameScript.Game.Energy +local Utilities = GameScript.Utilities +local GS = GameScript +Support.AddDescription("Set Fettel's Energy Level, if he exists.") +local amount = Support.ImportFloatVariableWithDefault("Add Amount", "Add energy level amount?", 0.25) +local avatarFettel = Utilities.GetFettelAvatar() +if avatarFettel ~= nil then + local energyComponentName = "Ghost Power Meter" + local fCurrentPower = Energy.GetEnergyLevel(avatarFettel, energyComponentName) + Energy.SetEnergyLevelOnObject(avatarFettel, energyComponentName, fCurrentPower + amount) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergyWithFalloff.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergyWithFalloff.lua new file mode 100644 index 0000000..6d000d7 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergyWithFalloff.lua @@ -0,0 +1,23 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Energy = GameScript.Game.Energy +local Utilities = GameScript.Utilities +local GS = GameScript +Support.AddDescription("Set Fettel's Energy Level, if he exists.") +local MaxEnergyAddAmount = Support.ImportFloatVariableWithDefault("Max Add Amount", "Max energy to add if picked up when item is first created.", 0.15) +local MinEnergyAddAmount = Support.ImportFloatVariableWithDefault("Min Add Amount", "Min energy to add at time right before item is reaped.", 0.1) +local TimeFromCreationPercent = Support.ImportWatchVariable("Max Time From Creation %", "What percentage of this object's max life time has this object existed? This should point to a watch variable of a 'Time From Creation' component") +Support.RegisterCurveTemplateVariable("Energy Falloff Curve", "The falloff curve that defines the amount of energy over time the pickup will provide the player. The curve scales between 'Max Add Amount' & 'Min Add Amount.'") +local CurveFunction +local avatarFettel = Utilities.GetFettelAvatar() +if avatarFettel ~= nil then + local energyComponentName = "Ghost Power Meter" + local fCurrentPower = Energy.GetEnergyLevel(avatarFettel, energyComponentName) + CurveFunction = Utilities.GetCurveFunction("Energy Falloff Curve", MaxEnergyAddAmount, MinEnergyAddAmount) + local fTimeFromCreationPercent = Support.GetImportWatchVariableValue("Max Time From Creation %") + local fEnergyToGrantPlayer = CurveFunction(fTimeFromCreationPercent) + Energy.SetEnergyLevelOnObject(avatarFettel, energyComponentName, fCurrentPower + fEnergyToGrantPlayer) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsInhibitPossessRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsInhibitPossessRegion.lua new file mode 100644 index 0000000..54851c0 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsInhibitPossessRegion.lua @@ -0,0 +1,41 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Energy = GameScript.Game.Energy +local Utilities = GameScript.Utilities +local GS = GameScript +local Callbacks = GameScript.Callbacks +local Sets = Game.Sets +Support.AddDescription("Disable Energy Drain.") +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local MinContentsLeft = Support.ImportFloatVariable("Min Contents Left", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft = Support.ImportFloatVariable("Max Contents Left", "Maximum amount of contents that should be left before enabling object?") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +local playerTransferMsg = GameScript.MsgCallback.PlayerTransferControlMessage +local PointManPlayerID = GS.PlayerIndex.kNotAGlobalPlayer +local FettelPlayerID = GS.PlayerIndex.kNotAGlobalPlayer + +function UnInhibitPossess() + Player.InhibitCurrentPossessionEnding(FettelPlayerID, false) +end + +function SetSizeChange() + local ContentsLeft = Sets.GetNumObjectsInSet(Set) + if ContentsLeft >= MinContentsLeft and ContentsLeft <= MaxContentsLeft and Game.IsLoaded(EnableObject) then + Game.EnableAllEnableables(EnableObject, true) + UnInhibitPossess() + Callbacks.UnregisterSetTracker(Set) + end +end + +PointManPlayerID, FettelPlayerID = Utilities.GetPointManFettelIndices() +if FettelPlayerID ~= kNotAGlobalPlayer then + Player.InhibitCurrentPossessionEnding(FettelPlayerID, true) +end +if Set and EnableObject then + Callbacks.RegisterSetTracker(Set, "SetSizeChange", "SetSizeChange") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion.lua new file mode 100644 index 0000000..e3d797f --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion.lua @@ -0,0 +1,57 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Debug = GameScript.Debug +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Energy = GameScript.Game.Energy +local Utilities = GameScript.Utilities +local GS = GameScript +local Callbacks = GameScript.Callbacks +local Sets = Game.Sets +Support.AddDescription("Disable Energy Drain.") +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local MinContentsLeft = Support.ImportFloatVariable("Min Contents Left", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft = Support.ImportFloatVariable("Max Contents Left", "Maximum amount of contents that should be left before enabling object?") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +local Set2 = Support.ImportSetObject("Set2", "Set to use for checking contents") +local MinContentsLeft2 = Support.ImportFloatVariable("Min Contents Left 2", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft2 = Support.ImportFloatVariable("Max Contents Left 2", "Maximum amount of contents that should be left before enabling object?") +local PointManPlayerID = GS.PlayerIndex.kGlobalPlayer1 +local FettelPlayerID = GS.PlayerIndex.kGlobalPlayer2 + +function UnpausePossess() + Player.PauseCurrentPossession(FettelPlayerID, false) +end + +function UnblockBurnout() + Player.InhibitCurrentPossessionEnding(FettelPlayerID, false) +end + +function SetSizeChange() + local ContentsLeft = Sets.GetNumObjectsInSet(Set) + if ContentsLeft >= MinContentsLeft and ContentsLeft <= MaxContentsLeft and Game.IsLoaded(EnableObject) then + Game.EnableAllEnableables(EnableObject, true) + UnpausePossess() + Callbacks.UnregisterSetTracker(Set) + Callbacks.RegisterSetTracker(Set2, "SetSizeChange2", "SetSizeChange2") + end +end + +function SetSizeChange2() + local ContentsLeft2 = Sets.GetNumObjectsInSet(Set2) + if ContentsLeft2 >= MinContentsLeft2 and ContentsLeft2 <= MaxContentsLeft2 then + UnblockBurnout() + Callbacks.UnregisterSetTracker(Set2) + end +end + +PointManPlayerID, FettelPlayerID = Utilities.GetPointManFettelIndices() +if FettelPlayerID ~= GS.PlayerIndex.kNotAGlobalPlayer then + Player.PauseCurrentPossession(FettelPlayerID, true) + Player.InhibitCurrentPossessionEnding(FettelPlayerID, true) +end +if Set and EnableObject then + Callbacks.RegisterSetTracker(Set, "SetSizeChange", "SetSizeChange") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsSetEnergy.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsSetEnergy.lua new file mode 100644 index 0000000..453a836 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FettelExistsSetEnergy.lua @@ -0,0 +1,12 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local Energy = Game.Energy +local Utilities = GameScript.Utilities +Support.AddDescription("Set Fettel's Energy Level, if he exists.") +local amount = Support.ImportFloatVariableWithDefault("Meter Amount", "Set energy level to?", 0.75) +local avatarFettel = Utilities.GetFettelAvatar() +if avatarFettel ~= nil then + Energy.SetEnergyLevelOnObject(avatarFettel, "Ghost Power Meter", amount) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/FirstTimePossession.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FirstTimePossession.lua new file mode 100644 index 0000000..da7907c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/FirstTimePossession.lua @@ -0,0 +1,40 @@ +local Game = GameScript.Game +local Player = Game.Player +local Support = GameScript.Support +local MP = Game.MP +local titleTextAreaName = "kTutorialTitleText" +local textAreaName = "TutorialText" +local displayTime = 3 +Support.ImportWatchVariable("Collecting Player", "The index of the player who has collected this object") +Support.ImportWatchVariable("Already Collected", "Whether the collecting player had already collected this object before") +local titleTextId1 = Support.ImportStaticTextVariableWithDefault("First Title Text", "The first tutorial title text", 0) +local textId1 = Support.ImportStaticTextVariableWithDefault("First Text", "The first line of tutorial text to display", 0) +local titleTextId2 = Support.ImportStaticTextVariableWithDefault("Second Title Text", "The second line of tutorial title text. Leave blank to not display anything", 0) +local textId2 = Support.ImportStaticTextVariableWithDefault("Second Text", "The second line of tutorial text to display. Leave blank to not display anything", 0) +local myObject = Game.GetMyObject() +local playerHasCollected = {} +local titleTextInfo = {} +titleTextInfo.textId = titleTextId1 +titleTextInfo.textAreaName = titleTextAreaName +titleTextInfo.displayTime = displayTime +local textInfo = {} +textInfo.textId = textId1 +textInfo.textAreaName = textAreaName +textInfo.displayTime = displayTime +local gameMode = MP.GetGameMode() +if gameMode == GameScript.MPGameMode.kCoop or gameMode == -1 then + local hasAlreadyCollected = Support.GetImportWatchVariableValue("Already Collected") + local collectingPlayer = Support.GetImportWatchVariableValue("Collecting Player") + if Player.IsLocalPlayer(collectingPlayer) and hasAlreadyCollected == 0 then + Game.DisplayText(titleTextInfo, collectingPlayer, true, myObject) + Game.DisplayText(textInfo, collectingPlayer, true, myObject) + if 0 < titleTextId2 and 0 < textId2 then + titleTextInfo.textId = titleTextId2 + textInfo.textId = textId2 + Game.DisplayText(titleTextInfo, collectingPlayer, true, myObject) + Game.DisplayText(textInfo, collectingPlayer, true, myObject) + end + end +else + Support.ExitScript() +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/GrenadePickupTest.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/GrenadePickupTest.lua new file mode 100644 index 0000000..4cadcd6 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/GrenadePickupTest.lua @@ -0,0 +1,51 @@ +local Game = GameScript.Game +local Player = Game.Player +local Callbacks = GameScript.Callbacks +local Utilities = GameScript.Utilities +local Support = GameScript.Support +local pointMan +local Pprompted = false +local Fprompted = false +local DisplayTextTable = {} +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayTime = 3 +local GrenadePrompt = Support.ImportStaticTextVariable("Use Grenade Prompt", "The prompt that should appear when explaining how to use grenades") +local PointManObject = Player.GetPlayerControlledObjectByIndex(0) +local FettelObject = Player.GetPlayerControlledObjectByIndex(1) + +function AmmoPickedUpP(msg) + if Pprompted then + return + end + if PointManObject == nil then + return + end + if msg.ammoType == "FragGrenade" then + DisplayTextTable.textId = GrenadePrompt + Game.DisplayText(DisplayTextTable, 0, true, Game.GetMyObject()) + Pprompted = true + else + end +end + +function AmmoPickedUpF(msg) + if Fprompted then + return + end + if FettelObject == nil then + return + end + if msg.ammoType == "FragGrenade" then + DisplayTextTable.textId = GrenadePrompt + Game.DisplayText(DisplayTextTable, 1, true, Game.GetMyObject()) + Fprompted = true + else + end +end + +if PointManObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.AmmoPickupForCarrierMessage, PointManObject, "AmmoPickedUpP") +end +if FettelObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.AmmoPickupForCarrierMessage, FettelObject, "AmmoPickedUpF") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/PlayerDownedRevivedTest.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/PlayerDownedRevivedTest.lua new file mode 100644 index 0000000..2517f11 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/PlayerDownedRevivedTest.lua @@ -0,0 +1,64 @@ +local Game = GameScript.Game +local Player = Game.Player +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local MP = Game.MP +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local PointManDownPrompt = Support.ImportStaticTextVariable("Point Man Down Prompt", "The prompt that should appear when explaining that Point Man is down and to revive him") +local FettelDownPrompt = Support.ImportStaticTextVariable("Fettel Down Prompt", "The prompt that should appear when explaining that Fettel is down and to revive him") +local bIsDowned = false +local DisplayTextTable = {} +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayTime = 5 + +function Player1ObjectStateChanged(msg) + if msg.oldState ~= GameScript.ObjectState.NearDeath and msg.newState == GameScript.ObjectState.NearDeath then + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, 1, true, Game.GetMyObject()) + DisplayTextTable.textId = PointManDownPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, 1, true, Game.GetMyObject()) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(1) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, 1, true, Game.GetMyObject()) + DisplayTextTable.textId = PointManDownPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, 1, true, Game.GetMyObject()) + end + elseif msg.oldState ~= GameScript.ObjectState.NearDeath or msg.newState ~= GameScript.ObjectState.NearDeath then + end +end + +function Player2ObjectStateChanged(msg) + if msg.oldState ~= GameScript.ObjectState.NearDeath and msg.newState == GameScript.ObjectState.NearDeath then + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, 0, true, Game.GetMyObject()) + DisplayTextTable.textId = FettelDownPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, 0, true, Game.GetMyObject()) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(0) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, 0, true, Game.GetMyObject()) + DisplayTextTable.textId = FettelDownPrompt + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, 0, true, Game.GetMyObject()) + end + elseif msg.oldState ~= GameScript.ObjectState.NearDeath or msg.newState ~= GameScript.ObjectState.NearDeath then + end +end + +local avatar1, avatar2 = Utilities.GetPointManFettelAvatarObjects() +if avatar1 ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, avatar1, "Player1ObjectStateChanged") +end +if avatar2 ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ObjectStateChangeMessage, avatar2, "Player2ObjectStateChanged") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/SecondWeaponPickupTest.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SecondWeaponPickupTest.lua new file mode 100644 index 0000000..ea48627 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SecondWeaponPickupTest.lua @@ -0,0 +1,86 @@ +local Game = GameScript.Game +local Player = Game.Player +local Callbacks = GameScript.Callbacks +local Util = GameScript.Utilities +local Support = GameScript.Support +local MP = Game.MP +local Debug = GameScript.Debug +local ObjectTags = Game.ObjectTags +local TimeOnScreen = Support.ImportFloatVariableWithDefault("Time on Screen", "The length of time this should stay on screen.", 5) +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local numPreviousWeapons = 0 +local pointMan, fettel, playerIndexPM, playerIndexFettel +local PMtext = true +local FettelText = true +local pointmanAvatar, fettelAvatar +local done = false +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayTime = TimeOnScreen +local PointManObject = Player.GetPlayerControlledObjectByIndex(0) +local i = 0 +Debug.PrintInfo("Init") +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar then + if ObjectTags.DoesObjectHaveTag(avatar, "Point Man") then + pointmanAvatar = avatar + playerIndexPM = i + end + if ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + fettelAvatar = avatar + playerIndexFettel = i + end + end + i = i + 1 +end + +function PlayerInventoryChanged() + if pointmanAvatar == nil then + return + end + if done then + return + end + local inventoryItems = Game.GetInventoryItemsByTypeAndName(pointmanAvatar, 1, "Primary Weapon Inventory") + local numWeapons = #inventoryItems + if 2 <= numWeapons and numPreviousWeapons < 2 then + TextToScreen() + end + numPreviousWeapons = numWeapons +end + +function TextToScreen() + if MP.IsNetworkGame() == false then + local playerIndex = playerIndexPM + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + elseif MP.IsNetworkGame() == true then + local playerIndex = playerIndexPM + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if Player.IsLocalPlayer(playerIndex) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, playerIndex, false, playerobject) + end + end + done = true +end + +if pointmanAvatar ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.ItemStatusForCarrierMessage, pointmanAvatar, "PlayerInventoryChanged") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/SlowMo_Activated_Reg.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SlowMo_Activated_Reg.lua new file mode 100644 index 0000000..cb324de --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SlowMo_Activated_Reg.lua @@ -0,0 +1,137 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Sets = Game.Sets +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local pm = true +local pmtext = false +local pmstart = true +local fettel = true +local fetteltext = false +local fettelstart = true +local playerIndexPM, playerobjectPM, playerIndexFet, playerobjectFet +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialText(MSG) + if MSG.object and pm and pmstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pmstart = false + pmtext = true + end +end + +function HideTutorialText() + if pm then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectPM and Game.IsLoaded(playerobjectPM) and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pm = false + end +end + +function ShowTutorialTextFettel(MSG) + if MSG.object and fettel and fettelstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexFet = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFet = Player.GetPlayerObjectByIndex(playerIndexFet) + if playerobjectFet and Game.IsLoaded(playerobjectFet) and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettelstart = false + fetteltext = true + end +end + +function HideTutorialTextFettel() + if fettel then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if playerobjectFet and Game.IsLoaded(playerobjectFet) and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettel = false + end +end + +function SlowMoActivated() + Game.EnableAllEnableables(EnableObject, true) + pmstart = false + fettelstart = false + if pmtext then + HideTutorialText() + end + if fetteltext then + HideTutorialTextFettel() + end +end + +function HideTutorialTextReg() + if pmtext then + pmstart = false + HideTutorialText() + end +end + +function HideTutorialTextFettelReg() + if fetteltext then + fettelstart = false + HideTutorialTextFettel() + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialText", "HideTutorialTextReg") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideTutorialTextFettelReg") +end +local myObject = Game.GetMyObject() +Callbacks.RegisterForMsg(GameScript.MsgCallback.SlowMoActivatedMessage, myObject, "SlowMoActivated") diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/SuspendTutorial.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SuspendTutorial.lua new file mode 100644 index 0000000..53a7e80 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/SuspendTutorial.lua @@ -0,0 +1,93 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Sets = Game.Sets +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local AISquad = Support.ImportSetObject("AI Squad to Monitor", "The squad we will monitor for suspension") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local playerIndex, playerobject +local textOn = false +local textOff = false +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialText(MSG) + if not textOn and MSG.object then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndex = Player.GetPlayerIndexByObject(MSG.object) + playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + textOn = true + end +end + +function AIAddedToSquad(AddedAI) + if AddedAI ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.SuspendMessage, AddedAI, "AIWasSuspended") + end +end + +function AIWasSuspended(MSG) + if not textOff and MSG.type == 0 then + textOff = true + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialText", "") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialText", "") +end +if AISquad ~= nil then + local AIsInSquad = Sets.GetObjectsInSet(AISquad) + for key, AI in pairs(AIsInSquad) do + Callbacks.RegisterForMsg(GameScript.MsgCallback.SuspendMessage, AI, "AIWasSuspended") + end + Callbacks.RegisterSetTracker(AISquad, "AIAddedToSquad", "") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen.lua new file mode 100644 index 0000000..4cb66ab --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen.lua @@ -0,0 +1,126 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local pm = true +local fettel = true +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialText(MSG) + if MSG.object and pm then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + local playerIndex = Player.GetPlayerIndexByObject(MSG.object) + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + end +end + +function HideTutorialText(MSG) + if MSG.object and pm then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + local playerIndex = Player.GetPlayerIndexByObject(MSG.object) + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + pm = false + end +end + +function ShowTutorialTextFettel(MSG) + if MSG.object and fettel then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + local playerIndex = Player.GetPlayerIndexByObject(MSG.object) + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + end +end + +function HideTutorialTextFettel(MSG) + if MSG.object and fettel then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + local playerIndex = Player.GetPlayerIndexByObject(MSG.object) + local playerobject = Player.GetPlayerObjectByIndex(playerIndex) + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndex, true, playerobject) + end + fettel = false + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialText", "HideTutorialText") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideTutorialTextFettel") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize.lua new file mode 100644 index 0000000..350f138 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize.lua @@ -0,0 +1,157 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Sets = Game.Sets +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local MinContentsLeft = Support.ImportFloatVariable("Min Contents Left", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft = Support.ImportFloatVariable("Max Contents Left", "Maximum amount of contents that should be left before enabling object?") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local pm = true +local pmtext = false +local pmstart = true +local fettel = true +local fetteltext = false +local fettelstart = true +local playerIndexPM, playerobjectPM, playerIndexFet, playerobjectFet +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialText(MSG) + if MSG.object and pm and pmstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pmstart = false + pmtext = true + end +end + +function HideTutorialText() + if pm then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pm = false + end +end + +function ShowTutorialTextFettel(MSG) + if MSG.object and fettel and fettelstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexFet = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFet = Player.GetPlayerObjectByIndex(playerIndexFet) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettelstart = false + fetteltext = true + end +end + +function HideTutorialTextFettel() + if fettel then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettel = false + end +end + +function SetSizeChange() + local ContentsLeft = Sets.GetNumObjectsInSet(Set) + if ContentsLeft >= MinContentsLeft and ContentsLeft <= MaxContentsLeft and Game.IsLoaded(EnableObject) then + Game.EnableAllEnableables(EnableObject, true) + pmstart = false + fettelstart = false + if pmtext then + HideTutorialText() + end + if fetteltext then + HideTutorialTextFettel() + end + Callbacks.UnregisterSetTracker(Set) + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialText", "") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "") +end +if Set and EnableObject then + Callbacks.RegisterSetTracker(Set, "SetSizeChange", "SetSizeChange") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg.lua new file mode 100644 index 0000000..7bb1994 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg.lua @@ -0,0 +1,171 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local Sets = Game.Sets +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +local Set = Support.ImportSetObject("Set", "Set to use for checking contents") +local MinContentsLeft = Support.ImportFloatVariable("Min Contents Left", "Minimum amount of contents that should be left before enabling object?") +local MaxContentsLeft = Support.ImportFloatVariable("Max Contents Left", "Maximum amount of contents that should be left before enabling object?") +local EnableObject = Support.ImportSingleObject("Enable Object", "Enable this object") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local pm = true +local pmtext = false +local pmstart = true +local fettel = true +local fetteltext = false +local fettelstart = true +local playerIndexPM, playerobjectPM, playerIndexFet, playerobjectFet +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority +DisplayTextTable.clearText = false + +function ShowTutorialText(MSG) + if MSG.object and pm and pmstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexPM = Player.GetPlayerIndexByObject(MSG.object) + playerobjectPM = Player.GetPlayerObjectByIndex(playerIndexPM) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pmstart = false + pmtext = true + end +end + +function HideTutorialText() + if pm then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexPM) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexPM, true, playerobjectPM) + end + pm = false + end +end + +function ShowTutorialTextFettel(MSG) + if MSG.object and fettel and fettelstart then + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.HighPriority + DisplayTextTable.clearText = false + playerIndexFet = Player.GetPlayerIndexByObject(MSG.object) + playerobjectFet = Player.GetPlayerObjectByIndex(playerIndexFet) + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettelstart = false + fetteltext = true + end +end + +function HideTutorialTextFettel() + if fettel then + DisplayTextTable.textId = GameScript.TextDisplayDataConstants.kClearTextId + DisplayTextTable.displayTime = 0 + DisplayTextTable.displayPriority = GameScript.TextDisplayPriority.kLowestNeverQueue + DisplayTextTable.clearText = true + if MP.IsNetworkGame() == false then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(playerIndexFet) then + DisplayTextTable.textAreaName = "kTutorialTitleText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + DisplayTextTable.textAreaName = "TutorialText" + Game.DisplayText(DisplayTextTable, playerIndexFet, true, playerobjectFet) + end + fettel = false + end +end + +function SetSizeChange() + local ContentsLeft = Sets.GetNumObjectsInSet(Set) + if ContentsLeft >= MinContentsLeft and ContentsLeft <= MaxContentsLeft and Game.IsLoaded(EnableObject) then + Game.EnableAllEnableables(EnableObject, true) + pmstart = false + fettelstart = false + if pmtext then + HideTutorialText() + end + if fetteltext then + HideTutorialTextFettel() + end + Callbacks.UnregisterSetTracker(Set) + end +end + +function HideTutorialTextReg() + if pmtext then + pmstart = false + HideTutorialText() + end +end + +function HideTutorialTextFettelReg() + if fetteltext then + fettelstart = false + HideTutorialTextFettel() + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "ShowTutorialText", "HideTutorialTextReg") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "ShowTutorialTextFettel", "HideTutorialTextFettelReg") +end +if Set and EnableObject then + Callbacks.RegisterSetTracker(Set, "SetSizeChange", "SetSizeChange") +else + Debug.PrintWarning("Missing necessary objects") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_Timer.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_Timer.lua new file mode 100644 index 0000000..da94233 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_Timer.lua @@ -0,0 +1,52 @@ +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local TimeOnScreen = Support.ImportFloatVariableWithDefault("Time on Screen", "The length of time this should stay on screen.", 5) +local TitleTextID = Support.ImportStaticTextVariable("Title Text ID", "Pick the text ID that should be shown on screen") +local TextID = Support.ImportStaticTextVariable("Text ID", "Pick the text ID that should be shown on screen") +local Region = Support.ImportRegionObject("Region", "When a player enters this region, the text will show up on only that player's screen") +Extern.WhoTriggersChoice = { + Both = 1, + PointMan = 2, + Fettel = 3 +} +local WhoTriggers = Support.ImportEnumVariable("Extern.WhoTriggersChoice", "Who Should Trigger?", "Select which player should trigger this text when they enter the region.") +local DisplayTextTable = {} +DisplayTextTable.textId = TextID +DisplayTextTable.textAreaName = "TutorialText" +DisplayTextTable.displayTime = TimeOnScreen + +function TextToScreen(MSG) + if MSG.object then + if MP.IsNetworkGame() == false then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, Player.GetPlayerIndexByObject(MSG.object), false, Game.GetMyObject()) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, Player.GetPlayerIndexByObject(MSG.object), false, Game.GetMyObject()) + elseif MP.IsNetworkGame() == true and Player.IsLocalPlayer(Player.GetPlayerIndexByObject(MSG.object)) then + DisplayTextTable.textId = TitleTextID + DisplayTextTable.textAreaName = "kTutorialTitleText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, Player.GetPlayerIndexByObject(MSG.object), false, Game.GetMyObject()) + DisplayTextTable.textId = TextID + DisplayTextTable.textAreaName = "TutorialText" + DisplayTextTable.displayTime = TimeOnScreen + Game.DisplayText(DisplayTextTable, Player.GetPlayerIndexByObject(MSG.object), false, Game.GetMyObject()) + end + end +end + +if WhoTriggers == 1 or WhoTriggers == 2 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Point Man"), "TextToScreen", "") +end +if WhoTriggers == 1 or WhoTriggers == 3 then + Callbacks.RegisterObjectTagEnterExitRegion(Region, Game.ObjectTags.GetObjectTagUID("Fettel"), "TextToScreen", "") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/tutorial/sendtexttofettelcontrolledobject.lua b/recovered/resources/EXTRACTresources/Script/Game/tutorial/sendtexttofettelcontrolledobject.lua new file mode 100644 index 0000000..38b7b5d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/tutorial/sendtexttofettelcontrolledobject.lua @@ -0,0 +1,29 @@ +local Callbacks = GameScript.Callbacks +local Support = GameScript.Support +local Game = GameScript.Game +local Player = Game.Player +local ObjectTags = Game.ObjectTags +local text = Support.ImportStringVariable("Text Message", "Text Message to send to object(s) when entering region") +local timer = Support.ImportFloatVariable("Timer", "Time to wait until sending text message") +local fettelAvatar, fettelControlledAvatar + +function SendText() + Game.SendTextMessage(fettelControlledAvatar, text) +end + +local i = 0 +while i <= Player.GetNumPlayers() do + local avatar = Player.GetPlayerAvatarObjectByIndex(i) + if avatar and ObjectTags.DoesObjectHaveTag(avatar, "Fettel") then + fettelAvatar = avatar + fettelControlledAvatar = Player.GetPlayerControlledObjectByIndex(i) + end + i = i + 1 +end +if fettelControlledAvatar ~= nil then + if timer == 0 then + SendText() + else + Callbacks.RegisterForTimer("SendText", timer, false) + end +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse.lua b/recovered/resources/EXTRACTresources/Script/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse.lua new file mode 100644 index 0000000..5c94f0c --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse.lua @@ -0,0 +1,37 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local MP = Game.MP +local kTrue = 1 +local kFalse = 0 +Support.ExportFloatVariable("Enabled", kFalse, "A dummy net-sync'd variable to determine when we should enable objects over the network") +local usableObject = Game.GetMyObject() +local enableObjs = Support.ImportObjectHandleVariable("Object(s) to Enable", "The objects that are enabled") +local messageObjs = Support.ImportObjectHandleVariable("Object(s) to Message", "The objects that are sent an 'OnUseCompleted' message") + +function UpdateEveryFrame() + if Extern.Enabled == kTrue and enableObjs then + if messageObjs ~= nil then + for name, object in pairs(messageObjs) do + if object ~= nil then + Game.SendTextMessage(object, "OnUseCompleted") + end + end + end + for k, obj in pairs(enableObjs) do + if obj ~= nil then + Game.EnableAllEnableables(obj, true) + end + end + end +end + +function ObjectIsUsed() + Extern.Enabled = kTrue + Callbacks.UnregisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, usableObject, "ObjectIsUsed") +end + +if not MP.IsClient() and usableObject ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.UsablesStartUsingMessage, usableObject, "ObjectIsUsed") +end +Callbacks.RegisterForUpdateEveryFrame("UpdateEveryFrame") diff --git a/recovered/resources/EXTRACTresources/Script/Game/worlds/PortAuth/SearchLightRandomization.lua b/recovered/resources/EXTRACTresources/Script/Game/worlds/PortAuth/SearchLightRandomization.lua new file mode 100644 index 0000000..24e64f2 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/worlds/PortAuth/SearchLightRandomization.lua @@ -0,0 +1,47 @@ +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Debug = GameScript.Debug +local Util = GameScript.Utilities +local Player = Game.Player +local FEAR = GameScript.FEAR +local Physics = Game.Physics +local Regions = Game.Regions +local ObjectsToControl = Support.ImportObjectHandleVariable("Object(s) to Control", "All the objects selected here will have the SAME randomization") +local AnimationVariableName = Support.ImportStringVariable("Animation Variable", "The Animation Variable name") +local MinTimeBetweenSpeedChanges = Support.ImportFloatVariableWithDefault("Min Time Between Speed Changes", "Time in seconds", 30) +local MaxTimeBetweenSpeedChanges = Support.ImportFloatVariableWithDefault("Max Time Between Speed Changes", "Time in seconds", 60) +local MinSpeed = Support.ImportFloatVariableWithDefault("Min Speed", "Multiplier; 1 is normal speed", 1) +local MaxSpeed = Support.ImportFloatVariableWithDefault("Max Speed", "Multiplier; 1 is normal speed", 1) +local StartSpeed = Support.ImportFloatVariableWithDefault("Start Speed", "Multiplier; 1 is normal speed", 1) + +function SetAnimationSpeed() + Debug.PrintInfoIf(g_debugMode > 0, "SetAnimationSpeed") + SetAnimationVariable(GenerateRandomValue(MinSpeed, MaxSpeed)) + Callbacks.RegisterForTimer("SetAnimationSpeed", GenerateRandomValue(MinTimeBetweenSpeedChanges, MaxTimeBetweenSpeedChanges), false) +end + +function SetAnimationVariable(SpeedMultiplier) + for key, value in pairs(ObjectsToControl) do + if Game.IsLoaded(value) then + Debug.PrintInfoIf(g_debugMode > 0, "SetAnimationVariable " .. SpeedMultiplier) + Game.SetAnimationVariable(value, AnimationVariableName, SpeedMultiplier) + end + end +end + +function GenerateRandomValue(Min, Max) + Debug.PrintInfoIf(g_debugMode > 0, "GenerateRandomValue: min " .. Min .. " max " .. Max) + local RandomPercent = Util.GetRandomPercent() + local Value = Min + if RandomPercent then + Value = RandomPercent * (Max - Min) + Min + end + return Value +end + +Debug.PrintInfoIf(g_debugMode > 0, "MAIN BODY") +if ObjectsToControl then + SetAnimationVariable(StartSpeed) + Callbacks.RegisterForTimer("SetAnimationSpeed", GenerateRandomValue(MinTimeBetweenSpeedChanges, MaxTimeBetweenSpeedChanges), false) +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerPlayerCards.lua b/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerPlayerCards.lua new file mode 100644 index 0000000..959a26d --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerPlayerCards.lua @@ -0,0 +1,25 @@ +local Util = GameScript.Utilities +local Callbacks = GameScript.Callbacks +local Game = GameScript.Game +local Msg = GameScript.MsgCallback +local AnimLabelTag = Util.CreateAnimLabelTag("SwitchInventory", "SwitchInventory", GameScript.AnimTagType.kEnd) +local me = GameScript.Game.GetMyObject() + +function OnAnimLabel(info) + if Util.IsAnimLabelTag(AnimLabelTag, info) then + local setObjects = GameScript.Game.Sets.GetObjectsInSet(me) + for i, object in pairs(setObjects) do + Game.Detach(object) + end + GameScript.Support.ExitScript() + end +end + +function OnKilled() + local setObjects = GameScript.Game.Sets.GetObjectsInSet(me) + for i, object in pairs(setObjects) do + GameScript.Game.Kill(object, GameScript.KillObjectMessageType.DoDying) + end +end + +Callbacks.RegisterForMsg(Msg.LabelAnimationTag, me, "OnAnimLabel") diff --git a/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerRoomAchievement.lua b/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerRoomAchievement.lua new file mode 100644 index 0000000..0b6a800 --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/worlds/Prison/PokerRoomAchievement.lua @@ -0,0 +1,68 @@ +local Game = GameScript.Game +local Death = Game.Death +local Support = GameScript.Support +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local Sets = Game.Sets +local PokerAISet = Support.ImportSetObject("Poker AI Set", "The set containing poker AIs to be killed") +local notAPlayer = GameScript.PlayerIndex.kNotAGlobalPlayer +local numRemainingAIs = 3 +local killingPlayer = notAPlayer +local bSuccess = true + +function OnAIKilled(info) + local killedObject = info.killedObject + if killedObject == nil then + return + end + local killerIndex = Death.GetLastDamagePlayerIndexFromObject(killedObject) + if killerIndex == notAPlayer then + Debug.PrintWarning("Achievement failed: AI killed by non-player") + bSuccess = false + Support.ExitScript() + end + if killingPlayer == notAPlayer then + killingPlayer = killerIndex + elseif killerIndex ~= killingPlayer then + Debug.PrintWarning("Achievement failed: AI killed by different player") + bSuccess = false + Support.ExitScript() + end + local lastDamageInfo = Death.GetLastDamageInfoFromObject(killedObject) + if lastDamageInfo == nil or not lastDamageInfo.headshot then + Debug.PrintWarning("Achievement failed: AI not killed by headshot") + bSuccess = false + Support.ExitScript() + end + numRemainingAIs = numRemainingAIs - 1 + if numRemainingAIs == 0 and bSuccess then + Game.AwardAchievementOccurrence(killingPlayer, GameScript.Achievements.Poker_Room_Headshots) + Debug.PrintWarning("Good shootin', Tex. Tex = " .. killingPlayer) + Support.ExitScript() + end +end + +function OnSlowMoDeactivated() + Debug.PrintWarning("Achievement failed: Slow-mo ended") + bSuccess = false + Support.ExitScript() +end + +function OnAIEnterSet(AI) + if AI ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, AI, "OnAIKilled") + end +end + +if PokerAISet == nil then + GameScript.Debug.PrintError("\"Poker AI Set\" was not defined") +else + local PokerAIs = Sets.GetObjectsInSet(PokerAISet) + for key, AI in pairs(PokerAIs) do + if AI ~= nil then + Callbacks.RegisterForMsg(GameScript.MsgCallback.KillObjectMessage, AI, "OnAIKilled") + end + end + Callbacks.RegisterSetTracker(PokerAISet, "OnAIEnterSet", "") + Callbacks.RegisterForMsg(GameScript.MsgCallback.SlowMoDeactivatedMessage, Game.GetMyObject(), "OnSlowMoDeactivated") +end diff --git a/recovered/resources/EXTRACTresources/Script/Game/worlds/WadeMansion/FaceOffPlayerScript.lua b/recovered/resources/EXTRACTresources/Script/Game/worlds/WadeMansion/FaceOffPlayerScript.lua new file mode 100644 index 0000000..1fed2fc --- /dev/null +++ b/recovered/resources/EXTRACTresources/Script/Game/worlds/WadeMansion/FaceOffPlayerScript.lua @@ -0,0 +1,145 @@ +local Game = GameScript.Game +local Support = GameScript.Support +local Utilities = GameScript.Utilities +local Msg = GameScript.MsgCallback +local Player = GameScript.Game.Player +local ObjectTags = GameScript.Game.ObjectTags +local Callbacks = GameScript.Callbacks +local Debug = GameScript.Debug +local startTime = 0 +Support.ExportFloatVariable("ShotTime", -1, "The time it took point man to fire the shot") +Support.ExportFloatVariable("AnimationVariable", 0, "This value is changed based on who won and lost in a coop game to set into the animation graph to provide a slight advantage to one player or another.") +local looseAnimValue = Support.ImportFloatVariableWithDefault("Loose Animation Value", "The value to put into the animation graph for the loosing player.", 45) +local pointMan, fettel, myObject, otherPlayer + +function FindPlayers() + local pmTagTable = ObjectTags.GetObjectsWithTag("Point Man") + if pmTagTable then + for key, object in pairs(pmTagTable) do + if object then + pointMan = object + end + end + end + local fettelTagTable = ObjectTags.GetObjectsWithTag("Fettel") + if fettelTagTable then + for key, object in pairs(fettelTagTable) do + if object then + fettel = object + end + end + end + myObject = GameScript.Game.GetMyObject() +end + +function OpponentTakingDamage() + GameScript.Debug.PrintInfo("OpponentTakingDamage") + if otherPlayer then + Callbacks.UnregisterForMsg(GameScript.MsgCallback.DamageMessage, otherPlayer, "OpponentTakingDamage") + end + Extern.ShotTime = GameScript.Support.GetGameTime() - startTime + GameScript.Debug.PrintInfo("OpponentTakingDamage - start time: " .. startTime .. " shottime: " .. Extern.ShotTime) + Callbacks.RegisterForTimer("TimerCallback", 0.25, false) + Game.SendTextMessage(myObject, "HUDFadeToBlack") +end + +function TimerCallback() + GameScript.Debug.PrintInfo("TimerCallback - start time: " .. startTime .. " shottime: " .. Extern.ShotTime) + if myObject then + Game.SendTextMessage(myObject, "ShotFired") + end +end + +function OnValueUpdatedForClient() + if Extern.ShotTime == -1 then + return + end + GameScript.Debug.PrintInfo("OnValueUpdatedForClient - shottime: " .. Extern.ShotTime) + if myObject then + Game.SendTextMessage(myObject, "ShotFired") + end + Callbacks.UnregisterForScriptValueUpdated("OnValueUpdatedForClient") +end + +function SetUpAnimationExtern() + local numPlayers = Player.GetNumPlayers() + if 1 < numPlayers then + local player1Object = Player.GetPlayerAvatarObjectByIndex(GameScript.PlayerIndex.kGlobalPlayer1) + local p1Agg = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer1, 0) + local p1Tac = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer1, 1) + local p1Spec = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer1, 2) + local p1Psy = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer1, 3) + local p2Agg = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer2, 0) + local p2Tac = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer2, 1) + local p2Spec = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer2, 2) + local p2Psy = GameScript.FEARScore.GetTotalChallengeCategoryPoints(GameScript.PlayerIndex.kGlobalPlayer2, 3) + local p1Pts = 0 + local p2Pts = 0 + if p1Agg > p2Agg then + p1Pts = p1Pts + 1 + elseif p1Agg < p2Agg then + p2Pts = p2Pts + 1 + end + if p1Tac > p2Tac then + p1Pts = p1Pts + 1 + elseif p1Tac < p2Tac then + p2Pts = p2Pts + 1 + end + if p1Spec > p2Spec then + p1Pts = p1Pts + 1 + elseif p1Spec < p2Spec then + p2Pts = p2Pts + 1 + end + if p1Psy > p2Psy then + p1Pts = p1Pts + 1 + elseif p1Psy < p2Psy then + p2Pts = p2Pts + 1 + end + if p1Pts < p2Pts and player1Object == myObject or p1Pts > p2Pts and player1Object ~= myObject then + Extern.AnimationVariable = looseAnimValue + end + end +end + +function DoInit() + FindPlayers() + Callbacks.UnregisterForTimer("DoInit") + if myObject == nil then + return + end + if fettel == nil then + GameScript.Debug.PrintInfo("Fettel is nil wait .5 seconds") + Callbacks.RegisterForTimer("DoInit", 0.5, false) + return + end + if pointMan == nil then + GameScript.Debug.PrintInfo("pointMan is nil wait .5 seconds") + Callbacks.RegisterForTimer("DoInit", 0.5, false) + return + end + GameScript.Debug.PrintInfo("My Object: " .. GameScript.Game.GetName(myObject)) + GameScript.Debug.PrintInfo("Point Man Object: " .. GameScript.Game.GetName(pointMan)) + GameScript.Debug.PrintInfo("Fettel Object: " .. GameScript.Game.GetName(fettel)) + if myObject == pointMan then + otherPlayer = fettel + else + otherPlayer = pointMan + end + GameScript.Debug.PrintInfo("Other Object: " .. GameScript.Game.GetName(otherPlayer)) + SetUpAnimationExtern() + if Game.MP.IsNetworkGame() then + if Game.MP.IsRemoteScript() then + Callbacks.RegisterForScriptValueUpdated("OnValueUpdatedForClient") + elseif otherPlayer then + Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageMessage, otherPlayer, "OpponentTakingDamage") + end + startTime = GameScript.Support.GetGameTime() + else + if otherPlayer then + Callbacks.RegisterForMsg(GameScript.MsgCallback.DamageMessage, otherPlayer, "OpponentTakingDamage") + end + startTime = GameScript.Support.GetGameTime() + end +end + +Callbacks.RegisterForTimer("DoInit", 0.5, false) diff --git a/recovered/resources/README.md b/recovered/resources/README.md new file mode 100644 index 0000000..e1e8efb --- /dev/null +++ b/recovered/resources/README.md @@ -0,0 +1,73 @@ +# Восстановление скриптов resources.dspack + +Источник: два пользовательских вложения `EXTRACTresources.txt` и `EXTRACTresources-2.txt`, фактически ZIP-архивы. Сохранены как `EXTRACTresources.zip` и `EXTRACTresources-with-tool.zip` вне Git. Все 228 Lua-файлов в них побайтово одинаковы; во втором архиве дополнительно находится Linux ELF `EXTRACTresources/cLuaDecompiler` размером 1 212 432 байта. + +Происхождение скриптов из `resources.dspack` указано пользователем; сам игровой контейнер не предоставлен. Архивы распакованы с проверкой путей и сохранением регистра и структуры папок. + +## Итог + +**[228 восстановленных исходников](EXTRACTresources/Script/)**. Все выбраны из обычного режима unluac после сравнительной проверки трёх декомпиляторов. Каждый исходник повторно скомпилирован Lua 5.1; **у 228/228 полностью совпало исполняемое дерево с входным байткодом**. + +Входные файлы содержат суммарно 1 407 прототипов и 65 067 инструкций. Полный разбор и обратная сериализация каждого входа дали побайтовое равенство оригиналу. + +### Сравнение вариантов + +| Инструмент / режим | Синтаксис корректен | Точное исполняемое дерево | +| --- | ---: | ---: | +| LuaDec, стандартный | 149 / 228 | 91 / 228 | +| LuaDec, `-dg` | 114 / 228 | 74 / 228 | +| LuaDec, `-a` | 175 / 228 | 0 / 228 | +| unluac, стандартный | **228 / 228** | **228 / 228** | +| unluac, `--nodebug` | 202 / 228 | 0 / 228 | +| cLuaDecompiler, `--dec` | 227 / 228 | 99 / 228 | +| cLuaDecompiler, `--dec --annotate --debug` | 223 / 228 | 99 / 228 | + +«Не совпало» не обязательно означает неправильное поведение: другой эквивалентный код также может отличаться по инструкциям. Однако при наличии точно совпадающего варианта предпочтение отдано ему. Успешный код выхода декомпилятора не считается доказательством корректности: например, cLuaDecompiler завершился с кодом 0 во всех перечисленных запусках, но часть исходников не компилируется. LuaDec `-dg` аварийно завершился на одном файле; ошибка сохранена в диагностике. + +## Приложенный cLuaDecompiler действительно использован + +В отличие от предыдущего восстановления boot, теперь бинарник доступен. Его SHA-256 записан в [`provenance.json`](provenance.json). Подлинность и соответствие конкретному релизному тегу независимо не установлены. + +Для **каждого из 228 файлов** выполнены четыре отдельных запуска: + +```sh +cLuaDecompiler --dec input.lua +cLuaDecompiler --dec --annotate --debug input.lua +cLuaDecompiler --dis input.lua +cLuaDecompiler --ssa-dump input.lua +``` + +Все 912 запусков завершились с кодом 0. Это статистика выполнения, не гарантия корректности SSA или декомпиляции. Обычный и аннотированный исходники отдельно проверены `luac` и включены в сравнение кандидатов. Дизассемблирование и SSA сохранены в итоговом ZIP, вместе со stdout/stderr и результатами других инструментов. + +`--lua-version 51` не понадобился: заголовки корректно распознаны автоматически. Пользовательская `--opcode-table` не применялась: стандартное сопоставление опкодов уже обеспечило точное восстановление, доказательств необходимости другого нет. `--help` сохранён в архиве. + +Дополнительно LuaDec запускался с `-dis`, `-pn`, `-fc`. Результаты `-fc` относятся только к стандартному варианту LuaDec, а не к выбранному unluac-исходнику. + +## Что проверено + +Для каждого файла сравниваются рекурсивно: + +- байты всех инструкций; +- типы и байты констант; +- параметры, число upvalues, vararg и maxstacksize; +- порядок и содержимое вложенных прототипов. + +Отладочная информация (имена источников, локальных переменных, номера строк) в это равенство не входит. Оригинальные комментарии и форматирование не восстанавливались. **В игре скрипты не запускались**, функции движка не имитировались. Совпадение — статическая проверка байткода, а не тест игрового поведения. + +Для LuaDec с 64-битным `size_t` созданы переносимые копии входного Lua 5.1, с пересериализацией длин строк. Равенство их разобранных деревьев проверено. cLuaDecompiler и unluac работали напрямую с оригинальными файлами. + +## Повторение + +Используйте новый пустой рабочий каталог и инструменты, описанные в `provenance.json`: + +```sh +python tools/recover_boot.py /path/EXTRACTresources.zip \ + --work-dir /path/resources-recovery \ + --luadec /path/luadec --luac /path/luac \ + --java /path/java --unluac /path/unluac.jar \ + --clua /path/cLuaDecompiler +``` + +Имя `recover_boot.py` сохранено для совместимости; скрипт подходит и для resources. Параметр `--clua` теперь не только сохраняет диагностику, но и добавляет обычный/аннотированный результат в общий отбор с проверкой повторной компиляцией. Приоритет — точное равенство исполняемого дерева; синтаксическая корректность сама по себе недостаточна для утверждения о восстановлении. + +В [`manifest.json`](manifest.json) содержатся SHA-256 входов и выбранных исходников, результаты всех семи вариантов и коды выхода диагностических режимов. Исходные бинарные чанки, инструменты и объёмная диагностика в Git не добавлены; исходные чанки и диагностика доступны в ZIP-результате. Игровым скриптам новая лицензия не назначается. diff --git a/recovered/resources/manifest.json b/recovered/resources/manifest.json new file mode 100644 index 0000000..570688a --- /dev/null +++ b/recovered/resources/manifest.json @@ -0,0 +1,18481 @@ +{ + "archive_sha256": "486ce156525cd4ab26d54a78070ffd3a8600773101de8da304fadac643bc5f60", + "requested_tool_executed": true, + "warning": "Recovered source is not original source. Syntax checks do not prove semantic equivalence.", + "files": [ + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/ImpulseObject.lua", + "sha256": "65ed75c39484f2ea06d04d6a9da43ae67e64dfa088abb2c7c69ba871d2f5f401", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 127, + "locals": 13, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "66bcb6d3772605d9458c45bc8e9a080012aade41bd38425d0b3fbe1526274041", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_007.lua", + "sha256": "b327e3fb656ecb5c023862b01cc273ac85f997567c5e2567c03499d0c5b3b28d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 184, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "676742622a543f0e535c781756e917c503e5c8b529e1effcdaf59a88c4d34787", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_010.lua", + "sha256": "2eedb0c03da148b9a4bb830f868838f6336ae7b0e7741f28528b7bfb806cd744", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 250, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "871d184b97cabba5104496926bb98a97a0da17f36e21960d82c872c5b43c62ff", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomObj_020.lua", + "sha256": "e540e86d724cc89eec904488b6d4fde5604e0c817f9b96e21a4c5c7e18be46b0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 470, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "9a1b47ed177d14a235d4b1cc0a12d92ed91cca19b445493810963fce2974f66c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/SpawnRandomParticleObj.lua", + "sha256": "1d6cd819c3f2e9f019c63e2a5612fc54ce2deb2b75a1efb5f74722192fe09028", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 72, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a7eda965dae2708d6cfb068ca7ad6dc4d0ec553d97f2eb088b40e977f6df4b85", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/flashlightchecksendtext.lua", + "sha256": "27b3c7b4d990951cdba7d224d8a8497cfcff9cfe2ca1c30311277947e08097a4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 64, + "locals": 8, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "7c6e81ae897b1cb0ca8a132c4fd6e22cc273c1bbb32bd774fab87406ee473318", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/flickerobject.lua", + "sha256": "bd27470a76363d01fbd4b48d8bf87c2ce6c6634cf49bff5f39c5f41a62253b97", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 187, + "locals": 25, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2b252edfbcb885da62b04ba673b479cf7910bdd69e8078d6e54851534b250a18", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/AmbientEvents/Common/spawnrandomobjwithvelocity.lua", + "sha256": "5f2866cab810691a1dac66bf2f657172ae3a5c1710d8bca8e2c6a649ea39c535", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 170, + "locals": 9, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c35cf9ca7141c9338833ae21c75e84bc53c1c1a93a709e640cf72113c0da0358", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/AmbientSoundWithRegion.lua", + "sha256": "ed2728d458e1ae8d4b3d93e04a5706afd87fdc62e0ad62821c22e08d937310ec", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 111, + "locals": 12, + "upvalue_names": 14, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "52ec83c0dff1978da1cd5515ff833a26e454a6cf9760b3f78d789f213f369784", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/BusFadeInExplosion.lua", + "sha256": "8fb9eb75d667c004d63db60080610f7673d0d9f0dcc16531bb6cb4839b54d1e0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 93, + "locals": 12, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ee0e5c3d1f87984e062e047541b496b74a9b79ba8634cbd65274a6d8c0c4ae4c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/EPA.lua", + "sha256": "86cf84bf7165b95271f7e1829786667aa9fcc22f11b4444e316aec84f17c57e2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 202, + "locals": 10, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "8e40b548c43fd0bb3766385b6379a963ec1b1350746a4c19d016ff5096d8e1c7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/MusicHolder.lua", + "sha256": "633d2b0f11f559936504044506b7bdc6852868852f50e8791072cdfb85c10520", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 18, + "locals": 5, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a29ee50edb7b69a00b6f9bc24a7c8ea9be392d64c921b0465ce51e55a53e7179", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/MusicMuter.lua", + "sha256": "d4ab6a1e1d964e9b454e181b6c999d0d8b8b5a0be24df5ab7f9fe013a2c379de", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 132, + "locals": 28, + "upvalue_names": 14, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "da7ef82ec54dd89efdc2f21efa6de7cc06d3a94402c563b51c9d7365341ac82a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/MusicTrigger.lua", + "sha256": "04ee3bb5f1d49c627ccde81a1c0340b4d8b165152ce7d9de339bbba4045989a7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 220, + "locals": 35, + "upvalue_names": 21, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "cbc7a67124c7d2cc4f78ccdc400c2c35ac4f4294bfceb16f5fd7cab3c3ab6b97", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/MusicTriggerCinema.lua", + "sha256": "63845e9e97e6e1b4312412c68da0b5b481125e904ba70bb46cf088f0de8b8ac1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 78, + "locals": 10, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e87ff19de47b63ed23bd5a60be46b1d73d04455342769bca916a7d193d6c10e9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/MusicTriggerSpawner.lua", + "sha256": "6cdbb7ca5ad62aa6bd8425b4fdeb29889d688cb202199aec46f7ced36c8413b2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 127, + "locals": 14, + "upvalue_names": 11, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b47c3883cd40ec7e6c813443f9b678be29175b0393ea6d357538c7700958f780", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/RegionEnabler.lua", + "sha256": "1169339c6987e4d1141ea86742f2b3a68d204c371ad6020c113f114c2d3fdb61", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 34, + "locals": 11, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0420eb99c19d0d44dda0388d5a1dbba7c055a43b8661162d915750185ec459ea", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Audio/ReverbFader.lua", + "sha256": "cde42f83f5b0552f6d27b3249b0ec25c715aa3c34be7b8d5b68a10b46b6b46fb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 423, + "locals": 45, + "upvalue_names": 38, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 28, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c3a05da59ea219cf6899655de00ecb3abadf4854d5a46cfb1ffd3659fc590837", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Camera/SetFilterLUT.lua", + "sha256": "83a8412f62d398042911b14c0880240ea30b9e6d5893de84dc1c13f303e77589", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 84, + "locals": 20, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1f4f82ab0fd92e57e45fbc016172d9a955dd7f1b1be3331347d79760cd311c86", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Common/AddMyselfAsObjective.lua", + "sha256": "5d0f254414d9c3e1e0a1f5cb4221f892a9a5738a49c1eb4a5bd60334409594d3", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 28, + "locals": 7, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ff3ee704ae8cbd84b2e3f1b759f73932026a0ad5b8e40079c1e7422722a7d406", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Common/CalculateMinOfTwoValues.lua", + "sha256": "63a9bad20722e07e983e6803a57f9936ecd0a7fd0d3f6cd8019204cf47fb0c8a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 57, + "locals": 7, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/Common/CalculateMinOfTwoValues/no-guess.lua:16: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5f7de53a6815b284474c2d4e24c084db5819d8b21f21c2c4418cc99bc97ae856", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Common/EndCurrentLevel.lua", + "sha256": "072456cfeb0917b923db3dc1eed534fd61c10cf92b8b33c4a6ee5403252427d0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 163, + "locals": 27, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/EXTRACTresources/Script/Game/Common/EndCurrentLevel/unluac-nodebug.lua:103: '=' expected near 'lbl_118'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f5bfa6a897b76383bd4cc17511edcc102efc18679c9625c076eadbc38ce509ef", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Common/LevelTransitionBegin.lua", + "sha256": "1cff39a3d08f850d4c0946188486446a619cb0f32b8a93a5540d6295761176b1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 352, + "locals": 32, + "upvalue_names": 22, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Common/LevelTransitionBegin/default.lua:117: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/Common/LevelTransitionBegin/no-guess.lua:117: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../EXTRACTresources/Script/Game/Common/LevelTransitionBegin/all-locals.lua:255: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a9ba741c0aada67d2fc5d0f0ff61e1297018f591ed7f3093284da12c74190472", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 4 + }, + { + "path": "EXTRACTresources/Script/Game/Common/LevelTransition_AfterSummary.lua", + "sha256": "671677fca36a47d596eaa210f871500fad124aa2b6e13c8ae7357cd3d449d86c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 150, + "locals": 19, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1912f15cc26744fdcc0188d236ce6fb131590a139e9348522d7d57f80e504a6b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Common/ObjectInteraction.lua", + "sha256": "f682340896a8366e10bed66dad1e15830a649ef63f1bfb0a1eed3f101835499e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 235, + "locals": 32, + "upvalue_names": 19, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Common/ObjectInteraction/all-locals.lua:162: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f6bf4ff33d4f6fb63d16394d1f763fc4d3093a1441c9a8b79afa00a4fd26d088", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Common/ObjectInteractionEndCrouched.lua", + "sha256": "0ea2758a5fd0ddb5b2c84243be85627be00ad2d68f0ff6eb827c2abaa9eca847", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 253, + "locals": 33, + "upvalue_names": 22, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Common/ObjectInteractionEndCrouched/all-locals.lua:169: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "60d50423e2b618320c19816df07ba8acf9d53a55ce70004e9ac90afab3b34db9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Common/SaveGame.lua", + "sha256": "de097abef12249019d815b616bd2deeff8d988af912c1cd66db8777e808d90a2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 5, + "locals": 0, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1766744b03578008ede54646469cf028b40d68bd3568b391ae6c46a3174c51bc", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Common/SetCurrentLevel.lua", + "sha256": "3edf0f72edced8388145e6a685027aea380b1e8150ee0607cf11ee5149811542", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 52, + "locals": 8, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/EXTRACTresources/Script/Game/Common/SetCurrentLevel/unluac-nodebug.lua:33: '=' expected near 'lbl_40'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f34b62239490f21c14bb25bb9e6f836fb62bee602dc22ed22aeb91a71e8c61c1", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion.lua", + "sha256": "2b715a2b4a6e7429bd6348ad0fe61422cd92e73b93ea43c9f5008dd8a308b87a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 115, + "locals": 7, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion/default.lua:35: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion/no-guess.lua:35: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/Common/StreamWorldsOnRegion/unluac-nodebug.lua:73: '=' expected near 'lbl_29'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a1c8a0b9b9f658a40fc9173556d2e394f058b64993b6b43cbca29069c0dcaaab", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay.lua", + "sha256": "b0afa8479228a23a4cde50ca0d1078ac5a2c41c3477c49adf455f2dc0e92551e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 131, + "locals": 8, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay/default.lua:36: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Common/StreamWorldsOnRegion_SaveDelay/no-guess.lua:36: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 15, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/Common/StreamWorldsOnRegion_SaveDelay/unluac-nodebug.lua:80: '=' expected near 'lbl_29'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c152c10ac79f2214ce2534e29f663c8698cdc701f96b4e0c469aac5f4d4e2947", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgun.lua", + "sha256": "f284d91f389263a61d8eb15bd9b914cf74f2164a0a9d0cb35f0d9f964fe78082", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 405, + "locals": 44, + "upvalue_names": 33, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 8, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Dismemberment/ApplyDamageShotgun/no-guess.lua:57: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 10, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e64596761f969e8161b2049733d439f20ae5cceb3f8b2dee3903f3f3411e54b2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/ApplyDamageShotgunToSelf.lua", + "sha256": "4a9c54b1a12901de880ef98c0e95ff82599ebd3cc7c0b37de58c145e9c89cd29", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 465, + "locals": 49, + "upvalue_names": 35, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 8, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/Dismemberment/ApplyDamageShotgunToSelf/no-guess.lua:64: unexpected symbol near '^'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 10, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f4181c20a3dc270b817691fb20dc96d2bb1e7f3ef3146c468c4bf8e9f5dc90ac", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/ApplyDamageToObject.lua", + "sha256": "1fefa7c17a43fdf8e718baaa6d469be964926925a5eb8c09e3bba58b3d53f70d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 57, + "locals": 17, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "beadf449a4d6af2e8100372b5efa5f156c59e75ed2a5edb3bd7093f6e0a55fb9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/DismemberDeleteLimbRagdoll.lua", + "sha256": "1faad4af929df6884179e6325c683976b05d60e55b8388b9dab3b058de7476ff", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 293, + "locals": 28, + "upvalue_names": 17, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "15b56daf9e7f6edb1aa0cc8fddd3863ad23d013e853d650b4b8b37ce821577d4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/DismemberRagdoll.lua", + "sha256": "f21a7e092c44c506649183dc1ba4a655c485326176da0152453ac10f6a61a8f4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 118, + "locals": 17, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0c7e6f2cc834f69192c0fff4736e5d0ed7e6c1a409d9486159929af072a35e55", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Dismemberment/RandomDismemberRagdoll.lua", + "sha256": "ad517f693c7a2ed0e3f85a3810a550c40d3e0a497a3d8592463dbc0a1e2c119b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 144, + "locals": 20, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "47ad11bf74e8b3f3371dbf01a2146ac9e13b96f26c1f8fb5a0812c71d0c6fef4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Door/DoorCloseAndDisable.lua", + "sha256": "19427736a02d17b2ada4cd8b7198e36aeed3324501b1417e99bf8ea622242401", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 46, + "locals": 11, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable/default.lua:23: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable/no-guess.lua:23: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Door/DoorCloseAndDisable/all-locals.lua:68: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c75f9193753ee5cc1854d9200550a57eaba89354694282a4dd8a5937b2ee79f8", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent.lua", + "sha256": "e66977a99f9707148df21e1106e8c4578d3db9287fdfb9bc9dd750ffa4b00bbe", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 46, + "locals": 11, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent/default.lua:23: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/Door/DoorCloseAndDisableSilent/no-guess.lua:23: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Door/DoorCloseAndDisableSilent/all-locals.lua:68: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c97c56a1739eab00dd74287aab25663b99b533b5bf02eeb313bb59d7ec30e4fb", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Door/DoorOpenClose.lua", + "sha256": "371bf2b390847902ed0144f0a567c9d42b24b367b69626b83f04d90b8de3de14", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 224, + "locals": 42, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../diagnostics/EXTRACTresources/Script/Game/Door/DoorOpenClose/default.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/EXTRACTresources/Script/Game/Door/DoorOpenClose/no-guess.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...agnostics/EXTRACTresources/Script/Game/Door/DoorOpenClose/all-locals.lua:218: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "fb425354a07a8abd2694551a35f392973eb8b851d6549325f633c2edaf101e5c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent.lua", + "sha256": "eb4ab424709763fbc6eadbb23f3fb78f0f5dc946d5c15ff419d7b89e34867d9d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 95, + "locals": 27, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent/default.lua:43: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent/no-guess.lua:43: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 4, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Door/DoorOpenCloseSilent/all-locals.lua:113: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "50674988dc66270b2be90d10d17ae02dccba071115967568c4dd3ad2321f909c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed.lua", + "sha256": "01bcb329200bb43d9733ff46ca746bd6a825b9e9bf3cf3dcc24ed1604f64307b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 109, + "locals": 12, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed/default.lua:45: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/Door/DoorOpenCloseWSpeed/no-guess.lua:45: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d70d6fb92ed6043793f626bbce4625b3bfa5a8a0c080bc75d08fd1a17492a978", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript.lua", + "sha256": "07c233f8846786afc3020ed043a623dbb431a64fb3f1f056039109bc9d71d3a1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 9, + "instructions": 237, + "locals": 44, + "upvalue_names": 24, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript/default.lua:99: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/MP/AIDirector2SpawnRegionScript/no-guess.lua:99: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6859716c00e82bf146f07fc13439c98f6d80f13ff238835c18f72729baabaeda", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 8, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc.lua", + "sha256": "f71e34edc113d0be1137fe53368a2cc4e0363493dd3c3e89eabe5b7653d52e6e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 13, + "instructions": 796, + "locals": 112, + "upvalue_names": 44, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 10, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc/default.lua:266: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 10, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc/no-guess.lua:143: unexpected symbol near 'char(23)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc/all-locals.lua:826: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/MP/AIOrdersBasedOnPlayerRegionLoc/unluac-nodebug.lua:423: '=' expected near 'lbl_60'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "3fea6d17a0f769862543f40d3431c7fc017124c7f2e733bb29c921182e7f1563", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 12, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/FNR/FNRunPlayer.lua", + "sha256": "f2f06c9bdc2a75ac4af5a3bd938771fdcf8418cab174ad2bfc1ce7f240ff0bbd", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 61, + "locals": 15, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a76edb987e5b143efcb7f9cdabfb7692056d0ed5142828a4426da8c069104567", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/HarvesterDamage.lua", + "sha256": "80aed999ee5d0d35353772dff0cb26a766ad9c953dbd2ab69d5b0ce50790cce6", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 211, + "locals": 30, + "upvalue_names": 20, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../diagnostics/EXTRACTresources/Script/Game/MP/HarvesterDamage/default.lua:78: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/EXTRACTresources/Script/Game/MP/HarvesterDamage/no-guess.lua:31: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 16, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "126355599410f8aba9b5ede7a56cdbeddcd7d03666ed211c86ad9d04b0dd3472", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Infection/Corruption.lua", + "sha256": "997d93a56f4ee4208ee80b3e6a1ebf4f4a0827ed8d6ed823639c6716aef1ff85", + "header_hex": "1b4c75615100010404040800", + "prototypes": 13, + "instructions": 827, + "locals": 37, + "upvalue_names": 79, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 11, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/MP/Infection/Corruption/default.lua:100: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/MP/Infection/Corruption/no-guess.lua:43: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "08751c6472121a11e5b9ecb09397a650fd58fb0a4f9ef925524c5e3207566844", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 10, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Infection/InfectionPlayerScript.lua", + "sha256": "ec49306424eb379862c3acfa880d6281e00e25c8407171c86e30409c6fbb05bf", + "header_hex": "1b4c75615100010404040800", + "prototypes": 12, + "instructions": 304, + "locals": 39, + "upvalue_names": 28, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/MP/Infection/InfectionPlayerScript/default.lua:51: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/MP/Infection/InfectionPlayerScript/no-guess.lua:45: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "915caaee4cde25e9bde4f2c5140c592f830d0493bdd3fc5bf645b80b9888f789", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Infection/PerformCorruption.lua", + "sha256": "664b4d80be25d64987b1ff84766329dee223a327cd9d15ac1ea4bdc087f610a1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 13, + "locals": 2, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6552d4ea04224d244e4e255f49e73fa408e4cd388ee91a60b1b2129e036c787b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/KillObjects.lua", + "sha256": "af60d79bb9d6027719c26aa80273ef5a6623a6ffb1e1b7b78fe4b220c0f60f83", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 32, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f2c460c1bff68a489e3adc9f0ef01d55e7b2ae572eef187bc59c812aae4468ee", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/LastStandDLCWeapon.lua", + "sha256": "0a81ad5a41e6610d6dd0bb2fd2960d049c677b1e7fe7ad9e9c4352f5253ed6d5", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 15, + "locals": 0, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "564467e920582e55a7b71c38e6718040a83b61df0b22ad1b33f25ff913ce31ec", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/NearDeath.lua", + "sha256": "b2b4e4b6a49de2b7c5aa80ce4d56e91750467ebe310152aa98c926b136fc79f3", + "header_hex": "1b4c75615100010404040800", + "prototypes": 8, + "instructions": 199, + "locals": 20, + "upvalue_names": 24, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5279d5ebf3137b80b5d9fb9f2a3054e63049af0b657c4435251eb6a838f9488a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 8, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/NearDeathClient.lua", + "sha256": "6f30784a33567b069f9a50a2e9486a54d62a5d2e2e5caf7517e646867fcfbda7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 9, + "instructions": 390, + "locals": 20, + "upvalue_names": 31, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 15, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 10, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/EXTRACTresources/Script/Game/MP/NearDeathClient/no-guess.lua:21: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "fb51221e8631d051ca5b78009089742bf8cba2789ea93037f821004474c865cd", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 8, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/PlayerKillRegion.lua", + "sha256": "a770d574888924693749478d3d2ebcbe7e370614828f0f9d8db03d0d6dae8800", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 33, + "locals": 6, + "upvalue_names": 1, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "694847407fa9d1071a5c47db7f15ed86be33e2154d92ab9f5c4528d53a646149", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/RegionEnableTemp.lua", + "sha256": "4956977613e41611225f6f29afe0ba5e51873f736ef290969feba8f806fc7626", + "header_hex": "1b4c75615100010404040800", + "prototypes": 15, + "instructions": 556, + "locals": 64, + "upvalue_names": 35, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 10, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/EXTRACTresources/Script/Game/MP/RegionEnableTemp/default.lua:117: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...iagnostics/EXTRACTresources/Script/Game/MP/RegionEnableTemp/no-guess.lua:41: unexpected symbol near ','\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 21, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...gnostics/EXTRACTresources/Script/Game/MP/RegionEnableTemp/all-locals.lua:170: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/EXTRACTresources/Script/Game/MP/RegionEnableTemp/unluac-nodebug.lua:124: '=' expected near 'lbl_26'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "469f6030ce61439504c3f9ad7032edf987801138a6498da56c367c62471b8b3b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/ReplicaCommander.lua", + "sha256": "8805fd57798b1f38538685cd57dab8fd291bad265bc1646e1d446d11cd4fcf85", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 264, + "locals": 24, + "upvalue_names": 15, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...diagnostics/EXTRACTresources/Script/Game/MP/ReplicaCommander/default.lua:60: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...iagnostics/EXTRACTresources/Script/Game/MP/ReplicaCommander/no-guess.lua:33: unexpected symbol near '|'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/EXTRACTresources/Script/Game/MP/ReplicaCommander/clua-annotated.lua:134: 'end' expected (to close 'function' at line 84) near ''\n", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6f63e1f3f4e5ec3dd17d727c79e0c4a717a2afe74f66c97925a4d64d5efa51d1", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/ReplicaCommanderSpawner.lua", + "sha256": "9486cd42ae7164bd113e082b2b2368b78bb1948ff3f9b6359e2f91d22b0f1d23", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 74, + "locals": 21, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2f7013b9b5db897d9a9441f8f4c79dd4c399700b65502c5b5c83885f0cda45a1", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma.lua", + "sha256": "62d914b431a2d49eadda63fa9aff751623bfcb0b6f4f55fe566b57453ec8e90c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 36, + "instructions": 1768, + "locals": 146, + "upvalue_names": 111, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 41, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma/default.lua:491: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 33, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/MP/Rifts/ContractionsWanderingAlma/no-guess.lua:78: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 20, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/MP/Rifts/ContractionsWanderingAlma/all-locals.lua:1205: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/MP/Rifts/ContractionsWanderingAlma/unluac-nodebug.lua:338: '=' expected near 'lbl_63'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ec94da4b4ce4f6963007ab436f49781423679918459b235d10c3a1bc2cbe3ce8", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 26, + "default_comparison_failures": 10 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage.lua", + "sha256": "1501f863cc915d8e78b0211e038433c670651cbca5cb967bd13096712ee208f6", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 105, + "locals": 14, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage/default.lua:51: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/MP/Rifts/EnableBarrierGlowOnMessage/no-guess.lua:21: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "894b56c4b438b921cbe2cdbb4a09e5a37a8721d2a6b342346cd647320687df5f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/EnableSmartnodesInObjectRegion.lua", + "sha256": "8f2578d2c37b341160b7c10a1e654e37f2c8f5c6cfe5d971c4a4eddc6a86f028", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 19, + "locals": 6, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "562b135ec760acae4c7a5f0c8ce97fa5ee22312de762cc8afb724ef4caadf9c9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/EnableWeaponRackGlows.lua", + "sha256": "9f0722789e59c3119c36da7ad1104ad0dc47feb9118d8566475ea04b5fd3d52c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 83, + "locals": 24, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "4a19bd4ca31a6ceefcef5cd6a1cbdbb8c2157dcbc0c3ea9fc06ae3de2d1fce27", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier.lua", + "sha256": "ecdf184a59f76e3b3d1335074cad4e7f99c27b9b2b5a16b35fc4f9fcb204a8d1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 37, + "locals": 10, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier/default.lua:19: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/MP/Rifts/PlayHammerSoundOnBarrier/no-guess.lua:19: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2f0fd621d1b82bc29746ef3b7dd9a82b5b1cbe6e51a0faa5168f3d5e270f2baa", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector.lua", + "sha256": "6f2e1e8b15cce223e62ffac7edf529aa16dd025cf44ded59cc369f55b5fba27b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 52, + "instructions": 3019, + "locals": 233, + "upvalue_names": 203, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...gnostics/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector/default.lua:251: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector/no-guess.lua:54: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/MP/Rifts/RiftsDirector/all-locals.lua:321: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e113cbbcced6e69b656d1a05b19dd06c2841abcb37f561bdc07eed39032744f2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 41, + "default_comparison_failures": 11 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse.lua", + "sha256": "30dc5ec15e12171c3a79a652cf5644776b9b6152319c29793b76549da2018341", + "header_hex": "1b4c75615100010404040800", + "prototypes": 12, + "instructions": 574, + "locals": 58, + "upvalue_names": 56, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 8, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse/default.lua:97: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/MP/Rifts/RiftsHealDestructibleOnUse/no-guess.lua:97: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d316e988c5ae56534a7c1e7397e8ca3babefc9d9be69f95b7df8a979c8574c3e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 9, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript.lua", + "sha256": "395baaa1ac8c8ab1c090e9123e968b20f35c0d025417b06595ab48a9fa50b6cf", + "header_hex": "1b4c75615100010404040800", + "prototypes": 12, + "instructions": 532, + "locals": 50, + "upvalue_names": 51, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript/default.lua:91: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/MP/Rifts/RiftsPlayerScript/no-guess.lua:91: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2d8203730cf3f03307e600ad5fb53e44992c9e2758644181743c2d06bb8b5cc0", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 9, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01.lua", + "sha256": "e725ba4ec920cf64082eda8df25e1d84207c7195def0b99031ba5bd25fb1fc11", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 883, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 17, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01/default.lua:368: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave01/all-locals.lua:622: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "187485e3940c33b427bec51d8a468dcc6959b9f5db1d38870813a9bcec23c509", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02.lua", + "sha256": "56ad76a93574ee01e4b2d7345ae8eae84814f8bb77292a01e5ab1dab5fcf83cb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 894, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 17, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02/default.lua:370: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02/no-guess.lua:51: unexpected symbol near 'char(28)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave02/all-locals.lua:629: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "af4d14e339fc82b6774579cc25c062a58e389971f162494e493b2d2c8744ebe6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03.lua", + "sha256": "7fed6e3d2130b3e76c648c1bedd033c518d5c1e2b88c39d18e32b3230ec18931", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 872, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 17, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03/default.lua:366: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave03/all-locals.lua:615: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bb7238e9a619ea4fd870001c25beefff4f52910995ffca22575c167e6798ba3f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04.lua", + "sha256": "aece77344a857708f0f6bc5175e700751fd9c338015233e9e18368e11a2134ff", + "header_hex": "1b4c75615100010404040800", + "prototypes": 23, + "instructions": 1088, + "locals": 88, + "upvalue_names": 53, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 18, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04/default.lua:296: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04/no-guess.lua:28: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave04/all-locals.lua:645: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6f2b80c3738199ec3e28d80d5dce039cf3a5c72383c470d4b6817dfaededd61c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 21, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05.lua", + "sha256": "3a22f6c5a15289be0d9f86109d0f2ff04906d2bf9dccc421c24e99be6a15a377", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 870, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05/default.lua:362: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave05/all-locals.lua:613: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "3d6cc5ad6d60b3c032dd2937ca72e94794aaf3bc957a56db0741f685e67493a9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06.lua", + "sha256": "7ae65f9871ff39db0ce8adc374d14d8c397222de13d67cf07783edf40e89cef9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave06/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "53ae77dcabfae1ca43a5b9027f8c2c113209a56a23e2f2a3ee2135f8825ffa0b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07.lua", + "sha256": "f65a36a8d1395c9ec572531988216a2075b5f397cfe3f99774072ee4fc015b27", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07/no-guess.lua:51: malformed number near '4Q'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave07/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "abbe0031e9c74193f7254c29110bfc3cb801c580a5a711335b69d80746cfe89f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08.lua", + "sha256": "adc163aef3e87c86f0cb098162d32a364f78d71fcfb43ca237080b52919b10eb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave08/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "746d84f397f51775d3f4a5737ca879fda0d451a92a024a607d52d1b9b7cceab6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09.lua", + "sha256": "2f83ba0408b0b8a0970d35933cc5a9f50d5d831c3c7fd76889ce12e133efeecd", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 870, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09/default.lua:362: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave09/all-locals.lua:613: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "59f108c781fa909b8ab2fbaa67578f5238f4f6808c6b59acba7b28524baaf486", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10.lua", + "sha256": "b508e4a5b5c84f6bea0098721648a41e7bb3567fae2309ac08ac63c56645efa4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave10/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "af7556db7bae6dcde92fc71410a1233100da0c58ebd629eeaa1c049a4e8aba1d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11.lua", + "sha256": "8d2903227639a3c34aa56b9c5a52144966d1459150480224089a37b0a6ae91ca", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 870, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11/default.lua:362: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave11/all-locals.lua:613: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a4a6735b00e143d3ebb2d8b0414eb01fd6f6a5ebcbb7fd3908f461f5b288f186", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12.lua", + "sha256": "f3272be912f05a7b478a750f55e7f051f113473c2cd89a07db9fe63af3f7c04c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 23, + "instructions": 1075, + "locals": 83, + "upvalue_names": 54, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 17, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12/default.lua:291: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12/no-guess.lua:28: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 13, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave12/all-locals.lua:643: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "7aae0b86c7d072adaef5a3021d52511d286934f6fc925f60b10ca1308dd7d5b6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 20, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13.lua", + "sha256": "e6778e085f9dacfcbc17710770de3aadc24b27bdf15f4706e0c4f832b28c6b7e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 870, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13/default.lua:362: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13/no-guess.lua:51: unexpected symbol near '^'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave13/all-locals.lua:613: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e75c1d444a2b9e3911352e042bf14c2fba708cc09bf327ba74b9cde1664662c4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14.lua", + "sha256": "a5765e6e9eb1606a169d0f4078d01b3f39411766219f96d7a8fa6331c32c64b4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 892, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14/default.lua:366: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave14/all-locals.lua:627: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "680a8b12dd6909f06b697a52071e5c3b6552e6899684e3a2984c8a245c3bb6a3", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15.lua", + "sha256": "9d649c78d06f1bf14c06e5ef146cd881b7d619766af8ccb8ab1f25b4309b4ee6", + "header_hex": "1b4c75615100010404040800", + "prototypes": 23, + "instructions": 1086, + "locals": 88, + "upvalue_names": 53, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 17, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15/default.lua:292: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15/no-guess.lua:28: unexpected symbol near ')'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave15/all-locals.lua:643: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c2ca93f074c36bed40afab788f854e3a7f3b31d755a8d8f6cb431ea5a87ee175", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 21, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16.lua", + "sha256": "f33f065ec0e4e335afe313d1a5088a68047a6614e49d03958ed5f8ab73de4861", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 870, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16/default.lua:362: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave16/all-locals.lua:613: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "02184c1eb523b44ad4ff73bd30a75e3d806a639e23f128dc4e062759e6c722e6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17.lua", + "sha256": "0f741e8f0f11793385f5ce1c068c3797ceac09ed21b53a492049aba02db5173c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 26, + "instructions": 1320, + "locals": 95, + "upvalue_names": 73, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 23, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17/default.lua:236: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 27, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17/no-guess.lua:59: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 15, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave17/all-locals.lua:684: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "fe88ac76bf9b5114d26a5651f2877bfc39e0a22e7a465bd6501a5c8164ddd845", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 24, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18.lua", + "sha256": "f40b429266b797fcd4b41c63c4d3976f95b3ecde436e5572c7e6651a014ded7f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave18/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "91ba51767d96954bcdbb261445876bf48e747f2d822dedf04f873815b1514700", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19.lua", + "sha256": "d2e1878554431361efcb6d163085292edcf7d0095c26cd24656ffc88db68eb61", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 881, + "locals": 62, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 16, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19/default.lua:364: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 12, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19/no-guess.lua:51: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave19/all-locals.lua:620: function arguments expected near ','\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6a37d66fdfa1a718baa9777d39d7d0f3225e4fb57dabe2b4881cc92a4074469c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20.lua", + "sha256": "5b82d63975ee2a32a195135b85a9fd57ad63c237845b749a3764f3e97fa41349", + "header_hex": "1b4c75615100010404040800", + "prototypes": 30, + "instructions": 1520, + "locals": 116, + "upvalue_names": 81, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 24, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20/default.lua:246: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 29, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20/no-guess.lua:36: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 19, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/MP/Rifts/TownplaceWaves/TownplaceRiftWave20/all-locals.lua:712: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "54339d0b367d80abe2779ee9fd648b5da015981a6d5b183fd51d24744b5dc2d2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 26, + "default_comparison_failures": 4 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic.lua", + "sha256": "dffb50064492dedf8ca148a5793336dd9f82889aa3ca82e5031dafbe2411960f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 266, + "locals": 51, + "upvalue_names": 22, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 9, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic/no-guess.lua:48: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/MP/Rifts/WeaponRackCrateSpawningLogic/unluac-nodebug.lua:72: '=' expected near 'lbl_53'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1e848cd3c07f6b3b008a04f077bcbaf6da2d7f66286cb78aaa973e0d8281bbfa", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic.lua", + "sha256": "d45c67defbf2707ae6581a3560e42aaea24bd2a8f71ce765273aa62ac0917bf1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 34, + "instructions": 2997, + "locals": 279, + "upvalue_names": 197, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 68, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": -11, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 167, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic/all-locals.lua:873: main function has more than 200 local variables\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic/unluac-nodebug.lua:663: '=' expected near 'lbl_55'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic/clua-dec.lua:376: 'end' expected (to close 'do' at line 372) near 'elseif'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/MP/Rifts/WeaponRackLogic/clua-annotated.lua:648: 'end' expected (to close 'do' at line 641) near 'elseif'\n", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b5f5fc445c87dbc9cebe39eaec472d97a5a6316f6aa8dc8fff09cdc2d32933a5", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 28, + "default_comparison_failures": 6 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SinBinPlayer.lua", + "sha256": "5655b62a807974c57b684a8646a7d0879d1a72c1b3eb298de601c6f58a5c835f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 137, + "locals": 26, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...lt/diagnostics/EXTRACTresources/Script/Game/MP/SinBinPlayer/no-guess.lua:40: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ef0e97f30190906b7b271904770a85111bd137896379920564c599e513fb1e86", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner.lua", + "sha256": "66fc5d73d088673bcb56ef9424c46ebad0540f4d02a9f5852760963ef82d4fca", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 221, + "locals": 36, + "upvalue_names": 14, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner/default.lua:74: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/MP/SoulHunter/PhaseCasterGrenadeSpawner/no-guess.lua:74: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "72a916f216549ddccbbaf0f86521e7686a459b353c98dad38d96af7051bf7898", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/PhaseSoldierTeleportRegion.lua", + "sha256": "dd9439dab528f5b69c4764ed3451b25ae0746de0e54ef440a87b9054e8260ffe", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 106, + "locals": 16, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5cb2f636e1e4ecafdfdc66299fde5463112997833bc7db6d2104f6a4e0142c6a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulCoinPickupLogic.lua", + "sha256": "56696d602d8c372a957ecefefcd65d010b8401738ba67c749d39174ee7a681bc", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 151, + "locals": 28, + "upvalue_names": 10, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b19bcbf28aa406748a6d96927a9f95467c65829573eb86ca43c93aacba6ecf46", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 6, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterAIScript.lua", + "sha256": "23550320ad75eee7ab882403987272d2cf229af0cddb74c3a3738d421e1987c5", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 77, + "locals": 15, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0ace7c48408d116213f3c32e4414526aaaa8f0324b747bb58fe923437639837f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGhost.lua", + "sha256": "c633fa1116dc7cfdb82d8930528f2a0a2004a9d522c1bd9ad04915fb66316989", + "header_hex": "1b4c75615100010404040800", + "prototypes": 11, + "instructions": 311, + "locals": 39, + "upvalue_names": 45, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0f8db6389e9fb43806791a5d29ccee3d00be18b59974e05a9e121cba9b12e7d3", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 11, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterGlowScript.lua", + "sha256": "3ea9f9ed9bf4abcb3ef5644505ec32865cdbb3599fd02834c2aa64d2c8757abd", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 211, + "locals": 25, + "upvalue_names": 20, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "038921a70fbc1ff674c8fc1bca974660f73300092215b7d0ff8ed2e9894dcbd9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPlayerScript.lua", + "sha256": "541f82a4a18538652249d6635205fcdb90248a70b093db7ae00c8700ecf5cf35", + "header_hex": "1b4c75615100010404040800", + "prototypes": 31, + "instructions": 954, + "locals": 94, + "upvalue_names": 113, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/MP/SoulHunter/SoulHunterPlayerScript/no-guess.lua:141: unfinished string near '\"����U'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6488953f34b0e182260e45fc36237d54fcd0aefe611ad25d169416df97e4c3ae", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 29, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SoulHunterPossessedScript.lua", + "sha256": "dda7122eb26ecaaeb446739dddbfeceb480fbb94510ac20e7df8d94ea1b5e94e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 11, + "instructions": 374, + "locals": 37, + "upvalue_names": 39, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "297ef9ad1417a3bc75dfefee4d38a8d57ae9ad38e9e76666778c9d26aff7d2f2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 9, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/MP/SoulHunter/SpawnSoulCoinOnDeath.lua", + "sha256": "4593fcd02b730dced478c6b9a436bc74b1db21514be739cee5f01be9a3178ae0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 92, + "locals": 14, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c1658bb47c38c51c26d364fb87583da894e2694e3051a95f7837f8c9b8341399", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/DoorTeleport.lua", + "sha256": "e4549740398b9b9716e82ac39404af5d6cbbdb53920d2a3ffe16c91936792d9b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 79, + "locals": 14, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "da0a351eebb7eb220ea2daa26a8f453021c8bd3149ca1f39610307815fa917d6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/FettelCanPossess.lua", + "sha256": "e3cf4d07c953a9ff1186aa14d7ea35e28dfc2ae13877da28b9e30a74864f1c2f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 144, + "locals": 15, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 4, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess/default.lua:50: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess/no-guess.lua:33: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/MP/coop/FettelCanPossess/all-locals.lua:90: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f3775181c2daf33b54af8dd841cfa952ccd9a41980f234a47587cc2f823151d4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/LocalMultiWarningTetherZones.lua", + "sha256": "dc1cbc02572830f694416c2525df4bc931cc35682af4f901196c1f17618e7b91", + "header_hex": "1b4c75615100010404040800", + "prototypes": 16, + "instructions": 730, + "locals": 60, + "upvalue_names": 91, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/MP/coop/LocalMultiWarningTetherZones/unluac-nodebug.lua:285: '=' expected near 'lbl_133'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "410c46d7fb34c8b8f94151e3e67d4a4a5338df37f22398954da3c6a548b4d4a6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 15, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/LocalTetherSpawnTags.lua", + "sha256": "96e8c72979f06259ef52c4b768d0ae83b9e6a35375433027b99b859c8437f70a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 74, + "locals": 11, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "04ef5d98749c4fe11fee11a37914ef6e529fdcfd17ea0845e814b241d97349cd", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/SpawnFettelSkullOnDeath.lua", + "sha256": "b9f15b4b73dc9ec93282a7f3251627d4c4ba9c5fdcf8d1373ab54070045fcdbb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 212, + "locals": 21, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/MP/coop/SpawnFettelSkullOnDeath/no-guess.lua:48: unexpected symbol near 'char(8)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bdce310f2188955c2c67867a842a4b64dfbe30a609fbf0ddf7977ee878ae13c6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers.lua", + "sha256": "da8f51f2fe2725e883c4863cde766d2f953079f93fb30d35f9df58d54672901f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 379, + "locals": 30, + "upvalue_names": 41, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers/default.lua:69: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 22, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/MP/coop/teleportcoopplayers/no-guess.lua:69: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d3da68cb0af7d8f015cdebd8a5adbe56fb17ed8e487c8931a499ff9f435f5344", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/MP/coop/teleportcoopplayersautoxyz.lua", + "sha256": "bb71bd843579d9beabc1c282a17bfeae9edebe55527a2846108fa08cacc916d0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 210, + "locals": 23, + "upvalue_names": 23, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 13, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 13, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6913759cae0f82372e510fd60bf6e006eae621c42fde0ca8cb7032295d55314c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/HideObject.lua", + "sha256": "b7d4fffab6113e8757772a1af1b3f60319bad89ef4058ce0d8df90591e8dec3e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 25, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "9355809f07f42ad0f6bfc575d4b8c85631794cf4134110c07c3d64e7922bb915", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Hitpoints/HealDestructibleOnUse.lua", + "sha256": "e439e530f264f0381389fb0f4d392aaa97198bb155362d1fac71e079ba9a9a9e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 142, + "locals": 16, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Object/Hitpoints/HealDestructibleOnUse/default.lua:44: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/Object/Hitpoints/HealDestructibleOnUse/no-guess.lua:41: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6e593eab1ac1c9a9db1abaa5a0a3e50f6ec1299c5b1e13573172f751c588d6ee", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Invulnerability/SetInvulnerable.lua", + "sha256": "790f0366d2daffa82d6757077609bc1b191f83d6f8cb76412b08472d542a709f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 32, + "locals": 11, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1042ff69c5a943cad61c7023b50e94242adccc2880983e2309f59e92db48ecd7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/ExplosiveTankScript.lua", + "sha256": "3778452e655b3d9bce56b2952c2f53348ad0b660f13dac979400f67f5fd757d1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 170, + "locals": 19, + "upvalue_names": 16, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/Object/Kill/ExplosiveTankScript/no-guess.lua:50: unexpected symbol near 'char(17)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d474bf8f732d03cde5747bf8f25669753b3cae8d2618e31c4e462fa00523b244", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/KillAIOnEnterReg.lua", + "sha256": "5d44e8379a023610580be2e608fe5e08674d785186d5c921a8cf505dd0e58d24", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 41, + "locals": 7, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c512c6960084670e29df11ce62c9413dcc78f4673b0881176dce98841982b339", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/KillObjectsInRegionWithTag.lua", + "sha256": "c8df0e45bf7109f4e6f27ecca11d3bf53652beae4b12ffaefbb1306824f0e347", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 55, + "locals": 12, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "36281e71d0d4dcf02d928df72d20cd20d3c1d6f61909e85a110197ecb9f03100", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/PossessedExplosiveTankScript.lua", + "sha256": "ee6cf688d38659727cbb381f49d5f76dfc9912eeba8c619c319613e07fe3b975", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 50, + "locals": 9, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e00567f1fdf7fbd9115a6bb7ca6a9c4adf19e299283033b5b7c0246a2a789c47", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval.lua", + "sha256": "9f2b3b086dfd36aa73772f1e93de9761e0b4d2ca43721166bbe7a7336709be2a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 82, + "locals": 11, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval/default.lua:30: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval/no-guess.lua:30: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Script/Game/Object/Kill/WaitXSecondsKillObjectsAtInterval/all-locals.lua:88: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ab7280b1e9b88b2de9f0b99b01e623ee043323f5c3253578fb89ac94b995bbab", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Kill/killobjectswithtaginrange.lua", + "sha256": "d897e89c6e88cc3759340f9a8836af5a387ff2de7fafb381511b6d63476a57a8", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 60, + "locals": 18, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "aea621d3cc1825b23a65853db42c2def4559d9f51a577670331b8c3f49c840f0", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Message/SendMissionEventMessage.lua", + "sha256": "b73f9cf74aea30366b35e00ad457c83f6d2b04a6f11f78696329ce6a4e1d4309", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 39, + "locals": 10, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "66845cbc0108bbd89d8a68575badd45efedcc6a53c14af0e27c82b875233237d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve.lua", + "sha256": "28c234e26fcc0edfd6f8819f7a2d2ad725eb64cbf0ba55637da14e9112a7c584", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 216, + "locals": 35, + "upvalue_names": 21, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve/default.lua:74: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve/no-guess.lua:74: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 4, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Script/Game/Object/Motion/ImpulseObjectRigidBodyWithCurve/all-locals.lua:257: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d640b11ae97b3d1c64c66e9f993410e5090c22b7a0501b13249dde556b3ff440", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Motion/ImpulseObjectWithCurve.lua", + "sha256": "93aaf343977d7a55e74d487707d99d1fe40e2e08837937ec4ede8f4f4be08e0f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 181, + "locals": 22, + "upvalue_names": 21, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "fb6b25bf74279e82564521973af209583703b797e5ccc3953375233b99101d1a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Nation/CopyNationFromRefObj.lua", + "sha256": "d8588788314d8f57928e03967eeaa14f24ecdf91af8dec59f66e3051e32c5b4b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 56, + "locals": 8, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bdc689c6254dd16fa7fea30a1f88b02df68fd34db42a0092de5b5ef3deeb9264", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Random/RandomizeLinkableBodies.lua", + "sha256": "5df14674284b4efc8ca279f86b3af9f7e97f96312a59c2a13d725c8b95907819", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 278, + "locals": 30, + "upvalue_names": 16, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/Random/RandomizeLinkableBodies/default.lua:61: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Object/Random/RandomizeLinkableBodies/no-guess.lua:46: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/Object/Random/RandomizeLinkableBodies/all-locals.lua:206: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "398830ad599e5f20db7c3e62903f3885ee80e61219f5a8288b740d6c1b2a0bf7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/Teleport/TeleportObjectAutoXYZ.lua", + "sha256": "59f428a3ca93c6e18ea35b0928f88e9f15bdebcc38cbf8b1e6a04334bebf9263", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 43, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5dcfdb92fd74eabbc129b55192a7e8744de31919aa5bc86aeb9dcc9db921e31e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/AINoticesPlayerEnable.lua", + "sha256": "91da2f2087e03cfc1e9e410215f93e3c6b4fd5b4dc107c8833f94e8dd348a301", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 88, + "locals": 22, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "116853f2dd1f7f3fd891b001c335c8d2dbd83d0002e99b1dbae5f1b90d51f67b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/DisableAndEnableLists.lua", + "sha256": "940207a27e67ea4b013a625bb756c2f2a72143e4f3b60019db2908b542545847", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 68, + "locals": 15, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5f8d7aa45ed62d80b22104f8f7d70f5b28850532fe43ea0ae9c5355280d78b9b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/DisableLightsAndOldLightControl.lua", + "sha256": "055c7a64e2bdc5a23617f5240add7ad9f99c90ef07e81b02c5c9d486f945234b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 119, + "locals": 17, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "8fb277248985f4ec80ff79048e82f1d8f6ff1813589bf0f40ed63e244080bd99", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/DisableObject.lua", + "sha256": "dafd48440f8ac62e9c64898430f2ad86bd1f222939bc2ac9eac3eda29a2f6db5", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 39, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "26e795c302c614fec11784ea0c97a8d23fa2a2331fa75c488fc7c5dc30486b12", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnaSetOnDeathCount.lua", + "sha256": "df3d878484519dc7759c1fb7535ae572ca6a9d1358a276cdade8434c9a8711b5", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 112, + "locals": 26, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f49f63357e51430353ef5d92f8d81a424e85f48d3e44c29c8608ddae83e3914c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableLightsForLocalPlayerInRegionList.lua", + "sha256": "cb87677431d4f685b485f6c2d6a42a5ac77179eee474c13c6d2d8024f287a87f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 198, + "locals": 21, + "upvalue_names": 18, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...pt/Game/Object/enable/EnableLightsForLocalPlayerInRegionList/default.lua:25: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...t/Game/Object/enable/EnableLightsForLocalPlayerInRegionList/no-guess.lua:25: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2fa06e85d092d6fc0ed1d35c30c7171d4db31e83d3f14419abd56e3e7fe4dfaf", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableObject.lua", + "sha256": "73e221890ab1bf5f18d59684132416f7f06fa5a6537db5453e4842b0b423b620", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 46, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "899d45903c6f371adc45195988a577d88bbc9cb133443dea28004fee19ee08fd", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableObjectOnDoorOpen.lua", + "sha256": "544adfd6b179298f61bcf438c92c6fc3682602d94ea3fac32aafacf09df772bd", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 77, + "locals": 12, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/Object/enable/EnableObjectOnDoorOpen/all-locals.lua:91: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f4b6a365cfb08a1c719fdae94a08f58753b375e001fb9f288b1350e046f58c4e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableObjectUponDeathInSet.lua", + "sha256": "4e3f4b2e55a1133c53b4335fd0fa4aeaa91a723381dfba3502c478d114260516", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 116, + "locals": 23, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/Object/enable/EnableObjectUponDeathInSet/default.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/Object/enable/EnableObjectUponDeathInSet/no-guess.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/Object/enable/EnableObjectUponDeathInSet/all-locals.lua:155: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2f8428ab9286cecd80edcd22d77104c4b437c1d8e15e180d8b44f64994057d75", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableObjectUponSetSize.lua", + "sha256": "14b5cf20f5cf764a4902e8f5becf4940e5a8d2092d61f72d36835db06abd2b9d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 79, + "locals": 10, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/enable/EnableObjectUponSetSize/default.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Object/enable/EnableObjectUponSetSize/no-guess.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "df899d3b82c10c637a5856093c276e198f7c7d6ee44d9d036e09f192b620049b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableObjectWithTimer.lua", + "sha256": "7ccaace81542fe521b7e5a906004e35ab0067a0d524730d9fe471c3540f2fdeb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 71, + "locals": 12, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b78b7e38dcc132345ce1d8a2a2c7b7887b68218147126b5ed5dac10d8b614696", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableRandomObject.lua", + "sha256": "dd6aa52852669adbd578f3477384537b9bc2bc0da1a54b8bca3db18899bd1960", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 113, + "locals": 13, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/Object/enable/EnableRandomObject/default.lua:40: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Object/enable/EnableRandomObject/no-guess.lua:40: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bfd639c97a5eb830f22eae3d0630817072f59ef60535b9a0f40414bd53674df9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/EnableRandomObject_RememberPrevious.lua", + "sha256": "05145b0b7e6a3b056e1d1b7b5ed3f4db2c2375d0cd0f99b2105a9a656d9fa2bb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 130, + "locals": 11, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ript/Game/Object/enable/EnableRandomObject_RememberPrevious/no-guess.lua:18: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "4afed0c7ed6f413e08367fc3f0eb99e3e6ebb550019853bf95755565f0d7df2e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/FettelExistsEnableObject.lua", + "sha256": "3684a893e684f59368d8eb6195d5aba0d8d02b783c1447f2974a8a65efe6350a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 46, + "locals": 12, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a4f5b9da81cefb06bd275fbb7d514e9d671515e86f37b6c8bd967a43d85a1c35", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/HealthBelowValueEnable.lua", + "sha256": "7fa158ce9e5e3fe7be93907e1d308ecf71ff5fa839b31d2332412433cdb845dd", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 134, + "locals": 31, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/Object/enable/HealthBelowValueEnable/default.lua:54: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/enable/HealthBelowValueEnable/no-guess.lua:54: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 3, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/Object/enable/HealthBelowValueEnable/all-locals.lua:169: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d2ced58c3ade986a5dd06e236ad1913767f77c8e181a48c7d6247ba217ed3fa5", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/IfNetworkGameEnableObjects.lua", + "sha256": "abb33479ce4bdfa9fd9555c1ef336e2e4bad31b6125ab97dd8c2370a1f476671", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 31, + "locals": 10, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5a888f095811a57a0e1635a74f08fc59c13fa5693db3108f43974d92e30c3c53", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/LookAtEnable.lua", + "sha256": "7365bd447214052d7263dae5ccaf1390aaca854e6cc63c1bb6c635f33ee584ee", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 166, + "locals": 29, + "upvalue_names": 11, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Object/enable/LookAtEnable/unluac-nodebug.lua:95: '=' expected near 'lbl_53'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Object/enable/LookAtEnable/clua-annotated.lua:69: 'end' expected (to close 'if' at line 52) near 'until'\n", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c34fba7fc7dac91053d3bd69b53e2911ac1f9545d89949ab7eda9693ae2f545e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/ObjectRecievesMessageEnable.lua", + "sha256": "f3e270e32caa37a59d23c62d38907a2bb32c314767884267d015138b98ec5883", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 69, + "locals": 18, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/Object/enable/ObjectRecievesMessageEnable/default.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...urces/Script/Game/Object/enable/ObjectRecievesMessageEnable/no-guess.lua:29: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/Object/enable/ObjectRecievesMessageEnable/all-locals.lua:101: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "355b522d8bd088c2d4fd1c0fcc0bb15753715415bb03d5d195c165857e363537", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/OnEmptySetEnableObjects.lua", + "sha256": "71a39580f132874fe8efa0cdbe8d4f36c4253384af19ac57014528738408496f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 247, + "locals": 24, + "upvalue_names": 21, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f595545c9214570263a17e9514fea9d0103e10573535ed3e0516815b6eac5df7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnable.lua", + "sha256": "64d598ec0ea311d6471ec2855c2fd9380bae8382edb18dbbfcc4554d92c2ba9c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 137, + "locals": 27, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnable/default.lua:25: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/Object/enable/PlayerInRegEnable/no-guess.lua:25: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/Object/enable/PlayerInRegEnable/all-locals.lua:150: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/Object/enable/PlayerInRegEnable/unluac-nodebug.lua:49: '=' expected near 'lbl_14'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "73a0761b2d0d189aae55b3c07edfcfe27cfc2ad35b895fa28507dd79f095edce", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun.lua", + "sha256": "ee3ed52c0365dafb3dc1b0d05aa9a6623c4bfebdf1a29897c1fba05a7e581ffb", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 298, + "locals": 40, + "upvalue_names": 23, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cript/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun/default.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ript/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun/no-guess.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 6, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...pt/Game/Object/enable/PlayerInRegEnableOutDisable_LoadRun/all-locals.lua:330: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ame/Object/enable/PlayerInRegEnableOutDisable_LoadRun/unluac-nodebug.lua:55: '=' expected near 'lbl_14'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "27837f259aae3aafeff88b7d33a653118bbd312679978cbb96bcf2e92e82d92c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 3 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PlayerInRegionEnable.lua", + "sha256": "70a224693655d571f8056fc8a145ef394e4ad51b25cd6ab36f0c8ddf7e58bae7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 73, + "locals": 14, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/enable/PlayerInRegionEnable/all-locals.lua:50: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "49c263c9000165d7446c55f4cbb0e38cf142d8c111eea757946e3dedabc6cd26", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PointManAndFettelExistEnableObject.lua", + "sha256": "f8d09aafc8c3e44b292c21c5acba4ad63241e405cd6027643adde174c6620cf2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 72, + "locals": 15, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a93979edaf1cd2e6cdde6ec6b98c6860ce3cb78ef4765a1e5abe8e3e44f807b5", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PointManDoesExistEnableObject.lua", + "sha256": "76d1e100582d36b56cdfda21f66afcf2f292be92522ee646475b982de54a8642", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 63, + "locals": 14, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "06f26eeec079443b21fb8a3a6e8ec7fe3d7f266051ab1b7f4e73e6bc55b40fee", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/PointManDoesntExistEnableObject.lua", + "sha256": "f29097a7ceed8a68ba26e82d5012c1a5e57bb872fc6a2db61d45573b8b302e33", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 63, + "locals": 14, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 3, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "8054b660a11c3a8a0ad26b735eeea051cc47dcb09f27f03b244b397d391d47f0", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/SetReachSizeBelowSizeEnable.lua", + "sha256": "56b1329c5e6356b8e0a128451fe1b00faa09c6f679eff72a0b4dbaff8ba2d340", + "header_hex": "1b4c75615100010404040800", + "prototypes": 9, + "instructions": 408, + "locals": 19, + "upvalue_names": 28, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 14, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 14, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...urces/Script/Game/Object/enable/SetReachSizeBelowSizeEnable/no-guess.lua:21: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 9, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/Object/enable/SetReachSizeBelowSizeEnable/all-locals.lua:392: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ffd173adaf985cef60c9a92ce14599836be4032ba1e4d88228531c4e4ab339ff", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 4 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/TransitionDisableSpawnLocations.lua", + "sha256": "33984cd441ec7cd5c021f3fb39ba9ff220455bf6d28ea27fc751f95e7eceb86c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 127, + "locals": 21, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/Object/enable/TransitionDisableSpawnLocations/default.lua:45: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/Object/enable/TransitionDisableSpawnLocations/no-guess.lua:45: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Script/Game/Object/enable/TransitionDisableSpawnLocations/all-locals.lua:152: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "7bbb6ffb3c270b4d68f91e85df9352459ed04b55e1f760a93a044cc49bf460fb", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/enablerandomobject_network.lua", + "sha256": "036784a4d40edc1264b7f403c65d5154b69c44edd39b6c8af639bd2b300e1072", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 138, + "locals": 15, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/Object/enable/enablerandomobject_network/default.lua:59: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/Object/enable/enablerandomobject_network/no-guess.lua:42: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "699b9af9138c941fd9ed297fadaf6beeff9dec76dd14178c50ec4b794f772d3c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/enable/networkenableobjonbothplayersinmyregion.lua", + "sha256": "d8e6506642ae49f01e1e26996397aec6659470c6ae614002c7c47cb1e71ed526", + "header_hex": "1b4c75615100010404040800", + "prototypes": 8, + "instructions": 353, + "locals": 25, + "upvalue_names": 25, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 13, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 13, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../Game/Object/enable/networkenableobjonbothplayersinmyregion/no-guess.lua:29: unexpected symbol near 'char(16)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 8, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "751cb9865389addca3b14dd54482b99a3ca343193db8ca832554083c553f71d4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 6, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt.lua", + "sha256": "e6ab5ba1f9a1188326a3b67641690e67d5bb7e9c0c6583390cb4e6ffdc045812", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 94, + "locals": 11, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt/default.lua:35: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/Object/sendtext/AddRemoveFromSet_SendTxt/no-guess.lua:35: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "303267fa4c329b0e5f856def2fc79764753f14f7887eec4f96a80506aeafd4f5", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/LookAtSendText.lua", + "sha256": "0580f6fd833019ae6cac4aac4cf2bc1cf369df6e0affeefd3838f6eb0be8e6c4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 196, + "locals": 30, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/sendtext/LookAtSendText/unluac-nodebug.lua:106: '=' expected near 'lbl_72'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Object/sendtext/LookAtSendText/clua-annotated.lua:73: 'end' expected (to close 'if' at line 59) near 'until'\n", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "aa9a552400f35b38d547e3b25a2be9721b3bfbeace9bbabca1ca9b85c1d3b9ee", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/SendPlayerTextOnEnterExitRegions.lua", + "sha256": "22cdaff5141337149140cea14f7054f6b0a3f10df6aa30568031186fb4373123", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 105, + "locals": 20, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cript/Game/Object/sendtext/SendPlayerTextOnEnterExitRegions/no-guess.lua:34: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f400ec79d7c05fd686b317dcc782beb8a2bafdde5d3a404f35436e8ae44e460c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/SendTextToSelfOnNonZeroWatchVariable.lua", + "sha256": "3a66da0299a826c5988979a8b7c4e01348bb1ee0c5a1a91b37af6d51478e2bb9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 112, + "locals": 19, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "77ef98afe38d599338579a48d3cfedc30fcf1772bdf9b0a74e55dfee34876f99", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/TimerSendTextToObjectsAtInterval.lua", + "sha256": "2ae6055533c0587a0d880855c2f57235ce6719d807250a78e3c101a60d8c2193", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 83, + "locals": 9, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Script/Game/Object/sendtext/TimerSendTextToObjectsAtInterval/default.lua:37: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cript/Game/Object/sendtext/TimerSendTextToObjectsAtInterval/no-guess.lua:37: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ipt/Game/Object/sendtext/TimerSendTextToObjectsAtInterval/all-locals.lua:76: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2f04051fc62c05372bf471486a591d0d72b4355106467ebaec7964b26ab7b392", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject.lua", + "sha256": "0bea7fd6fda20780c200c9d7e11ef395d518a545b1678796666f4a8d0504794a", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 104, + "locals": 16, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ad1714f57a3e79be69fe0b65e938aed3c12f3fc97bfb60ad4d9471203b85005c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/TxtMsgRandomObject_RememberPrevious.lua", + "sha256": "f9ac8b8f06586aaf4b28d5e1fc3a33bf2bfbd7106a69a5bcfa4cf05160ada90f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 102, + "locals": 11, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...pt/Game/Object/sendtext/TxtMsgRandomObject_RememberPrevious/no-guess.lua:19: malformed number near '2x'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2ab6bc1936919724fa9fec6379fcf0eb0d0dfe081a117fcb4a4bd76ff4e82920", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Object/sendtext/sendtexttofettel.lua", + "sha256": "5c8358c0457f1b65fbfe25d99057126983e05aa4238f7298c72a1ddce5731738", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 60, + "locals": 10, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/Object/sendtext/sendtexttofettel/default.lua:32: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/Object/sendtext/sendtexttofettel/no-guess.lua:32: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "cc7809049d5861dd07ba07ea88664e85795714b9a312bd0306e67773786c7ecc", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Object/showhide/hideobjects.lua", + "sha256": "e1c0f37a9292ea4c09be354225c83dcbe17907f70adcb4074745b8894a93f0ad", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 27, + "locals": 10, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "88354ce4c5bcde3350c9b915871075ce1b4c925ad1485fa0e8822c07fc04c6a6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/PhaseCaster/CastedSpawer.lua", + "sha256": "cddefa481f429d86a0cdeefadc3c9487b895f26287d548197d5e110eaf107a25", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 49, + "locals": 8, + "upvalue_names": 2, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "354938d1f00cc6f74d308254177690d79df5c10cae40c7b2c6d43af454e600ba", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Player/EnableInputOnSpecificPlayer.lua", + "sha256": "d428a545cee55899c17a62417d74eab027d57684d3eeac6b0cf5d4b0474f172f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 145, + "locals": 21, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/Player/EnableInputOnSpecificPlayer/default.lua:58: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/Player/EnableInputOnSpecificPlayer/no-guess.lua:40: '}' expected near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "11801b9843b083be6a09e401207a8b0593935cdcdd5cc44c72e163d895297329", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/Player/KillAllPlayers.lua", + "sha256": "9537c32948c24b4b18c558c993555942fa8fbb253a46d60713a0ac42c4b5f2a7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 66, + "locals": 16, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0a0e92c7dc7b53139cd355af7970e1234ebd631a71eeca417a00f7dc7fae3234", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Player/PlayerInAirlockRegionAdvanced.lua", + "sha256": "797406bf24ad4d35180585ce13868b6b5e4b44f5a0fd2a91872516df9d4b3775", + "header_hex": "1b4c75615100010404040800", + "prototypes": 17, + "instructions": 1022, + "locals": 62, + "upvalue_names": 88, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 31, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/Player/PlayerInAirlockRegionAdvanced/default.lua:411: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 10, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/Player/PlayerInAirlockRegionAdvanced/no-guess.lua:53: unexpected symbol near '#'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/Player/PlayerInAirlockRegionAdvanced/unluac-nodebug.lua:108: '=' expected near 'lbl_20'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "e25c103cab9ea217a7f9e7b1a40621b3f2bc2e481be324d5ccab8494c6fd165f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 12, + "default_comparison_failures": 5 + }, + { + "path": "EXTRACTresources/Script/Game/Player/SetAnimVarOnPlayer.lua", + "sha256": "9d12ff279f063f95abbcfb9a6ffe1b3fcdc35248bae6ca356c1a18a90fc83dca", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 50, + "locals": 11, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/Player/SetAnimVarOnPlayer/all-locals.lua:68: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "4a4e2847e33e72a18d0c31fecc1859e8dd338bacf2dde1396c658fbd4bb84b8f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Player/WaterKillPlayer.lua", + "sha256": "c1289b0c40705b9e65d5796ee6e3efaa0d21f546b674e1bb732e2e8cf3aaf4e1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 100, + "locals": 15, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5e4b152ead950627349305353d687832b46aca524ce7f26593cff5c8c24bfa2f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/Player/enabledisableloadondeathandenableobjectafter.lua", + "sha256": "87cc3d69aaf7c9c3b2cadd47300fdd78b26d3a189e537a1a86066aa4536e7609", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 71, + "locals": 18, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "5df452837faecc8ba7b8817163411e084569d6db9381120b81b2736165fd4abd", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Score/AlmaDollChallenge.lua", + "sha256": "68f782348733d7b5b77f703ae58b4bbcfd2dd7df3369f661e700c5c75bcb655b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 57, + "locals": 10, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "97f9dc5e9ee6c16e4d95feb73dbca33e4c5e169833302bb2a5c7cbf0a111e9b8", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/UI/PlayerColor.lua", + "sha256": "84d6e8bfdbb9005db13612ff4dc8f216751532373c4f048b298fd21aa47e99d9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 19, + "locals": 3, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ult/diagnostics/EXTRACTresources/Script/Game/UI/PlayerColor/no-guess.lua:13: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "549bdbbf94ac079432316f34624f822edfb3c076d55ac2ff9d72c32839b37e2a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/UI/showmissionsummaryscreen.lua", + "sha256": "97e9298f4c2eb60977479e0b92addd0ba710c5418446bea6b511d348b2d4992b", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 88, + "locals": 15, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "38922b6ab7df3c00dc57bab7dff8d369955a578d14bdc6efd14162951bee70ae", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Usables/PlayerEnterExitRegionEnableUsables.lua", + "sha256": "b87349017b1163264a79716bf40e447c98e7609d4922bbb9ba9690fd267e3f70", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 117, + "locals": 23, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...urces/Script/Game/Usables/PlayerEnterExitRegionEnableUsables/default.lua:43: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/Usables/PlayerEnterExitRegionEnableUsables/no-guess.lua:43: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/Usables/PlayerEnterExitRegionEnableUsables/all-locals.lua:149: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cript/Game/Usables/PlayerEnterExitRegionEnableUsables/unluac-nodebug.lua:37: '=' expected near 'lbl_13'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f4542767cc026c0b84f7978f848ef8fa762f078a7e054db4a219e8d689f73922", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Usables/PsyschicLink.lua", + "sha256": "b2549c35399c4c305f38116b4d499b0aa787053de2c2f6c1223cb8890b294e79", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 555, + "locals": 35, + "upvalue_names": 46, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 4, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...agnostics/EXTRACTresources/Script/Game/Usables/PsyschicLink/no-guess.lua:115: unexpected symbol near '*'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/Usables/PsyschicLink/all-locals.lua:238: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "30627101bb39585313f561cf8878218755be237362d4c9fa9d88c5b50aab599b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Vehicles/EPARechargeHealth.lua", + "sha256": "0befa87c7725c84db17dc8807597d82da7fc0a6f1827ffb5d69ead4392ba223e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 19, + "instructions": 831, + "locals": 68, + "upvalue_names": 69, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 18, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 7, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/Vehicles/EPARechargeHealth/no-guess.lua:68: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bdd8bbe69e8eb581950782fd909877f3e06cd8646d2e833efb4878344100e31c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 18, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/Vehicles/ForcePlayerOutOnLowHealth.lua", + "sha256": "32dad009d8eabacedcab76bc5b4188752c10abf88965df47e7d2ac684756ff66", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 84, + "locals": 14, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f9d9b45118cfc0107f1dceae6b937332a88c5d37d23ecd3927328b7c5801c673", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton.lua", + "sha256": "f4bbaf23ca86c2bf2fa65d6f8e73b9f32cea5fa0cb2753506e5e387d2170d5c6", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 355, + "locals": 41, + "upvalue_names": 23, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton/default.lua:152: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...tics/EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton/no-guess.lua:152: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "6868816b994bda5933bdaa7899e8a79feded851081f0a83dd0b8899fbbd1224d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event.lua", + "sha256": "cc742b58e577b512023863030b14b9903b587f09b7756fce19cd20b02d0513ca", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 446, + "locals": 46, + "upvalue_names": 31, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...EXTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event/default.lua:168: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/ai/AISpawnerIntroAnimaton_Event/no-guess.lua:72: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "708548122d1e0516d0f9b0a22348900d882f12e8643f36de22960d5230b50685", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 12, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/ai/AssignOrder.lua", + "sha256": "eb42525efa000394a7b0517e689aa5ea7f655f1ff0d6f5ec244fa4234d8e6304", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 49, + "locals": 8, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a09d6843d9087f2220b325ba274963f8fa33ca2f4c0e80113aac0523ac27ec8f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/AssignOrderToSet.lua", + "sha256": "8234855826f8079ec6601575030ef397ffac4d18c8b2ccf70d2e31b65f0e5ab0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 49, + "locals": 13, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "bba370be14956067b6e09189e0e35fc3e3575aa2ba473de86dfc34f69612d21d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/DisableSmartnodesInObjectRegion.lua", + "sha256": "cda53db28c1b02a96baee8aadd56d4ac46a11252a7f90c7f2ff9bc48c65bb4f2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 19, + "locals": 6, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "71ee165cd07c068b2817b0f80a740dd68c888e56b33b6194c8d4253308269e61", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/EnableDisableAI.lua", + "sha256": "9a64308207875088b95fd8c473f16c482cac68b1d4df3a08d6992fe5edd42c03", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 26, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "06ea59834217d1c45ad19bae268635db473c27b72961d2f01626b529dc86ef8b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/KillAfterMeleeAttack.lua", + "sha256": "6e31d2bf2d546798ba572d1c934bc3ad423efc1871cacff17ffd2a3dae7bc92f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 59, + "locals": 7, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a852cb73ce8d17cfe47b063e77cea5b67d4037e633ab77751f9bd30b182b465e", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/MakeAINeutral.lua", + "sha256": "056b5d0547fd990069dc174b2c250a383b268fbe57111b02a30d7ac873378841", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 25, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "8d37a2a63bfc5add94924eda1a4802db5ba686e760ca1049aabe3b5a7e426ef6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/SetWatchVariableOnWeaponFired.lua", + "sha256": "a5561f95fbb541de0240a7b575c4146a037374de718fcf184d2eeb099014d3cf", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 49, + "locals": 7, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/ai/SetWatchVariableOnWeaponFired/no-guess.lua:18: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d6e2d7f44e78ed925783bf404dd52630301dc76d62228f5e25e627da96cfb131", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/Suicide/BlinkPeriod.lua", + "sha256": "56a9687dc4661cd5815d8e9c8f5febcbc9d2203001e5c99e73eec16ae77e4876", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 213, + "locals": 27, + "upvalue_names": 16, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/ai/Suicide/BlinkPeriod/no-guess.lua:44: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "ed63a473a2f981b3ab094833a03774b73897d3fb821ff3f56cbb5ecf53abbe61", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/Survivior/SurvivorPossession.lua", + "sha256": "21fbd9fc06153248ce5ba1c71ba5d08e5c815496b79be4c5e0384fa910fb6757", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 101, + "locals": 11, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/ai/Survivior/SurvivorPossession/no-guess.lua:19: unexpected symbol near '^'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/ai/Survivior/SurvivorPossession/unluac-nodebug.lua:38: '=' expected near 'lbl_18'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "04306e9da4d13140ca1f7ecf6095c3b613169775ce48a2a4983dfca8da55e903", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 6, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/SwitchNextInventory.lua", + "sha256": "af973fe3e83405f04fd67f53de4aff7b570051d0fb6f1d273f2571b651d94fba", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 70, + "locals": 10, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a713042768608cf58be2f3059e6b5616cecf708b76092244d700cea9de8bf158", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/ai/aistunscript.lua", + "sha256": "60f6d9e1d98002beac268ae1873c7c61f4b2f21c80fa7681238b116ad89df859", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 67, + "locals": 10, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f810a66f4c4539ddc071ed7a804f23cbd2e01ffe5718f0dbb5370b19f784947c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/EnableObjectAfterIntroMovie.lua", + "sha256": "c082329e7911cfaf0e32893d162828ab82be84648fef51840d2e6aee8ee33820", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 77, + "locals": 11, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2a410fbfe122d957fe11dd46d6c024569487613383079f38d1d36f385ad53e20", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/LookAtPlayCinema.lua", + "sha256": "aaea0739594316b572fed5af26f9c5f244a16219fea96f846d4b2a50363dbb45", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 189, + "locals": 28, + "upvalue_names": 14, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 7, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/cinema/LookAtPlayCinema/default.lua:40: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 7, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ostics/EXTRACTresources/Script/Game/cinema/LookAtPlayCinema/no-guess.lua:40: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 10, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../EXTRACTresources/Script/Game/cinema/LookAtPlayCinema/unluac-nodebug.lua:79: '=' expected near 'lbl_25'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a283452c895746ee1b360e2618bf76cb9750afaef4e771a3406892ed7c08a979", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay.lua", + "sha256": "9e559baa9a9c83778e2c43849f665e47879e1108d867cb2ef40d63477936080f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 212, + "locals": 35, + "upvalue_names": 11, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay/default.lua:51: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...RACTresources/Script/Game/cinema/PlayInRegStartCinemaOnPlay/no-guess.lua:51: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/cinema/PlayInRegStartCinemaOnPlay/unluac-nodebug.lua:64: '=' expected near 'lbl_17'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c8564e1fc88754d31f9899a87402897046ac7755762385637818a74b05190dca", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers.lua", + "sha256": "465ac8f2ae8faec0ca033ee073f963371edaeca9ec62e36e548e73a77da9223e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 97, + "locals": 12, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers/default.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/cinema/StartCinemaOnPlayers/no-guess.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "204f56b5928e58e9afe819f46fa01e765a3d52174248af8500fcce31febeaf02", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/StopLooping.lua", + "sha256": "91d18419df5d82ebee0cc20346da29b41d22a399afceaff726d85f47b3ae49f9", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 43, + "locals": 9, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "4d00e29f346a730ff83b9c5da2ec582329354a6192baac9b901d7b5caca2fbd1", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/cinema/startcinemaonplayerswithtimer.lua", + "sha256": "4e96e1be9811345505dda0906a38a1b2b7e0d48748c7ed75ed57b690aa41edf0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 105, + "locals": 9, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/cinema/startcinemaonplayerswithtimer/default.lua:30: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/cinema/startcinemaonplayerswithtimer/no-guess.lua:30: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...rces/Script/Game/cinema/startcinemaonplayerswithtimer/unluac-nodebug.lua:38: '=' expected near 'lbl_59'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2ff658bcec1daba0b293062c9b82be932fb7dfb626f5939a943f7199600da74c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/coop/RevivePlayersAndMakeInvulnerable.lua", + "sha256": "db875a3ee13b2c205cf8213a2c51bfaf9a80ef70b84ef37a3588a5c173b514c0", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 93, + "locals": 16, + "upvalue_names": 4, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/coop/RevivePlayersAndMakeInvulnerable/all-locals.lua:121: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a6da6a141c198ca612ee80bd53c5524ed983daf003166910018163507d63363d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/death/Creep_SelectDeathSequence.lua", + "sha256": "a6bdc52ceb8f4786572fdd3c236d5e9f2c69780cba7dae03825d843ef6529323", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 17, + "locals": 1, + "upvalue_names": 1, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "70536f4a5e9d82bec27957c45545ed3d3e3eebdd202461d0aedd2193c1feef59", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/death/RocketSoldier_SelectDeathSequence.lua", + "sha256": "4924e67d2ea5f11f48ce1ff8d34cd7da135e503a570a7a0b5fd321835e446c6d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 343, + "locals": 32, + "upvalue_names": 17, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/death/RocketSoldier_SelectDeathSequence/unluac-nodebug.lua:41: '=' expected near 'lbl_39'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c5c155658c0a5948400fa61d552a8819141aec482aa5042c8fa8f6cfba6376fd", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 14, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/death/Soldier_SelectDeathSequence.lua", + "sha256": "2fc3905414192dd6fe4cb73b90c6f1e3cd5e27fcee7201e6c99ca4d530cf861f", + "header_hex": "1b4c75615100010404040800", + "prototypes": 25, + "instructions": 640, + "locals": 54, + "upvalue_names": 34, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...sources/Script/Game/death/Soldier_SelectDeathSequence/unluac-nodebug.lua:41: '=' expected near 'lbl_39'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1b5a463caf88cc49196565eadc46e5b9e5b4b07c258b0a82f581ef4b1557194b", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 25, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/death/Survivor_SelectDeathSequence.lua", + "sha256": "2d0a4200f8d906e0d17c2486e6391967bc314150af5ce7eb5e86ff99881f6a2c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 27, + "instructions": 681, + "locals": 60, + "upvalue_names": 36, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/death/Survivor_SelectDeathSequence/unluac-nodebug.lua:53: '=' expected near 'lbl_39'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1e92553586df44b69c4ddb820c558e6f4fcdb27cef5a77074cb13fb3dbb37917", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 27, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/death/scavenger_selectdeathsequence.lua", + "sha256": "33f8125be746d7d5757ce27de8d7108afd26ffa1caf03982a1017bff4e3855f1", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 54, + "locals": 9, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "885dfeae0b66d5c567bd05bb0d75292b85104cd8317c3d93320c1d2b40f96ab4", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/lighting/GlobalLightingAdjust.lua", + "sha256": "4d3e6f88b527e520d765809fa10a9a68c4335f9be43197617d9bf0fe2369331d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 149, + "locals": 24, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "fe76a9bf679b9b56f194e168f289af25b9e62242dabcf004786ea61264849031", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/lighting/ModifyHardwareLightControl.lua", + "sha256": "018f6f28102db79004c7ceca8c3f1063c27008c4652c5fbe715efc1abd8f2377", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 97, + "locals": 10, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/lighting/ModifyHardwareLightControl/default.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/lighting/ModifyHardwareLightControl/no-guess.lua:28: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "c9591b9883e05ef7965a1e62106795ff1022b23bc2d49ab229a3467201f3c72a", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/lighting/SetAmbientFog.lua", + "sha256": "4182e406f00069dced79d058336da1a0063e481575102672a0384d04f1d2989e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 117, + "locals": 8, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...gnostics/EXTRACTresources/Script/Game/lighting/SetAmbientFog/default.lua:37: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/lighting/SetAmbientFog/no-guess.lua:13: unexpected symbol near 'char(127)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "502f0c7fd722b9e8f2052ee78a6077cdaec8b670054dc938d916247375642f4d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/lighting/SetLightProbeToOptionalCurve.lua", + "sha256": "aeaedc82b12169a4806ec251b54dceb1d19b6a0e95d418f3d83a3c9aad75ef84", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 156, + "locals": 9, + "upvalue_names": 19, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...Tresources/Script/Game/lighting/SetLightProbeToOptionalCurve/default.lua:27: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...resources/Script/Game/lighting/SetLightProbeToOptionalCurve/no-guess.lua:27: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "10f975fde6fdc67f63d5322b8c8e0543fd2fb4ce54fe5687dbb410d8c6aba588", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 4 + }, + { + "path": "EXTRACTresources/Script/Game/output/PrintToScreenWithTimer.lua", + "sha256": "384a7775ce6a1bac61fbf072f5673ee01515ee0955d44768824d25f5988f3036", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 53, + "locals": 8, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b2b14b189f160c57722f1bb95ea1927e735235c36ca40f6a8e4a63c4aabb2a85", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/output/PrintWatchVarValueToScreen.lua", + "sha256": "692c8f189a2fd9d89738f205a60197a01b1ae2c57e1a6e56e060997f8566a4a4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 66, + "locals": 14, + "upvalue_names": 6, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a8d180ec41d950fe05cabad20ada4ac7914b9dedf9c2fcd665d59e6bdd408608", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/BurnOutEnable.lua", + "sha256": "38cf053f35191429e481ad32011f24cfe3736b51bb122bff1d0cc09bfbee0257", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 107, + "locals": 20, + "upvalue_names": 8, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/EXTRACTresources/Script/Game/tutorial/BurnOutEnable/unluac-nodebug.lua:54: '=' expected near 'lbl_43'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "59de50e63efdc10fbd25330fa3cb6c01c9271db49295467b05794d62eba35eb6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/BurnOutTutorial_Reg_Enable.lua", + "sha256": "970b6da95e67988f5f3f5f2e324adab8ce2d5b7156a90ecf4e47fb6d0d207d62", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 431, + "locals": 30, + "upvalue_names": 32, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 29, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...CTresources/Script/Game/tutorial/BurnOutTutorial_Reg_Enable/no-guess.lua:19: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "71c684c91d24251840300a6f6d65d3d7790c3e3a76b8a786785d66c0b171f3ed", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/Challenges.lua", + "sha256": "ed4bdb9fafe4ad11fccef2ed774870400205a5d70ec4ee3e17b1e90c81b64c16", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 314, + "locals": 30, + "upvalue_names": 20, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 24, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...iagnostics/EXTRACTresources/Script/Game/tutorial/Challenges/no-guess.lua:52: unexpected symbol near 'char(16)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "818aa876192a5860fbc93902c048476d7df07e3d686e2b20f8ad8023d83aee29", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/CoverTutorial.lua", + "sha256": "c60f8af210ff44fe30e775fee5dce804bd2479a8186d34d5fd70623ffae861fa", + "header_hex": "1b4c75615100010404040800", + "prototypes": 13, + "instructions": 589, + "locals": 31, + "upvalue_names": 56, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 41, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 7, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...nostics/EXTRACTresources/Script/Game/tutorial/CoverTutorial/no-guess.lua:23: unexpected symbol near 'char(7)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "cbcf164aa7083eb8586f319b928237421ba6e5b69ec534a757a0ce347985d2e2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/CoverTutorial_2.lua", + "sha256": "0285b81ce496cf669725baf904882b0e1d90383cd1ae1718127be7994e7c30d4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 14, + "instructions": 699, + "locals": 44, + "upvalue_names": 64, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 42, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 8, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/tutorial/CoverTutorial_2/no-guess.lua:24: unexpected symbol near '*'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "be2cdf81acc97fad44619133a49683c9db3a6fbcdc12c868ec35b70e11e3ae73", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 13, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/CoverTutorial_3.lua", + "sha256": "07a5907b7df5c350a5bbe93e676e0e6a2f51ca01962ca197807a2110da1ad53c", + "header_hex": "1b4c75615100010404040800", + "prototypes": 15, + "instructions": 519, + "locals": 33, + "upvalue_names": 50, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 27, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/tutorial/CoverTutorial_3/no-guess.lua:25: unexpected symbol near '>'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b4b4ec6062eef6e70685bc22e6d03026b67f862085313fc4a6e5e69d11f3efe3", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 15, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergy.lua", + "sha256": "5172dea355b89d76516417fba5b3e568cc6c97356f74ea409dd69b2c79a6dca7", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 37, + "locals": 12, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "65f90426fecbcc458ae1bab8f17b3aec36d2b1e2ef0bced62d1a026f94f210b0", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FettelExistsAddEnergyWithFalloff.lua", + "sha256": "e357af64cc170282d98508e552b71de9fd8f3cb411a90c9d58d41705a2f2a8ec", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 63, + "locals": 17, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "8fdfde667b25b7aff472034a8cc8c9a61983d0026572ff4aaf32d18f7a86e306", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FettelExistsInhibitPossessRegion.lua", + "sha256": "04d236aae2e2501c485af27b31248d8952bedb131d19b3f8baa48a1935e56634", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 115, + "locals": 18, + "upvalue_names": 9, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/tutorial/FettelExistsInhibitPossessRegion/default.lua:48: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...urces/Script/Game/tutorial/FettelExistsInhibitPossessRegion/no-guess.lua:48: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ces/Script/Game/tutorial/FettelExistsInhibitPossessRegion/all-locals.lua:140: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "45b974407b22ed0472b86764b247556228209180ed229b7b914f2059945d7851", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion.lua", + "sha256": "025428c6d8cd5bf47a09ed28efa0532817cedb413a5c2f9d8d077a1fa0747b83", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 170, + "locals": 21, + "upvalue_names": 17, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion/default.lua:69: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../Script/Game/tutorial/FettelExistsPauseCurrentPossessRegion/no-guess.lua:69: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cript/Game/tutorial/FettelExistsPauseCurrentPossessRegion/all-locals.lua:198: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "d1e176cdd22721d3bdaeb8e15351ab2d01d1bde1551322911914d59abb8c428f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FettelExistsSetEnergy.lua", + "sha256": "95d1980204989f84e42888ab5b3e66c6d0dfe0a3c4e4b23818c17c35d3bf4e05", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 27, + "locals": 8, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "09dd699f030511967a2a8944692d5eb678385445ce98e6b8c8031fb06427026d", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/FirstTimePossession.lua", + "sha256": "792d1c819b2bcd892a1cda7e8495177f144af1cbbc7ad6bb2127bbb3965b0221", + "header_hex": "1b4c75615100010404040800", + "prototypes": 1, + "instructions": 104, + "locals": 18, + "upvalue_names": 0, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...cs/EXTRACTresources/Script/Game/tutorial/FirstTimePossession/default.lua:50: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/EXTRACTresources/Script/Game/tutorial/FirstTimePossession/no-guess.lua:50: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "3508ed038af0070e562d748998369680b4f7289d50f14f8360f9e0c031f024f2", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 0, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/GrenadePickupTest.lua", + "sha256": "f5edcee492c0cb4c0f45da9382f533dc740b78490eecba9dd948248229dba866", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 112, + "locals": 14, + "upvalue_names": 10, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ics/EXTRACTresources/Script/Game/tutorial/GrenadePickupTest/no-guess.lua:30: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "f6e44a9f5ac163fdad7a6b5d35b7633399103cbaeea99682644d11525f956009", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/PlayerDownedRevivedTest.lua", + "sha256": "f36ff3fe01bfb89143b2536083f8ec24516fc5e873b88b02126683fdafe032c4", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 263, + "locals": 16, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 16, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...TRACTresources/Script/Game/tutorial/PlayerDownedRevivedTest/no-guess.lua:24: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ACTresources/Script/Game/tutorial/PlayerDownedRevivedTest/all-locals.lua:279: unexpected symbol near '='\n", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "b7595d1a94421bf9966c26edf63571ba1e3ed027a9e7ba1e4d4a7a3de6657797", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 2 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/SecondWeaponPickupTest.lua", + "sha256": "ce0ceb9a8034c86bfdcd9641dd030e38c608175e2b9517c44481a4cf842ff935", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 211, + "locals": 31, + "upvalue_names": 13, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 12, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...XTRACTresources/Script/Game/tutorial/SecondWeaponPickupTest/no-guess.lua:69: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "daed32cb0009c8af5fb113b566e1a1193771ca66a0db321c92e2105cb027a06c", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/SlowMo_Activated_Reg.lua", + "sha256": "158625e93380464d3c50e9cfca974832a282054627272e584c4f9f7e11173bf2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 8, + "instructions": 433, + "locals": 27, + "upvalue_names": 42, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 27, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../EXTRACTresources/Script/Game/tutorial/SlowMo_Activated_Reg/no-guess.lua:20: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "93304129d40deffc1c466012285a9f0f9f86317ed8cdbf02adb19917d268acf3", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 8, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/SuspendTutorial.lua", + "sha256": "92204908f18ead35b376399e1ded2dff6218c3aeb27adb276a7928909d6a49e3", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 310, + "locals": 27, + "upvalue_names": 17, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 20, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 4, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...stics/EXTRACTresources/Script/Game/tutorial/SuspendTutorial/no-guess.lua:20: malformed number near '0y'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a2397e8c461c72345761606ffda8a706261aa72f18035208f14d0abfb785ffa9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen.lua", + "sha256": "732d71f3a674c1e5fdd7c0d3d7905ca0637858348041f6e14a7794a08f62bf05", + "header_hex": "1b4c75615100010404040800", + "prototypes": 5, + "instructions": 462, + "locals": 26, + "upvalue_names": 24, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 39, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen/no-guess.lua:18: unexpected symbol near 'char(7)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 8, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "1333eee40ecc51e945baa198b6e99709885fd904973bd5b9acfffdb8ab371f65", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize.lua", + "sha256": "802866a98b44e5e1b5d04508a3f01f232c6fe5db62774347d0bc95bfe0aa3048", + "header_hex": "1b4c75615100010404040800", + "prototypes": 6, + "instructions": 546, + "locals": 30, + "upvalue_names": 47, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 39, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...s/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize/default.lua:264: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize/no-guess.lua:23: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "285599a165a9f800101b4ec2d88c7e0826d1ad1c640c7fef9b2ed4eeb1c1e4b7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 5, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg.lua", + "sha256": "f00681526ee5db2c9366bcf2c9b64696b861c5ccc7814c8a149102dc7eadd053", + "header_hex": "1b4c75615100010404040800", + "prototypes": 8, + "instructions": 570, + "locals": 30, + "upvalue_names": 51, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 39, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ript/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg/default.lua:280: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 5, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ipt/Game/tutorial/Tutorial_PlaInRegTextToScreen_SetSize_Reg/no-guess.lua:23: unexpected symbol near '�'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "eedab2d13082f64f86df73b43949cc6d55c4befde08418c5beb574c5f285e4a6", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 7, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_Timer.lua", + "sha256": "932098dd3359153e16e07d608298771ceae4c0596819471d859b9cd6403287f8", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 184, + "locals": 14, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 13, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/tutorial/Tutorial_PlaInRegTextToScreen_Timer/no-guess.lua:19: unexpected symbol near ','\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 4, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "639ddb825d7a10eeaf7c5f82f0d2e5454edd6574add6fdb0d8c746a8f9da292f", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 2, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/tutorial/sendtexttofettelcontrolledobject.lua", + "sha256": "1d6a47b4241afedd7c0c03f5f322c9037484359fd6ea9ca455cb2693b64f677d", + "header_hex": "1b4c75615100010404040800", + "prototypes": 2, + "instructions": 64, + "locals": 11, + "upvalue_names": 3, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/tutorial/sendtexttofettelcontrolledobject/default.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...urces/Script/Game/tutorial/sendtexttofettelcontrolledobject/no-guess.lua:33: unexpected symbol near ';'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "4f3eb6c67b82f457c8197f64704aedbd7bd9eb993df0fc99e8a65b8058a7a973", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 1, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse.lua", + "sha256": "05dbbbf7f62ce14d979859a7a291a446700ec5a3df370407cfa41ffb78fdb4a2", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 102, + "locals": 19, + "upvalue_names": 7, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 1, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: .../Script/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse/no-guess.lua:41: unexpected symbol near 'char(22)'\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...t/Game/worlds/Needle/NetworkEnableObjectOnTerminalUse/clua-annotated.lua:46: 'end' expected (to close 'function' at line 27) near ''\n", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "35cb278ba6c74e30c3e547d297230b9281dfc321ad6436430c6957f3b50c4264", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/worlds/PortAuth/SearchLightRandomization.lua", + "sha256": "f57e7ecf5a8d216c785bc8b7220c6b90eb5939c1e299fe853ce86ea40ac8ad1e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 167, + "locals": 26, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 6, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 5, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "2e86ad88f11587cba89106b7fd60e9fe4d7b46ea89ad87e856f66a7c4b6245f7", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 1 + }, + { + "path": "EXTRACTresources/Script/Game/worlds/Prison/PokerPlayerCards.lua", + "sha256": "251dfb332aed107165a522ff9961dbb5f72b3daaad6e69b6712f2d805ab8e512", + "header_hex": "1b4c75615100010404040800", + "prototypes": 3, + "instructions": 83, + "locals": 19, + "upvalue_names": 5, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "a54143c2d64c577f4335243c378ac2d3e5516369d4c4413f03a09205775651ea", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 3, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/worlds/Prison/PokerRoomAchievement.lua", + "sha256": "1d98b13af0f7367e3870b731b9dd78188ddaa3a01756853f59bd7616ad40066e", + "header_hex": "1b4c75615100010404040800", + "prototypes": 4, + "instructions": 181, + "locals": 22, + "upvalue_names": 12, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...ources/Script/Game/worlds/Prison/PokerRoomAchievement/unluac-nodebug.lua:70: '=' expected near 'lbl_57'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "0df8fbd68fcd4efefa616867cbc8bf34c3033ad57166f7acf5368c4d2c8cd9ee", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 4, + "default_comparison_failures": 0 + }, + { + "path": "EXTRACTresources/Script/Game/worlds/WadeMansion/FaceOffPlayerScript.lua", + "sha256": "7b16bd2921d36e66a56e2d8c67b3f77ef09a245024ffd7d6fa8c6732b6ffe716", + "header_hex": "1b4c75615100010404040800", + "prototypes": 7, + "instructions": 470, + "locals": 38, + "upvalue_names": 25, + "candidates": [ + { + "mode": "default", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 2, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "no-guess", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 2, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...esources/Script/Game/worlds/WadeMansion/FaceOffPlayerScript/no-guess.lua:54: unexpected symbol near '['\n", + "executable_tree_exact": false + }, + { + "mode": "all-locals", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 1, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "unluac", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": true + }, + { + "mode": "unluac-nodebug", + "exit_code": 0, + "syntax_ok": false, + "diagnostic_markers": 0, + "syntax_error": "/home/user/fear3-recovery/tool/luadec/lua-5.1/src/luac: ...es/Script/Game/worlds/WadeMansion/FaceOffPlayerScript/unluac-nodebug.lua:287: '=' expected near 'lbl_116'\n", + "executable_tree_exact": false + }, + { + "mode": "clua-dec", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + }, + { + "mode": "clua-annotated", + "exit_code": 0, + "syntax_ok": true, + "diagnostic_markers": 0, + "syntax_error": "", + "executable_tree_exact": false + } + ], + "clua_dec_exit_code": 0, + "clua_annotated_exit_code": 0, + "clua_dis_exit_code": 0, + "clua_ssa_exit_code": 0, + "selected_mode": "unluac", + "syntax_ok": true, + "executable_tree_exact": true, + "diagnostic_markers": 0, + "recovered_sha256": "cda65868464f4aefe38bf0c768e11d7a511780c678bfcfa9dff10ea7675ef4a9", + "disassembly_exit_code": 0, + "functions_exit_code": 0, + "comparison_exit_code": 0, + "default_comparison_passes": 7, + "default_comparison_failures": 0 + } + ], + "summary": { + "files": 228, + "syntax_ok": 228, + "executable_tree_exact": 228, + "with_diagnostic_markers": 0 + } +} diff --git a/recovered/resources/provenance.json b/recovered/resources/provenance.json new file mode 100644 index 0000000..9746082 --- /dev/null +++ b/recovered/resources/provenance.json @@ -0,0 +1,48 @@ +{ + "input_note": "EXTRACTresources.txt and EXTRACTresources-2.txt contain identical script bytes; second archive adds cLuaDecompiler.", + "archives": { + "EXTRACTresources.txt": "486ce156525cd4ab26d54a78070ffd3a8600773101de8da304fadac643bc5f60", + "EXTRACTresources-2.txt": "19e1e764d988907ccfeb0c536ebbc94a75bf5adb7e896db134782278a4751e56" + }, + "clua": { + "source": "User attachment EXTRACTresources-2.txt: EXTRACTresources/cLuaDecompiler", + "sha256": "e01ea4ede61f593dc954b2f244085ef6cae8e9b07f40decee8940331b63727cd", + "executed": true, + "modes": [ + [ + "--dec" + ], + [ + "--dec", + "--annotate", + "--debug" + ], + [ + "--dis" + ], + [ + "--ssa-dump" + ] + ], + "note": "Version/tag of uploaded ELF has not been independently authenticated; CLI help captured in archive." + }, + "other_tools": { + "luadec": { + "repository": "https://github.com/viruscamp/luadec", + "commit": "895d92313fabaee260121c758c8320d1b21dd741" + }, + "lua51": { + "repository": "https://github.com/viruscamp/lua5", + "commit": "cdcfa70f2f731409046374e797a62314b4924b77" + }, + "unluac": { + "download": "https://api.github.com/repos/zlperysian/Unluac/contents/unluac.jar", + "version": "1.2.3.530", + "sha256": "65fcab564745fd5155bae01cad03756efee14e4c60c35edcd277b07ce0d9b1e2" + }, + "java": { + "package": "jdk4py==21.0.8.2", + "source": "PyPI" + } + } +} diff --git a/tests/test_api.py b/tests/test_api.py new file mode 100644 index 0000000..68d778c --- /dev/null +++ b/tests/test_api.py @@ -0,0 +1,62 @@ +import json +from pathlib import Path +import re +import unittest + +from tools.build_api import ROOT, extract, outputs + + +class ReferenceTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.catalog = extract() + cls.entries = {e['name']: e for e in cls.catalog['entries']} + + def test_original_duplicate_preserved(self): + self.assertEqual((ROOT / 'DespairEngine_API_FEAR3').read_bytes(), + (ROOT / 'luasense_decompiled.lua').read_bytes()) + + def test_source_coverage(self): + self.assertEqual(self.catalog['statistics'], { + 'root_instructions': 52603, 'child_prototypes': 3025, + 'stub_functions': 1503, 'calltip_records': 3002, + 'catalog_entries': 3879, 'unresolved_constant_keys': 242}) + + def test_original_developer_text(self): + entry = self.entries['GameScript.Game.Player.SetCrouch'] + self.assertEqual(len(entry['signature']['parameters']), 2) + self.assertEqual(entry['calltip']['@K[202]'][2.0]['@K[211]'], + 'Unused. Somebody please delete me.') + + def test_no_guessed_editor_signature(self): + entry = self.entries['Despair.Forge.File.SaveAs'] + self.assertIsNone(entry['signature']) + self.assertIsInstance(entry['calltip'], dict) + + def test_aliases_not_silently_merged(self): + self.assertIn('Player.SetCrouch', self.entries) + self.assertIsNone(self.entries['Player.SetCrouch']['calltip']) + + def test_generated_files_are_current(self): + for path, content in outputs(self.catalog).items(): + with self.subTest(path=path): + self.assertEqual((ROOT / path).read_text(), content) + + def test_json_roundtrip(self): + stored = json.loads((ROOT / 'api/despair-api.json').read_text()) + self.assertEqual(len(stored['entries']), len(self.entries)) + self.assertEqual(stored['sources'], self.catalog['sources']) + + def test_document_links_resolve(self): + files = [ROOT / 'README.md', ROOT / 'CONTRIBUTING.md', + *ROOT.glob('docs/**/*.md')] + for file in files: + for link in re.findall(r'\]\(([^)]+)\)', file.read_text()): + target = link.split('#')[0] + if target and not re.match(r'\w+://', target): + with self.subTest(file=file, link=link): + self.assertTrue((file.parent / target).exists()) + + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_recovery.py b/tests/test_recovery.py new file mode 100644 index 0000000..b93811f --- /dev/null +++ b/tests/test_recovery.py @@ -0,0 +1,95 @@ +import hashlib +import json +from pathlib import Path +import unittest + +from tools.lua51_chunk import Chunk + +ROOT = Path(__file__).resolve().parents[1] + + +def fixture(): + c = Chunk.__new__(Chunk) + c.header = bytes.fromhex('1b4c75615100010404040800') + c.size_t = 4 + c.int_size = c.ins_size = 4 + c.num_size = 8 + c.order = 'little' + c.root = {'source': b'@fixture.lua\0', 'lines': bytes(8), + 'flags': bytes([0, 0, 2, 2]), 'code': bytes.fromhex('1e008000'), + 'constants': [(0, b''), (1, b'\x01'), (3, bytes(8)), (4, b'a\0b\0')], + 'children': [], 'lineinfo': bytes(4), + 'locals': [(b'x\0', bytes(8))], 'upvalues': [b'outer\0']} + return c + + +class ChunkTests(unittest.TestCase): + def test_lossless_roundtrip(self): + raw = fixture().encode() + self.assertEqual(Chunk(raw).encode(), raw) + + def test_size_t_conversion_preserves_every_field(self): + original = Chunk(fixture().encode()) + converted = Chunk(original.encode(8)) + self.assertEqual(converted.size_t, 8) + self.assertEqual(original.root, converted.root) + self.assertEqual(converted.encode(4), original.encode()) + + def test_nested_prototypes_survive_portable_conversion(self): + parent = fixture() + parent.root['children'] = [fixture().root] + parsed = Chunk(parent.encode()) + self.assertEqual(parsed.root, Chunk(parsed.encode(8)).root) + self.assertEqual(parsed.statistics()['prototypes'], 2) + + def test_resources_sources_match_validation_manifest(self): + base = ROOT / 'recovered/resources' + manifest = json.loads((base / 'manifest.json').read_text()) + self.assertTrue(manifest['requested_tool_executed']) + self.assertEqual(manifest['summary'], {'files': 228, 'syntax_ok': 228, + 'executable_tree_exact': 228, 'with_diagnostic_markers': 0}) + self.assertEqual(len(list(base.rglob('*.lua'))), 228) + for entry in manifest['files']: + with self.subTest(path=entry['path']): + self.assertTrue(entry['executable_tree_exact']) + self.assertTrue(entry['syntax_ok']) + self.assertEqual(hashlib.sha256((base / entry['path']).read_bytes()).hexdigest(), + entry['recovered_sha256']) + for label in ('dec', 'annotated', 'dis', 'ssa'): + self.assertEqual(entry['clua_' + label + '_exit_code'], 0) + candidates = {c['mode']: c for c in entry['candidates']} + self.assertIn('clua-dec', candidates) + self.assertIn('clua-annotated', candidates) + self.assertTrue(candidates[entry['selected_mode']]['executable_tree_exact']) + + def test_truncation_rejected(self): + with self.assertRaises(ValueError): + Chunk(fixture().encode()[:-1]) + + def test_trailing_bytes_rejected(self): + with self.assertRaises(ValueError): + Chunk(fixture().encode() + b'x') + + def test_wrong_version_rejected(self): + raw = bytearray(fixture().encode()) + raw[4] = 0x54 + with self.assertRaises(ValueError): + Chunk(bytes(raw)) + + def test_recovered_sources_match_validation_manifest(self): + base = ROOT / 'recovered/boot' + manifest = json.loads((base / 'manifest.json').read_text()) + self.assertEqual(manifest['summary']['files'], 43) + self.assertEqual(manifest['summary']['executable_tree_exact'], 43) + self.assertFalse(manifest['requested_tool_executed']) + for entry in manifest['files']: + with self.subTest(path=entry['path']): + self.assertTrue(entry['syntax_ok']) + self.assertTrue(entry['executable_tree_exact']) + self.assertEqual(entry['diagnostic_markers'], 0) + self.assertEqual(hashlib.sha256((base / entry['path']).read_bytes()).hexdigest(), + entry['recovered_sha256']) + + +if __name__ == '__main__': + unittest.main() diff --git a/tools/build_api.py b/tools/build_api.py new file mode 100644 index 0000000..a874b62 --- /dev/null +++ b/tools/build_api.py @@ -0,0 +1,154 @@ +#!/usr/bin/env python3 +"""Build a reference from the preserved text artifacts; never execute Lua.""" +import argparse +import ast +from collections import defaultdict +import hashlib +import json +from pathlib import Path +import re + +ROOT = Path(__file__).resolve().parents[1] +SOURCES = ('DespairEngine_API_FEAR3', 'luasense_decompiled.lua', 'luasense_bytecode_disassembly.txt') + + +def extract(root=ROOT): + text = (root / SOURCES[2]).read_text() + code, children = text.split('CHILD PROTOTYPES\n') + constants = {} + instructions = [] + for line_number, line in enumerate(code.splitlines(), 1): + match = re.match(r'^(\d+)\s+(\w+)\s+(.+)$', line) + if not match: + continue + pc, op, operands = match.groups() + fields = dict(re.findall(r'(A|Bx|B|C)=(K\[\d+\]|R\d+|\d+)', operands)) + if op in ('LOADK', 'GETGLOBAL', 'SETGLOBAL'): + value = ast.literal_eval(operands.split(' ; ', 1)[1]) + index = int(fields['Bx']) + if index in constants and constants[index] != value: + raise ValueError(f'Conflicting constant {index}') + constants[index] = value + instructions.append((int(pc), op, fields, line_number)) + # Missing constant names remain explicit symbolic keys, not guessed names. + def key(index): + return constants.get(int(index), f'@K[{index}]') + registers, globals_ = {}, {} + closures = set() + for pc, op, f, line in instructions: + a = int(f['A']) + def operand(value): + if value.startswith('K['): + return key(value[2:-1]) + if value.startswith('R'): + return registers[int(value[1:])] + raise ValueError(value) + if op == 'NEWTABLE': + registers[a] = {} + elif op == 'LOADK': + registers[a] = key(f['Bx']) + elif op == 'GETGLOBAL': + registers[a] = globals_.setdefault(key(f['Bx']), {}) + elif op == 'SETGLOBAL': + globals_[key(f['Bx'])] = registers[a] + elif op == 'GETTABLE': + registers[a] = operand(f['B'])[operand(f['C'])] + elif op == 'SETTABLE': + registers[a][operand(f['B'])] = operand(f['C']) + elif op == 'CLOSURE': + child = int(f['Bx']) + closures.add(child) + registers[a] = ('closure', child) + elif op != 'RETURN': + raise ValueError(f'Unsupported instruction {op} at {pc}') + prototypes = re.findall(r'child#(\d+): (\d+) params, (\d+) instruction', children) + assert closures == {int(p[0]) for p in prototypes} + signatures = {} + for line_number, line in enumerate((root / SOURCES[1]).read_text().splitlines(), 1): + match = re.fullmatch(r'function ([\w.]+)\((.*?)\) end', line) + if match: + name, args = match.groups() + signatures[name] = {'parameters': args.split(', ') if args else [], 'line': line_number} + # The only Editor child table contains string-keyed call-tip records. + tables = [v for v in globals_['Editor'].values() if isinstance(v, dict)] + assert len(tables) == 1 + records = tables[0] + entries = [] + for name in sorted(set(records) | set(signatures)): + raw = records.get(name) + entry = {'name': name, 'namespace': name.rpartition('.')[0] or '_global', + 'signature': signatures.get(name), 'calltip': raw} + entries.append(entry) + return {'schema_version': 1, 'sources': {p: hashlib.sha256((root / p).read_bytes()).hexdigest() for p in SOURCES}, + 'statistics': {'root_instructions': len(instructions), 'child_prototypes': len(prototypes), + 'stub_functions': len(signatures), 'calltip_records': len(records), + 'catalog_entries': len(entries), 'unresolved_constant_keys': len(set(re.findall(r'K\[(\d+)\]', code)) - {str(k) for k in constants})}, + 'entries': entries} + + +def escaped(value): + return str(value).replace('|', '\\|').replace('\r', '').replace('\n', '
') + + +def outputs(catalog): + result = {'api/despair-api.json': json.dumps(catalog, ensure_ascii=False, indent=2) + '\n'} + groups = defaultdict(list) + for entry in catalog['entries']: + groups[entry['namespace']].append(entry) + index = ['# Lua API Despair Engine', '', 'Сгенерировано из сохранённых артефактов. Не является реализацией движка.', '', + 'Сигнатуры берутся только из Lua-заглушек. `@K[n]` — имя константы, отсутствующее в дампе.', + 'Структура call-tip сохранена без подстановки предполагаемых типов и имён полей.', '', + '| Пространство имён | Записей |', '| --- | ---: |'] + for namespace, entries in sorted(groups.items()): + filename = namespace + '.md' + index.append(f'| [{namespace}](reference/{filename}) | {len(entries)} |') + lines = [f'# {namespace}', '', '[Индекс](../API.md)', ''] + for e in entries: + lines += [f"## {e['name']}", ''] + if e['signature'] is not None: + sig = e['signature'] + lines += ['```lua', f"{e['name']}({', '.join(sig['parameters'])})", '```', '', + f"Источник: [Lua, строка {sig['line']}](../../luasense_decompiled.lua#L{sig['line']}). Имена `argN` — placeholders реконструкции.", ''] + else: + lines += ['Сигнатура не восстановлена: записи нет в Lua-заглушках.', ''] + if e['calltip'] is not None: + raw = e['calltip'] + if '@K[203]' in raw: + lines += [raw['@K[203]'], ''] + params = raw.get('@K[202]', {}) + if params: + lines += ['Поля параметров call-tip (интерпретация структуры, не восстановленные типы):', '', + '| № | Имя (`@K[209]`) | Описание (`@K[211]`) |', '| --- | --- | --- |'] + for number, param in sorted(params.items(), key=lambda pair: float(pair[0])): + lines.append(f"| {number} | {escaped(param.get('@K[209]', ''))} | {escaped(param.get('@K[211]', ''))} |") + lines.append('') + lines += ['
Исходная структура call-tip', '', '```json', + json.dumps(raw, ensure_ascii=False, indent=2), '```', '', '
', ''] + else: + lines += ['Отдельная call-tip запись для этого пути не найдена; описание алиаса автоматически не присваивается.', ''] + result[f'docs/reference/{filename}'] = '\n'.join(lines) + result['docs/API.md'] = '\n'.join(index) + '\n' + return result + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument('--check', action='store_true', help='Fail if generated files differ') + args = parser.parse_args() + catalog = extract() + stale = [] + for path, content in outputs(catalog).items(): + target = ROOT / path + if args.check: + if not target.exists() or target.read_text() != content: + stale.append(path) + else: + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(content) + if stale: + parser.exit(1, 'Out-of-date generated files: ' + ', '.join(stale) + '\n') + print(json.dumps(catalog['statistics'], indent=2)) + + +if __name__ == '__main__': + main() diff --git a/tools/lua51_chunk.py b/tools/lua51_chunk.py new file mode 100644 index 0000000..2accf6f --- /dev/null +++ b/tools/lua51_chunk.py @@ -0,0 +1,108 @@ +"""Lossless Lua 5.1 chunk reader/writer for size_t portability (no execution).""" +import struct + + +class Chunk: + def __init__(self, data): + self.data = data + self.pos = 12 + self.header = data[:12] + if len(data) < 12 or data[:6] != b'\x1bLua\x51\x00': + raise ValueError('Expected a standard Lua 5.1 chunk') + _, _, endian, self.int_size, self.size_t, self.ins_size, self.num_size, self.integral = data[4:12] + if endian not in (0, 1) or self.int_size != 4 or self.ins_size != 4: + raise ValueError('Unsupported Lua chunk layout') + self.order = 'little' if endian else 'big' + self.root = self.proto() + if self.pos != len(data): + raise ValueError(f'Trailing data at {self.pos}/{len(data)}') + + def take(self, count): + if count < 0 or self.pos + count > len(self.data): + raise ValueError('Truncated or invalid chunk') + value = self.data[self.pos:self.pos + count] + self.pos += count + return value + + def uint(self, width=4): + return int.from_bytes(self.take(width), self.order) + + def string(self): + size = self.uint(self.size_t) + value = self.take(size) + if size and value[-1] != 0: + raise ValueError('Invalid Lua string terminator') + return value + + def proto(self): + p = {'source': self.string(), 'lines': self.take(8), 'flags': self.take(4)} + p['code'] = self.take(self.uint() * self.ins_size) + p['constants'] = [] + for _ in range(self.uint()): + tag = self.uint(1) + if tag == 0: + value = b'' + elif tag == 1: + value = self.take(1) + elif tag == 3: + value = self.take(self.num_size) + elif tag == 4: + value = self.string() + else: + raise ValueError(f'Unknown constant type {tag}') + p['constants'].append((tag, value)) + p['children'] = [self.proto() for _ in range(self.uint())] + p['lineinfo'] = self.take(self.uint() * self.int_size) + p['locals'] = [(self.string(), self.take(8)) for _ in range(self.uint())] + p['upvalues'] = [self.string() for _ in range(self.uint())] + return p + + def encode(self, size_t=None): + size_t = self.size_t if size_t is None else size_t + header = bytearray(self.header) + header[8] = size_t + out = bytearray(header) + def uint(value, width=4): + out.extend(value.to_bytes(width, self.order)) + def string(value): + uint(len(value), size_t) + out.extend(value) + def proto(p): + string(p['source']) + out.extend(p['lines']) + out.extend(p['flags']) + uint(len(p['code']) // self.ins_size) + out.extend(p['code']) + uint(len(p['constants'])) + for tag, value in p['constants']: + uint(tag, 1) + if tag == 4: + string(value) + else: + out.extend(value) + uint(len(p['children'])) + for child in p['children']: + proto(child) + uint(len(p['lineinfo']) // self.int_size) + out.extend(p['lineinfo']) + uint(len(p['locals'])) + for name, scope in p['locals']: + string(name) + out.extend(scope) + uint(len(p['upvalues'])) + for name in p['upvalues']: + string(name) + proto(self.root) + return bytes(out) + + def statistics(self): + counts = {'prototypes': 0, 'instructions': 0, 'locals': 0, 'upvalue_names': 0} + def visit(p): + counts['prototypes'] += 1 + counts['instructions'] += len(p['code']) // self.ins_size + counts['locals'] += len(p['locals']) + counts['upvalue_names'] += len(p['upvalues']) + for child in p['children']: + visit(child) + visit(self.root) + return counts diff --git a/tools/recover_boot.py b/tools/recover_boot.py new file mode 100644 index 0000000..b83c930 --- /dev/null +++ b/tools/recover_boot.py @@ -0,0 +1,154 @@ +#!/usr/bin/env python3 +"""Recover archived Lua 5.1 chunks without executing game scripts. + +Usage: python tools/recover_boot.py script.zip --work-dir /path/recovery + --luadec /path/luadec --luac /path/luac [--clua /path/cLuaDecompiler] +External tool binaries and original chunks are deliberately not stored in Git. +""" +import argparse +import hashlib +import json +from pathlib import Path +import re +import shutil +import subprocess +import zipfile + +try: + from .lua51_chunk import Chunk +except ImportError: + from lua51_chunk import Chunk + + +def run(command, timeout=45): + try: + p = subprocess.run(list(map(str, command)), capture_output=True, timeout=timeout) + return {'returncode': p.returncode, 'stdout': p.stdout.decode('utf-8', 'replace'), + 'stderr': p.stderr.decode('utf-8', 'replace')} + except subprocess.TimeoutExpired: + return {'returncode': None, 'stdout': '', 'stderr': f'Timeout after {timeout}s'} + + +def main(): + ap = argparse.ArgumentParser(description=__doc__) + ap.add_argument('archive', type=Path) + ap.add_argument('--work-dir', required=True, type=Path) + ap.add_argument('--luadec', required=True, type=Path) + ap.add_argument('--luac', required=True, type=Path) + ap.add_argument('--clua', type=Path) + ap.add_argument('--java', type=Path) + ap.add_argument('--unluac', type=Path) + args = ap.parse_args() + work = args.work_dir.resolve() + if work.exists() and any(work.iterdir()): + ap.error('--work-dir must be empty to avoid mixing results from different runs') + work.mkdir(parents=True, exist_ok=True) + source = work / 'input' + source.mkdir(exist_ok=True) + with zipfile.ZipFile(args.archive) as archive: + for info in archive.infolist(): + if not (source / info.filename).resolve().is_relative_to(source): + raise ValueError(f'Unsafe ZIP path: {info.filename}') + if (info.external_attr >> 16) & 0o170000 == 0o120000: + raise ValueError(f'Symlink in ZIP: {info.filename}') + if sum(i.file_size for i in archive.infolist()) > 100_000_000: + raise ValueError('Archive exceeds 100 MB uncompressed limit') + archive.extractall(source) + manifest = {'archive_sha256': hashlib.sha256(args.archive.read_bytes()).hexdigest(), + 'requested_tool_executed': bool(args.clua), + 'warning': 'Recovered source is not original source. Syntax checks do not prove semantic equivalence.', + 'files': []} + for original in sorted(source.rglob('*.lua')): + rel = original.relative_to(source) + raw = original.read_bytes() + chunk = Chunk(raw) + assert chunk.encode() == raw, f'Non-lossless read: {rel}' + portable = work / 'portable' / rel + portable.parent.mkdir(parents=True, exist_ok=True) + portable.write_bytes(chunk.encode(8)) + assert Chunk(portable.read_bytes()).root == chunk.root + record = {'path': rel.as_posix(), 'sha256': hashlib.sha256(raw).hexdigest(), + 'header_hex': raw[:12].hex(), **chunk.statistics(), 'candidates': []} + logdir = work / 'diagnostics' / rel.parent / rel.stem + logdir.mkdir(parents=True, exist_ok=True) + for label, flags in [('default', []), ('no-guess', ['-dg']), ('all-locals', ['-a'])]: + result = run([args.luadec, *flags, portable]) + candidate = logdir / f'{label}.lua' + candidate.write_text(result['stdout']) + (logdir / f'{label}.stderr.txt').write_text(result['stderr']) + validation = run([args.luac, '-p', candidate]) + markers = len(re.findall(r'DECOMPILER ERROR|DECOMPILER WARNING', result['stdout'], re.I)) + syntax_ok = result['returncode'] == 0 and bool(result['stdout'].strip()) and validation['returncode'] == 0 + record['candidates'].append({'mode': label, 'exit_code': result['returncode'], + 'syntax_ok': syntax_ok, 'diagnostic_markers': markers, + 'syntax_error': validation['stderr']}) + if args.unluac: + if not args.java: + ap.error('--unluac requires --java') + for label, flags in [('unluac', []), ('unluac-nodebug', ['--nodebug'])]: + result = run([args.java, '-jar', args.unluac, *flags, original]) + candidate = logdir / f'{label}.lua' + candidate.write_text(result['stdout']) + (logdir / f'{label}.stderr.txt').write_text(result['stderr']) + validation = run([args.luac, '-p', candidate]) + record['candidates'].append({'mode': label, 'exit_code': result['returncode'], + 'syntax_ok': result['returncode'] == 0 and bool(result['stdout'].strip()) and validation['returncode'] == 0, + 'diagnostic_markers': len(re.findall(r'DECOMPILER ERROR|DECOMPILER WARNING', result['stdout'], re.I)), + 'syntax_error': validation['stderr']}) + if args.clua: + for label, flags in [('dec', ['--dec']), ('annotated', ['--dec', '--annotate', '--debug']), + ('dis', ['--dis']), ('ssa', ['--ssa-dump'])]: + result = run([args.clua, *flags, original]) + (logdir / f'clua-{label}.txt').write_text(result['stdout']) + (logdir / f'clua-{label}.stderr.txt').write_text(result['stderr']) + record['clua_' + label + '_exit_code'] = result['returncode'] + if label in ('dec', 'annotated'): + candidate = logdir / f'clua-{label}.lua' + candidate.write_text(result['stdout']) + validation = run([args.luac, '-p', candidate]) + record['candidates'].append({'mode': 'clua-' + label, 'exit_code': result['returncode'], + 'syntax_ok': result['returncode'] == 0 and bool(result['stdout'].strip()) and validation['returncode'] == 0, + 'diagnostic_markers': len(re.findall(r'DECOMPILER ERROR|DECOMPILER WARNING', result['stdout'], re.I)), + 'syntax_error': validation['stderr']}) + def executable(p): + return (p['flags'], p['code'], p['constants'], [executable(c) for c in p['children']]) + for candidate in record['candidates']: + candidate['executable_tree_exact'] = False + if candidate['syntax_ok']: + compiled = logdir / (candidate['mode'] + '.luac') + result = run([args.luac, '-o', compiled, logdir / (candidate['mode'] + '.lua')]) + if result['returncode'] == 0: + candidate['executable_tree_exact'] = executable(Chunk(compiled.read_bytes()).root) == executable(chunk.root) + ranked = sorted(enumerate(record['candidates']), + key=lambda x: (not x[1]['syntax_ok'], not x[1]['executable_tree_exact'], + x[1]['diagnostic_markers'], not x[1]['mode'].startswith('unluac'), x[0])) + selected = ranked[0][1] + record['selected_mode'] = selected['mode'] + record['syntax_ok'] = selected['syntax_ok'] + record['executable_tree_exact'] = selected['executable_tree_exact'] + record['diagnostic_markers'] = selected['diagnostic_markers'] + # Failed candidates are never presented as usable recovered source. + destination = work / ('recovered' if record['syntax_ok'] else 'needs-repair') / rel + destination.parent.mkdir(parents=True, exist_ok=True) + shutil.copyfile(logdir / f"{selected['mode']}.lua", destination) + record['recovered_sha256'] = hashlib.sha256(destination.read_bytes()).hexdigest() + for label, flags in [('disassembly', ['-dis']), ('functions', ['-pn']), ('comparison', ['-fc'])]: + result = run([args.luadec, *flags, portable]) + (logdir / f'{label}.txt').write_text(result['stdout']) + (logdir / f'{label}.stderr.txt').write_text(result['stderr']) + record[label + '_exit_code'] = result['returncode'] + if label == 'comparison': + record['default_comparison_passes'] = result['stdout'].count('function check pass') + record['default_comparison_failures'] = result['stdout'].count('function check fail') + manifest['files'].append(record) + print(f"{rel}: {selected['mode']}, syntax={record['syntax_ok']}, markers={record['diagnostic_markers']}", flush=True) + manifest['summary'] = {'files': len(manifest['files']), + 'syntax_ok': sum(f['syntax_ok'] for f in manifest['files']), + 'executable_tree_exact': sum(f['executable_tree_exact'] for f in manifest['files']), + 'with_diagnostic_markers': sum(bool(f['diagnostic_markers']) for f in manifest['files'])} + (work / 'manifest.json').write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + '\n') + print(json.dumps(manifest['summary'])) + + +if __name__ == '__main__': + main()