Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
hardcore_gamer

Only some 3D models show up in the editor and others don't.

Recommended Posts

So I created a simple 3D pipe which I was able to put into the game, but when I created a second larger version of that same pipe I can't get it show up in the game and I can only see the original version in the editor. My pk3 model file consists of the fallowing 4 things:

 

-models folder

-decorate file

-modeldef file

-texture defintion lump

 

The models folder contains 2 separate folders called "pipe" and "pipe2". Inside each is a md3 model of the same names. Both folders also have a png file called PIPTC1R2 since both models use the same texture.

 

This is the code I used for the other files:

 

For the decorate file:

 

ACTOR pipe 2000
{
    Game Doom
    Radius 12
    Height 4
    +SOLID
    +NOGRAVITY
    States
    {
    Spawn:
        MERC A -1
        Loop
    }
}

ACTOR pipe2 2001
{
    Game Doom
    Radius 12
    Height 4
    +SOLID
    +NOGRAVITY
    States
    {
    Spawn:
        MERC A -1
        Loop
    }
}

 

For the modeldef:

 

Model pipe
{

Path "Models/pipe"
Model 0 "pipe.md3"
Skin 0 "PIPTC1R2.png"
scale 1 0.6 0.6
frameindex MERC A 0 0

}

 

Model pipe2
{

Path "Models/pipe2"
Model 0 "pipe2.md3"
Skin 0 "PIPTC1R2.png"
scale 1 1 1
frameindex MERC A 0 0

}

 

For the textures file:

 

sprite MERCA0, 1, 1 { Patch TNT1A0, 0, 0 }

 

I'm not sure what I am doing wrong. Why can't I find the second pipe inside the editor?

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×