Project Zomboid

Project Zomboid

Rosewood Penitentiary | Prison Roleplay Spawn
82 Comments
TaikaJamppa 21 Apr @ 6:04am 
So… B42 MP isn’t out, but any chance for an update to this mod already? I would love to play around there, solo… and am currently playing, without the keys! And I want those damn keys 😂
chaelesssj3 11 Apr @ 11:55am 
I don't know how to tag on mobile but know, 👍
TheSlapDoctor  [author] 12 Mar @ 4:14am 
@chaelesssj3 Will be updating this around the time B42 multiplayer is out.
chaelesssj3 12 Mar @ 1:26am 
b42?
oloolo1661 18 Sep, 2024 @ 3:13am 
i'd also like to ask for access the no keys listing if possible
TRIP 1 Aug, 2024 @ 6:08pm 
Hi mate, would I be able to get the version with no building keys?
Thanks for your hard work!
TheSlapDoctor  [author] 4 Feb, 2024 @ 3:01pm 
@retr0l0gy Yea, if they work side-by-side, or if Wolf's is a workable substitute for this mod entirely then that's a good solution.
retr0l0gy 4 Feb, 2024 @ 7:48am 
Use wolf's custom spawning condition or something like that
TheSlapDoctor  [author] 3 Feb, 2024 @ 9:23pm 
@Eli-Te gamer

You won't be able to without editing the code yourself, I might revisit this at some point and change how it works but at the moment the vanilla spawn protection removes every zombie from a spawn building to prevent you being softlocked.
Eli-Te 3 Feb, 2024 @ 9:21pm 
how do you make it so zombies spawn in the prison with you because the prison is empty for me
popo 28 Dec, 2023 @ 8:44am 
Nvm, found it in my workshop mods folder
popo 28 Dec, 2023 @ 8:24am 
My media/maps folder doesn't contain the Rosewood Penitentiary folder, am I supposed to copy paste it from somewhere?
retr0l0gy 14 Dec, 2023 @ 4:01am 
thats ok thanks i'll use it on my next spawn probably
TheSlapDoctor  [author] 14 Dec, 2023 @ 3:46am 
@retr0l0gy if you open the lua file you'll see that there's a function named CharacterCreate, within that there are two lines

pl:clearWornItems();
pl:getInventory():clear();

this is the code that wipes your starting gear, so commenting these out will let you keep your items and default clothes. if you just want the items but keep the clothes I provide, then just the inventory line will be enough.

there'll probably be bugs with just commenting these out, you'll likely get two key rings instead of one, for example.
retr0l0gy 12 Dec, 2023 @ 9:27am 
And I still want the key it's just i dont like that it removes my items so will I keep the key?
retr0l0gy 12 Dec, 2023 @ 9:26am 
So do I get rid of that then?
TheSlapDoctor  [author] 12 Dec, 2023 @ 12:05am 
@retr0l0gy there should be a function named something like 'GetProfessionEquipment' that could be commented out to change that behaviour. If you can't find it let me know and I'll go have a proper look.
retr0l0gy 11 Dec, 2023 @ 3:35pm 
hey this is a good mod but im wondering about the code. which line of code would i have to get rid of in order to make it so i spawn with my items and the key 'cause i dont like that it replaces my clothes and items so im wondering which line of code i would have to get rid of in order to do that
GoodGuyRato 24 Jul, 2023 @ 6:01pm 
@TheSlapDoctor

It is a dedicated server hosted by G-Portal. It is in there yes and it's in the server but does not work. Other times I have removed it from that folder you mentioned and only had the file in server and it worked. I'm very confused, as it works for me sometimes and other times only for my friends.
It's hard to explain all I've done as I've been trying to make this work for a month now
TheSlapDoctor  [author] 24 Jul, 2023 @ 4:09pm 
@GoodGuyRato

Is that a locally hosted server or are you using a paid dedicated provider?

If you go to your zomboid folder and check media/lua/client are there MXRP files in there?
GoodGuyRato 22 Jul, 2023 @ 5:52pm 
I have this issue: https://cdn.discordapp.com/attachments/1075852154960613406/1132474711566188654/20230723012138_1.png

I have no clue how to fix it. when I put the file where it is meant to be it still complains the file is missing!
Ceonid 6 May, 2023 @ 10:57am 
To get zeds to spawn inside the prison use Ducks' Zombie Building Spawn Fix it worked for me
Gordy Stanrash 18 Mar, 2023 @ 1:25am 
has the zombie spawns been fixed yet?
TheSlapDoctor  [author] 23 Feb, 2023 @ 7:35am 
@LogicToast

It can be done, but yea I think spawning then moving is probably the best option. I'll revisit this mod and try make the change in the next couple weeks.
LogicToast 22 Feb, 2023 @ 8:20pm 
I don't think the lack of zombies can be fixed, because of how the game works; it removes all zombies from the building you spawn in.
Sooo err... your best bet would be to spawn outside then go inside (?)
Rimurito 31 Dec, 2022 @ 11:23am 
Please fix i spawn and there is no zombies inside the prison and i want to play with my friends :c
Minx 26 Nov, 2022 @ 5:53am 
Just used this in singleplayer. Spawned in the prison, but no zombies or a key provided.
Texas Space Viking 31 Oct, 2022 @ 8:29am 
Howdy,

Same issue as 20+, was pretty desperate to try this but no zombies inside. There is a few outside the facility but that's it. Will this get updated/fixed at some point ?

Thanks. Great mod btw.
f1shb0ne 26 Oct, 2022 @ 1:51am 
i just added the mod to my multiplayer and theres no zombies inside
Kaofan 14 Aug, 2022 @ 1:23pm 
Fix plz
Sonov Belial 30 Jul, 2022 @ 4:07am 
*Forgot to mention: If you wish to try it yourself install the workshop mod named " Military Checkpoint into Louisville " and you'll see the error popping up when using your script.

LINK: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2751361703&searchtext=
Sonov Belial 30 Jul, 2022 @ 4:01am 
@TheSlapDoctor Just as reference in the case is needed. While working on your script I've noted a thing. Everything works as planned but only if the spawn point of the character is set into a room/house/building. If the spawn point instead is set in the open ( let's say on a road for example ) it will return 1 red error. Just to let you know for compatibility purposes with maps or mods that use different spawnpoints in respect to yours. Just for your information only. My best regards!
TheSlapDoctor  [author] 25 Jul, 2022 @ 10:07am 
@Cyant [HOBO] Yea, I'm slowly working on a version that allows zombie spawns in the prison, once I have that done I'll release the update where only prison guards have keys.
TheSlapDoctor  [author] 25 Jul, 2022 @ 10:06am 
@Bladedragon0 It does, as best I know.
Cyant [HOBO] 18 Jul, 2022 @ 2:43pm 
I tried it yesterday it does work but since theres no Z in the prison and you start with the key so its sad a little.
Bladedragon0 18 Jul, 2022 @ 1:04am 
does this mod still work?
John 11 Jul, 2022 @ 9:45am 
Heyo, I was wondering why my character isn't spawning with the key to the prison?
Tenguyama 30 Jun, 2022 @ 10:30pm 
never mind I got it
TheSlapDoctor  [author] 30 Jun, 2022 @ 7:46am 
@kitsune.gold69 Are you trying to use it in singleplayer or multiplayer? Subscribing should download it as you expect, and it should be available to select in the Mods section of the main menu.
Tenguyama 29 Jun, 2022 @ 7:48pm 
How do i use this mod? I've subscribed but I can't find it in the game, not in the Mod section or any where. if subscribing dosen't automatically download it like steam says it does then im lost on what to do.
TheSlapDoctor  [author] 27 Jun, 2022 @ 8:47am 
@Capt. Latrios No worries, thanks for the feedback!
Capt. Latrios 26 Jun, 2022 @ 6:15pm 
Ah, good to know, cheers for the info :D
TheSlapDoctor  [author] 26 Jun, 2022 @ 2:56pm 
@Capt. Latrios I don't think I can add that as like a toggleable option, but if you want to edit yours you can go to the lua file and remove 'MXRP_PrisonSpawn.GivePrisonerGear()' from the CharacterCreate function.
Capt. Latrios 25 Jun, 2022 @ 9:18pm 
I gotta say, I love this mod and it's uniqueness in its roleplaying ability, but I was wondering if there was any way to get a version which doesn't spawn you with the specific clothing to your role, or at the very least to keep your preset clothing in storage somewhere or on your person?

Like, I ask mostly because every now and then I or one of my friends has a specific outfit they'd like to start with, but because of choosing their prison spawn.

It's not like you *have* to or anything, this is just my personal preference because I like the versatility of being able to start in a mostly-cleared prison and use that as a starting base.
TheSlapDoctor  [author] 6 May, 2022 @ 4:41pm 
@ewievomit can't think of any reason that wouldn't work, but lemme know if it doesn't! as long as you're not on a completely different map it should be fine
hexqqed 6 May, 2022 @ 2:32pm 
can I add this to a server that already has data and some other modded buildings?
Sonov Belial 28 Feb, 2022 @ 3:58pm 
@TheSlapDoctor Ah Sorry I can't help much even if want because I'm not a great MP expert ( So far I play only SP ). About my request that's because I was reading this in the description above ( Quote:"If you'd like a version of the mod with no building keys for your server, let me know and I'll provide a private workshop listing you can use. ").Then I'll figure out myself what's needed ( Basically I want to just make a comparison between the scripts with/without ). Ps: It comes to my mind now about the MP problem...IIRC some days ago I was reading a discussion on the PZ Reddit exactly about that issue and IIRC they were able to fix it. Try a Google search you should be able to find it ( I'll try to check in my chronology mess too LOOL ) S!
TheSlapDoctor  [author] 28 Feb, 2022 @ 9:37am 
@Robert Mölders What dya mean? Do you need me to take a look at something or do you want to take a look yourself? Feel free to grab any code I've written and use it in your own work if ya like.

The problem with MP isn't spawning the zombies, it's in finding a way to prevent them from despawning when new players join without breaking the code that other systems rely on. It should be doable, I've just been playing too much Hearts of Iron to put the work in atm.
Sonov Belial 28 Feb, 2022 @ 9:25am 
@TheSlapDoctor Should it be posible to take a look at the no key script ( I would like to check a thing ) thanks.
Maybe for the MP you can try using CreateZombieSwarm(number, Zone) or or you can pinpoint the zombie location by using SpawnZombie(waypoint)
TheSlapDoctor  [author] 28 Feb, 2022 @ 8:38am 
@Rijadhunter I've actually got it fixed in singleplayer as well, just haven't released that update yet. Might release it in the next day or two if I can't figure out the multiplayer fix before then. Thanks for the suggestion all the same.