MD2 help

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
Willis
Posts: 27
Joined: Tue Aug 30, 2005 19:57

MD2 help

Post by Willis »

in modeldef I have:

Code: Select all

Model table
{
   Path "models\table"
   Model 0 "table.md2"
   Skin 0 "RTEX043.bmp"
   Scale 1.0 1.0 1.0

   FrameIndex TBLE A 0 0
}
and in decorate I have:

Code: Select all

actor table 25003
{
    Radius 64
    Height 64
    +SOLID
    states
    {
    Spawn:
      TBLE A 0
	  loop
    }
}
then in the folder with gzdoom.exe I have the following folder heirarchy:

gzdoom\models\table

in table I have:

table.md2
RTEX043.bmp

but when I start the level I get the following message from the console:

Code: Select all

SKIN 'RTEX043.BMP' NOT FOUND IN 'TABLE'
I have no clue whats wrong
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

First, the state's duration must not be 0. That will hang the engine for sure if it got past the error.
Second, GZDoom does not support BMPs as skins. Use one of the supported graphics formats (PNG, PCX, TGA or JPG) The BMP never gets loaded as skin even though it is there.
Locked

Return to “GZDoom”