- QEUHspecialist
- Posts : 239
Reputation : 42
Join date : 2018-03-26
Location : Glasgow
Trouble creating a mod
Fri May 31, 2019 2:43 pm
Hi, I am hoping someone can help.
I have created a simple mod, it bumps up the staff limit to 1250 for anyone wishing to try that insane number out. The problem is, the mod shows up in the main menu but nothing is changed in game.
Here's are the contents of each file:
ModAddon.xml
<Database>
<GameDBAddon ID="MORE_STAFF"> <Author>Paximperia</Author> </GameDBAddon>
</Database>
ModStringTableEn.xml
<Database>
<GameDBStringTable ID="MORE_STAFF">
<LanguageCode>en</LanguageCode>
<LanguageNameLocalized>English</LanguageNameLocalized>
<Contributors>
<Name>Paximperia</Name>
</Contributors>
<LocalizedStrings>
<GameDBLocalizedString> <LocID>MORE_STAFF</LocID> <Text>More Staff</Text> </GameDBLocalizedString>
</LocalizedStrings>
</GameDBStringTable>
</Database>
ModTweakables.xml
<Database>
<!-- Override the default tweakable value -->
<GameDBTweakableString ID="TWEAKABLE_EMPLOYEE_LIMIT"> <Value>1250</Value> </GameDBTweakableString>
</Database>
Am I missing something?
I have created a simple mod, it bumps up the staff limit to 1250 for anyone wishing to try that insane number out. The problem is, the mod shows up in the main menu but nothing is changed in game.
Here's are the contents of each file:
ModAddon.xml
<Database>
<GameDBAddon ID="MORE_STAFF"> <Author>Paximperia</Author> </GameDBAddon>
</Database>
ModStringTableEn.xml
<Database>
<GameDBStringTable ID="MORE_STAFF">
<LanguageCode>en</LanguageCode>
<LanguageNameLocalized>English</LanguageNameLocalized>
<Contributors>
<Name>Paximperia</Name>
</Contributors>
<LocalizedStrings>
<GameDBLocalizedString> <LocID>MORE_STAFF</LocID> <Text>More Staff</Text> </GameDBLocalizedString>
</LocalizedStrings>
</GameDBStringTable>
</Database>
ModTweakables.xml
<Database>
<!-- Override the default tweakable value -->
<GameDBTweakableString ID="TWEAKABLE_EMPLOYEE_LIMIT"> <Value>1250</Value> </GameDBTweakableString>
</Database>
Am I missing something?
- QEUHspecialist
- Posts : 239
Reputation : 42
Join date : 2018-03-26
Location : Glasgow
Re: Trouble creating a mod
Fri May 31, 2019 4:11 pm
I used the wrong variable, string rather than integer.
Permissions in this forum:
You cannot reply to topics in this forum