Jump to content

Home

"Official" Main Menu (And other menus) Editing Thread


The_One

Recommended Posts

Right, I've just begun to start editing the menus in JK2 for a MOD I'm working on and I've already encountered several problems:

 

1. For some reason I can't change what the text says. Well, I can but it just mucks up when in the menu.

 

2. I have no idea how to change the "fontdat" files so I can put in my own fonts. I have a feeling though that the "fontdat" files are just a string of images that Raven put together with a Photoshop filter or something - which would mean we couldn't edit them without the correct tools.

 

3. Does anyone know how the text colouring system works?

 

Well if anyone can help me, thanks!

 

The good thing about JK2 menus though, is that they are very easy to edit because they all use a script language that's very easy to work with. Almost anyone can do it!

 

Also I'll try to help other people with their problems too. Let's pool/share our knowledge people!

 

The One

Link to comment
Share on other sites

for the color it s :

 

forecolor 1 1 1 1

 

rgn values and alpha :

 

so forecolor 0.1 0.1 1 1

r = 0.1

g = 0.1

b = 1

alpha = 1

 

so BLUE and NO transparency

 

forecolor 1 1 0 0

means YELLOW and completly transparent => won't see anything.

 

 

for the text instead of

text @MENUS3_SET_LANGUAGE

 

change it with

text "Hello World"

 

i don't know for the fonts thought !

 

go there : http://www.linux.ucla.edu/~phaethon/q3tamenu/q3tamenu.html

Link to comment
Share on other sites

Originally posted by Tchouky

for the color it s :

 

forecolor 1 1 1 1

 

rgn values and alpha :

 

so forecolor 0.1 0.1 1 1

r = 0.1

g = 0.1

b = 1

alpha = 1

 

so BLUE and NO transparency

 

forecolor 1 1 0 0

means YELLOW and completly transparent => won't see anything.

 

 

for the text instead of

text @MENUS3_SET_LANGUAGE

 

change it with

text "Hello World"

 

i don't know for the fonts thought !

 

go there : http://www.linux.ucla.edu/~phaethon/q3tamenu/q3tamenu.html

 

Thanks! That worked!

 

I don't suppose anyone would know how to edit the properties of the cursor? I can change the .TGA and the 2 .jpg's but the TGA is a fixed shape - is there some kind of code file that goes with the cursor? Or am I stuck with it's current proerties ie. fixed saber shape and transparency/glow?

 

Any help here would be nice...

Link to comment
Share on other sites

Originally posted by Tchouky

well define the properties of your item and change :

 

mouseenter

{

forecolor 1 1 1 0.5;

}

 

so the transparency would be multiplied per 2 when mouse is on the box.

 

Cheers - now I have a new problem :D

 

Is there a way to tell JK2 a certain colour of the cursor should be transparent?

 

Otherwise you just have this big square you're dragging round the screen :confused:

 

Any help would be nice...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...