<!--QuoteBegin-High Sea Lass+Jul 5 2005, 08:49 AM--><div class='quotetop'>QUOTE(High Sea Lass @ Jul 5 2005, 08:49 AM)</div><div class='quotemain'><!--QuoteEBegin--><!--QuoteBegin-CatalinaThePirate+Jul 3 2005, 10:43 PM--><div class='quotetop'>QUOTE(CatalinaThePirate @ Jul 3 2005, 10:43 PM)</div><div class='quotemain'><!--QuoteEBegin-->How about "deathly quiet"? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid="" border="0" alt="w00t.gif" />
(sorry, I'm in a strange mood again today!) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/slap.gif" style="vertical-align:middle" emoid=":slap" border="0" alt="slap.gif" /><div align="right">[snapback]121167[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
You're deadly serious about this, aren't you? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" />
Neat idea, Couchie! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=")" border="0" alt="smile2.gif" /> Er, CCC... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid="" border="0" alt="me.gif" />
<div align="right">[snapback]121409[/snapback]</div>
<!--QuoteEnd--></div><!--QuoteEEnd-->
I don't mind at all if you call me Couchie, Lassie <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid="" border="0" alt="bow.gif" /> On the contrary, doesn't it sound cute? Turns me into Cccc (Cute couch...) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid="" border="0" alt="doff.gif" />
Hmm, looks like I'm in a strange mood as well <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid="" border="0" alt="whistling.gif" />
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- When using a Thief's Knife on my officers, I could loot them. Maybe that should be prevented to happen.<!--QuoteEnd--></div><!--QuoteEEnd-->
Why do you use a thief's knife on your officers? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid="" border="0" alt="dunno.gif" /> But if you do it is basically the same as exchanging items with them via usual interface, right? So as long as it only looks odd and doesn't do harm I'd keep it that way, i am simply unable to fix each and every oddity (hope that doesn't sound arrogant, it is simply a matter of lacking mental capacity <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="" border="0" alt="modding.gif" /> )
But all your observations are of course welcome, and maybe I can post fixes for some of them after the weekend. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid="" border="0" alt="yes.gif" />
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->About the itembox on dead bodies: It is possible to store the last x,y,z values of the enemy before dying, because it's also possible to store these coordinates when stunning them (for the stars effect). So would it be possible to store the last coordinates of the enemy before dying, then add a box locator to those coordinates? I don't know if this would work, but it is an idea. I would like the itembox on dead bodies; would be a more realistic loot-the-dead mod than the way it is now with the player automatically receiving the items.
------------------------------------
The problem is you can't, SFAIK, create locators with code--they have to be there in the model.
(Another way to do this--see the Perm. Corpses thread--is having an array of those coords stored, and doing x-times-per-second checks of pchar location vs. dead body locations to 'fake' the box-locator functionality...)
However, I should try just flat-up creating new locator attributes and seeing if I can...Maybe we'll be lucky. :}<!--QuoteEnd--></div><!--QuoteEEnd-->
There may be another possible solution: instead of creating locators at the deathsite creating temporary "corpse" fantomcharacters every time a character dies, and transfer name etc. AND the items of the dying person to that chr. The advantage is that you can easily put those corpsecharacters to the coordinates where the death took place, and if we use an invisible (or bloodlike!) model it would look as if you were looting the dead person.
I used similar "functional characters" to make barricades, mantraps and mines (yet another halffinished mod ), so the code of the "setmantrap" function in the attached file may be of interest here.
(sorry, I'm in a strange mood again today!) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/slap.gif" style="vertical-align:middle" emoid=":slap" border="0" alt="slap.gif" /><div align="right">[snapback]121167[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
You're deadly serious about this, aren't you? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" />
Neat idea, Couchie! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=")" border="0" alt="smile2.gif" /> Er, CCC... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid="" border="0" alt="me.gif" />
<div align="right">[snapback]121409[/snapback]</div>
<!--QuoteEnd--></div><!--QuoteEEnd-->
I don't mind at all if you call me Couchie, Lassie <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid="" border="0" alt="bow.gif" /> On the contrary, doesn't it sound cute? Turns me into Cccc (Cute couch...) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid="" border="0" alt="doff.gif" />
Hmm, looks like I'm in a strange mood as well <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid="" border="0" alt="whistling.gif" />
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- When using a Thief's Knife on my officers, I could loot them. Maybe that should be prevented to happen.<!--QuoteEnd--></div><!--QuoteEEnd-->
Why do you use a thief's knife on your officers? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid="" border="0" alt="dunno.gif" /> But if you do it is basically the same as exchanging items with them via usual interface, right? So as long as it only looks odd and doesn't do harm I'd keep it that way, i am simply unable to fix each and every oddity (hope that doesn't sound arrogant, it is simply a matter of lacking mental capacity <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="" border="0" alt="modding.gif" /> )
But all your observations are of course welcome, and maybe I can post fixes for some of them after the weekend. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid="" border="0" alt="yes.gif" />
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->About the itembox on dead bodies: It is possible to store the last x,y,z values of the enemy before dying, because it's also possible to store these coordinates when stunning them (for the stars effect). So would it be possible to store the last coordinates of the enemy before dying, then add a box locator to those coordinates? I don't know if this would work, but it is an idea. I would like the itembox on dead bodies; would be a more realistic loot-the-dead mod than the way it is now with the player automatically receiving the items.
------------------------------------
The problem is you can't, SFAIK, create locators with code--they have to be there in the model.
(Another way to do this--see the Perm. Corpses thread--is having an array of those coords stored, and doing x-times-per-second checks of pchar location vs. dead body locations to 'fake' the box-locator functionality...)
However, I should try just flat-up creating new locator attributes and seeing if I can...Maybe we'll be lucky. :}<!--QuoteEnd--></div><!--QuoteEEnd-->
There may be another possible solution: instead of creating locators at the deathsite creating temporary "corpse" fantomcharacters every time a character dies, and transfer name etc. AND the items of the dying person to that chr. The advantage is that you can easily put those corpsecharacters to the coordinates where the death took place, and if we use an invisible (or bloodlike!) model it would look as if you were looting the dead person.
I used similar "functional characters" to make barricades, mantraps and mines (yet another halffinished mod ), so the code of the "setmantrap" function in the attached file may be of interest here.