[MOD] (Alpha 6) MedBed 1.4

Started by Kirid, March 24, 2014, 03:59:10 AM

Previous topic - Next topic

WhackyRavenLand

When attempting to spawn via "devconsole" I find a lot of items, but I'm not finding any medical beds or anything of the sort.

mrofa

#31
Im using both mods and dont have any problem with them.
Try to disable every mod exept the core and medical beds and run new game, go in god mode and check if you can build them.

If this wont work try this, its a older version of medical bed.
All i do is clutter all around.

WhackyRavenLand

The link is not an older version. It's the same version I downloaded :p  But I will try the "disable all other mods" thing and see if that works :)

RB

WhackyRavenLand

Still not showing up when I'm only running core and MedBed :/

RB

WhackyRavenLand

I think I got it working! =D  When I extracted the mod and placed it ingame I had the folder MedBed1.2 and another folder with the same name inside the first one. The mod it self was in the last folder, once I moved them to the first one...hey presto, I get beds ingame now! At least I can research them :p

RB

daft73

Quote from: WhackyRavenLand on April 28, 2014, 01:01:59 PM
I think I got it working! =D  When I extracted the mod and placed it ingame I had the folder MedBed1.2 and another folder with the same name inside the first one. The mod it self was in the last folder, once I moved them to the first one...hey presto, I get beds ingame now! At least I can research them :p

RB
Yup you need to make sure your mod folder is all in order.

WhackyRavenLand

My apologies for causing trouble! =)  Didn't think to check the folders when I got it in the modlist ingame where I could activate it =p

RB

daft73

Quote from: WhackyRavenLand on April 28, 2014, 03:16:10 PM
My apologies for causing trouble! =)  Didn't think to check the folders when I got it in the modlist ingame where I could activate it =p

RB
Cheers mate, no apologies necessary. Just re-affirming your find. ;) 8)

Kirid

#38
Quote from: WhackyRavenLand on April 28, 2014, 03:16:10 PM
My apologies for causing trouble! =)  Didn't think to check the folders when I got it in the modlist ingame where I could activate it =p
RB
No problem, I'm glad you figured it out. I think I've had that issue before. It's a confusing one to sort out, less obvious.

I've been trying to write up the dll to make colonists perfer taking to medbed before regular beds, couple snags but I'm close, thankfully WorkGivers are defined in xml.It may be impossible, there are too many things connected to sleeping and ownership.
You can't rollerskate in a muffalo herd

mrofa

You would need to check out coding or xml of early/mid alpha 2, since at that time i had my colonist hauling wounded to the nearest not taken bed.
All i do is clutter all around.

Two Scoops of Light Blue

Im having a problem with the mod. The beds and everything appear, and I can build them, but the colonists dont use them when being rescued. Has that just not been implemented yet?
2SCU

minami26

Quote from: Two Scoops of Light Blue on May 23, 2014, 12:40:39 PM
Im having a problem with the mod. The beds and everything appear, and I can build them, but the colonists dont use them when being rescued. Has that just not been implemented yet?

oh, you need to reassign the used bed of your colonists to the medbed you want them to use. the mod is not programmed to automatically be used by incapped colonists. *although that is a cool idea.
Cheers!

Kirid

Quote from: Two Scoops of Light Blue on May 23, 2014, 12:40:39 PM
Im having a problem with the mod. The beds and everything appear, and I can build them, but the colonists dont use them when being rescued. Has that just not been implemented yet?
Yeah I'm not sure how some people get colonists taken to medbeds. I can't get them to work personally, but others seem content enough with the mod for now. I've tried looking into a dll solution, but I don't think it's possible right now. The task of TakeToBed is deeply hardcoded to Building_Bed specifically, and trying to change it is a nightmare. When the game allows me to mod that I will :)
You can't rollerskate in a muffalo herd

mrofa

#43
Its simple really, have a medbay near entrance to your colony, if a colonist is down, cancel his bed switching it between prisoner and normal, then the hauler will take your colonist to nearest free bed whic in this case would be your med bay.

Kirid you would need to write custom JobDriver_TakeToBed class, also add class for medic bed modifier to xml (like: <IsMedicalBed>True</IsMedicalBed>) then in jobdeiver class add a scan for bed with that modifier and insted of thing from targetB add result from scan. Well thats my thepry atleast looking it it in ILspy :D
All i do is clutter all around.

Jdalt40

Hey kirid why don't you make like a stasis sleep container that needs power to keep people alive that are starving. Just thinking