Help with rooms

Discussion about Mods for Prison Architect

Moderator: NBJeff

kylepaul23
level0
Posts: 7
Joined: Thu Feb 14, 2013 8:29 pm
Location: England
Contact:

Help with rooms

Postby kylepaul23 » Sat Aug 30, 2014 4:54 pm

Hello, I was wondering if there is a way you can edit rooms, so I could make a craggy cell, but the prisoners would still use it as a cell, but keep the default cell in the game.

Thanks in advance
rsdworker
level3
level3
Posts: 262
Joined: Sun Sep 30, 2012 2:36 pm

Re: Help with rooms

Postby rsdworker » Sat Aug 30, 2014 6:36 pm

kylepaul23 wrote:Hello, I was wondering if there is a way you can edit rooms, so I could make a craggy cell, but the prisoners would still use it as a cell, but keep the default cell in the game.

Thanks in advance


see my mod - which overrides the default settings - i removed a need of toilets in cells its in Materials txt in data file
kylepaul23
level0
Posts: 7
Joined: Thu Feb 14, 2013 8:29 pm
Location: England
Contact:

Re: Help with rooms

Postby kylepaul23 » Sat Aug 30, 2014 8:44 pm

rsdworker wrote:
kylepaul23 wrote:Hello, I was wondering if there is a way you can edit rooms, so I could make a craggy cell, but the prisoners would still use it as a cell, but keep the default cell in the game.

Thanks in advance


see my mod - which overrides the default settings - i removed a need of toilets in cells its in Materials txt in data file


I know how to remove the need of a toilet or something from a room, I want to know if I can make another type of cell, that prisoners will use like a normal cell, but it doesn't replace the normal cell
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Help with rooms

Postby knoest26 » Sat Aug 30, 2014 8:55 pm

Probably not but me and a friend are investigating whether it would be possible
rsdworker
level3
level3
Posts: 262
Joined: Sun Sep 30, 2012 2:36 pm

Re: Help with rooms

Postby rsdworker » Sat Aug 30, 2014 10:19 pm

knoest26 wrote:Probably not but me and a friend are investigating whether it would be possible


its very easy just find on main materials txt then paste in your own Material txt

example from toilet mod - this a change for cells - removal of toilet requierment from cell

Code: Select all

BEGIN Room       
    Name                 Cell 
    Capturable           true
    BEGIN Requirement Type MinimumSize  x 2  y 3  END
    BEGIN Requirement Type Enclosed END
    BEGIN Requirement Type Indoor  END
    BEGIN Requirement Type Object  Id Bed  END
    BEGIN LikelyObject   Id      JailDoor      END
    BEGIN LikelyObject  Id      Bookshelf       END
END
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Help with rooms

Postby knoest26 » Sat Aug 30, 2014 11:55 pm

Thats just to put it in the game, we're interested in making it work as an actual cell (not just a room)
User avatar
Phraxas
level2
level2
Posts: 107
Joined: Sun Aug 31, 2014 12:10 am
Location: USA - PA

Re: Help with rooms

Postby Phraxas » Sun Aug 31, 2014 1:08 am

Judging by the LUA functions currently available, this doesn't look plausible just yet. There's only 6 functions to choose from.
JASPer.Gamer.9.0
level3
level3
Posts: 380
Joined: Fri Sep 06, 2013 12:29 am

Re: Help with rooms

Postby JASPer.Gamer.9.0 » Sun Aug 31, 2014 3:45 am

The code for making it a cell:

Code: Select all

Capturable            True


I made a superior cell with that in it and it worked (separately from normal cell!).
User avatar
Phraxas
level2
level2
Posts: 107
Joined: Sun Aug 31, 2014 12:10 am
Location: USA - PA

Re: Help with rooms

Postby Phraxas » Sun Aug 31, 2014 4:19 am

That's interesting. So I guess capturable just means that someone can claim it, not that it can be taken over during a riot which was my original thought for what that meant.
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Help with rooms

Postby knoest26 » Sun Aug 31, 2014 9:41 am

Phraxas wrote:That's interesting. So I guess capturable just means that someone can claim it, not that it can be taken over during a riot which was my original thought for what that meant.

No, don't believe jasper, he's a known troller. Adding the capture flag doesn't make it work
JASPer.Gamer.9.0
level3
level3
Posts: 380
Joined: Fri Sep 06, 2013 12:29 am

Re: Help with rooms

Postby JASPer.Gamer.9.0 » Tue Sep 02, 2014 10:05 am

It does. Only cells have it!

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests