3D floor's "High byte"?

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
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

3D floor's "High byte"?

Post by Shinjanji »

I noticed, while working wth 3D floors, that there's a "Tag hibyte" entry in the DoomBuilder configuration. I found that Graf said this high byte is used for tags over 255, but Doom Builder doesn't allow me to enter anything greater than 255 in action boxes. Am I supposed to utilize this through scripts? If so, how? I have a map that I'm working on for fun, that I feel will require the usage of the high byte, but I've no clue how to set it. Help, or at least an explination, very much appreciated.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

The high byte is used as follows:

tag = lobyte + 256 * hibyte.

So to get a tag of 256, the lobyte must be 0 and the hibyte must be 1 and so on.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Aah, I see. Thanks for the explaination of that one, Graf.

Shame I was dead on the ZDoom community for a while... Would have found this port sooner :P
Locked

Return to “GZDoom”