You can make a 3d model for any inventory-only (non-equipped) item, and it's really easy to implement. I'll use an example of a basic miscellaneous medium item.
Look at the file name for the basic inventory item icon. The very first one is iit_midmisc_001.tga (a dead body). Try making your 3d model and naming it the same as the inventory icon file, except leave off the first
i (I simply extracted and
PLC_O04.mdl and renamed it to
it_midmisc_001.mdl). Add the model to your hak, associate it with your module, then test it out by giving the PC a misc medium item (with the number 1 appearance), drop the item and see what happens.
'>
If all works properly, the default bag (for that particular item appearance) should be replaced by whatever 3d model you matched up to the item. Then you can just pick it up and put it down like any other item of the same type, it'll just have a customized model when on the ground.
BioWare did this in the 1.69 patch for three misc. gemstone items (a ruby, diamond, and emerald).
Enjoy!
- The Amethyst Dragon
See Bob find a dead body.See Bob pick up a dead body.See Bob realize he wouldn't get paid for this.
Modifié par The Amethyst Dragon, 17 février 2011 - 06:13 .