Page 7 of 9

Re: Modding Prison Architect

Posted: Mon Aug 11, 2014 8:40 am
by RGeezy911
Hi Lexx2k,

Lexx2k wrote:No answer in 5+ days, so I'll guess it's not possible? Sucks, because this makes the scenario feature useless as of right now. :/

Sorry for the lack of responses. I can only assume that not many players have toyed around with making a scenario, so the amount of knowledge related to the creation of scenarios is low right now. I can only suggest you report any issues you may find on the bug tracker, but it's unlikely they'll get fixed anytime soon as new features are still being added.

Cheers!

Re: Modding Prison Architect

Posted: Wed Aug 13, 2014 11:24 am
by Smodd
Afaik there are only very few possibillities atm. I toyed a lot with it in alpha 16(I think) and for locking, unlocking and highligthing there were no proper usable strings.

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 6:52 pm
by rsdworker
question how i get rid of room name that shows Room_toilet - should be shown as Toilet

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:05 pm
by NukeLord
rsdworker wrote:question how i get rid of room name that shows Room_toilet - should be shown as Toilet
Create a text file named 'base-language' in a folder called 'language' in your mod folder, and add the line "room_toilet Toilet" (without quote marks).

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:08 pm
by rsdworker
NukeLord wrote:
rsdworker wrote:question how i get rid of room name that shows Room_toilet - should be shown as Toilet
Create a text file named 'base-language' in a folder called 'language' in your mod folder, and add the line "room_toilet Toilet" (without quote marks).



Code: Select all

room_bathroom                      Bathroom


room_lavatory                  Lavatory
]

this what looks like in already placed file

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:17 pm
by NukeLord
You probably need to leave a blank line at the start of the file, I think that worked for me.

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:22 pm
by rsdworker
NukeLord wrote:You probably need to leave a blank line at the start of the file, I think that worked for me.


its worked for Bathroom room name but how to fix the room_lavatory because its not changed so i need create other file?

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:26 pm
by NukeLord
No, you should only have one base-language.txt, maybe try getting rid of the blank lines between the two, like this:

Code: Select all


room_bathroom          Bathroom
room_lavatory          Lavatory

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:28 pm
by RGeezy911
Add a new line break at the end (under lavatory).

Code: Select all


    room_bathroom          Bathroom
    room_lavatory          Lavatory


Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:30 pm
by Emmote
You need an empty line at the end of the file too. That's what got mine working.

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:33 pm
by rsdworker
RGeezy911 wrote:Add a new line break at the end (under lavatory).

Code: Select all


    room_bathroom          Bathroom
    room_lavatory          Lavatory



Thank you :D - its works now - both now showing correctly :)

so how modfiy the existing room example i want remove Toilet requirement in cells and holding rooms

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:35 pm
by RGeezy911
That should be in the materials.txt file. In the rooms section, Cells and Holding Cells have an object requirement of Toilet. Removing that line and saving the file should make the necessary change.

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:49 pm
by rsdworker
RGeezy911 wrote:That should be in the materials.txt file. In the rooms section, Cells and Holding Cells have an object requirement of Toilet. Removing that line and saving the file should make the necessary change.


so where i find Materials txt - within my mod file? or

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 7:58 pm
by RGeezy911
Sorry, I thought you were already at that step!

To find the materials.txt file, you need to open the Prison Architect data archive. If you play the game on Steam, go to:
C:\Program Files (x86)\Steam\steamapps\common\Prison Architect

Then, locate the main.dat file and open it with software like WinRAR or 7-Zip. In the archive, go into the data folder and scroll down a bit until you find the materials.txt file.

Cheers!

Re: Modding Prison Architect

Posted: Fri Aug 29, 2014 9:58 pm
by rsdworker
thanks so how i can force the cooks use sink in kicthen not in the other rooms?

i defined the production as follows

Code: Select all

BEGIN ProductionRule       
    Rule                 Storage
    Material             FoodTrayDirty 
    Room                 Kitchen
    Container            Sink 
    Distribution         Nearest 
    Condition            NotDuringMealService 
END


also how change the regime controls on such rooms? like forcing the prisoners go to eat etc?