Skip to content

Commit

Permalink
Add dev world & docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BaerMitUmlaut committed Dec 17, 2023
1 parent 0d82da0 commit 9b867e6
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev/addon.gproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
GameProject {
ID "ACE_Anvil_Development_Environment"
GUID "5F22EB128624C3FC"
TITLE "ACE Anvil Development Environment"
Dependencies {
"5EF75423BE839ACE" "58D0FB3206B6F859"
}
}
3 changes: 3 additions & 0 deletions dev/worlds/FlatEmpty/FlatEmpty.ent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SubScene {
Parent "worlds/MP/MpTest/MpTest_Basic.ent"
}
15 changes: 15 additions & 0 deletions dev/worlds/FlatEmpty/FlatEmpty.ent.meta
Original file line number Diff line number Diff line change
@@ -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 {
}
}
}
12 changes: 12 additions & 0 deletions dev/worlds/FlatEmpty/FlatEmpty_Layers/default.layer
Original file line number Diff line number Diff line change
@@ -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
}
Empty file removed docs/.gitkeep
Empty file.
23 changes: 23 additions & 0 deletions docs/Development.md
Original file line number Diff line number Diff line change
@@ -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;
```

0 comments on commit 9b867e6

Please sign in to comment.