Question about translucent line

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
User avatar
Reinchard
Posts: 140
Joined: Wed Aug 08, 2007 8:10
Location: Beuthen - city of tunnels and legends

Question about translucent line

Post by Reinchard »

Hey!
I use script:

SetLineSpecial (1, 208, 100);
SetLineTexture (1, SIDE_FRONT, TEXTURE_MIDDLE, "ghost1");

to line id 1, but its not work. Texture "ghost1" is animated and I need activate them in one specific moment. It is possible to set line (in script) to translucent ?

Sorry for my english...
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

TranslucentLine (lineid, amount, additive?, moreflags)

http://208.78.96.242/wiki/TranslucentLine
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Sure. You can't set a line to translucent by changing the special. You have to execute the special (i.e. call TranslucentLine with the appropriate parameters) in the script.
Locked

Return to “GZDoom”