Fri, 23rd May '03, 12:37am
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.
Fri, 23rd May '03, 4:27pm
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.
Fri, 23rd May '03, 5:17pm
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 (http://nwvault.ign.com/Files/scripts/data/1039929913421.shtml) 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.
Fri, 23rd May '03, 9:07pm
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.
SetIsDestroyable(FALSE, FALSE, TRUE);
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.
Fri, 23rd May '03, 9:53pm
Hmm. Cool, I guess you really do learn something every day! :)
Sat, 24th May '03, 2:52am
Thanks for the help guys.