Quake [Glass]
Moderator: InsideQC Admins
20 posts
• Page 2 of 2 • 1, 2
Re: Quake [Glass]
frag.machine wrote:Poor man's fake glass: use a oriented sprite. Will work even in software DOSQuake.
Woah, I never knew Quake could do oriented sprites.
That means that grating or fence textures are actually possible in vanilla Quake.
- andrewj
- Posts: 133
- Joined: Mon Aug 30, 2010 3:29 pm
- Location: Australia
Re: Quake [Glass]
andrewj wrote:Woah, I never knew Quake could do oriented sprites.
That means that grating or fence textures are actually possible in vanilla Quake.
Yep. The drawback though - no doublesided sprites, and no lighting on sprites.
Oriented sprites are used officially in Scourge of Armagon for bullet holes
There's also other modes so you could have spinning parallel sprites as well, but GLQuake broke support for that and some ports rarely fix it
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Quake [Glass]
many engines that have halflife support also understand textures with a { prefix as alpha tested, which can be used on a func_wall - engines that don't support it will show pink instead of holes, but won't crash. Such surfaces should generally still support lightmaps. This is how I'd recommend making a fence, anyway.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: Quake [Glass]
Spike wrote:many engines that have halflife support also understand textures with a { prefix as alpha tested, which can be used on a func_wall - engines that don't support it will show pink instead of holes, but won't crash. Such surfaces should generally still support lightmaps. This is how I'd recommend making a fence, anyway.
Agreed.
I would definitely NOT recommend using sprites; aside from the fact that they won't be lit, each sprite is a server-side entity that must take part in colision testing, etc. They're just not suitable for this kind of use case.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
Re: Quake [Glass]
mh wrote:Spike wrote:many engines that have halflife support also understand textures with a { prefix as alpha tested, which can be used on a func_wall - engines that don't support it will show pink instead of holes, but won't crash. Such surfaces should generally still support lightmaps. This is how I'd recommend making a fence, anyway.
Agreed.
I would definitely NOT recommend using sprites; aside from the fact that they won't be lit, each sprite is a server-side entity that must take part in colision testing, etc. They're just not suitable for this kind of use case.
Breakable glass (from what I understand that's what the OP wants) will always use server side entities, regardless if it's a sprite or a alpha blended .bsp model. Of course if alpha support is present it's a no brainer; but in the PSP case the feature is absent, hence the suggestion.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC
(LordHavoc)
-

frag.machine - Posts: 2090
- Joined: Sat Nov 25, 2006 1:49 pm
20 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest