Container Model swap.

Post » Wed Jun 20, 2012 3:08 am

Hello again,

does anybody know how to swap the nif file of a container when a specific object is placed in it?

i.e i place a unique sword in a chest, it turns the closed chest into a model of an open chest with the unique sword laying in it? ( this is just an example)

ive already got the two different models made, just trying to work out how to script it up.

the only thing on the CK wiki i could find was showing me how to display messages when any object is placed in a container.


thanks guys n' girls!
User avatar
Melis Hristina
 
Posts: 3509
Joined: Sat Jun 17, 2006 10:36 pm

Post » Wed Jun 20, 2012 3:16 am

I think you may have to fake it. Put both chests at the same spot, with one initially disabled. When you put the weapon into the first chest, it disables itself and enables the other chest. Then it removes the sword from its inventory and places it in the open chest.
User avatar
marina
 
Posts: 3401
Joined: Tue Mar 13, 2007 10:02 pm

Post » Wed Jun 20, 2012 2:45 am

i think you are probably right there randomnoob,

although i did mean to say im not looking to just change the nif file, i know that wouldnt be possible. i meant to say i already have the two seperate containers existing in the creation kit, i just want to swap container in exactly the same spot and have it remember what you just put in it.

i dont know why i used a sword and a chest as an example, i guess im paranoid. its actually for an alchemy cabinet im making.

when you put the ingredient in an empty jar, it swaps for a model of a jar with that ingredient in it. thwn when you empty the jar it turns back to the empty jar model.
User avatar
Sara Lee
 
Posts: 3448
Joined: Mon Sep 25, 2006 1:40 pm


Return to V - Skyrim