PDA

View Full Version : Ha - My Lightsaber Cursor Mod - X_X


-SE- madman
01-27-2006, 04:22 PM
I did this mod that changes your JA cursor back to the old cursor, but I didnt take the JO one, I made one myself, looked at how it was done, added 2 colors, yadda yadda yadda, well I cant get the animation to work like it does in JO.

There are 3 Animations in JO, and in JA the origonal cursor only had 2. Ive got everything done except for the Shader File. I tried to just take the entire JO cursor shader part and make one for JA but it didnt work = /

Heres the JO code:

cursor
{
nopicmip
nomipmaps
{
clampmap gfx/menus/cursor1
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
}
{
clampmap gfx/menus/cursor2
blendFunc GL_ONE GL_ONE
rgbGen wave random 0.5 0.25 0.25 1
tcMod stretch noise 1 0.02 0 10
}
{
clampmap gfx/menus/cursor3
blendFunc GL_ONE GL_ONE
rgbGen wave random 0.5 0.1 0 1
}
}


And the JA Code:

cursor
{
nopicmip
nomipmaps
{
clampmap gfx/menus/cursor1
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
}
{
clampmap gfx/menus/cursor2
blendFunc GL_ONE GL_ONE
rgbGen wave sin 0.5 0.35 0 0.6
}
}


I found the JA code from the assets1 ui.shader and the JO one from assets0 ui.shader.

Theres one thing that I have to ask about and that is the line
" tcMod stretch noise 1 0.02 0 10 "

Does anyone know what that is? Where I could get the definition?

Also, was that a code only used in JO? What has it been replaced with?

Thanks

MachineCult
01-30-2006, 06:34 PM
I remember in the Demo of JO (I think), you could extend and retract the lightsaber cursor.

-SE- madman
02-13-2006, 05:06 PM
Roffles I know