OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: CrazedHarpooner on March 28, 2025, 10:38:20 pm
-
Basically allow the STR_OPENXCOM language string to include {0} that points to the version number found in the mod's metadata file. This way we can mitigate cases where an incorrect mod version is displayed due to a translation or any other possible error like https://openxcom.org/forum/index.php?topic=5047.msg170816#msg170816
STR_OPENXCOM: "My Mod Name: {0}"
-
No idea how viable this is, but seconded so much.
-
`versionDisplay:` or `version:`?
[ps]
I pushed some "trash" changes to `test` branch, soon should be available at http://108.61.157.159/versions/win/ where this `{0}` should be supported.
As bonus test branch had some refactors with AI, I would be thankful if someone check if I did not break it.
-
A quick look at some of the big mods around (40K, XCF, Chronicles, etc...) they all use 'version' and haven't seen 'versionDisplay'. If there has to be a choice I would propose 'version'. Alternatively, if someone would rather use 'versionDisplay' perhaps use {0} for one, {1} for the other and let the modders pick the one they want to show.
-
Done.
https://github.com/MeridianOXC/OpenXcom/commit/b697bc492a1c6f4a737d46d29289b62a98f2eca8