Draw To Texture

Moderator: GZDoom Developers

User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm

Draw To Texture

Post by QBasicer »

I think this might be a useful ACS idea:

Start with a blank texture in the wad, and in acs you could do something like:

Code: Select all

TEX basemap = getTexture("basemap");
TEX map = getTexture("blanktexture");
textureCopy(basemap, map);
textureDrawPoint(4,4,RGB(255,255,255));
redrawTexture(5, map);
I havn't done ACS in ages, but it's just an idea.

A rundown: grab a base texture of the level layout (like you see at a mall), grab a blank texture, copy the base onto the blank, maybe put a dot for your position or highlight your destination, and tell it to redisplay the texture on the linedef special 5, or something like that.

It's all to theoretical, I havn't done ACS for a long time, and I've been doing a lot of C/C++.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $

Post by Bio Hazard »

Heh, looks kinda like GDI there. Did you finally pick that up? I need help with it :p

Return to “Closed Feature Suggestions [GZDoom]”