Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Shudokai

#1
Mods / Re: Recipe to remove limbs
October 21, 2014, 06:09:07 PM
Changing the body part groups would be a nice aproach but that would make the gameplay pretty damn wonky.

If your arm gets shot off your Hand will still be there.

I think adding a completely new body structure for bionic parts might work if one adds like "sockets" for bionic parts. I might try that. Thanks for the idea :D
#2
Mods / Re: Recipe to remove limbs
October 20, 2014, 06:42:03 PM
Quote from: ison on October 19, 2014, 05:33:42 PM
Removable parts arent hardcoded anywhere. Adding <spawnThingOnRemoved>Sth</spawnThingOnRemoved> should be enough. "Sth" must refer to real item.


Nope, tried that already. I added <spawnThingOnRemoved>Lung</spawnThingOnRemoved> to both arms and it still doesnt work :/

EDIT: Okay, nevermind ... I had to add a new item for each limb it added a bit of work and a few new items but I think I can work with that :D

EDIT 2: Ugh .... Recipe_InstallnaturalBodyPart only works if the targeted part is damaged or gone BUT it will alway fix the bodypart without adding any healthdiffs :/

So the only way to augument or add less effective prosthetics is to use Recipe_InstallartificialBodyPart but that will not allow to add parts to the replaced bodypart .... so my first issue is still the same ... adding a bionic arm wont allow me to add a bionic hand -.-
#3
Mods / Re: Recipe to remove limbs
October 18, 2014, 11:48:56 AM
To bad I totally suck at coding. I can barely understand what the hell this code does :S

As far as I can tell from what I noticed ingame you can only remove stuff like limbs when they are severely damaged. So there has to be some line of code that prevents structural body parts from being removed for no good reason.

If someone could tell me or show me how to modify which file to enable limb amputation, that'd be great.
#4
Mods / Re: Recipe to remove limbs
October 18, 2014, 11:04:17 AM
Quote from: skullywag on October 18, 2014, 10:47:27 AM
Well the bodyparts defs that can be removed have:

<spawnThingOnRemoved>Lung</spawnThingOnRemoved>

In them, I havent tested this but does adding that do anything, youll be surprised how much can hang off of 1 xml line.

Tried that earlier, doesnt work on limbs ... pretty much only works on the stuff thats already coded into the core.

My guess is, that amputation is hardcoded somewhere because I cant happen to find any recipes to remove specific bodyparts.
#5
Mods / Recipe to remove limbs
October 16, 2014, 03:57:12 PM
I tried to find the recipe to remove organs to copy it for limbs etc. but somehow I couldn't find it.

Could someone help me there? I need a recipe to remove Fingers, Hands, Arms etc.

It doesn't need to end up with an item I just need to bodyparts gone for a mod im working on.
#6
Help / Re: Imlant issue.
October 16, 2014, 03:51:51 PM
Okay, here is one thing I noticed that might help with all issues of this type for anyone who is making implants and prosthetics.

<workerClass>Recipe_InstallArtificialBodyPart</workerClass>

This line will remove the targeted bodypart with everything attached to it, so you cant attach anything to it later on.

<workerClass>Recipe_InstallNaturalBodyPart</workerClass>

This one on the other hand will only place the bodypart where you target it to be without affecting anything attached to it, the problem is, you cannot use it unless the targeted spot is empty.

So you can install an artificial arm - removes bones, hand and fingers and you cannot add new ones.
or
you could install a "natural" arm when an arm is missing - this somehow includes bones, the hand and fingers but also makes them available for further modification.

I have no idea how to remove bodyparts so it would be nice if someone could explain that to me.

I tried to find the recipe for "Harvest (Right Lung)" etc. but I couldn't.
#7
Help / Implant issue.
October 15, 2014, 05:12:53 PM
Mh-kay, I think I have to rephrase my problem.

What I want to do: Add a prosthetic arm and then attach a hand prosthetic on it.

The problem is, it wont let me because the recipe doesnt want to target the hand and if I look into the healthdiffs ingame it shows that all parts "inside" of the arm are "removed" including the hand.

If I try to add the hand first it will get removed as soon as I add the arm part ....

So far I couldn't find a way to add parts on top of other parts. So no hands on arms, no feet on legs and no fingers on hands .... I can only replace a single body part with a prosthetic and never ever modify it later on again.

I would like to know If there is a way to do that ... if not it wont be possible to add augumentations and stuff to people, only adding and removing whole bodyparts.

If I add an arm (+mining) and want a hand (+melee) that wont be possible because I cant add hands to arms :/