1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

Corpses

Discussion in 'Neverwinter Nights (Classic)' started by Aragorn191, May 23, 2003.

  1. Aragorn191 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Feb 16, 2003
    Messages:
    4
    Likes Received:
    0
    [​IMG] O.K I'm new to this and I need a few questions anwserd. I am a big fan of big battles and I found the corpses great for adding that bit o realism to it. Problem is, there are only human corpses, no other races. So I was wondering how I would make corpses for Elves and orcs and lizzard men and so on and so forth. Could I stop the dead body from dissapering or what? Any help would be much appreciated. Thanks.
     
  2. BigStick Gems: 13/31
    Latest gem: Ziose


    Joined:
    May 2, 2003
    Messages:
    590
    Likes Received:
    0
    I don't think that there is a way to prevent the dead bodies from disappearing. You may be able to script something to place an orc laying down and keep him that way. You could name him "Dead Orc" or something like that. I'm not sure how that would work.

    Have you tried searching Bioware's site? There are lots of answers there. I know I've read about somebody creating a way to make the corpses lootable. I'm not sure how it was implemented, but I am guesing that a new corpse object has to be created where a creature dies.

    Not very helpful, I know, but perhaps I gave you a lead that you can follow up.
     
  3. ArtEChoke Gems: 17/31
    Latest gem: Star Diopside


    Joined:
    Jul 12, 2001
    Messages:
    916
    Likes Received:
    0
    Yes there is a way to place other corpses. Its an easily implemented script you can use to basically, place a monster, and kill it when the mod starts, leaving the corpse, and a little blood sploch on the ground. It will also make the bodies of creatures slain during the game remain on the ground too... unless the player decides to chop them up :D Oh yeah, it makes whatever weapon they had equipped fall to the ground next to them too, pretty cool.

    I *think* I used this script but I'm not positive (I'm at work, I'd have to check at home, to see if that was the exact version.). If that one doesn't do you right, there's lots of other scripts that do similar things on the site. Good luck.
     
  4. Capt. Tripps Gems: 9/31
    Latest gem: Iol


    Joined:
    Mar 11, 2001
    Messages:
    341
    Likes Received:
    0
    Use the SetIsDestroyable function in your spawn in script to not have the bodies decay and to be lootable. Then add another line in there to kill the creature on spawn in. Here's a very simple script I use to do that.
    Code:
    void main()
    {
     SetIsDestroyable(FALSE, FALSE, TRUE);
    ApplyEffectToObject(DURATION_TYPE_INSTANT,
     EffectDamage(GetCurrentHitPoints(OBJECT_SELF) + 10, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_FIVE), OBJECT_SELF);
    }  
    Set the advanced properties to no permament death and add droppable to any inventory objects you want to remain on the corpse after death.
     
  5. BigStick Gems: 13/31
    Latest gem: Ziose


    Joined:
    May 2, 2003
    Messages:
    590
    Likes Received:
    0
    Hmm. Cool, I guess you really do learn something every day! :)
     
  6. Aragorn191 Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Feb 16, 2003
    Messages:
    4
    Likes Received:
    0
    [​IMG] Thanks for the help guys.
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.