Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Ha - My Lightsaber Cursor Mod - X_X

Page: 1 of 1
 -SE- madman
01-27-2006, 5:22 PM
#1
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, 7:34 PM
#2
I remember in the Demo of JO (I think), you could extend and retract the lightsaber cursor.
 -SE- madman
02-13-2006, 6:06 PM
#3
Roffles I know
Page: 1 of 1