TranslucentLine woes

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
CO2
Posts: 42
Joined: Tue Jul 29, 2008 9:24 am

TranslucentLine woes

Post by CO2 »

Alright, I'm a bit (see: very) confused here. The wiki says

Code: Select all

208:TranslucentLine (lineid, amount, additive?, moreflags)
The zdoom_udmf.txt file says:

Code: Select all

   Some specials also allow setting the extended flags. These must also be
   converted to explicitly setting the flags through the defined map fields.
   This affects the following specials:
   
   121: Line_SetIdentification, arg1
   208: TranslucentLine, arg2
So is arg2 additive or is it the extended flags?
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: TranslucentLine woes

Post by Ceeb »

I'm not sure if this is what you mean, but you don't need to use any specials to achieve translucency in UDMF. Just select the line, click the "Translucent" check box, and then under custom, change the alpha. 0.5 is half translucent.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: TranslucentLine woes

Post by Logan MTM »

...
TranslucentLine(3,125,1);
...

That work perfectly! :?
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: TranslucentLine woes

Post by esselfortium »

Note to the uninformed: He's writing a Hexen to UDMF map converter!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: TranslucentLine woes

Post by Graf Zahl »

Ooops, typo. Should mean arg3, of course.
CO2
Posts: 42
Joined: Tue Jul 29, 2008 9:24 am

Re: TranslucentLine woes

Post by CO2 »

On another note, the wiki says to scrap arg0 on TranslucentLine after converting, but the spec says not to.

Edit: And the spec never said anything about the tag high byte for line_setidentification, am I supposed to convert it too?
Locked

Return to “Editing (Archive)”