Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → Shaderprob.
Shaderprob.
2003-10-04, 5:07 AM #1
I wanted the dome in my temple to be translucent and light emmiting. This is done in the flare shaders, so I used those.

flare shader:
Code:
textures/flares/flare_white
{
	surfaceparm	nonsolid
	surfaceparm	trans
	q3map_nolightmap
	deformvertexes	autoSprite	
    {
        map textures/flares/flare_white
        blendFunc GL_ONE GL_ONE
    }
}


alas I changed the directories so it pointed to my texture, like this:

Code:
textures/egyptsoc_sfx/glassinlead
{
	surfaceparm	nonsolid
	surfaceparm	trans
	q3map_nolightmap
	deformvertexes	autoSprite	
    {
        map textures/egyptsoc_sfx/glassinlead
        blendFunc GL_ONE GL_ONE
    }
}


(In a different shader file)

But now when I look at the surfaces in-game the game (JO) goes back to menu and gives the
following error:

http://www.xs4all.nl/~ceekelen/error.jpg

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 5:16 AM #2
The quicker this is fixed, the quicker I can post new screenies! *wink wink* [http://forums.massassi.net/html/tongue.gif]

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 7:01 AM #3
You aren't using a JPG file, are you?

And besides, I don't see the use of an autoSprite function on this...

------------------
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Thrawn42689:
GothicX is the best n00b ever.
</font>
2003-10-04, 7:05 AM #4
jpeg, yes, why's that a bad thing?

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 7:23 AM #5
converting the texture to targa format doesn't seem to help either.

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 7:34 AM #6
OK, here comes your new shader file, after you've added the alpha channel [http://forums.massassi.net/html/tongue.gif]

Code:
textures/egyptsoc_sfx/glassinlead
{
	qer_editorimage  textures/egyptsoc_sfx/glassinlead
      q3map_material	HollowMetal
    {
        map $lightmap
    }
    {
        map textures/egyptsoc_sfx/glassinlead
        blendFunc GL_DST_COLOR GL_ZERO
    }
}


------------------
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Thrawn42689:
GothicX is the best n00b ever.
</font>
2003-10-04, 8:28 AM #7
Well, like I said that didn't work, but I found out what the problem with it is.
It just can't have a lightmap, without it, it works fine.

JED's flag system worked sooo much better than this shader crap... Now I got to write a script for nearly every surface in the game, instead of clicking a checkbox or 2 [http://forums.massassi.net/html/rolleyes.gif] , dreadful and annoying...

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.

[This message has been edited by ZOOIkes (edited October 04, 2003).]
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 9:04 AM #8
now all screenshots I make will turn out pitchblack :S

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-04, 10:05 AM #9
Eh, you wouldn't use a lightmap stage for a flare, it doesn't need to get lightmapped. Especially because autosprites can't be lightmapped anyway.

Vedder, shaders are great, but what you need is a good, visual editor that integrates with the level editor.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2003-10-04, 1:05 PM #10
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Emon:
Vedder, shaders are great, but what you need is a good, visual editor that integrates with the level editor.</font>


Yeah, much like JED's flags, but better. Since shaders cover a lot more options.



------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-05, 1:41 PM #11
Nah, they just need like 50,000 little checkboxes like the ones Jed had. [http://forums.massassi.net/html/tongue.gif]

------------------
Have a good one,
Freelancer
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2003-10-06, 10:43 AM #12
Quote:
<font face="Verdana, Arial" size="2">Originally posted by ZOOIkes:
now all screenshots I make will turn out pitchblack :S

</font>


anyone know what to do about that?

------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com
2003-10-07, 2:59 PM #13
Not really sure. Try printscreen for the time being. Or screenshot_tga.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2003-10-08, 3:32 AM #14
nevermind, it already works again, though I changed nothing so I wonder what it was...


------------------
Call me Vedder.
Author of: A Pirate's Tale (Mots SP)
APT homepage
----
<phantom> You're always going to be aloser if you attempt to aspire to massassi standards.
<phantom> They're a bunch of socially inadequate <beep> whores who have little or no lives.
APT 1, 2, 3/4, 5/6
TDT
DMDMD

http://veddertheshredder.com

↑ Up to the top!