Jump to content

Home

Flares


WJTW

Recommended Posts

Does anyone who used 'q3map_flare' find it frustrating? I hope someone who doesn't would help me out.

 

It is for me. Why? Well, I inserted the command into the shader file of a particular light shader. It worked well, with the flares there. Now, I copied and pasted that section of the shader into a new shader file, and added a '2' behind, just so I can differentiate it (with matching names for the texture.)

Here's where the problem appear. I loaded the game, and in the console, it said that the command "q3map_flare" was unknown. But is that possible? I have everything exactly the same words in both shader entries, so, how can one be working and the other not?

 

In the test map, I have two shaders/textures for the lights, one is the original, and the other was using the '2' texture. The original had the flare, but the '2' didn't.

 

And what's strange is that when I made a test room solely using the '2's, the flares appeared, but this time, I removed the 'q3map_flare' command from the '2' entry!

 

Usually, I use Jk2Radiant (I only use it because GTkRadiant couldn't load.), and so, had the JK2 textures loaded instead. I made sure, however, that the shader files from both JK2 and JA will mirror each other (so they would work in both games similarly.), but this time, I didn't remove the 'q3mao_flare' command for the '2' entry in the JK2 one, but I did for the JA one... does the compilation read from the JK2 directory instead?

 

I hope I didn't write the description above too messily.

 

Any help?

 

Thanks,

WJTW

Link to comment
Share on other sites

I've used flares many times but I usually place them on point lights and not in shaders. I've never written a shader with that command in it, but if you post the two you are referring to, maybe we can see something. I'm not really sure where you've added the 2 you keep mentioning. Also, make sure you have your shader listed in the shaderlist.txt.

 

If you're using jk2radiant, that could be your problem. It very likely is reading from the jk2 directory. Compiling for JA requires '-game ja' to be in the q3map2 compile line and requires the project directory to be set correctly.

 

Have you tried the latest gtkradiant? 1.3.13? I do believe that fixed some of the problems for people who could not get it to run. I think it fixed the problem where people could not get radiant to run if their desktop was 16-bit colors.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...