• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Permanent corpses

<!--QuoteBegin-NathanKell+Jul 10 2005, 09:55 PM--><div class='quotetop'>QUOTE(NathanKell @ Jul 10 2005, 09:55 PM)</div><div class='quotemain'><!--QuoteEBegin-->Perhaps we can check if the creation fails, and if so add the failed-respawn corpse's items to an existing corpse?
<div align="right">[snapback]122771[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
Hmm, i wouldn't know how to identify one of the existing corpses. What ID do fantomchrs get?

You know that I always tend to keep things simple, even if i sometimes neglegt playercomfort. I'd say if someone leaves so many corpses unlooted that max_chr is exceeded he just doesn't deserve any more booty ("Kids, your room is a terrible mess! If you don't loot all those littered corpses right now you won't get your dessert after dinner!")

Or you could switch to your automatic looting, which has served us so well for so long.
 
( Oops, forgot to say that stunned dialog is fixed too. )

ROTFL @ lootdead. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/24.gif" style="vertical-align:middle" emoid=":rofl" border="0" alt="24.gif" />
Yeah, I'll disable that pronto. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />

-I'll see if I can get corpses to retain the angle of their predecessors--or rather, predeceasors...hopefully we can just grab ay and then use teleporttoposay (if it exists, otherwise setcharacteray or whatever).
Don't see why these corpses won't work for boarding too, though.

-I'll set them immortal. CCC's KillCharacter() call will go right through immortality, but I'll also de-set it in the dialog to be sure.

-I'll look at the random item assignment.

-Ditto for soldiers. Hey, wait--CreateFantomFromMe gives them their original sword on top of the CreateFantom's generated sword, I bet that's why.

We can add a toggle to disallow the killing of the raidable corpse; if we also get angle working properly you won't notice the switcheroo, so then it should work the way you want.
---
I'll see what I can do with pickpocketing. I need to implement a 'change attack mode' key anyway, so maybe we can control what you're pickpocketing with that.

Ether bottle stuns only unaware characters; it could be that. But I'll also bump up the chance, too--good point. Maybe to compensate we lower the stun duration...
 
"location fantom <x>" I believe. Whatever it is, it's assigned at the top of CreateFantom()

I'd say just register the first corpse's ID with the pchar, rather than choosing a random one.

But, you have a good point. It's a rare problem indeed, and as long as you loot the old corpses you should never see it. No need for in-practical-terms-needless complexity. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- You can kill a corpse. Some sort of fix has to be added so that you can't kill corpses.<!--QuoteEnd--></div><!--QuoteEEnd-->
Not so easy, cause the kill routine runs to clear the characterslots.

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- When raiding the Oxbay Sewers/Dungeons, I killed a lot of pirates. I searched them for new items and almost all had a blunderbuss, a grenade and some other SWAK weapons. Within a few minutes, I had fifteen blunderbusses.
.....
Also: The random assignment of extra items to characters is being rather generous, especially for the dungeon pirates. I reckon they should only sometimes be given extra items. Not almost always a blunderbuss and a grenade.<!--QuoteEnd--></div><!--QuoteEEnd-->
That's certainly too much. I'll reduce the chance for SWAK weapons.

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- Soldiers seem to be given some extra swords to loot. Seems a bit strange to me...<!--QuoteEnd--></div><!--QuoteEEnd-->
I assume that they get one sword from their original definition in characters_init and another one during respawning. Though a spare blade suits a professional fighter well <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->And, while we're at it, I agree with Nathan that pickpocketing shouldn't open the trading interface, but just take a few items; the money or blade or gun or something like that anyway. The trading interface for looting should, according to me, only be opened for corpses and stunned characters.<!--QuoteEnd--></div><!--QuoteEEnd-->
I agree as well. So back to the original code there, right?

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->And talking about stunned characters: It seems like te etherbottle doesn't always stun characters. I reckon that if anyone would inhale those smokes, they would be stunned, so the etherbottle should have a 100% stun-chance.<!--QuoteEnd--></div><!--QuoteEEnd-->
I personally like things unpredictable, but I wouldn't mind if you publish this with 100%

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Just my random ideas. I hope they are of some use... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
They always are, even if i can't make all of them come true <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Heh, typical: while I was still musing over the last post Nathan has already solved the issues <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />
So my post was outdated before I submitted it. *SIGH* I am just too slow for the cyberage <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Personally, I would like it if the corpses wouldn't disappear and reappear, but just stay like in the first version of this mod.<!--QuoteEnd--></div><!--QuoteEEnd-->

Can be done easily. Just change this section in LAI_events.c

void LAi_Character_Dead_Event()
{
aref chr = GetEventData();
CharacterExitFromLocation(chr);
// original chr body disappears, put 'if(chr.name != "The late")' in front to keep corpses lying around after looting

like this

void LAi_Character_Dead_Event()
{
aref chr = GetEventData();
if(chr.name != "The late") CharacterExitFromLocation(chr);
// original chr body disappears, put 'if(chr.name != "The late")' in front to keep corpses lying around after looting

But if you try a dungeon fight now you'll quickly hit the limit of max chrs and corpsegeneration will cease completely
 
My, who would have thought corpses could cause so much work... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
"Kill corpses", isn't that "overkill"? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

(sorry, smartass remark as usual) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/razz.gif" style="vertical-align:middle" emoid=":razz" border="0" alt="razz.gif" />
 
Not if you've seen a "Living Dead" movie or the "Thriller Video recently!
 
<snicker!> No, not lately, thanks... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

Ran into an odd bug on the "permanent corpses" mod - was in the "sewer" with a newly hired tavern officer, and we were mucking about dealing with the smugglers, and had killed them all, but my officer would not put his sword away and kept striking at the dead guys... VERY odd... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

I got interrupted in the middle of play, so am not sure how this will turn out. I saved in mid-sewer while he was still exhibiting this odd behavior.

BTW... The one guy in the Oxbay dungeon who is locked up? You can kill him if you shoot him, but now you can't loot his body because he's too far away. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
<!--QuoteBegin-CatalinaThePirate+Jul 13 2005, 07:07 AM--><div class='quotetop'>QUOTE(CatalinaThePirate @ Jul 13 2005, 07:07 AM)</div><div class='quotemain'><!--QuoteEBegin-->BTW...  The one guy in the Oxbay dungeon who is locked up?  You can kill him if you shoot him, but now you can't loot his body because he's too far away.  <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
<div align="right">[snapback]123365[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
You maybe could use sidestep to "walk" through the locked gate and loot him anyway...? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
In my ignorance I don't know how to sidestep. I am more of a straight ahead guy I guess, <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />
 
Use the "A" and "D" keys on the keyboard (can be reassigned). It's not a <i>real</i> side-step, it's just a teleport. And you can move through anything by using that. It can make for weird situations. But it's nice to have nonetheless. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
<!--QuoteBegin-Pieter Boelen+Jul 13 2005, 10:23 PM--><div class='quotetop'>QUOTE(Pieter Boelen @ Jul 13 2005, 10:23 PM)</div><div class='quotemain'><!--QuoteEBegin-->Use the "A" and "D" keys on the keyboard (can be reassigned). It's not a <i>real</i> side-step, it's just a teleport. And you can move through anything by using that. It can make for weird situations. But it's nice to have nonetheless. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
<div align="right">[snapback]123439[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
Aye, I second that! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
Cat: <i>Ran into an odd bug on the "permanent corpses" mod - was in the "sewer" with a newly hired tavern officer, and we were mucking about dealing with the smugglers, and had killed them all, but my officer would not put his sword away and kept striking at the dead guys... VERY odd... </i>

Ouch, you're quite right. Hadn't thought of that. I'll make sure LAi Group Corpses is neutral with all.

I sidestep in there too. Oh, when I get a sec I want to make sidestep a continuous thing, rather than press-once-each-time.
 
<!--QuoteBegin-NathanKell+Jul 14 2005, 03:52 AM--><div class='quotetop'>QUOTE(NathanKell @ Jul 14 2005, 03:52 AM)</div><div class='quotemain'><!--QuoteEBegin-->... Oh, when I get a sec I want to make sidestep a continuous thing, rather than press-once-each-time.
<div align="right">[snapback]123509[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->

Yay!!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> Never thought about sidestep, LOL! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

Got another odd one, when you're in the dungeon and the guys re-spawn, are they all supposed to be "stunned" (sitting on the floor)? Looks very odd to walk into a dungeon section and there they all are, sitting around looking like they're STONED... And you go up to "talk" to them (no sword drawn) and open up the loot menu and they die? Is that supposed to happen?

Seems kinda odd, in a way. Do you get a bad rep for looting (killing) them when they're like that?

And my officer just goes bonkers, he won't sheathe his sword, keeps hitting away at NOTHING (somebody may be dead below him), and walks off to do battle with someone else invisible while I take on the "live" enemy. This is totally strange behavior... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
Which version of the mod? (which day did you download it, I mean <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />)--I think I have that fixed as of yesterday's? version.
 
From July 12th. You probably already have that fixed, I'm sure. I can't keep up with you folks anymore! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />
 
Back
Top