Page 1 of 1

custom textures appear white -.-

Posted: May 26th, 2011, 9:56 am
by megazor
So I have compiled the d3dbsp (without lighting), reflections, fast file, and then I run my map.

And I can see the following two problems:

1) the reflections seem not to have been compiled - the player view model is painted like rainbow;
2) all the custom textures in my map appear just white (whereas in Radiant they are ok).

Re: custom textures appear white -.-

Posted: May 26th, 2011, 10:06 am
by XeloX
you need to add the compiled custom textures (iwi files) to your mp_mapname iwd file.
If you dont have it yet, make it.

To get rid of the rainbow colors you need to have both a lightgrid (place it wherever a player can go) and a reflection probe.
You only need 1 reflection probe per room but you can add more for added realism, place them next to reflecting objects and surfaces.

Re: custom textures appear white -.-

Posted: May 26th, 2011, 12:33 pm
by megazor
you need to add the compiled custom textures (iwi files) to your mp_mapname iwd file
I have already done that. It's inside the 'usermaps' folder. Compiler gives no error, but in-game...

Oh, how do I place reflections? When I press the 'Compile Reflections' button, the game starts, but once my map has been loaded, it just shuts down...

Re: custom textures appear white -.-

Posted: May 26th, 2011, 12:58 pm
by iCYsoldier
megazor wrote:Oh, how do I place reflections?
Right-click the 2D window and click 'reflection_probe' and it will spawn a lil green box. Place the reflection probe above the light grid texture and then re-compile, and everything should work :)

Good luck

Re: custom textures appear white -.-

Posted: May 26th, 2011, 1:15 pm
by Goro92
so are u making a cod4 map?
i hope it will be all scripted and very good

good luck :D

pls put all ur scripts xD

Re: custom textures appear white -.-

Posted: May 26th, 2011, 1:17 pm
by XeloX
megazor wrote:
you need to add the compiled custom textures (iwi files) to your mp_mapname iwd file
I have already done that. It's inside the 'usermaps' folder. Compiler gives no error, but in-game...

Oh, how do I place reflections? When I press the 'Compile Reflections' button, the game starts, but once my map has been loaded, it just shuts down...
did you put both ff files and the iwd file in /cod4/usermaps/mp_mapname ?

Re: custom textures appear white -.-

Posted: May 26th, 2011, 1:24 pm
by Rezil
You have to run under a mod, simply typing /devmap doesn't work here. Load a mod first(CJ mod or ModWarfare works fine), then use devmap.

Re: custom textures appear white -.-

Posted: May 26th, 2011, 8:27 pm
by steveuk
i did'nt have to run my map under a mod.. i just ran it through the run map compiler, and it worked,
i also had issues with lighting and textures not showing, lighting was making my map redish pink, but i added some light refelctors (WHICH ARE NEEDED in Custome maps) then it was down to not having the iwi files in the right place, see my last thread on where you need to put the iwd file once you have the iwi files inside of the iwd file i

Re: custom textures appear white -.-

Posted: May 26th, 2011, 9:14 pm
by megazor
did you put both ff files and the iwd file in /cod4/usermaps/mp_mapname ?
no, only the .iwd file.

*update*

lol thanks! after doing that, it worked!

plus i ran my map without the compiler - under a mod. but i think the main issue was not having .ff files inside usermaps folder.

Re: custom textures appear white -.-

Posted: May 27th, 2011, 6:34 pm
by steveuk
megazor wrote:
did you put both ff files and the iwd file in /cod4/usermaps/mp_mapname ?
no, only the .iwd file.

*update*

lol thanks! after doing that, it worked!

plus i ran my map without the compiler - under a mod. but i think the main issue was not having .ff files inside usermaps folder.

well thats strange coz my FF files are not in my usermap folder, they are in there normal folders where they are created, and i still can run mods on my maps..??? lol ...Strange/Weird

Re: custom textures appear white -.-

Posted: May 28th, 2011, 12:58 am
by megazor
i must say cod4 mod stuff is strange altogether... whereas in cod1 its very easy to create mods and maps...