Problem with models (only in latest versions)

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Reinchard
Posts: 140
Joined: Wed Aug 08, 2007 8:10
Location: Beuthen - city of tunnels and legends

Problem with models (only in latest versions)

Post by Reinchard »

I have a problem with one model. This bug (?) was not present in older versions of Gzdoom like v1.0.21.
In v1.0.21 model of lamp work fine, but in 1.0.30 I have a message in console "lamp at(coordinates) has no frames. This is weird, becouse I can simply summon this model with command "summon model". Like I say, in v1.0.21 everything with this model works fine.

This is my MODELDEF:

Model Lamp
{
Path "models"
Model 0 "lampy.md2"
Skin 0 "lampy4.png"
Scale 0.4 0.4 0.75

FrameIndex TEIL A 0 0
}

I try also this:

Model Lamp
{
Path "models"
Model 0 "lampy.md2"
Skin 0 "lampy4.png"
Scale 0.4 0.4 0.75

Frame TEIL A 1 0
}
with the same result ...

This is my DECORATE:

ACTOR Lamp 20224
{
Game Doom
Radius 20
Height 20
Mass 50000
+SOLID
States
{
Spawn:
TEIL A -1
Stop
}
}

Ofcourse I HAVE SPRITE "TEILA0" and markers.
What I do 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 »

There has to be a valid sprite so the lump teila0 must be present. Otherwise the object won't spawn upon map load.
User avatar
Reinchard
Posts: 140
Joined: Wed Aug 08, 2007 8:10
Location: Beuthen - city of tunnels and legends

Post by Reinchard »

Don't understand, I have the sprite in the wad
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Then I need to see the WAD. There must be something wrong with it.
User avatar
Reinchard
Posts: 140
Joined: Wed Aug 08, 2007 8:10
Location: Beuthen - city of tunnels and legends

Post by Reinchard »

Ok I send you wad on pm
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

This one's simple. You took a WAD and just dumped its contents into a Zip. That doesn't work.

Here's a description of where each file has to go. Your sprite lumps must be in the sprites/ subfolder and no S_START/END lumps must be present in the Zip.
User avatar
Reinchard
Posts: 140
Joined: Wed Aug 08, 2007 8:10
Location: Beuthen - city of tunnels and legends

Post by Reinchard »

Thanks, I did not notice my mistake because I test models on v1.0.21.
Locked

Return to “Closed Bugs”