mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
Cleaned up old files from eclipse.
This commit is contained in:
parent
c1ac596d21
commit
aa605777a6
72
.github/copilot-instructions.md
vendored
72
.github/copilot-instructions.md
vendored
@ -1,72 +0,0 @@
|
||||
# Copilot instructions for DCS_MissionDev
|
||||
|
||||
These notes teach AI coding agents how to be productive in this DCS World mission-scripting workspace. Keep responses concrete, reference the files below, and prefer making small targeted edits over broad rewrites.
|
||||
|
||||
## Big picture
|
||||
|
||||
- This repo is a DCS mission lab focused on Lua scripting for the MOOSE, MIST, CTLD, and CSAR ecosystems.
|
||||
- Structure:
|
||||
- Root hosts shared framework scripts and utilities: `Moose_.lua`, `Moose.lua`, `mist.lua`, multiple pinned `mist_*` versions, `CTLD.lua`, `CSAR.lua`, plus helper and mission glue scripts (e.g., `NukeBlockerScriptv1_2_1.lua`, `OnBirthMessage.lua`).
|
||||
- Mission families live under `DCS_<Theater>/...` with individual `.miz` files and scenario folders.
|
||||
- Purpose-built modules live under `Moose_*/*` with a main Lua, demo `.miz`, and a README describing setup.
|
||||
- Loading order matters in DCS: framework(s) first, then modules, then mission glue. Typical trigger order: `Moose_.lua` → framework/middleware → module script(s) → custom mission logic.
|
||||
|
||||
## Core modules and patterns (examples in repo)
|
||||
|
||||
- Zone Capture (dual coalition): `Moose_DualCoalitionZoneCapture/Moose_DualCoalitionZoneCapture.lua`
|
||||
- Edit-only config tables: `ZONE_CONFIG` (BLUE/RED/NEUTRAL lists) and `ZONE_SETTINGS` (scan/capture/guard).
|
||||
- Uses MOOSE classes like `ZONE`, `ZONE_CAPTURE_COALITION`, `COMMANDCENTER`, `MISSION`; logs via `env.info` with `[CAPTURE Module]` prefix.
|
||||
- Visuals driven by `ZONE_COLORS`; contested/attacked overrides ownership color.
|
||||
- Dynamic Ground Battle: `Moose_DynamicGroundBattle/Moose_DynamicGroundBattle.lua`
|
||||
- User-edit section defines red/blue `ZONE:New(...)`, warehouse `STATIC:FindByName(...)`, and template arrays. After the “DO NOT EDIT BELOW THIS LINE” banner core logic runs.
|
||||
- Spawn rates scale with warehouse survival; periodic tasking (`ASSIGN_TASKS_SCHED`) retasks idle groups; optional infantry movement via `MOVING_INFANTRY_PATROLS`.
|
||||
- CTLD: `CTLD.lua`
|
||||
- Large, configurable logistics/troop script; user config at top: smoke, hover pickup, crate rules, pickup/drop/wp zones, vehicle weights, JTAC settings, and transport pilot names.
|
||||
- Important distances: `ctld.maximumDistanceLogistic`, `ctld.minimumDeployDistance`, etc. Keep names matching ME zones strictly.
|
||||
- CSAR: `CSAR.lua`
|
||||
- Note: the current file contains an HTML GitHub page artifact. When updating, replace with the raw Lua from ciribob/DCS-CSAR (use the Raw file, not the HTML page).
|
||||
|
||||
## Developer workflows (what to run and how)
|
||||
|
||||
- Script load in missions (Mission Editor → Triggers):
|
||||
1) DO SCRIPT FILE `Moose_.lua`
|
||||
2) DO SCRIPT FILE your module(s) (e.g., DualCoalitionZoneCapture or DynamicGroundBattle)
|
||||
3) DO SCRIPT FILE mission glue (CTLD/CSAR/others), respecting their config requirements
|
||||
- Fast mission patching without opening the editor: `Patch-MooseMissions/`
|
||||
- Use `Patch-MooseMissions.ps1` to inject or replace a Lua inside a `.miz` and auto-bump version numbers.
|
||||
- See `Patch-MooseMissions/README.md` for examples (pipeline-friendly; default script location inside miz: `l10n/DEFAULT/*.lua`).
|
||||
- Versioning conventions for missions: filenames embed the version (`F99th-Operation Ronin 1.4.miz` → next `1.5`); the patcher respects X, X.Y, X.Y.Z.
|
||||
- Debugging:
|
||||
- Prefer `env.info("[Tag] message")`; check `Saved Games\DCS\Logs\DCS.log`. Modules log with distinct prefixes (e.g., `[CAPTURE Module]`).
|
||||
- Common issues: wrong zone/group/static names; framework not loaded first; CTLD/CSAR configs mismatched with ME. Fix by aligning names and load order.
|
||||
|
||||
## Conventions and gotchas (repo-specific)
|
||||
|
||||
- Name matching is strict across modules. Examples to copy:
|
||||
- Zones: `"Capture Zone-1"`, `"FrontLine7"`, etc.
|
||||
- HQ groups: `BLUEHQ`, `REDHQ` for MOOSE `COMMANDCENTER`/`MISSION` creation.
|
||||
- Warehouses: use Static object Unit Name: `RedWarehouse1-1`, `BlueWarehouse3-1`.
|
||||
- Module layout: top “user config” section, followed by `-- DO NOT EDIT BELOW THIS LINE` guard. Keep PRs to config when possible; avoid editing engine logic unless necessary.
|
||||
- Framework pinning: multiple `mist_*` versions live alongside `mist.lua`. Mission scripts may expect a specific version; don’t silently swap them—load the version matching the mission.
|
||||
- CTLD settings commonly used here: `ctld.enableCrates`, `ctld.slingLoad`, `ctld.pickupZones`, `ctld.dropOffZones`, `ctld.wpZones`, `ctld.transportPilotNames`. Follow the existing style when extending.
|
||||
- CSAR file hygiene: replace HTML artifacts with raw Lua. Verify by ensuring the file starts with Lua, not `<!DOCTYPE html>`.
|
||||
|
||||
## Integration points
|
||||
|
||||
- MOOSE: all advanced orchestration depends on `Moose_.lua`/`Moose.lua` APIs (`ZONE`, `GROUP`, `STATIC`, `ZONE_CAPTURE_COALITION`, `COMMANDCENTER`, `MISSION`, `SCORING`). Load it first.
|
||||
- CTLD/CSAR interop: DynamicGroundBattle notes CTLD troops integrate automatically; ensure CTLD is active if you expect troop drops to influence zones.
|
||||
- VoiceAttack: profiles under `Moose_CTLD_Pure/Voice Attack/` are player tooling, not runtime dependencies. Don’t reference them from mission scripts.
|
||||
|
||||
## Making changes safely
|
||||
|
||||
- When adding new zones/templates/warehouses, update the corresponding arrays in the module’s user config and mirror the names in the Mission Editor.
|
||||
- When changing visuals or scan cadence, update `ZONE_COLORS` and `ZONE_SETTINGS` in Zone Capture, or scheduler values in Dynamic Ground Battle.
|
||||
- For patching `.miz` with new `Moose_.lua`/scripts, prefer the PowerShell patcher; it preserves originals and bumps the version.
|
||||
|
||||
## Pointers to examples in this repo
|
||||
|
||||
- Dual coalition capture: `Moose_DualCoalitionZoneCapture/README.md` and example `.miz` in same folder.
|
||||
- Dynamic ground battle: `Moose_DynamicGroundBattle/README.md`.
|
||||
- Mission patching: `Patch-MooseMissions/README.md`.
|
||||
|
||||
If anything above is ambiguous (e.g., CSAR expected version, CTLD defaults for a specific mission family), ask for the target mission and we’ll codify the exact load order and script set.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
|
||||
Binary file not shown.
@ -1 +0,0 @@
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
version=1
|
||||
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
|
||||
@ -1,5 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
sourceHoverBackgroundColor=255,255,225
|
||||
sourceHoverBackgroundColor.SystemDefault=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.dltk.core.codeComplete.visibilityCheck=enabled
|
||||
@ -1,5 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
sourceHoverBackgroundColor=255,255,225
|
||||
sourceHoverBackgroundColor.SystemDefault=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.team.ui.first_time=false
|
||||
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
overviewRuler_migration=migrated_3.1
|
||||
@ -1,5 +0,0 @@
|
||||
PROBLEMS_FILTERS_MIGRATE=true
|
||||
eclipse.preferences.version=1
|
||||
platformState=1645898269583
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
||||
@ -1,2 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
showIntro=false
|
||||
@ -1,2 +0,0 @@
|
||||
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
|
||||
eclipse.preferences.version=1
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="ASCII"?>
|
||||
<cache:CacheIndex xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:cache="http://eclipse.org/dltk/cache_model" lastIndex="8" environment="org.eclipse.dltk.core.environment.localEnvironment">
|
||||
<entries path="C:/DCS_MissionDev/DCS_Caucasus/src/SSB_UnlockPlanesAtBlueBases.lua" timestamp="1648616270843" lastAccessTime="1759264286559"/>
|
||||
<entries path="C:/DCS_MissionDev/DCS_Caucasus/src" timestamp="1648616270843" lastAccessTime="1759264286560">
|
||||
<attributes name=".dltk.core.archive.cache.lastaccess" location="2838196607/3672975892/1.idx"/>
|
||||
</entries>
|
||||
<entries path="C:/DCS_MissionDev/DCS_Normandy/dogfight/moose_dogfight.lua" timestamp="1695308345613" lastAccessTime="1759264286561"/>
|
||||
<entries path="C:/DCS_MissionDev/DCS_Normandy/dogfight" timestamp="1695306817872" lastAccessTime="1759264286561">
|
||||
<attributes name=".dltk.core.archive.cache.lastaccess" location="2838196607/336605292/3.idx"/>
|
||||
</entries>
|
||||
<entries path="C:/DCS_MissionDev/DCS_Afgainistan/src/main.lua" timestamp="1728252263857" lastAccessTime="1759264286564"/>
|
||||
<entries path="C:/DCS_MissionDev/DCS_Afgainistan/src" timestamp="1728252263857" lastAccessTime="1759264286564">
|
||||
<attributes name=".dltk.core.archive.cache.lastaccess" location="2838196607/2210315311/5.idx"/>
|
||||
</entries>
|
||||
<entries path="C:/DCS_MissionDev/Moose_Framework/src/main.lua" timestamp="1695307917816" lastAccessTime="1759264286989"/>
|
||||
<entries path="C:/DCS_MissionDev/Moose_Framework/src" timestamp="1695307917816" lastAccessTime="1759264286990">
|
||||
<attributes name=".dltk.core.archive.cache.lastaccess" location="2838196607/2846345860/7.idx"/>
|
||||
</entries>
|
||||
</cache:CacheIndex>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
C:\DCS_MissionDev\.metadata\.plugins\org.eclipse.dltk.core\2538043997.index
|
||||
C:\DCS_MissionDev\.metadata\.plugins\org.eclipse.dltk.core\1505386533.index
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.dltk.internal.ui.scriptview.ScriptExplorerPart">
|
||||
<item value="1" key="layout"/>
|
||||
<item value="true" key="group_libraries"/>
|
||||
<item value="<?xml version="1.0" encoding="UTF-8"?>
<scriptExplorer group_libraries="1" isWindowWorkingSet="false" layout="1" linkWithEditor="0" rootMode="1" workingSetName="">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.NonScriptProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.dltk.internal.ui.PackageExplorer.DotFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.dltk.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.NonScriptElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.internal.ui.PackageExplorer.ContainMembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.SyntheticMembersFilter" isEnabled="true"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.FieldsFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.SMFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.dltk.ui.ScriptExplorer.ContainedLibraryFilter" isEnabled="false"/>
</xmlDefinedFilters>
</customFilters>
</scriptExplorer>" key="memento"/>
|
||||
<item value="1" key="rootMode"/>
|
||||
<item value="false" key="linkWithEditor"/>
|
||||
</section>
|
||||
<section name="completion_proposal_size">
|
||||
</section>
|
||||
</section>
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<list key="org.eclipse.ui.internal.wizards.datatransfer.SmartImportRootWizardPage.knownSources">
|
||||
<item value="C:\DCS_MissionDev"/>
|
||||
</list>
|
||||
<list key="installedFeatures">
|
||||
<item value="org.eclipse.dltk.core:5.9.0.201803230529"/>
|
||||
<item value="org.eclipse.emf.common:2.14.0.v20180308-1144"/>
|
||||
<item value="org.eclipse.emf.ecore:2.14.0.v20180213-0937"/>
|
||||
<item value="org.eclipse.help:2.2.200.v20180308-0630"/>
|
||||
<item value="org.eclipse.ldt.core:1.4.2.201804031433"/>
|
||||
<item value="org.eclipse.ldt.lua52:1.4.2.201804031433"/>
|
||||
<item value="org.eclipse.ldt.product:1.4.2.201804031433"/>
|
||||
<item value="org.eclipse.ldt:1.4.2.201804031433"/>
|
||||
<item value="org.eclipse.platform:4.8.0.v20180308-0630"/>
|
||||
<item value="org.eclipse.rcp:4.8.0.v20180308-0630"/>
|
||||
</list>
|
||||
</section>
|
||||
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="WorkbenchPreferenceDialogSettings">
|
||||
<item value="657" key="DIALOG_X_ORIGIN"/>
|
||||
<item value="0" key="DIALOG_Y_ORIGIN"/>
|
||||
</section>
|
||||
<section name="org.eclipse.ui.internal.QuickAccess">
|
||||
<item value="-1" key="dialogHeight"/>
|
||||
<item value="-1" key="dialogWidth"/>
|
||||
<list key="textEntries">
|
||||
</list>
|
||||
<list key="orderedElements">
|
||||
</list>
|
||||
<list key="orderedProviders">
|
||||
</list>
|
||||
<list key="textArray">
|
||||
</list>
|
||||
</section>
|
||||
</section>
|
||||
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<workingSetManager>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1731777082128_0" label="Window Working Set" name="Aggregate for window 1731777082127"/>
|
||||
</workingSetManager>
|
||||
@ -1,3 +0,0 @@
|
||||
#Tue Sep 30 15:30:00 CDT 2025
|
||||
org.eclipse.core.runtime=2
|
||||
org.eclipse.platform=4.8.0.v20180308-0630
|
||||
Loading…
x
Reference in New Issue
Block a user