[1.1.0.4] Translucent line rendering bug
Posted: Fri Jul 04, 2008 15:21
Basically, when you execute a script which sets line's translucency (Setlinespecial(5,208,5,128,0,0,0);) for example, the lines aren't translucent after executing the script, weird, when i'm coming into those translucent lines, they become translucent, wtf! and lines are just marked with LineIDs. Here's how it works in screens and script itself (unfinished but does the bug):
The location before script is executed
Location after the script is executed with setlinespecial etc. the walls are still not translucent
That's what happens when i come into translucent walls which weren't translucent because of bug
See? Both sides are TRANSLUCENT if i come into those walls first, something's wrong with rendering those after executing script
Here's the scriptLook, setlinespecial is PROPERLY done




Here's the script
Code: Select all
SCRIPT 11 (void)
{
AmbientSound("misc/laugh", 127);
Sector_setfade(202,255,0,0);
Sector_setfade(200,255,0,0);
Sector_setfade(201,255,0,0);
ChangeFloor(200, "BLOOD1");
ChangeFloor(201, "BLOOD1");
ChangeFloor(202, "BLOOD1");
ChangeCeiling(200, "BLOOD1");
ChangeCeiling(201, "BLOOD1");
ChangeCeiling(202, "BLOOD1");
SetLineTexture(1, SIDE_FRONT, TEXTURE_MIDDLE, "BFALL1"); //remove middle
SetLineTexture(1, SIDE_BACK, TEXTURE_MIDDLE, "BFALL1"); //floating texture
SetLineTexture(1, SIDE_FRONT, TEXTURE_BOTTOM, "BFALL1"); //remove middle
SetLineTexture(1, SIDE_BACK, TEXTURE_BOTTOM, "BFALL1"); //floating texture
SetLineTexture(1, SIDE_FRONT, TEXTURE_TOP, "BFALL1"); //remove middle
SetLineTexture(1, SIDE_BACK, TEXTURE_TOP, "BFALL1"); //floating texture
SetLineTexture(3, SIDE_FRONT, TEXTURE_BOTTOM, "BFALL1"); //remove middle
SetLineTexture(3, SIDE_BACK, TEXTURE_BOTTOM, "BFALL1"); //floating texture
SetLineSpecial(1,208,1,64,0,0,0);
}