Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
QEUH
QEUH
specialist
Posts : 239
Reputation : 42
Join date : 2018-03-26
Location : Glasgow

Trouble creating a mod Empty 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.

Trouble creating a mod Modsc10

Trouble creating a mod Showsu10

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?
QEUH
QEUH
specialist
Posts : 239
Reputation : 42
Join date : 2018-03-26
Location : Glasgow

Trouble creating a mod Empty Re: Trouble creating a mod

Fri May 31, 2019 4:11 pm
I used the wrong variable, string rather than integer.


Last edited by QEUH on Fri May 31, 2019 5:10 pm; edited 1 time in total
Back to top
Permissions in this forum:
You cannot reply to topics in this forum