1.0.29 Translucent actor + model = crash

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

1.0.29 Translucent actor + model = crash

Post by Enjay »

I know that translucency for models isn't supported (yet?) but it shouldn't crash the game right?

On setting up a model to replace an actor that I had forgotten was translucent, I got a crash.
Spoiler: Actor
Spoiler: MODELDEF
Commenting out the translucancy properties for the actor allows the model to work without a crash.
User avatar
ChupaReaper
Posts: 202
Joined: Fri Jun 15, 2007 16:35
Location: England
Contact:

Post by ChupaReaper »

I had the same problem with my 3d lost soul having the SoulTrans set, I've had to change everything to "Normal" and set alpha to 1.0. It'll probably be supported in the next release anyway though...
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Confirmed. Crashes my nashgore.pk3 too, which uses translucent flat polygons to fake floor decals.
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

Post by Torr Samaho »

Can you give me a test wad? It definitely should not crash.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Torr Samaho wrote:Can you give me a test wad?
Here you go.

Load up the zip and type summon test01 and a small green bottle will appear at your feet.

Summon test02 and a translucent one should appear, but the game crashes instead.

I haven't checked what happens if an actor becomes translucent during play (eg using A_SetTranslucent in its DECORATE).
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

Post by Torr Samaho »

Works fine in Skulltag. I'm pretty sure that the crash was caused by a NULL pointer exception from the GZDoom 1.0.29 code, that I fixed after upgrading ST to this. When Graf backports my changes to GZDoom, the crash should be gone.

Image
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I did so already.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Not only does it not crash, it's actually translucent! Good news al round. :biggrin:
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I'd like to fix this myself so that I can continue working on my project. Is this easy to fix? Can you tell me how?
Locked

Return to “Closed Bugs”