Project Hospital

Project Hospital

327 ratings
How to modify your game to your needs [UPDATED]
By Zirkumflex
Do you want to have more Patients? Do you need more Employees? Look no further! In this Guide i provide a solution.
4
4
7
2
   
Award
Favorite
Favorited
Unfavorite
Introduction
Welcome to my little Guide,


i was annoyed by the strong limitation of patients and employees you can have.
Since i couldnt find an option to change the values in the game, i explored the game folder and tempered with some values. The resultat was the possibility of increasing such values with little effort.
In this guide i just share my knowledge with you.

If you like my guide:




Increased number of patients and employees:


Increased number of floors:
How to modify your game?
In this section i will show you how to modify your game.
I didnt use any 3rd party programm besides a normal text editor (in my case Notepad++ ; but you can chose whichever you want).

First locate your game files on your pc (Library > Right click on Game > Properties > Local Files > Browse Local Files)

There you should see:
"ProjectHospital_Data" Folder
besides "ProjectHospital.exe" and other files

Navigate to:
xxx\steamapps\common\Project Hospital\ProjectHospital_Data\StreamingAssets\Database

there you find ALL the XML files in which values are safed. Just open them and change the value you need.

For example:
The employee limit is determined in "Tweakables.xml"

Look for :
<GameDBTweakableInt ID="TWEAKABLE_EMPLOYEE_LIMIT"> <Value>200</Value> </GameDBTweakableInt>

and Change the value to whatever you want, like:

<GameDBTweakableInt ID="TWEAKABLE_EMPLOYEE_LIMIT"> <Value>400</Value> </GameDBTweakableInt>

Save the file and start the game. Done.

Works on savegames as on new games. (Probably not every will, but this one does).

A way to temper with the patients income is to go to into the "InsuranceCompanies.xml" file and look for the
<PatientsPerDay>10</PatientsPerDay>
entries. They´re listed under each individual Insurance Company. Just change it to whatever value you like.

For example:
<PatientsPerDay>30</PatientsPerDay>

Now the selected Insurace will provide X (30 in this case patients a day instead of the regular 10).
Save the file and start playing. (Works also on savegames, just stop the insurance and reactivate it to take effekt)

Troubleshooting:
If one of the here provided methods is not working (either editing or overwrite with the save files I uploaded; mostly the insurance one) try to reinstall the game, and before the first start edit/switch the files, then start the game.

Just in case you can go to:
C:\Users\YOURPCNAME\AppData\LocalLow\Oxymoron Games\Project Hospital\maps
and copy the savegames (zip files) to another place before you reinstall.

If you can't find "Appdata" folder just press Win key + R on your keyboard, type
%appdata%
and press enter. The folder Appdata/roaming should be opened. Just navigate backwards one folder to the appdata folder.
Additional Values you maybe want to modify
Some of you might want to change other aspects of the game besides the value for staff limit or patient income. In this section I want to mention a few other reliable options. I mention a few other, for people to unexperienced to figure it out themselves (or are just to lazy; i feel you guys)

EXPERIMENTAL: I didn't test all of them for working 100%. Make a savebackup or original XML file backup to prevent things blowing up your game. (Should not happen, but shananigans)

For the "Tweakables.xml" file:

Max Floor Limit:
If you want to build your hospital higher, here you go. Just change the original value of 4 to whatever you want.
(Warning: Dont overdo it, a value too high leads to problems with the game.
8 floors is the last stable number i tested)


Collapse Rate:
This values should modify the collapse rate of patients, they are already edited in the screenshot to decrease the amount of patients collapsing. (on default its 3/6)
Just increase the numbers or decrease the numbers as you wish (dont do something fancy and make -values by setting the max value lower than the min value, or expect something weird to happen)

Skill improvement:
When you feel that your staff should improve their skills faster and level up faster (or slower) you can edit this values.
Making this values higher will make them learn faster, decreasing it will make them slow.

Prestige:
Yeah, i know you waited for this. Some objectives in the game demand you to have a high prestige count, but by nightfall your prestige will drop and you feel sad, angry and annoyed for not reaching the 90% prestige for like an ingame year. Here i will provide a solution to the ratio the game handles prestige.
This values are already edited. Decrease the "TWEAKABLE_BAD_PRESTIGE" for less negative buildup and Increase "TWEAKABLE_GOOD_PRESTIGE" for more positive prestige buildup.
(Should work in theory tho)

Building Refund:
This values shows the % of money you get back, when selling something. On 100 you should get all the money back. (Putting the value over 100 isnt recommended, but it should overpay you by selling, for those who are sure that the value of the plant increases by staying in your lobby)

For the "Shedules.xml" file:
Defines what time the hospital opens/closes (for patients) and when the staff starts working.

The first 2 values show the morning shift. Start at 7 and go at 20. Change that, when you feel the need to let them work longer.
The second entry is for the night shift.
(oh by the way, when you change them from 12-24 and 24-12 you dont get this high of a prestige drop every evening. Just saying)
And the most important one (in my opinion) is the : "SCHEDULE_OPENING_HOURS_PATIENTS"
value, it describes when the patients come to the hospital, and when they go.
The file offers more values you can play arround with, but i personally dont care when the hospitalized people got breakfast. I dont even care if they get breakfast at all. That said, lets move on.

For the "StatisfactionModfiers.xml" file:

Well, when you feel the need to make your employee happy all the time go into this file and reduce the - values. Or delete the "-" for them to be happy to be bored. Like testing their own hard medication... or something.

Improve the other values, to even extend their positive mood:

There are plenty of other values that can be changed.
Do as you please with their happiness, I wont judge.


Okay, thats all for now it seem interesting for some of you. If you have any other things you want to get changed, or questions, just tell me in the comment section.
UPDATE 29.12.2021
Its been a while. But you guys keep having interest, so I decided to look into it again. I will go into the most relevant files and add things you can change.

Departments.xml
Here you change the dependency of rooms for a department. Thats all you find here.





For example:
<GameDBDepartmentRoomRequirement> <RoomDatabaseEntryRef>ROOM_TYPE_WAITING</RoomDatabaseEntryRef> <MinCount>1</MinCount> <MaxCount>8</MaxCount> </GameDBDepartmentRoomRequirement>

Theoretical speaking: you could delete this code alltogether to make it not nescessary to have a waiting room for that department. I recommend against this tho. But the way its structured, it should be possible (maybe you get unwanted side effects)

A safer way is to:

<GameDBDepartmentRoomRequirement> <RoomDatabaseEntryRef>ROOM_TYPE_WAITING</RoomDatabaseEntryRef> <MinCount>0</MinCount> #Change it to zero, as none are needed <MaxCount>8</MaxCount> </GameDBDepartmentRoomRequirement>

This concludes departments.

Events.xml

Here you will find every event, the requirements for it to happen and the patient count.

Example:


So what you can do here? Well. Basically you can write your OWN event. (this is going to be a long one anyways, so cropped some code)

Since the event handle is the
<GameDBEventVariation ID="EVENT_BUS_CRASH">

I would recommend against scripting an own name for that, instead I would change an existing event. Lets say this bus crash is less.. dramatic.

So we say we only need an emergency for it. Aswell as the time is reduced to 8hours. And the patients.. 7? We can handle more.

<GameDBEventVariation ID="EVENT_BUS_CRASH"> <DescriptionLocID>EVENT_BUS_CRASH</DescriptionLocID> <EventRef>EVENT_CRASH</EventRef> <PatientCount>20</PatientCount> #Now thats a crash
<DurationHours>8</DurationHours> #Obviously time change

<RequiredDepartmentTypeList>
<RequiredDepartmentTypeRef>DPT_EMERGENCY</RequiredDepartmentTypeRef>
</RequiredDepartmentTypeList>[/code]



Basically all you can do here. But, one nothworthy thing. The conditions the patients can have. The code below includes the conditions which can happen in this event.

<MedicalConditions> <MedicalConditionRef>TRM_ACT</MedicalConditionRef>



You can add, delete them as you wish. Be sure to use the given refs and dont create one yourself, this will not work. ( I have no idea what half of them is, but I am a dev not a doctor. So thats for you to explore)

This concludes events.


The rest of the files are either mentioned before, or are not irrelevant/TOO detailed to update on.

The structure remains the same tho. If you get the logic how this operates, you can change even objects and stuff (why anyone would do this, no idea, but you can).
Disclaimer
Disclaimer:

This is just to show you a possibility to change the game to your desire.
I am not responsible for any damage you do to your game, savegame or pc in general when using the methods here showed.

Hopefully some of you find this helpful. If you have any question or suggestions feel free to let me know, in the comment section below (pun intended).

In behalf of a request I received:
After a game update it is possible that the changes you've made get overwritten with the default files, so make a backup of them so you can just overwrite them again. (It is possible that the devs change some file structure, therefore there is no guarantee in working as intended)

If you like my guide, i would appreciate it if you rate it.













(late) Christmas Bonus!
As a late christmas present, and a big thanks for the positive feedback, I made something especially juicy for you (not everyone will like or use it, but anyway).

I present you:
How to unlock all achivements!
without doing anything to earn them....

Navigate to the achievement XML file, open it.



This one is the first achievement. Build anything. We can do that. But how about, we get all of them buy placing just one single object? Okay. Lets do it.

Achievement 2 looks like this by default (bad example, but you get the idea):



and now it looks like this:



Change "StatisticRef" value and "StatisticValue" value to the example (same values as achievement 1) or add them, if they missing.

Done. Repeat this for all achievements, leave the ID and the DBname the same, change/add the rest. Some of them missing code lines, just add it. Save it and start the game.
You will now either get achievements by just starting game, by loading into campaign, or at placing an object (it differs... had all scenarios, but it worked, so I dont care too much).

(if you miss anything up, just delete the file alltogether and check for integrity files (right click in library, manage > check integrity), it will download that again. ALSO MAKE BACKUP. Duh.)

How this works is: The game will check if the condition "build anything" is met, if so it will flag the achievement as done. There is no routine checking for it to actually finished other than the flag.

I hope you like it!



If so:
135 Comments
BlackMautz 12 Dec, 2024 @ 4:29am 
I have tried to raise the floors but somehow it doesn't work ?
Anta 5 Sep, 2023 @ 9:00am 
Is there a way to choose what examinations GPs choose first? I.e. lab tests on infectious diseases patients, sending heart patients to CAG room etc? People keep wanting to leave bc they spend too much time there and when I look at their tests, people with suspected heart issues are getting microbial samples taken
Squishyjellyfish 1 Aug, 2022 @ 11:43am 
anyway to edit how long paitents can wait for?
Zirkumflex  [author] 17 Jul, 2022 @ 12:17pm 
Most of them should work in a savegame aswell. But I cant exclude the possibility for something to bug out on a savegame. I recommend making a backup of the savefile before trying. But I think you should be good with 90% of them. If it is not changed, the chances are good that in the savefile itself there is some variabless overwriting the xml from the game folder.
steros99 17 Jul, 2022 @ 11:30am 
Are the modifications in Tweakables applied to previously saved games, or should any further steps be taken? Or (but I hope this won't be the answer) those changes only apply to new games? Specifically, I'm thinking about the max floor number: not being able to modify it now that everything is set up and I just need to rise the building up would be awful
Sarsgamer 4 Jun, 2022 @ 6:23pm 
You can change your training times and percent increases. Its under StreamingAssets>Addons> DLCHositalServices>Database>DLCTweakables.

Can change how many hours per training, how much % it increases per hour and probability of removing negative traits (not all are removable unless you tweak those files too, which i'm not sure which files that is).

From the same file can give your gift shops and or autopsies a revenue increase. Gift shops felt like a waste of space and staff without boosting the revenue a bit.

It's a small file so should be able to find what you're looking for.
Margaret II 20 May, 2022 @ 5:11am 
This is super helpful, thanks so much!!!
Zirkumflex  [author] 8 May, 2022 @ 2:11am 
I dont know sadly. You have to look thru the files for the entry which determines the skill level training. If there is an entry, chances are good you can modify it.
Tiger 6 May, 2022 @ 12:46pm 
Can you increase how fast skills train? 6% or so daily is awful especially when you have to train 40+ employees
Zirkumflex  [author] 15 Apr, 2022 @ 2:30am 
Oh, also you can open "run" (win key +r) and type %appdata% to faster get to the location, Its normally a hidden folder tho.