From 9b867e6006fcdcf5b135715a212d6a9382afca95 Mon Sep 17 00:00:00 2001 From: BaerMitUmlaut Date: Sun, 17 Dec 2023 22:10:13 +0100 Subject: [PATCH] Add dev world & docs --- dev/addon.gproj | 8 +++++++ dev/worlds/FlatEmpty/FlatEmpty.ent | 3 +++ dev/worlds/FlatEmpty/FlatEmpty.ent.meta | 15 ++++++++++++ .../FlatEmpty/FlatEmpty_Layers/default.layer | 12 ++++++++++ docs/.gitkeep | 0 docs/Development.md | 23 +++++++++++++++++++ 6 files changed, 61 insertions(+) create mode 100644 dev/addon.gproj create mode 100644 dev/worlds/FlatEmpty/FlatEmpty.ent create mode 100644 dev/worlds/FlatEmpty/FlatEmpty.ent.meta create mode 100644 dev/worlds/FlatEmpty/FlatEmpty_Layers/default.layer delete mode 100644 docs/.gitkeep create mode 100644 docs/Development.md diff --git a/dev/addon.gproj b/dev/addon.gproj new file mode 100644 index 00000000..e0ea0fda --- /dev/null +++ b/dev/addon.gproj @@ -0,0 +1,8 @@ +GameProject { + ID "ACE_Anvil_Development_Environment" + GUID "5F22EB128624C3FC" + TITLE "ACE Anvil Development Environment" + Dependencies { + "5EF75423BE839ACE" "58D0FB3206B6F859" + } +} diff --git a/dev/worlds/FlatEmpty/FlatEmpty.ent b/dev/worlds/FlatEmpty/FlatEmpty.ent new file mode 100644 index 00000000..8c5dcbb1 --- /dev/null +++ b/dev/worlds/FlatEmpty/FlatEmpty.ent @@ -0,0 +1,3 @@ +SubScene { + Parent "worlds/MP/MpTest/MpTest_Basic.ent" +} \ No newline at end of file diff --git a/dev/worlds/FlatEmpty/FlatEmpty.ent.meta b/dev/worlds/FlatEmpty/FlatEmpty.ent.meta new file mode 100644 index 00000000..587e46bb --- /dev/null +++ b/dev/worlds/FlatEmpty/FlatEmpty.ent.meta @@ -0,0 +1,15 @@ +MetaFileClass { + Name "{49812F7617DF6B0B}worlds/Test/FlatEmpty.ent" + Configurations { + ENTResourceClass PC { + } + ENTResourceClass XBOX_ONE : PC { + } + ENTResourceClass XBOX_SERIES : PC { + } + ENTResourceClass PS4 : PC { + } + ENTResourceClass HEADLESS : PC { + } + } +} \ No newline at end of file diff --git a/dev/worlds/FlatEmpty/FlatEmpty_Layers/default.layer b/dev/worlds/FlatEmpty/FlatEmpty_Layers/default.layer new file mode 100644 index 00000000..cebfdcec --- /dev/null +++ b/dev/worlds/FlatEmpty/FlatEmpty_Layers/default.layer @@ -0,0 +1,12 @@ +SCR_FactionManager FactionManager_FFA : "{A1C54BBE72C5C696}Prefabs/MP/Managers/Factions/FactionManager_FFA.et" { + coords 64.176 1 182.233 +} +SCR_BaseGameMode GameMode_Deathmatch_Automatic : "{B00D51315A1C7150}Prefabs/MP/Modes/Deathmatch/GameMode_Deathmatch_Automatic.et" { + coords 54.743 1 180.637 +} +SCR_SpawnPoint : "{5392C4D80E4B18F8}Prefabs/MP/Spawning/SpawnPoint_FFA.et" { + coords 63.352 1 169.699 +} +SCR_LoadoutManager : "{B7E5D7F4864D81C0}Prefabs/MP/Managers/Loadouts/LoadoutManager_FFA.et" { + coords 64.463 1 171.906 +} diff --git a/docs/.gitkeep b/docs/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/Development.md b/docs/Development.md new file mode 100644 index 00000000..55c58e59 --- /dev/null +++ b/docs/Development.md @@ -0,0 +1,23 @@ +# Development + +Here are some general guidelines about developing with ACE Anvil. + + +## Development Environment + +The `dev` folder contains an additional project with a prebuilt & playable world, which can be used for testing. At the point of writing, it contains no AI and player loadouts are randomized. This world should be expanded in the future. + + +## Code Formatting + +We will follow [Bohemia Interactive's guidelines](https://community.bistudio.com/wiki/Arma_Reforger:Scripting:_Conventions) for now. + + +## Debug Mode + +All ACE components should have the following attribute to enable a debugging mode, if there is one: + +```cs +[Attribute(defvalue: "0", desc: "Enable debug mode")] +bool m_bDebugModeEnabled; +```