lfnetwork.com mark read register faq members calendar

Thread: Shader problems
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-02-2004, 08:26 AM   #1
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Shader problems

Hi I want to make the force protection/absorb to have no blue or green effect. So I am working with the effects.shader and close to the bottom of the shader file there is a link to a picture. It was called protect or somthing like that so I put null in place of it but now when I use force protect/absorb it makes the places whare the color changes in the char selection screen turn green or blue when I use either foce power.
Can you help me?

TK-425 is offline   you may: quote & reply,
Old 11-02-2004, 10:09 AM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
what's the exact name of the shader you changed?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-02-2004, 02:35 PM   #3
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
effects.shader

gfx/misc/forceprotect
{
qer_editorimage gfx/effects/p_shield
deformvertexes wave 100 sin 1 1 0 1
{
map gfx/effects/whiteglow
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
rgbGen entity
tcGen environment
tcMod rotate 10
tcMod turb 0.6 0.3 0 0.6
tcMod stretch sin 1.5 0.5 0 1
}
{
map gfx/effects/caustic1
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
rgbGen entity
tcMod rotate -600
tcMod scale 2 3
}
}

I changed gfx/misc/forceprotect to 'null'

TK-425 is offline   you may: quote & reply,
Old 11-06-2004, 05:35 AM   #4
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Hello?

TK-425 is offline   you may: quote & reply,
Old 11-06-2004, 12:00 PM   #5
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
Hmmm, interesting. My guess is that it does that even when the shader is normally in place.

I just don't see any other references to that shader in the code.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-06-2004, 02:41 PM   #6
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Um I dont think so but whatever
But if you find a way to fix this on your way through modding please let me know!

TK-425 is offline   you may: quote & reply,
Old 11-06-2004, 07:12 PM   #7
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
What about the shader itself?
Could you change the color in the shader?

TK-425 is offline   you may: quote & reply,
Old 11-06-2004, 08:46 PM   #8
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
I imagine.

http://www.qeradiant.com/manual/Q3AShader_Manual/


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-07-2004, 04:12 AM   #9
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Could I change the color to 'null'

TK-425 is offline   you may: quote & reply,
Old 11-07-2004, 09:38 AM   #10
Fracman
 
Fracman's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 501
TK, what do you mean with color "null"?
This one simply doesnt exist...


Dark Forces MOD for Jedi Knight: Jedi Academy
http://darkforces.jediknight.net

DFMOD Demo for JA released !!!
Fracman is offline   you may: quote & reply,
Old 11-07-2004, 02:56 PM   #11
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Sorry!
Forgive me I know nothing about shaders.

TK-425 is offline   you may: quote & reply,
Old 11-08-2004, 01:51 AM   #12
lassev
cryptoscripter
 
lassev's Avatar
 
Join Date: Jun 2002
Location: Finland
Posts: 1,087
You see, you cannot really delete or remove anything that's in the assets#.pk3s. So, if you want to get rid of this effect, you need to replace it with something. But you can't replace something with nothing, as that would be removing in all but name. That's why you need to modify that shader entry in such a way that it's very simple, and doesn't actually look like anything in game - in practice: Null it.

What those modifications really are in code, that's for you to decide and make. One obvious solution might be to have only one totally transparent shader layer (change the texture appropriately).

And you can't do things like this unless you learn something about shaders.


Frozen by ICARUS
lassev is offline   you may: quote & reply,
Old 11-10-2004, 06:34 AM   #13
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Ok, I may have fixed it.
But now I would like to know what shader contains the effect for force rage

TK-425 is offline   you may: quote & reply,
Old 11-10-2004, 02:53 PM   #14
TK-425
Forumite
 
TK-425's Avatar
 
Join Date: Feb 2004
Location: Show me the way.
Posts: 623
Well I didnt fix it I changed the protect image to an invisible pic and it didnt fix it.
Does anyone know of any way to get rid of the color used for this effect?

TK-425 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > General Editing > Shader problems

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:43 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.