Armageddon General Discussion Board

General => Code Discussion => Topic started by: Krath on March 12, 2009, 09:21:01 AM

Title: Look Corpse
Post by: Krath on March 12, 2009, 09:21:01 AM
I was wondering, if a PC dies and their corpse is there, would it be a hard thing to code that if
you look at the corpse it would give the deceased PC's main desc?

What do you as players think of this idea as well?
Title: Re: Look Corpse
Post by: brytta.leofa on March 12, 2009, 09:53:55 AM
I've wanted this for ages.
Title: Re: Look Corpse
Post by: Maso on March 12, 2009, 10:07:01 AM
Definately.
Title: Re: Look Corpse
Post by: Armaddict on March 12, 2009, 10:11:10 AM
Been brought up many times, but hasn't been put up yet, so I assume there could be a reason.  Maybe code?

One I can think of off the top of my head?  What if you mangle a body?  Like badly.  Remove eyes.  Scar up the face. Cut out tattoos.  As in you do everything possible to make it unidentifiable.  Then drop the corpse with that in its description.  I bet you the information would still get out, even if completely innocent.
Title: Re: Look Corpse
Post by: Maso on March 12, 2009, 10:15:26 AM
Maybe the action of 'mangling' a corpse could be submitted with a command. So you roleplay it out, then 'mangle' body. This would result in the description being mangled too, perhaps not entirely - so that there was a small chance of recognition.
Title: Re: Look Corpse
Post by: Krath on March 12, 2009, 10:26:54 AM
Quote from: Maso on March 12, 2009, 10:15:26 AM
Maybe the action of 'mangling' a corpse could be submitted with a command. So you roleplay it out, then 'mangle' body. This would result in the description being mangled too, perhaps not entirely - so that there was a small chance of recognition.

Badass!
Title: Re: Look Corpse
Post by: FuSoYa on March 12, 2009, 10:43:14 AM
Dude this would be an AMAZING addition to the game.

Amazing...

...

one more time.  Amazing.

Brandon
Title: Re: Look Corpse
Post by: Gagula on March 12, 2009, 10:50:40 AM
Quote from: FuSoYa on March 12, 2009, 10:43:14 AM
Dude this would be an AMAZING addition to the game.

Amazing...

...

one more time.  Amazing.

Brandon

damn, you took my word....and three times.....now we shall use Uber-Cool! ;D
Title: Re: Look Corpse
Post by: Synthesis on March 12, 2009, 11:57:03 AM
Since corpses become containers, the easiest way would be to cut and paste the deceased person's "main description" field to the newly-generated container's "main description" field.

If you wanted to get crazy, you could add some code such that any sentence with the words head, face, ears, nose, mouth, lips, cheeks, eyes, eyebrows, etc. would be deleted if the corpse is beheaded.

The mangle corpse thing is cool, too.

Although I don't see why you shouldn't be able to bury a motherfucker if you have a shovel and some time to kill.
Title: Re: Look Corpse
Post by: musashi on March 12, 2009, 12:27:41 PM
I absolutely love every idea to come out of this thread, and will idea all of them in game as well. This would be an amazing addition to the game.
Title: Re: Look Corpse
Post by: Cutthroat on March 12, 2009, 12:29:11 PM
Yes yes yes. Show tattoos too.

A: "I found a dead guy outside the Sanc. Looking at him now."

B: "Oh, is he a citizen of Tuluk?"

A: "Shit, uh... I... don't... know."
Title: Re: Look Corpse
Post by: Winterless on March 12, 2009, 12:31:07 PM
Muk, yes, please!
Title: Re: Look Corpse
Post by: Synthesis on March 12, 2009, 12:36:44 PM
Quote from: Winterless on March 12, 2009, 12:31:07 PM
Muk Tek, yes, please!
ftfy
Title: Re: Look Corpse
Post by: Agent_137 on March 12, 2009, 12:38:50 PM
i'm under the impression they are resolving this for Arma2. Maybe some of that can trickle down to arma 1. :D
Title: Re: Look Corpse
Post by: Morgenes on March 12, 2009, 12:46:15 PM
Quote from: Agent_137 on March 12, 2009, 12:38:50 PM
i'm under the impression they are resolving this for Arma2. Maybe some of that can trickle down to arma 1. :D

Personally, I don't know why (other than 'that's the way Diku did it') we make the dead person into a container object.  In my mind they should stay a person (just in a dead state).  It would force you to have to strip the body, and could lead to some neat rp as tattoos and scars are revealed.  Just my 2 sid.
Title: Re: Look Corpse
Post by: jhunter on March 12, 2009, 12:57:12 PM
So then you'd just "steal <whatever> man" the same as if they were alive but unconscious, to grab their pack, etc?
Sounds good to me. I think some code should be put in place so that the bodies deteriorate over time. Like, when you look shortly after death you get the whole desc, (provided the head is intact) but a day later some of the text is gone, only leaving a partial description and this increases over time.
It could also be coded so that during this time, additional tags are added to show that "it's decaying" or "scavengers have been at it", etc.
Oh, and scent flags and echoes added to a room that contains a corpse and possibly the adjacent rooms as well. Perhaps a percentage chance of nausea cause by it dependant upon one's endurance.
Title: Re: Look Corpse
Post by: Agent_137 on March 12, 2009, 12:58:38 PM
I'm glad you are not satisfied with the current implementation! This bodes well. But perhaps they did it out of consideration for stuff like arrows in bodies? Or so it could be pickup up like an item? Or maybe it was a shortcut since most Diku is H&S so most bodies are going to be mobs. PCs will get rezzed, run out to their former body, and grab all their stuff. They wouldn't care about identification.

Regardless, all those considerations (like many other diku things) are out of whack for an RPI.


also, jhunter, i like your ideas but we should consider the rate of deterioration in a desert environment. It's probably pretty low? And scavengers of the size they are in Zalathas will probably just gobble the body whole. Thus your suggestion is kind of approximated already as long as we are still rebooting the game once or twice a week.
Title: Re: Look Corpse
Post by: NoteworthyFellow on March 12, 2009, 01:04:31 PM
I remember reading that this would be implemented in 2.Arm, but if it works its way into the current game, then it's time for me to bust out my merchant/physician forensic investigator.
Title: Re: Look Corpse
Post by: The7DeadlyVenomz on March 12, 2009, 01:05:49 PM
For the record, an easy fix for this right now (easy being a relative term) would be to make corpses and heads writable objects. Implement a new language, let's call it corpse_making. The code would load the corpse item (which, BTW, is a single number in the 'database' section of areas, btw, or a virtual object with a reserved obj# (I don't remember which - it varies from code to code)), parse sdesc and main desc to the object using the language corpse_making, and let plays see it using their hidden language corpse_making.

Conversely, I think you could just set a dead flag on the PC and disconnect them. I seem to remember being able to load dead PCs in another codebase. If the game did this, instead of loading the corpse item, that would work. I think the process would be: PC dies, Code sets the PC's flag as Dead, sends the PC's user to menu, then loads dead PC to the room.
Title: Re: Look Corpse
Post by: The7DeadlyVenomz on March 12, 2009, 01:07:35 PM
As a matter of fact, I think the PC flagged dead would be an easier option, code wise, when I think about it.

You WOULD have to go through the code and add fixes for PCs flagged as dead, such as in the crime code) but most of that you can do with grep and copy and paste.
Title: Re: Look Corpse
Post by: Morgenes on March 12, 2009, 05:10:11 PM
In interest of getting it done fast I did the OP's suggestion, and copied the main description over from the dead (n)pc to the corpse object.  This will be in after maintenance.
Title: Re: Look Corpse
Post by: RogueGunslinger on March 12, 2009, 05:11:44 PM
Quote from: Morgenes on March 12, 2009, 05:10:11 PM
In interest of getting it done fast I did the OP's suggestion, and copied the main description over from the dead (n)pc to the corpse object.  This will be in after maintenance.

.................................  :o
Title: Re: Look Corpse
Post by: Thunkkin on March 12, 2009, 05:13:13 PM
<3
Title: Re: Look Corpse
Post by: Eloran on March 12, 2009, 05:16:04 PM
Quote from: Morgenes on March 12, 2009, 05:10:11 PM
In interest of getting it done fast I did the OP's suggestion, and copied the main description over from the dead (n)pc to the corpse object.  This will be in after maintenance.

Jesus Christ, you are the fucking man. Man.

I love this.

I LOVE THIS.
Title: Re: Look Corpse
Post by: a strange shadow on March 12, 2009, 05:17:27 PM
*happy sigh*

I already spazzed after reading about tdesc, so now I just have this happy glow thing going on.
Title: Re: Look Corpse
Post by: Gunnerblaster on March 12, 2009, 05:17:49 PM
Quote from: Eloran on March 12, 2009, 05:16:04 PM
Jesus Christ, you are the fucking man. Man.
Title: Re: Look Corpse
Post by: Yokunama on March 12, 2009, 05:18:31 PM
Wow!
Title: Re: Look Corpse
Post by: mangler on March 12, 2009, 05:24:00 PM
I was thinking this exact same thing the other day, great idea, so long as it works for just the bodies, i'd find it a little jarring if you got the whole mdesc of the corpse from just looking at a head.. the description of legs etc.
Title: Re: Look Corpse
Post by: Eloran on March 12, 2009, 05:26:27 PM
Quote from: mangler on March 12, 2009, 05:24:00 PM
i'd find it a little jarring if you got the whole mdesc of the corpse from just looking at a head.. the description of legs etc.

I bet you find it really jarring when you pick up the head of the hulking, muscular man.  ;)
Title: Re: Look Corpse
Post by: Kol on March 12, 2009, 05:27:30 PM
Quote from: Gunnerblaster on March 12, 2009, 05:17:49 PM
Quote from: Eloran on March 12, 2009, 05:16:04 PM
Jesus Christ, you are the fucking man. Man.
Title: Re: Look Corpse
Post by: staggerlee on March 12, 2009, 05:27:52 PM
Quote from: Eloran on March 12, 2009, 05:26:27 PM
Quote from: mangler on March 12, 2009, 05:24:00 PM
i'd find it a little jarring if you got the whole mdesc of the corpse from just looking at a head.. the description of legs etc.

I bet you find it really jarring when you pick up the head of the hulking, muscular man.  ;)

Use your imagination, and ignore the parts that make no sense.
This is an awesome change.
Title: Re: Look Corpse
Post by: Agent_137 on March 12, 2009, 06:14:30 PM
Quote from: staggerlee on March 12, 2009, 05:27:52 PM
Quote from: Eloran on March 12, 2009, 05:26:27 PM
Quote from: mangler on March 12, 2009, 05:24:00 PM
i'd find it a little jarring if you got the whole mdesc of the corpse from just looking at a head.. the description of legs etc.

I bet you find it really jarring when you pick up the head of the hulking, muscular man.  ;)

Use your imagination, and ignore the parts that make no sense.
This is an awesome change.

No shit. That was always a problem. This provides way more RP tools and NO drawbacks.
Title: Re: Look Corpse
Post by: NoteworthyFellow on March 12, 2009, 06:17:56 PM
Morgenes.

Listen.

This all rocks.  You rock.  I feel like I owe you a beer for this.  Or a pizza.  Or both.

Love,
-Note
Title: Re: Look Corpse
Post by: FuSoYa on March 12, 2009, 06:18:24 PM
Dude... I'm so happy to be falling back in love with the game at this moment.

Now if only my puppy would grow into a mature dog who didn't love to spaz so much so I could play more.

Morg... you rock dick so hard.  I'm in <3.

Brandon
Title: Re: Look Corpse
Post by: The7DeadlyVenomz on March 12, 2009, 06:47:28 PM
Quote from: Morgenes on March 12, 2009, 05:10:11 PM
In interest of getting it done fast I did the OP's suggestion, and copied the main description over from the dead (n)pc to the corpse object.  This will be in after maintenance.
Dude ... that's hot. Seriously.

On a cavat, and not to be a dick, but outta curiosity, how hard would it be to have the behead code create a perm object instead of the temp object? It could have an age timer that changes it from the head of the grey-skinned man to the rotting head of the grey-skinned man to the human skull. This would be great for raiders in save rooms, and for bounty purposes.

But I digress.

You rock.
Title: Re: Look Corpse
Post by: Chettaman on March 12, 2009, 06:56:38 PM
Sweet.
Title: Re: Look Corpse
Post by: Kol on March 12, 2009, 06:58:00 PM
Quote from: The7DeadlyVenomz on March 12, 2009, 06:47:28 PM
Quote from: Morgenes on March 12, 2009, 05:10:11 PM
In interest of getting it done fast I did the OP's suggestion, and copied the main description over from the dead (n)pc to the corpse object.  This will be in after maintenance.
Dude ... that's hot. Seriously.

On a cavat, and not to be a dick, but outta curiosity, how hard would it be to have the behead code create a perm object instead of the temp object? It could have an age timer that changes it from the head of the grey-skinned man to the rotting head of the grey-skinned man to the human skull. This would be great for raiders in save rooms, and for bounty purposes.

But I digress.

You rock.

This would be AWSOME!!!
The figure In a dark hooded greatcloak hacks the head off the scarred, tattoed breed, holding it aloft

>You put your head in your pack



2 Ig months later.......


You get the rotting head off the scarred, tattoed breed from your dusty canvass pack, gagging a bit at the smell.

You say to the mysterious figure in a black hooded cloak (grunting softly) "Sorry, I've had it for a while...."

Daintily, the mysterious figure in a black hooded cloak takes the rotting head of the scarred, tattooed breed from you, an ear falling of in the process.


;D
Title: Re: Look Corpse
Post by: Armaddict on March 12, 2009, 08:16:15 PM
Morgenes, can I have your babies?

Yes, I know it's physically impossible, but we can go out and buy hamsters or something that have babies and call them yours.

You're the shit.
Title: Re: Look Corpse
Post by: Rhyden on March 12, 2009, 08:56:34 PM
Quotebad-ass   /-bæd-æs/  Show Spelled Pronunciation [bad-as]  Show IPA Slang: Vulgar.
–adjective Also, badassed. 1. (of a person) difficult to deal with; mean-tempered; touchy.
2. distinctively tough or powerful; so exceptional as to be intimidating.

–noun
3. a mean-tempered troublemaker.
4. Morgenes
Title: Re: Look Corpse
Post by: Good Gortok on March 12, 2009, 09:04:03 PM
I would like to be able to see how a corpse died. There could be a few categories:

Death to blunt trauma
Death to slashing
Death to stabbing
Death to claws/bites/pinches
Vomit pooled around the corpse (removed if corpse is moved)
Corpse having an unusual color (certain poisons?)
Burned to death

It would even be enough if corpses were automatically arranged according to the cause of death. If someone has moved a corpse around a bunch and is keeping it somewhere, they almost always know how it died. The issue mostly occurs when you find the corpse of some specific person but are left completely clueless as to the cause of death. So, if implemented, you might stumble upon your deceased friend in the desert and see:

The corpse of the tall, muscular man lies on the ground, clawed to death.
Title: Re: Look Corpse
Post by: Krath on March 12, 2009, 09:42:03 PM
I just orgasmed!
Title: Re: Look Corpse
Post by: RogueGunslinger on March 12, 2009, 09:53:24 PM
Quote from: Good Gortok on March 12, 2009, 09:04:03 PM
I would like to be able to see how a corpse died. There could be a few categories:

Death to blunt trauma
Death to slashing
Death to stabbing
Death to claws/bites/pinches
Vomit pooled around the corpse (removed if corpse is moved)
Corpse having an unusual color (certain poisons?)
Burned to death

It would even be enough if corpses were automatically arranged according to the cause of death. If someone has moved a corpse around a bunch and is keeping it somewhere, they almost always know how it died. The issue mostly occurs when you find the corpse of some specific person but are left completely clueless as to the cause of death. So, if implemented, you might stumble upon your deceased friend in the desert and see:

The corpse of the tall, muscular man lies on the ground, clawed to death.


After I make a kill, I use the arrange command to portray this.
Title: Re: Look Corpse
Post by: Delstro on March 12, 2009, 10:06:45 PM
(http://members.shaw.ca/alvandyk/HeadExplode.gif)
Title: Re: Look Corpse
Post by: Pale Horse on March 12, 2009, 11:33:39 PM
Quote from: Krath on March 12, 2009, 09:42:03 PM
I just Morgasmed!
Title: Re: Look Corpse
Post by: Gagula on March 13, 2009, 12:13:57 AM
Quote from: Pale Horse on March 12, 2009, 11:33:39 PM
Quote from: Krath on March 12, 2009, 09:42:03 PM
I just Morgasmed!

Oh damn, time to change my pants....again.
Title: Re: Look Corpse
Post by: Ourla on March 13, 2009, 12:14:42 AM
Quote from: Pale Horse on March 12, 2009, 11:33:39 PM
Quote from: Krath on March 12, 2009, 09:42:03 PM
I just Morgasmed!

And it was a double.
Title: Re: Look Corpse
Post by: jhunter on March 13, 2009, 12:16:30 AM
I'm naming my next pet after you, Morg. Fucking swweeeet!
Title: Re: Look Corpse
Post by: Zoltan on March 13, 2009, 12:47:12 AM
Quote from: Ourla on March 13, 2009, 12:14:42 AM
Quote from: Pale Horse on March 12, 2009, 11:33:39 PM
Quote from: Krath on March 12, 2009, 09:42:03 PM
I just Morgasmed!

And it was a double.

omigodomigodomigod... KILLER COMBO.

Awesome.
Title: Re: Look Corpse
Post by: brytta.leofa on March 13, 2009, 09:30:55 AM
Truly great stuff, Morgenes.