Need Help Recompiling A Model

VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
<div class="IPBDescription">change one texture and it gives an error</div> I'm trying to change the color of the shell that is seen during the reload animation for the Shotgun.

Currently, it's red, and it has its own texture. On my first attempt, I tried to replace the texture inside HLMV. The texture loads, but the top part of the texture gets turned into something resembling static (mostly black, with specks of color). No good.

Next, I decompile the original model. Just to be sure StudioMDL isn't the problem, I recompile the resulting files, and it works. However, once I replace the shell.bmp texture, it'll attempt to compile, but when it's about halfway done, StudioMDL will "encounter a problem, and need to shut down".

Apparently, something is wrong with the texture, but I can't figure it out. It's already in 8-bit color, same name, and same size as the original texture.

Comments

  • ObstObst Join Date: 2003-03-12 Member: 14436Members, Constellation
    It isn't the same size. Yours is 48x79 while the original is 64x64...
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    I'm quite sure the texture file I attached is the same size... <span style='color:aquamarine'>shell.bmp</span> of <span style='color:aquamarine'>v_sg.mdl</span> is 48x79 pixels (at least that's what HLMV says).
  • ObstObst Join Date: 2003-03-12 Member: 14436Members, Constellation
    edited July 2004
    I don't know what is wrong, but it might be connected to the palette. Here, try this one. I just recompiled the colour palette...
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    edited July 2004
    <!--QuoteBegin-Verthandi+Jul 4 2004, 07:57 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Verthandi @ Jul 4 2004, 07:57 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I'm trying to change the color of the shell that is seen during the reload animation for the <span style='font-size:30pt;line-height:100%'>Shotgun</span>.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->

    <i>Edit: this post make seem out-of-place now, but it was quite appropriate before the other posts were edited. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> </i>
  • ObstObst Join Date: 2003-03-12 Member: 14436Members, Constellation
    edited July 2004
    Sry, I just got up and am tired, hungry and dizzy. But, check the post above now <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    *smacks head*
    *trolls off to get some food and aspirin*
  • VerthandiVerthandi Join Date: 2002-12-12 Member: 10687Members, NS1 Playtester
    Thanks, it works now! What is the secret to the palette?!

    Whenever I create a palette in Micrografx Picture Publisher, and tell it to 'use colors from the image', it does so, but also throws in a handful of unused colors (which may be what's causing the problem). What image editor did you use?
  • ObstObst Join Date: 2003-03-12 Member: 14436Members, Constellation
  • TheUdderOneTheUdderOne Join Date: 2004-05-04 Member: 28471Members
    uuuuuuuuuuuuuuuuuugly PSP.
Sign In or Register to comment.