custom textures appear white -.-

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

custom textures appear white -.-

Post by megazor » May 26th, 2011, 9:56 am

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).

User avatar
XeloX
CJ Newbie
CJ Newbie
Posts: 74
Joined: February 13th, 2010, 9:58 pm

Re: custom textures appear white -.-

Post by XeloX » May 26th, 2011, 10:06 am

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.
Image

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: custom textures appear white -.-

Post by megazor » May 26th, 2011, 12:33 pm

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...

User avatar
iCYsoldier
CJ Worshipper
CJ Worshipper
Posts: 289
Joined: December 5th, 2009, 7:12 am
Location: Australia

Re: custom textures appear white -.-

Post by iCYsoldier » May 26th, 2011, 12:58 pm

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

User avatar
Goro92
CJ Spammer!
CJ Spammer!
Posts: 605
Joined: March 7th, 2011, 5:54 pm
Location: Brescia, Italy

Re: custom textures appear white -.-

Post by Goro92 » May 26th, 2011, 1:15 pm

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
Image

User avatar
XeloX
CJ Newbie
CJ Newbie
Posts: 74
Joined: February 13th, 2010, 9:58 pm

Re: custom textures appear white -.-

Post by XeloX » May 26th, 2011, 1:17 pm

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 ?
Image

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: custom textures appear white -.-

Post by Rezil » May 26th, 2011, 1:24 pm

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.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: custom textures appear white -.-

Post by steveuk » May 26th, 2011, 8:27 pm

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

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: custom textures appear white -.-

Post by megazor » May 26th, 2011, 9:14 pm

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.

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: custom textures appear white -.-

Post by steveuk » May 27th, 2011, 6:34 pm

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

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: custom textures appear white -.-

Post by megazor » May 28th, 2011, 12:58 am

i must say cod4 mod stuff is strange altogether... whereas in cod1 its very easy to create mods and maps...

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests