Xonotic Forums
[SOLVED] [SOLVED]map compile final "some textures doesn't show up" - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] [SOLVED]map compile final "some textures doesn't show up" (/showthread.php?tid=1953)



[SOLVED]map compile final "some textures doesn't show up" - Leeloo - 07-05-2011

Hi, I have a problem when iI compile a specific map in final xonotic aprouved mode.
There is some textures at some places that doesn't show up. Let see the images to compare between compile single and compile final.
[Image: tOWRhbw]
[Image: tOWRhcA]

I have modified lights on different ways, I had add a sun, I took of a sun, I placed 2 suns, I took off half of the lights, I took off all lights, I changed intensity, radius, I set up lights as I saw in afterslime maps, I tried to use ".map.option" files from evil space map and also the one used for xoylent map... I have used google (as always I do). I'am stucked!

When I compile single for the 3 steps, it missed the shadows but all transparents textures effect works. I have tried all xonotic aprouved compilation mode and I got the same result.

I have about 30 warning
WARNING: Styled light found targeting light2
and tons of
WARNING: Hit per-surface style limit (4)
and after compile the program has writen 82 "lm_0**.tga in the "mymap/maps/mymaps/" directory and I think (I am sure) it is too much! too many tga files.

I don't really anderstand what happen but I guess one of our experiment mappers can help me to get ride of that.


RE: map compile final "some textures doesn't show up" - Maddin - 07-05-2011

I guess you just used too many (different?) styled lights. I think you can use up to 4 of them in a close area.
ydnar Wrote:It means that your map has too many styled lights in close proximity, affecting nearby surfaces.
It's just a warning, however, and the unused styled lights will just not affect the surfaces.
To correct it, eliminate the additional styled lights, or use the same styles on multiple lights.
(from the Splash Damage Forums)

The grey tiled looking textures mean that is something wrong with the shader. Either there is a missing texture or you wrote a wrong shader.

EDIT: The cause why you have so many lightmaps (tga-files) is that all the styled lights generate different brightnesses, and this needs some more lightmaps (one for each "frame"!).


RE: map compile final "some textures doesn't show up" - Leeloo - 07-05-2011

ydnar Wrote:It means that your map has too many styled lights in close proximity, affecting nearby surfaces.
It's just a warning, however, and the unused styled lights will just not affect the surfaces.
To correct it, eliminate the additional styled lights, or use the same styles on multiple lights.
(from the Splash Damage Forums)

I found that on the Net an I did take off all the lights! (I think i did!)
May be I just had a dark map and I started over with a previous copy of the map with all the lights! I'll check it out tonight.

(07-05-2011, 03:00 PM)Maddin Wrote: The grey tiled looking textures mean that is something wrong with the shader. Either there is a missing texture or you wrote a wrong shader.

Just to specify that this a 4 sides brush with the same texture on each side and the texture does not show up on all side! the shader is good Because it is the same as the 4 big towers and it is the same as the big forcefeild in the bottom of the map.
I think it is related at what you pointed me at (styled light) uphere and downhere.

(07-05-2011, 03:00 PM)Maddin Wrote: EDIT: The cause why you have so many lightmaps (tga-files) is that all the styled lights generate different brightnesses, and this needs some more lightmaps (one for each "frame"!).

I'am not sure what is a styled light, I saw in lots map when editing them. a 5force light and just beside a 90 force light linked to a null target for light direction. The same patern at all 3 or 4 meters aside where a visible lights could be seen in the game.

....¤....¤.....¤....¤....¤..... null target
....|....|.....|....|.....|.... link
....*....*....*....*....*.... light 90
....*....*....*....*....*.....lights 5
I've done the same thing were I had little spot lights.

Well,
I have made so many tests maybe I forgot the result with only few lights. I'll test it tonight and thank you Maddin for your reply, that's give me a bit more confidence in my self. I though some magical think was on me to make me fail :-)
I'll tell you all about the result.


RE: map compile final "some textures doesn't show up" - Maddin - 07-05-2011

You are new to mapping, right? I also had weird problems at the beginning; sometimes it´s just like the devil is teasing us. Tongue


RE: map compile final "some textures doesn't show up" - Leeloo - 07-06-2011

(07-05-2011, 05:09 PM)Maddin Wrote: You are new to mapping, right? I also had weird problems at the beginning; sometimes it´s just like the devil is teasing us. Tongue
Hurra!
Thank you again Maddin, you helped me, everythings is good I compiled a new nice map. You where right on all you said.

You are right, I am new to mapping, I start it because I wanted a specific map for xonotic. Dokujisan asked me last year if I wanted to map so recently I answered to myself "why not!" and I stopped to play and I spend all my spare time to map. I have 3 maps on the grill and I have models and textures to do for some of them. Happily here I find all the help or informations I need for my new "playground".


RE: [SOLVED]map compile final "some textures doesn't show up" - Maddin - 07-06-2011

Why do I already know this feelings... ?Rolleyes

This websites may be interesting for you (and other mappers), even though they are for Jedi Knight/Quake3:
Map-Craft - Tutorials
RichDiesal´s JK2Radiant Mapsource


RE: [SOLVED]map compile final "some textures doesn't show up" - Leeloo - 07-06-2011

(07-06-2011, 11:09 AM)Maddin Wrote: Why do I already know this feelings... ?Rolleyes

This websites may be interesting for you (and other mappers), even though they are for Jedi Knight/Quake3:
Map-Craft - Tutorials
RichDiesal´s JK2Radiant Mapsource

Wink


RE: [SOLVED]map compile final "some textures doesn't show up" - divVerent - 07-08-2011

DarkPlaces does not support styled lightmap lights. Lightstyles only work for realtime lights (see: rtlights file, r_editlights). This is likely why it fails for you.

In fact, Q3A already has no support for lightstyles, but there is a hack in q3map2 that makes them work by a kind of texture blending. This hack does not work for DarkPlaces.


RE: [SOLVED]map compile final "some textures doesn't show up" - Maddin - 07-08-2011

Good to know. Smile