Dragon Inventories Question

Post » Wed Jun 20, 2012 12:45 am

Hello all. I have replaced a number of the Dragon Wall dragons with my own dragons, and I'd like them to drop another item upon death. I've tried placing it in their inventory, and that didn't seem to work. Then I tried just adding directly to the player's inventory through an ondeath event script on the Dragon itself (as in, not an alias, directly on the instance of the dragon). That didn't work either. Is there any way to make a dragon drop another item?

Here's my script if that helps.

Scriptname OnDeathHeart extends ObjectReference Ingredient Property TBJDragonheart  Auto event OnDeath()   Game.GetPlayer().AddItem(TBJDragonheart, 1)endEvent
User avatar
Hot
 
Posts: 3433
Joined: Sat Dec 01, 2007 6:22 pm

Post » Tue Jun 19, 2012 7:26 pm

if you have your own dragons, give them your own death item leveled list.

For example,
>Items >LeveledItem >DeathItemDragon01

The death item leveled list is selected from the dragons actor properties. Its right on the 'traits' tab.
User avatar
Fam Mughal
 
Posts: 3468
Joined: Sat May 26, 2007 3:18 am

Post » Tue Jun 19, 2012 10:26 am

Just to confirm (because you didn't say and I always forget this step) once the script is on the dragon, did you edit the properties of the script to assign an ingredient item to the TBJDragonheart property?
User avatar
katie TWAVA
 
Posts: 3452
Joined: Tue Jul 04, 2006 3:32 am

Post » Tue Jun 19, 2012 8:15 pm

if you have your own dragons, give them your own death item leveled list.

For example,
>Items >LeveledItem >DeathItemDragon01

The death item leveled list is selected from the dragons actor properties. Its right on the 'traits' tab.

Tried that, didn't work.
User avatar
Christina Trayler
 
Posts: 3434
Joined: Tue Nov 07, 2006 3:27 am

Post » Tue Jun 19, 2012 11:01 pm

Its called a leveled list because not everything is selected everytime. Its random.
You may not have tried enough, or put the percentage chance high enough for your new item to spawn.

And you need to make your own leveled list.
User avatar
Lady Shocka
 
Posts: 3452
Joined: Mon Aug 21, 2006 10:59 pm

Post » Tue Jun 19, 2012 12:03 pm

Just to confirm (because you didn't say and I always forget this step) once the script is on the dragon, did you edit the properties of the script to assign an ingredient item to the TBJDragonheart property?

Yes, I did.
User avatar
helen buchan
 
Posts: 3464
Joined: Wed Sep 13, 2006 7:17 am

Post » Tue Jun 19, 2012 1:53 pm

Its called a leveled list because not everything is selected everytime. Its random. You may not have tried enough, or put the percentage chance high enough for your new item to spawn. And you need to make your own leveled list.

Is there any way to give an item a probability of 100% to show up? Because I notice that the probabilities of getting scales is very high, so there must be a way to manipulate this.
User avatar
Stacy Hope
 
Posts: 3391
Joined: Thu Jun 22, 2006 6:23 am

Post » Tue Jun 19, 2012 2:41 pm

Its called a leveled list because not everything is selected everytime. Its random. You may not have tried enough, or put the percentage chance high enough for your new item to spawn. And you need to make your own leveled list.

I took the Lcharddragondeathlist and made a copy of it, added in my Dragon Heart. Didn't take, but I think its because of the percent odds thing.
User avatar
Lucky Girl
 
Posts: 3486
Joined: Wed Jun 06, 2007 4:14 pm

Post » Tue Jun 19, 2012 3:09 pm

I took the Lcharddragondeathlist and made a copy of it, added in my Dragon Heart. Didn't take, but I think its because of the percent odds thing.

Hmm, maybe not actually. I have it in there as a 0 ChanceNone item, and when I preview drops, it is always in there. It only doesn't work in game.
User avatar
carla
 
Posts: 3345
Joined: Wed Aug 23, 2006 8:36 am

Post » Tue Jun 19, 2012 1:01 pm

perhaps there is something wrong with your 'dragon heart' object.
You can test it by making a container, and placing one in it in the world.

Also make sure your using a clean save game.
User avatar
Maya Maya
 
Posts: 3511
Joined: Wed Jul 05, 2006 7:35 pm


Return to V - Skyrim