JahBit 0 Posted April 21, 2003 Ok I'am completely at a loss here... So, I made a gun. Nothing fancy with the model or the config.cpp yet. (actually I just copied the cpp of BRSSEBz's weapon tutorial ie. the Stalker) The model and the config are ok. !!! I can't get the custom image to work! Every time I open the gear/inventory section in the "notebook" (in game) I get a CTD - if the 'player' has my gun. The image is in 'paa' format. Converted from 32 bit tga file with textView. Image size is 256x126. Alpha channel works. I wont get a CTD If I remove the 'picture="\folder\SomeFileName.paa";' line from the config.cpp, but no inventory image either same goes if I just leave the original 'stalker' image in the pbo... This leads me to believe that the image file format I'm using is faulty... So can anybody share some light in the matter... Ps. I've only modeled a couple of static items and worked on a map, so I'am practically still a newbie at this configuration stuff... but this is so elementary - oh the shame Share this post Link to post Share on other sites
Jimboh 0 Posted April 21, 2003 If you can open it up in TexView and the image appears, then your image format is not faulty. Share this post Link to post Share on other sites
JahBit 0 Posted April 21, 2003 Yep, I can open it in textView... this is just too wierd. is there something special I should know about the 'picture="...";' ie. in the commented config it says that the class name is the default picture name or somesuch... I should be able put "whatever I wish" as the texture path right? at the moment it's just 'picture="\stalker\plasmarifle.paa"; Yes a plasmarifle! from Fallout - just goofing around!! so should it be picture="\addonPBOName\addonPBOName.paa"; ?? ...thought I tried that too... hmn... quite irritating really Share this post Link to post Share on other sites
granQ 293 Posted April 22, 2003 256x126 you say?? try 128 instead... and sometimes i also managed to open files in texview with incorrect sieze.. Share this post Link to post Share on other sites
JahBit 0 Posted April 22, 2003 ehheh well well... *blush* now I feel humble... I first tought that I'd made a typo in the message, and had ment 128 - naturally... but nope. I made the typo in Photoshop... too silly well anyway I changed the image size to 256x128 and voilá IT WORKS!! I can't believe it!! Well actually I can... oh shame on me well I quess this is what you get when you "work late" Oh and thanks. Share this post Link to post Share on other sites