Dismemberment & Organs

How, what and why to code in BYOND.

Moderators: MisterPerson, Code Maintainers

User avatar
Remie Richards
 
Joined: Thu Apr 17, 2014 7:11 pm
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Byond Username: CrimsonVision

Re: Dismemberment & Organs

Postby Remie Richards » Wed Jun 17, 2015 6:46 pm #96595

DTs (Damage Thresholds) or DRs (Damage Resistances) are good ways to balance this, Yes.

Where DT would be a value of health the limb needs to be at, and DR being a percentage of health the limb needs to be at from it's maximum (I'd lean towards DR as it allows for easier scaling of limb health and strength in that odd mysterious thing called the future)
Up to you.
私は完璧



User avatar
TechnoAlchemist
 
Joined: Fri Nov 21, 2014 2:39 am
Byond Username: TechnoAlchemist

Re: Dismemberment & Organs

Postby TechnoAlchemist » Wed Jun 17, 2015 6:59 pm #96597

I feel like the esword should have a higher dismember chance than a fireaxe.

Since y'know, it's practically a lightsaber.

User avatar
Wyzack
 
Joined: Fri Apr 18, 2014 11:32 pm
Byond Username: Wyzack

Re: Dismemberment & Organs

Postby Wyzack » Wed Jun 17, 2015 7:05 pm #96599

That was what he suggested. The E sword having a value of 0 means it can cut off limbs without the limbs having any prior damage
Arthur Thomson says, "Since there are no admins I would loging with another account and kill you"
Caleb Robinson laughs.
Arthur Thomson catches fire!
tusterman11 wrote:Can you stop lying? I just asked you and you are was a piece of shiit on me!!!

Kor wrote:I wish Wyzack was still an admin.

EngamerAzari's real number one fangirl <3
certified good poster

User avatar
TechnoAlchemist
 
Joined: Fri Nov 21, 2014 2:39 am
Byond Username: TechnoAlchemist

Re: Dismemberment & Organs

Postby TechnoAlchemist » Wed Jun 17, 2015 7:54 pm #96603

Oh, woops!

User avatar
One Seven One
 
Joined: Wed Jun 10, 2015 9:43 am
Byond Username: OneSevenOne

Re: Dismemberment & Organs

Postby One Seven One » Wed Jun 17, 2015 8:14 pm #96608

I can see it now "Ah shit I'm dieing and I need health! I know, I'll chop off my own arm to get me through!"
Can we keep that? It sounds great.

I like that system. It's fair while still being threatening. I think it would be best to take heads off the chance to dismember, it'll give people a reason to aim for anywhere else in combat and not instantly kill people. Maybe we can have a head choppable only after the person is dead? It'd give lings/people trying to kill lings an easier chance to remove brains if they can carry the head around with them at the cost of say.. a constantly bloody backpack.

Quick question. I'm not sure how the code works but how would this effect cloning? Would they need the head attached since it has a "Mental interface" pop up on the cloner or would the entire body with no head/just the head work?

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Wed Jun 17, 2015 8:31 pm #96611

One Seven One wrote:Quick question. I'm not sure how the code works but how would this effect cloning? Would they need the head attached since it has a "Mental interface" pop up on the cloner or would the entire body with no head/just the head work?


I still have to update the cloning code, but I will require the head with brain to still be attached to the body for the cloning to go through. What I have not yet decided on is whether to allow the cloner to clone someone from just a head with a brain, so without the rest of the body.


EDIT: I should specify that I will specifically check if the brain is still in the body. But since the brain is a child of the head, this means the head still has to be attached too.

EDIT 2: Alright, so progress for today is: found a bunch more special cases that I had to update for datums and organsystems, still haven't gotten the new body renderer to work. As soon as I do I might run a few open test rounds, it's much easier to find bugs in a stress test.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
PKPenguin321
In-Game Game Master
 
Joined: Tue Jul 01, 2014 7:02 pm
Location: U S A, U S A, U S A
Byond Username: PKPenguin321
Github Username: PKPenguin321

Re: Dismemberment & Organs

Postby PKPenguin321 » Thu Jun 18, 2015 4:00 am #96703

That seems like a huge, unneeded buff to eswords and axes. Being able to heal people with it is pretty bad, too. However, I do like it more than getting dismembered being based on RNG...
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image

Fr05tByt3
 
Joined: Mon May 11, 2015 3:35 am
Byond Username: Fr05tByt3

Re: Dismemberment & Organs

Postby Fr05tByt3 » Thu Jun 18, 2015 8:04 am #96721

PKPenguin321 wrote:That seems like a huge, unneeded buff to eswords and axes. Being able to heal people with it is pretty bad, too. However, I do like it more than getting dismembered being based on RNG...

What do you want, then? Either LEL I CAN CHOP OFF ARMS WITH HATCHET BUT NOT LIGHTSABER LELELELE REEEEEEEEE
or no dismemberment at all?

Also, how much damage does an arm do when you hit someone with it? I think a leg should do more damage than an arm.
And a clubbed tail should do more damage and non-clubbed.

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Thu Jun 18, 2015 1:04 pm #96754

PKPenguin321 wrote:Being able to heal people with it is pretty bad, too.


I'll shed some more light on what is the problem here.

The maximum damage any single arm or leg can sustain is 75 damage, in any combination between brute and burn damage.

Now this damage is stored in the limb itself. If you burn your arm and then cut off your arm, the burn is still on your arm even though it's not a part of your body any more. Therefore, when a character is dismembered in the game, the injuries on that limb are no longer a part of their body.

I solved this by giving limb datums a "destroyed_dmg" var. This is the damage that will be used to calculate your total damage if that limb is missing. But I decided to set this value to 40 instead of 75 for arms and legs. Why? Because with 75, cutting off 2 arms or legs sends someone into crit, and cutting off 3 kills them. With 40, you have to cut off at least 3 arms or legs before someone goes into crit, and you can never kill them just by cutting off all four (4x40 = 160 and you die at 200 total damage). I don't count heads here of course, since your brain is a vital organ your body dies the instant you are decapitated. Also this doesn't take into account the proper removal of limbs, where the wound is closed; if you do that the limb does not count for any damage at all, but it's a surgical procedure.

It's an issue with the way we calculate damage that I had to find a solution for. This is the best one I could come up with. I agree it's not perfect, but I personally don't have a better idea. You can think of it like how even in real life doctors sometimes have to amputate limbs that are too damaged.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Thu Jun 18, 2015 10:41 pm #96857

Progress for today:

Image

I finally figured out the mistakes I made while adjusting RemieRichards' code. There are still a few minor bugs left after this, but at least limbs render properly now.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Miauw
 
Joined: Sat Apr 19, 2014 11:23 am
Byond Username: Miauw62

Re: Dismemberment & Organs

Postby Miauw » Fri Jun 19, 2015 3:09 pm #97129

Is there any chance to add a bloody stump as long as the dismembered limb is still bleeding?
<wb> For one, the spaghetti is killing me. It's everywhere in food code, and makes it harder to clean those up.

<Tobba> I stared into BYOND and it farted

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 19, 2015 3:44 pm #97136

Miauw wrote:Is there any chance to add a bloody stump as long as the dismembered limb is still bleeding?


Scones offered me to make such sprites, so yeah!
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Lumbermancer
 
Joined: Fri Jul 25, 2014 3:40 am
Byond Username: Lumbermancer

Re: Dismemberment & Organs

Postby Lumbermancer » Fri Jun 19, 2015 7:17 pm #97187

Do you think robotics will handle the additional load of making prosthetics for each inevitably amputated limb of every person? What about the possible prolonged handicap of lacking limb if there will be no means to get you a new one?
aka Schlomo Gaskin aka Guru Meditation aka Copyright Alright aka Topkek McHonk aka Le Rouge
Image

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 19, 2015 7:24 pm #97189

Lumbermancer wrote:Do you think robotics will handle the additional load of making prosthetics for each inevitably amputated limb of every person?


Given that (at least right now) the prosthetic is a regular cyborg arm I don't see why not. Maybe in the future I'll add "advanced prosthetics" that don't even require surgery: apply them to a dismembered stump and the prosthetic connects itself to your body.

Lumbermancer wrote:What about the possible prolonged handicap of lacking limb if there will be no means to get you a new one?


I thought that was the whole appeal of dismemberment? It has a very serious impact on the rest of your round. That's why I'm trying to balance it so dismembering someone against their will is not easy.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Wyzack
 
Joined: Fri Apr 18, 2014 11:32 pm
Byond Username: Wyzack

Re: Dismemberment & Organs

Postby Wyzack » Fri Jun 19, 2015 7:28 pm #97192

>But if my arms get cut off i will be at a DISADVANTAGE! WTF man?

Well no shit, is that not entirely the idea?
Arthur Thomson says, "Since there are no admins I would loging with another account and kill you"
Caleb Robinson laughs.
Arthur Thomson catches fire!
tusterman11 wrote:Can you stop lying? I just asked you and you are was a piece of shiit on me!!!

Kor wrote:I wish Wyzack was still an admin.

EngamerAzari's real number one fangirl <3
certified good poster

User avatar
allura
 
Joined: Thu May 15, 2014 4:30 am
Byond Username: Allura

Re: Dismemberment & Organs

Postby allura » Fri Jun 19, 2015 8:12 pm #97198

my only suggestion: remove damage caps from limbs

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 19, 2015 8:13 pm #97200

allura wrote:my only suggestion: remove damage caps from limbs


that falls way out of the scope of this update, damage caps on limbs have existed for as long as I can remember and they are an integral part of game balance

this is probably better off in the suggestion or policy discussion forums
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
MisterPerson
Board Moderator
 
Joined: Tue Apr 15, 2014 4:26 pm
Byond Username: MisterPerson

Re: Dismemberment & Organs

Postby MisterPerson » Fri Jun 19, 2015 10:26 pm #97282

Limb damage cap was literally just so space doesn't cause infinite damage.
I code for the code project and moderate the code sections of the forums.

Feedback is dumb and it doesn't matter

User avatar
MMMiracles
 
Joined: Fri Aug 29, 2014 2:27 am
Byond Username: MMMiracles
Github Username: MMMiracles

Re: Dismemberment & Organs

Postby MMMiracles » Fri Jun 19, 2015 11:04 pm #97289

I thought the point of capping limb damage was to prevent 90% of armor ingame being completely negated by aiming for the arms or legs?
Spoiler:
Hints:
------
Submitted by: sandstorm

The best way to get a girl/boy friend is to click on them say "hi" then push enter
then say "your cute" then push enter,wait until they say somthing back if they
don't go for another.

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 19, 2015 11:26 pm #97296

Progress for today:

I'm finishing up the penalties for not having arms. To avoid having to edit every single instance of attack_hand, I perform a check BEFORE it is ever called, in the click code itself. I'll probably add an exception for telekinesis, but other than that you can now not perform any kind of world interaction with a hand you don't have.

If an item ends up in a hand you don't have anyway, you instantly drop it. Interestingly right now you can still interact with items that you are wearing, so you can strip yourself without hands. I'll fix that too.

We're slowly getting there. I have to figure out what to do without legs (high chance to drop on the ground or some kind of new crouch ability), and after that I have to add code that makes you bleed if you have an open limb stub. Then the basic system should be in place, and I can add methods of dismemberment.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
AdenAbrafo
 
Joined: Wed May 14, 2014 7:38 pm
Byond Username: AdenAbrafo

Re: Dismemberment & Organs

Postby AdenAbrafo » Sat Jun 20, 2015 1:09 am #97307

I don't code but why not use the handcuff code for missing arms?
Nick Elwood says, "brain your guitly of incompitence and sencected to public flogging and banishment"
DEAD: Andrew Mitchell says, "LIONUS HAS ANGER ISSUES AND AUTISM"

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Sat Jun 20, 2015 1:34 am #97316

That's actually a really good idea, I completely forgot about that. I'll look into it tomorrow.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
One Seven One
 
Joined: Wed Jun 10, 2015 9:43 am
Byond Username: OneSevenOne

Re: Dismemberment & Organs

Postby One Seven One » Sat Jun 20, 2015 1:56 am #97321

Oh, how will this effect changelings? Since the arm blades and shields they create are technically in their hands I believe.
Also, how would handcuffing someone missing an arm work? It could be a kind of silly plus side if it just didn't effect them.
Last edited by One Seven One on Sat Jun 20, 2015 2:12 am, edited 1 time in total.

User avatar
Wyzack
 
Joined: Fri Apr 18, 2014 11:32 pm
Byond Username: Wyzack

Re: Dismemberment & Organs

Postby Wyzack » Sat Jun 20, 2015 2:10 am #97324

I assume flesh mend will regrow limbs? I am so friggin hype for this, keep up the good work Rico
Arthur Thomson says, "Since there are no admins I would loging with another account and kill you"
Caleb Robinson laughs.
Arthur Thomson catches fire!
tusterman11 wrote:Can you stop lying? I just asked you and you are was a piece of shiit on me!!!

Kor wrote:I wish Wyzack was still an admin.

EngamerAzari's real number one fangirl <3
certified good poster

User avatar
MMMiracles
 
Joined: Fri Aug 29, 2014 2:27 am
Byond Username: MMMiracles
Github Username: MMMiracles

Re: Dismemberment & Organs

Postby MMMiracles » Sat Jun 20, 2015 3:02 am #97329

Make arm blades replace the arm of the active hand when used. Being able to chop off arm blades for free melee weapons sounds like a fun trophy item to get off a killed ling.
Spoiler:
Hints:
------
Submitted by: sandstorm

The best way to get a girl/boy friend is to click on them say "hi" then push enter
then say "your cute" then push enter,wait until they say somthing back if they
don't go for another.

User avatar
Tokiko2
 
Joined: Mon Apr 21, 2014 12:18 am
Byond Username: Tokiko1

Re: Dismemberment & Organs

Postby Tokiko2 » Sat Jun 20, 2015 10:52 am #97391

If you lose a limb in a fight, will there be any way to reduce/heal the 40 damage caused by the loss of it without actually replacing the limb? I do think that this should be possible, even if it would require extra surgery.

Losing a limb in a fight, then visiting medbay to get your wounds fixed should not leave you in a worse situation than having the same limb surgically removed. It doesn't really make a lot of sense. Sure, the improper removal of a limb may have caused some damage, but medbay should be able to fix that(without having to actually replace the limb).

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Sat Jun 20, 2015 12:24 pm #97394

One Seven One wrote:Oh, how will this effect changelings? Since the arm blades and shields they create are technically in their hands I believe.


I'm not entirely sure, but since changeling items cannot be dropped my guess is they will stay in the hand slots. Unfortunately the intercept only happens on unarmed contact right now, so they will probably be able to still use them. I'll have to test and fix that.

One Seven One wrote:Also, how would handcuffing someone missing an arm work? It could be a kind of silly plus side if it just didn't effect them.


Right now you can handcuff someone who has one hand (but not someone who has no hands). I still have to modify the code so that the handcuffs have no effect if you have only one hand.

Wyzack wrote:I assume flesh mend will regrow limbs? I am so friggin hype for this, keep up the good work Rico


Yeah, I always intended to have changelings be able to regrow their limbs. Fleshmend is a good way to do it.

MMMiracles wrote:Make arm blades replace the arm of the active hand when used. Being able to chop off arm blades for free melee weapons sounds like a fun trophy item to get off a killed ling.


That's a pretty good idea, but it involves a lot more code editing because I'd have to add more exceptions to unarmed combat code. I might do this in a future iteration.

Tokiko2 wrote:If you lose a limb in a fight, will there be any way to reduce/heal the 40 damage caused by the loss of it without actually replacing the limb? I do think that this should be possible, even if it would require extra surgery.

Losing a limb in a fight, then visiting medbay to get your wounds fixed should not leave you in a worse situation than having the same limb surgically removed. It doesn't really make a lot of sense. Sure, the improper removal of a limb may have caused some damage, but medbay should be able to fix that(without having to actually replace the limb).


I haven't explained this very well in this thread yet, but there are 2 different statuses a lost limb can have: ORGAN_DESTROYED and ORGAN_REMOVED. (Right now there is also ORGAN_DESTROYED_NOBLOOD but I'm still figuring out how to do the bleeding system on destroyed limbs.) In DESTROYED, the limb is considered to have been ripped off forcibly and you have a massive injury on the stub. In this state, you suffer the 40 damage (and will likely also constantly bleed unless you receive some first aid). In REMOVED, the limb is considered to have been properly removed, and the injury is treated and sealed up. In this state, you don't suffer any special damage from the missing limb (but of course penalties such as not being able to use a hand still apply). I'll add a surgical procedure that lets Medical seal up a dismemberment to turn DESTROYED into REMOVED. In addition I am considering ways to temporarily reduce the impact of a DESTROYED limb, such as tying a belt around the stub. Something like that.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Celdur
 
Joined: Mon May 11, 2015 1:43 pm
Byond Username: Celdurr

Re: Dismemberment & Organs

Postby Celdur » Sat Jun 20, 2015 9:10 pm #97486

I can already see people intentionally removing their arm so that they can't get cuffed by sec.
I'm guessing a straightjacket would still work?

Cik
 
Joined: Thu Oct 30, 2014 2:24 pm
Byond Username: Cik

Re: Dismemberment & Organs

Postby Cik » Sat Jun 20, 2015 9:46 pm #97494

you can still cuff a one armed man, and if they chop off both arms to escape sec more power to them i guess considering they won't be able to hold or manipulate anything

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Sat Jun 20, 2015 10:20 pm #97500

Celdur wrote:I can already see people intentionally removing their arm so that they can't get cuffed by sec.
I'm guessing a straightjacket would still work?


Intentionally removing your arm means that:

1. You have one less hand to work with.
2. You suffer a permanent 40 damage and permanent bleeding unless you get surgery.
3. I intend to enable people to still drag you along without you being able to do anything about it when you're cuffed.

And yeah, straightjackets are handled separately. They are not affected by arms.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

Alex Crimson
 
Joined: Fri Apr 18, 2014 1:05 pm
Byond Username: Dazbuzz

Re: Dismemberment & Organs

Postby Alex Crimson » Sun Jun 21, 2015 9:28 am #97604

Could you not give Medbay a machine that accepts organic material(limbs, organs, corpses, monkeys etc) as a resource and can create new limbs/organs? Something similar to an Exosuit Fabricator.

User avatar
lumipharon
 
Joined: Mon Apr 28, 2014 4:40 am
Byond Username: Lumipharon

Re: Dismemberment & Organs

Postby lumipharon » Sun Jun 21, 2015 10:31 am #97608

Limb extruder

Like those spaghetti grinder things, only instead of dough going in, you have lumps of meat, bone and othe misc organics.

User avatar
Not-Dorsidarf
In-Game Admin
 
Joined: Fri Apr 18, 2014 4:14 pm
Location: Space outside the Brig
Byond Username: Dorsidwarf

Re: Dismemberment & Organs

Postby Not-Dorsidarf » Mon Jun 22, 2015 8:34 am #97908

Make it a function of the Gibber, that you can toggle "makes steaks" and "makes limbs"

Then add recipies made with limbs
Image
Image

User avatar
DemonFiren
 
Joined: Sat Dec 13, 2014 9:15 pm
Byond Username: DemonFiren

Re: Dismemberment & Organs

Postby DemonFiren » Mon Jun 22, 2015 10:20 am #97925

Like what, finger food?
Image
Image
Image
ImageImageImageImageImage

non-lizard things:
Spoiler:
Image

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Mon Jun 22, 2015 12:06 pm #97935

Woo I did not mess up my merge this time, the branch has been updated without any trouble.

Anyway, progress was a bit slow this weekend because of a bunch of stuff happening. Especially on Father's Day I had almost zero time to work on the code. The work I did do was finish up the hand penalties, there are a few bugs left to work out but it's pretty much done and you can no longer use a hand you don't have.

Unfortunately there is one final bug that persists with the renderer, which is that body parts don't get updated properly unless I force regenerate_icons. Not even upon spawn, my skin colour is always the wrong one.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Mon Jun 22, 2015 8:20 pm #98008

I've added all the necessary procs and variables to allow for dismemberment. Attack code for a weapon only has to call a proc with a limb, and that proc will determine if the limb gets dismembered or not. I literally have to add only a single line now, and every item in the game will have the potential to dismember and behead.

The problem is, I can't find attack code.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
ThanatosRa
Rarely plays
 
Joined: Fri Apr 18, 2014 4:07 pm
Location: Las Vegas, Nevada, USA
Byond Username: ThanatosRa

Re: Dismemberment & Organs

Postby ThanatosRa » Mon Jun 22, 2015 8:33 pm #98011

... Special headless clone that you can harvest limbs and organs from? Maybe needing to make a monkey man then use your SE/UI whatever to make that monkey into you so You can safely harvest it?
my forum gimmick is that no one knows who i am

User avatar
Luke Cox
 
Joined: Sat Dec 06, 2014 8:52 am
Location: Prisoner Transfer Room
Byond Username: NocturnalQuill

Re: Dismemberment & Organs

Postby Luke Cox » Tue Jun 23, 2015 4:29 am #98123

While you're working on a new limb system, is there any chance we'll see an enhanced augmentation system? I laid out a few ideas here if you want to have a look
Image

User avatar
DemonFiren
 
Joined: Sat Dec 13, 2014 9:15 pm
Byond Username: DemonFiren

Re: Dismemberment & Organs

Postby DemonFiren » Tue Jun 23, 2015 10:35 am #98227

You're gonna have to pay him extra for that.

GO GO GET ANOTHER GAME!
Image
Image
Image
ImageImageImageImageImage

non-lizard things:
Spoiler:
Image

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Tue Jun 23, 2015 11:04 am #98234

Luke Cox wrote:While you're working on a new limb system, is there any chance we'll see an enhanced augmentation system? I laid out a few ideas here if you want to have a look


I fully intend to expand the system to cover all organ-related things, yes. But as I've explained in the first post, I try to approach this problem in iterations. It's simply too much work to try and do everything I want to immediately in the first iteration, and by pushing the basic system first the server can play around with it and give me feedback, which allows me to balance it.

Speaking of feedback, I have some problems with bugs, so I might ask MSO to set me up with a test server before I create the PR for the final product.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Wyzack
 
Joined: Fri Apr 18, 2014 11:32 pm
Byond Username: Wyzack

Re: Dismemberment & Organs

Postby Wyzack » Tue Jun 23, 2015 7:34 pm #98306

I would love to help play test this, it will probably be on MSO's lag fest temp server that appears on the tgstation page from time to time, correct?
Arthur Thomson says, "Since there are no admins I would loging with another account and kill you"
Caleb Robinson laughs.
Arthur Thomson catches fire!
tusterman11 wrote:Can you stop lying? I just asked you and you are was a piece of shiit on me!!!

Kor wrote:I wish Wyzack was still an admin.

EngamerAzari's real number one fangirl <3
certified good poster

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Tue Jun 23, 2015 10:54 pm #98373

Progress for today:

With Remie's help I found the part of the code where the dismemberment check needs to be added. But now that weapons can actually dismember, I realized the way the code handles datums and item separation isn't really working very well when organs depend on other organs (your brain in your head etc), so I'm trying to find a good way to deal with that right now.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

Fr05tByt3
 
Joined: Mon May 11, 2015 3:35 am
Byond Username: Fr05tByt3

Re: Dismemberment & Organs

Postby Fr05tByt3 » Wed Jun 24, 2015 4:17 am #98461

Ricotez wrote:Progress for today:

With Remie's help I found the part of the code where the dismemberment check needs to be added. But now that weapons can actually dismember, I realized the way the code handles datums and item separation isn't really working very well when organs depend on other organs (your brain in your head etc), so I'm trying to find a good way to deal with that right now.

You sound like you're getting excitingly close to getting these features server-ready.

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Wed Jun 24, 2015 11:02 am #98504

Well, right now I just gave every organ item a new list, internal_organs, because I figured that the number of instances where I have to move organs into other organs because a limb got dismembered is actually really limited (most organs depend on the chest, and you cannot dismember a chest). The only limb it is relevant for right now is the head, because the brain needs to be moved, so that's what I will try this out with.

So with that, all that remains is the surgery, health checks that apply bleeding if you have a limb set to ORGAN_DESTROYED (and probably also makes you fall down every now and then if you miss legs), I have to look at the code that changes you into a monkey and back, and I'll have to update a few of the changeling abilities to account for the new limb system. After that we should probably test it on MSO's test server, because I am sure there are a whole bunch of special cases I forgot.

Right now, unfortunately, my code won't compile for a reason that I hope is not my own fault.

Code: Select all
code\game\gamemodes\malfunction\malfunction.dm:215:error:= : bad text


The line in question looks like this, and as far as I know it has not been changed in a long time:

Code: Select all
set desc = "Activates the self-destruct device on [world.name]."
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 26, 2015 12:45 am #98916

For some reason, damage is horribly bugged right now. I'm slowly starting to isolate the issue, but it definitely delayed my progress by a lot.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Not-Dorsidarf
In-Game Admin
 
Joined: Fri Apr 18, 2014 4:14 pm
Location: Space outside the Brig
Byond Username: Dorsidwarf

Re: Dismemberment & Organs

Postby Not-Dorsidarf » Fri Jun 26, 2015 7:36 am #99002

Ricotez wrote:Well, right now I just gave every organ item a new list, internal_organs, because I figured that the number of instances where I have to move organs into other organs because a limb got dismembered is actually really limited (most organs depend on the chest, and you cannot dismember a chest). The only limb it is relevant for right now is the head, because the brain needs to be moved, so that's what I will try this out with.

So with that, all that remains is the surgery, health checks that apply bleeding if you have a limb set to ORGAN_DESTROYED (and probably also makes you fall down every now and then if you miss legs), I have to look at the code that changes you into a monkey and back, and I'll have to update a few of the changeling abilities to account for the new limb system. After that we should probably test it on MSO's test server, because I am sure there are a whole bunch of special cases I forgot.

Right now, unfortunately, my code won't compile for a reason that I hope is not my own fault.

Code: Select all
code\game\gamemodes\malfunction\malfunction.dm:215:error:= : bad text


The line in question looks like this, and as far as I know it has not been changed in a long time:

Code: Select all
set desc = "Activates the self-destruct device on [world.name]."


This is absolutely not your fault at all. Someone merged something bad in. I have that error too.
Image
Image

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 26, 2015 2:45 pm #99065

Currently humans have one new var called organsystem that keeps track of all organdatums in a list. The few dependencies that do exist are all hard-coded, and not inherent in the data structure. Ever since I began running into the limitations of this system I realized that there would be a point in the future in which I'd have to rewrite it, so I will cut to the chase and do that right now.

The organsystem will retain a list of organs that are currently a part of it, to make finding organs easier. But in addition, I'll give every organsystem a reference to its "core", the organ that all other organs depend on. This organ cannot be removed from the mob except for admin fuckery. For humans this is of course their chest. (You can argue that a human's core is their head, but this system will be a whole lot easier if we use chests as cores because that's where all the clothing goes. Chopped off heads are like removed brains.)

Every organitem gets a list of organdatums. These datums identify which suborgans that organ supports. For the head this is of course the brain, but for the chest it's not just the heart and appendix, but also all limbs and the head. The advantage of this is that when you chop off an organ, all suborgans that depend on it are still stored in the organitem and don't need to be specifically moved there. This will take away a lot of headaches I had while dealing with, for example, beheading.

I'll have to rewrite the data structures themselves, but I already depended a lot on helper functions for most organ related stuff so hopefully the number of changes I need to carry out in the code is minimal.


Oh, by the way, I solved the malfunction AI bug by updating my BYOND client. I haven't fixed the problems with dismemberment yet, but I'll do that after the data structure rewrite.
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Razharas
 
Joined: Tue Apr 15, 2014 8:55 pm
Byond Username: Razharas

Re: Dismemberment & Organs

Postby Razharas » Fri Jun 26, 2015 3:48 pm #99087

Thats a nice dismemberment implementation attempt you have here
I hope nothing bad will happen to it

User avatar
Ricotez
 
Joined: Thu Apr 17, 2014 9:21 pm
Location: The Netherlands
Byond Username: Ricotez

Re: Dismemberment & Organs

Postby Ricotez » Fri Jun 26, 2015 3:56 pm #99094

Razharas wrote:Thats a nice dismemberment implementation attempt you have here
I hope nothing bad will happen to it


Image
MimicFaux wrote:I remember my first time, full of wonderment and excitement playing this game I had heard so many stories about.
on the arrival shuttle, I saw the iconic toolbox on the ground. I clubbed myself in the head with it trying to figure out the controls.
Setting the tool box, now bloodied, back on the table; I went to heal myself with a medkit. I clubbed myself in the head with that too.
I've come a long ways from asking how to switch hands.

Spoiler:
#coderbus wrote:<MrPerson> How many coders does it take to make a lightbulb? Three, one to make it, one to pull the pull request, and one to fix the bugs

Kor wrote:The lifeweb playerbase is primarily old server 2 players so technically its our cancer that invaded them

peoplearestrange wrote:Scared of shadows whispers in their final breath, "/tg/station... goes on the tabl..."

DemonFiren wrote:Please, an Engineer's first response to a problem is "throw it into the singulo".

tedward1337 wrote:Donald Trump is literally what /pol/ would look like as a person

CrunchyCHEEZIT wrote:why does everything on this server have to be a federal fucking issue.

Saegrimr wrote:One guy was running around popping hand tele portals down in the halls before OPs even showed up and got several stranded out on lavaland.
The HoP just toolboxes someone to death out of nowhere, then gets speared by a chemist who saw him murder a guy, then the chemist gets beaten to death because someone else saw him kill the HoP.
Tele-man somehow dies and gets its looted by an atmos tech who managed to use it to send two nuke ops to lavaland, who were then surrounded by several very angry people from earlier and some extra golems on top of it.
Captain dies, gets cloned/revived, lasers the guy holding the disk into crit to take it back.
Some idiot tries to welderbomb the AI hiding out at mining for no discernible reason.
Two permabans and a dayban, i'm expecting a snarky appeal from one of them soon. What the fuck.

ShadowDimentio wrote:I am the problem

User avatar
Remie Richards
 
Joined: Thu Apr 17, 2014 7:11 pm
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Byond Username: CrimsonVision

Re: Dismemberment & Organs

Postby Remie Richards » Sat Jun 27, 2015 1:56 am #99212

Razharas wrote:Thats a nice dismemberment implementation attempt you have here
I hope nothing bad will happen to it


Not again Razh!
Come one everybody, shout at him and he'll go away!

Not again Razh!
Not again Razh!
Not again Razh!
私は完璧

PreviousNext

Return to Coding

Who is online

Users browsing this forum: No registered users