Draw line

From QuakeQEWiki
Revision as of 06:05, 22 March 2022 by Teamred (talk | contribs) (Created page with "'draw_line' is a new function in the 2021 quake rerelease that was part of the 'major update' on oct 7th 2021 (src: https://store.steampowered.com/news/app/2310/?emclan=103582791433474629&emgid=2945904318371492362) just like the other new draw functions sv_cheats needs to be set to 1 for the debug rendering to be visible the color is an index into the palette as illustrated here: https://quakewiki.org/wiki/Quake_palette The function signature is: void draw_line( vect...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

'draw_line' is a new function in the 2021 quake rerelease that was part of the 'major update' on oct 7th 2021 (src: https://store.steampowered.com/news/app/2310/?emclan=103582791433474629&emgid=2945904318371492362)

just like the other new draw functions sv_cheats needs to be set to 1 for the debug rendering to be visible

the color is an index into the palette as illustrated here: https://quakewiki.org/wiki/Quake_palette

The function signature is:

void draw_line( vector start, vector end, float colormap, float lifetime, float depthtest ) = #82;