Mirror, mirror.....
Mirror, mirror.....
Hello, again I have a question.
Im using the JU88 from BoB, and of some reason I started BoB to check something. And noticed that the skin on the Ju88 reflects the environment a little bit. Just enough to make it look like metal.
But when using the exact same object in my map there are no reflection. I have looked around in the rs files, and a lots of con files.
Am I right when beliving its a map setting? In that case, wich one is it I have to change?
I have searched the forum and other places, but its hard to get result when I don't even know what that reflective effect is called.
Im using the JU88 from BoB, and of some reason I started BoB to check something. And noticed that the skin on the Ju88 reflects the environment a little bit. Just enough to make it look like metal.
But when using the exact same object in my map there are no reflection. I have looked around in the rs files, and a lots of con files.
Am I right when beliving its a map setting? In that case, wich one is it I have to change?
I have searched the forum and other places, but its hard to get result when I don't even know what that reflective effect is called.
I want to live in a created universe. Virtual reality, here I come.
Re: Mirror, mirror.....
The reflections on metallic vehicles is done via a texture file called the environment map. this is not a vehicle textures but a part of the map itself. each map has its own envmap.
i believe this environment file is missing in your map. Your envmap should be in the /textures/ folder inside the MAPNAME.rfa file, and then declared in your init.con file
Battleaxe Example:
in the init.con
if you cant/wont make a custom envmap (dont know how to do it) you can burrow one from another map. Try to use one that's similar to yours (El alamein uses a desert envamp)
i believe this environment file is missing in your map. Your envmap should be in the /textures/ folder inside the MAPNAME.rfa file, and then declared in your init.con file
Battleaxe Example:
in the init.con
Code: Select all
ShaderManager.setTextureParam envmap bf1942\levels\Battleaxe\Textures\ENVMAP_G_.rcm
if you cant/wont make a custom envmap (dont know how to do it) you can burrow one from another map. Try to use one that's similar to yours (El alamein uses a desert envamp)
Re: Mirror, mirror.....
I understand, and i also need the dds files I see now... Hmm should be easy make my own it seems. Wonder how you adjust the strength of the reflections though.hipnox wrote:The reflections on metallic vehicles is done via a texture file called the environment map. this is not a vehicle textures but a part of the map itself. each map has its own envmap.
i believe this environment file is missing in your map. Your envmap should be in the /textures/ folder inside the MAPNAME.rfa file, and then declared in your init.con file
Battleaxe Example:
in the init.con
Code: Select all
ShaderManager.setTextureParam envmap bf1942\levels\Battleaxe\Textures\ENVMAP_G_.rcm
if you cant/wont make a custom envmap (dont know how to do it) you can burrow one from another map. Try to use one that's similar to yours (El alamein uses a desert envamp)
I want to live in a created universe. Virtual reality, here I come.
Re: Mirror, mirror.....
I had deleted them earlier. So I copied the files from an older version of my map and checked that the init.con hade the path in it.
But it still not working. These dds files are created when you do one of the renderings of the map if I understand correctly?
Maybe I must render shadows and stuff again?
So the question is if I have to generate even the material map?
But it still not working. These dds files are created when you do one of the renderings of the map if I understand correctly?
Maybe I must render shadows and stuff again?
So the question is if I have to generate even the material map?
I want to live in a created universe. Virtual reality, here I come.
Re: Mirror, mirror.....
in your maps init.con try changing the path for the envmap to an already existing ENVMAP_G_.rcm on in an original map
so change
to
for example... and see if it works.
WinRFA (or it seems could be notepad as Apache has mentioned) seems to corrupt the envmap_G_.rcm file which is why it does not work in game
I usually just pick an existing ENVMAP_G_.rcm from an original map that has a similar feel to my custom map.. thats the easiest solution.
Battlecraft also screws up the image placement of the envmap rcm file so you end up seeing sky where you should see ground and vice versa.
so change
Code: Select all
ShaderManager.setTextureParam envmap bf1942\levels\psycho_epic_map\Textures\ENVMAP_G_.rcm
Code: Select all
ShaderManager.setTextureParam envmap bf1942\levels\Battleaxe\Textures\ENVMAP_G_.rcm
WinRFA (or it seems could be notepad as Apache has mentioned) seems to corrupt the envmap_G_.rcm file which is why it does not work in game
I usually just pick an existing ENVMAP_G_.rcm from an original map that has a similar feel to my custom map.. thats the easiest solution.
Battlecraft also screws up the image placement of the envmap rcm file so you end up seeing sky where you should see ground and vice versa.
Re: Mirror, mirror.....
AHA, then I understand why it worked in the beginning when I started to make my map, I used Battlecraft in the begining. Then when I started to use ed42 I also started to use winrfa... changing the path to another map now.
Edit: crap, something more must be missing...
Edit: crap, something more must be missing...
I want to live in a created universe. Virtual reality, here I come.
Re: Mirror, mirror.....
Another reason, out of the hundreds of reasons, why I prefer BGA over everything else.fo0k wrote:WinRFA (or it seems could be notepad as Apache has mentioned) seems to corrupt the envmap_G_.rcm file which is why it does not work in game
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Mirror, mirror.....
BGA... no one told me:).. DL now..Swaffy wrote:Another reason, out of the hundreds of reasons, why I prefer BGA over everything else.fo0k wrote:WinRFA (or it seems could be notepad as Apache has mentioned) seems to corrupt the envmap_G_.rcm file which is why it does not work in game
I want to live in a created universe. Virtual reality, here I come.
Re: Mirror, mirror.....
You are right, we somehow forgot to add the BGA to the Modding Tools list. I will fix that right now!
Re: Mirror, mirror.....
So, tried first to swap the files as said before. Then tried to change the path in the init.con. But it won't work. So what step do I have to do? What made the dds files from the beginning?
I want to live in a created universe. Virtual reality, here I come.