Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Glass color

The general place to discuss MOD''ing Freelancer!

Post Tue Apr 17, 2007 3:58 am

Glass color

I have a little bit of a problem...I have this NabooN1 ship and the windshield is transparent blue like king's patriot, the problem is that sometimes it becomes like normal glass with no color or it doesn't apear at all. What can I do to fix this and maybe change the blue color to darkgrey or somthing like that...I tried the tutorials on this site but the files that showed in the screens posted for the tutorial don't match mine...for example in UTF editor,Material library, i have a "glass" string that contains 3 things "OC, DC and Type" ...in the Texture library i dont have a glass texture(everithing in the material library has a match in the Texture library except for the glass thing)...I hope I wasn't to ambiguos so what can I do? should I post some screenshots or somthin' ?

Post Tue Apr 17, 2007 4:51 am

You can have GLASS with or without a texture, none of the vanilla ships have a texture.

In UTF Edit you edit them with the "interpret data as" panel.

Type tells the game how to use the textures and is editted under "string" and in your case it will be "DcDtOcOt".

"Oc" is the transparancy level for that material and is editted under "float":-
0.800000
0.000000

"Dc" adds a base color to the model and is editted with "float", the colors are RGB settings from 0 to 1 and every decimal point in between:-
0.654902
0.529412
0.317647
0.000000

As to why it's changing color or not showing I don't know, might be system light color or a CRC conflict.

**shuffles off with a new headache**

Post Tue Apr 17, 2007 6:54 am

The best "Glass" color I've used is this setting in the utf editor.

Dc
0.254000
0.254000
0.254000
0.000000

Oc
0.300000
0.000000

The color is like smokey tinted glass and it is very transparent as it should be.

However, to make this "stick" you have to make sure it is identified specifically with the ship it is used on. If you don't do that...the game tends to load the last default texture used for the subsequent systems. (default opague blue) A glitch.
i.e.
Ship
Qmack
Group01 Qmack_glass

Don't use just "Glass" or it will revert to the default and mess it up.

Edited by - Rankor on 4/17/2007 8:00:11 AM

Post Tue Apr 17, 2007 9:43 am

OK so I did what U guys said and now I have two problems:

1. If I rename the "glass" to "naboo_glass" it doesn't show at all(maybe because I didn't really understand how to make the game indentifie the glass as the ship's own glass thing)

2. I have changed the color and opacity but now when I look inside ths thip through the window I can see through the hull outside as if it had no bottom side

look I made a screenshot U can see manhattan'ss atmosphere through my ship's bottom side

http://i114.photobucket.com/albums/n253 ... reen11.jpg

Post Tue Apr 17, 2007 10:10 am

1} Renaming the material in the MAT file means that the material assignments in the CMP can't find the texture/color to use. If you have to rename materials then do it in milkshape before you export both MAT & CMP files, or you will have to resort to HEX editting to rename the material assignments in the CMP and this is not a job for the faint hearted.

2} The see through effect is because you can see the backfaces of the underside of the model, you don't have a cockpit interior built into the model to prevent this from happening. This is common among model makers as they tend to make thier models as a shell, even some of the ones in the d/l's are like this and giving them a transparent cockpit has the exact same effect.

**shuffles off with a new headache**

Post Tue Apr 17, 2007 8:29 pm

Naboo_glass..okay. BUT, did you name it that way before you exported the cmp & mat file? (you gotta do that for it to work)

see through hull eh?

That's a common problem when you look at an object from the inside of the face. In otherwords...you don't have a cockpit.
Make a duplicate of the "glass" and texture the duplicate. Then extrude it into the body of the ship. (instant cockpit)
You can get really fancy with stuff you can put into a cockpit when you individualize the faces of it and place different textures on them.
Here is an example:

Edited by - Rankor on 4/17/2007 9:31:22 PM

Return to Freelancer General Editing Forum