Jump to content

Home

Ha - My Lightsaber Cursor Mod - X_X


-SE- madman

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...