From 2071100309cb23b89d411f149f952932d3a3b33e Mon Sep 17 00:00:00 2001 From: brittonhayes Date: Wed, 22 Mar 2023 17:21:12 -0700 Subject: [PATCH] feat: add examples of cold-war and modern mod presets --- README.md | 70 ++++++++++++++++++- charts/arma-reforger/templates/configmap.yaml | 4 ++ charts/arma-reforger/values.yaml | 3 + 3 files changed, 76 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 056d5e9..00b4585 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ resources: memory: 4G ``` -Add mods to your server +Add a couple mods to your server. All mods will be automatically downloaded and installed, no additional configuration required. ```yaml # Adding mods @@ -81,6 +81,74 @@ config: version: "0.7.11" ``` +Adding a modern military modset to your server + +```yaml +config: + mods: + - modId: "59A30ACC02650E71" + name: "Night Vision System" + version: "1.1.5" + - modId: "5A64DE35CCD36695" + name: "3rd Ranger Battalion Modpack" + version: "0.7.11" + - modId: "59664C0CB36501CD" + name: "BloodLust2" + version: "0.3.0" + - modId: "5AAF6D5352E5FCAB" + name: "Project Redline - Core" + version: "1.0.8" + - modId: "597D72161FD1ED1D" + name: "AttachmentsCompatibility" + version: "0.0.4" + - modId: "59BA0CE1B043CA92" + name: "Project Redline - MD500" + version: "1.0.2" + - modId: "5994AD5A9F33BE57" + name: "Game Master FX" + version: "1.0.50" + - modId: "5B02128D896F7DE8" + name: "STRYKER" + version: "1.1.11" + - modId: "5AB301290317994A" + name: "Suppressor System" + version: "1.0.6" + - modId: "5ABD0CB57F7E9EB1" + name: "RIS Laser Attachments" + version: "1.0.29" + - modId: "5B3ED33ADA805340" + name: "3RBN Weapons" + version: "0.7.0" +``` + +Adding a cold war modset to your server + +```yaml +config: + mods: + - modId: "5994AD5A9F33BE57" + name: "Game Master FX" + version: "1.0.50" + - modId: "59674C21AA886D57" + name: "BetterMuzzleFlashes" + version: "1.3.2" + - modId: "59F44B92BEFF0CED" + name: "BetterVehicles" + version: "1.1.0" + - modId: "59673B6FBB95459F" + name: "BetterTracers" + version: "1.1.7" + - modId: "59651354B2904BA6" + name: "BetterHitsEffects" + version: "2.7.13" + - modId: "597D2A65AB73E657" + name: "BetterExplosives" + version: "1.1.5" + - modId: "59664C0CB36501CD" + name: "BloodLust2" + version: "0.3.0" +``` + # Acknowledgements - Helm chart design heavily based on the work by [fbuchmeier](https://github.com/fbuchmeier) diff --git a/charts/arma-reforger/templates/configmap.yaml b/charts/arma-reforger/templates/configmap.yaml index 968a301..25473ae 100644 --- a/charts/arma-reforger/templates/configmap.yaml +++ b/charts/arma-reforger/templates/configmap.yaml @@ -58,6 +58,10 @@ data: servercfgfullpath={{ .Values.config.serverConfigPath | quote }} {{- end }} + {{- if .Values.config.startParameters }} + startparameters="-config ${servercfgfullpath} -profile ${serverprofilefullpath} -maxFPS ${maxfps} {{ .Values.config.startParameters }}" + {{- end }} + {{- if .Values.config.commonConfigPath }} commoncfgfullpath={{ .Values.config.commonConfigPath | quote }} {{- end }} diff --git a/charts/arma-reforger/values.yaml b/charts/arma-reforger/values.yaml index 6783d48..9c7c633 100644 --- a/charts/arma-reforger/values.yaml +++ b/charts/arma-reforger/values.yaml @@ -86,6 +86,9 @@ config: # -- Set the visibility of the server in the Server Browser. visible: true + # -- Apply additional startup parameters to the server. + startParameters: "" + # -- number value, range 0 / 50..150, default: 0 # -- Minimum grass distance in meters. If set to 0 no distance is forced upon clients. serverMinGrassDistance: 0