Posted 11 December 2003 - 07:52 PM
If adding an item (weapon, magazine or armour, I've only tested this on a weapon), you can add an image in the inventory interface where the rotating model usually is. The image/video is actually a flat rectangle 3D model with a graphic or video as its texture. These interface video models (IVMs for brevity) are stored in "strategic\models\interface\equipment". The IVM file is text+binary so use a hex editor to modify it.
To link the IVM file to the item, write the path and name of the file in the VIDEO field of the item (surrounded by quotes). To display an image, open the IVM file with a hex editor and change the FILE NAME entry to the path and name of the image you want to display.
The image will be displayed upside down if it is a graphics file instead of a video. The IVM file included with the TNT plugin changes the model to display the image the right way up, use this as a base or edit one of the original model files. It is based on the Flare IVM file found at "strategic\models\interface\equipment\weapons\human guns\h_eq-flr_3d.txt". If you have difficulties editing your IVM file, compare these two files in a hex editor to see what was changed.