• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

[GS] ModBuddy Put Custom Properties in the modinfo automatically

Zur13

Chieftain
Joined
Nov 7, 2018
Messages
26
For some reason properties added through Custom Properties tab added incorrectly to the modinfo file I've found workaround that allows you to put custom properties. For the GS update I want to have this property in my modinfo files to mark mod compatible with the GS update:

Code:
<CompatibleVersions>2.0</CompatibleVersions>

If I try to use custom properties tab of mod properties I've got the incorrect tag CustomProperties in the output modinfo file instead of CompatibleVersions.

So to get that tag I've edit the .civ6proj file it is located in the ModBuddy Solution folder of my mod.

Code:
    <ModProperties>
  <CompatibleVersions>2.0</CompatibleVersions>
    </ModProperties>

It should be located in the first PropertyGroup section:

Code:
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Default</Configuration>
    <Name></Name>
    <Guid></Guid>
    <ProjectGuid></ProjectGuid>
    <ModVersion>1</ModVersion>
    <Teaser></Description>
    <Authors>Zur13</Authors>
    <SpecialThanks></SpecialThanks>
    <AffectsSavedGames>false</AffectsSavedGames>
    <SupportsSinglePlayer>true</SupportsSinglePlayer>
    <SupportsMultiplayer>true</SupportsMultiplayer>
    <SupportsHotSeat>true</SupportsHotSeat>
    <AssemblyName></AssemblyName>
    <RootNamespace></RootNamespace>
    <InGameActionData></InGameActionData>
    <ModProperties>
  <CompatibleVersions>2.0</CompatibleVersions>
    </ModProperties>
  </PropertyGroup>
 
Back
Top Bottom