Page 1 of 1

How to change soldier camos?

Posted: 2013-08-01 17:26
by ubermensche
Can someone here tell me where do I have to go in order to have change the camouflage pattern of the soldiers? E.g. a map has all soldiers spawn with the woodland pattern. How do I make them spawn with the desert pattern?

My guess is in the init.con file of every map, but which line exactly?

Re: How to change soldier camos?

Posted: 2013-08-01 17:28
by Rudd
In the init.con change the texture suffix, this makes the game look for textures with _woodland at the end

this is also how to add custom textures to a map, like unique roadsigns
rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera -535/369/-279 103/6/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "Woodland"
else
texturemanager.customTextureSuffix "Woodland"
endIf

Re: How to change soldier camos?

Posted: 2013-08-01 17:55
by ubermensche
Kk I see. And is there a file where I can find the list of all the texture suffixes? 'Cause I noticed how the suffixes aren't as simple as just "_woodland" and "_desert".

For example, sometimes it's simply just "". What does that mean?

Re: How to change soldier camos?

Posted: 2013-08-01 17:58
by Rudd
if its just "" then it'll use desert :)

desert = default

anything else will cause BF2 to look for any texture that has _suffix at the end

so "woodland" causes pr_gb_soldier_1_woodland to be loaded instead of pr_gb_soldier_1

Re: How to change soldier camos?

Posted: 2013-08-01 18:09
by ubermensche
Ok thank a lot for the explanation.

One last thing: in which folder are the texture files?

EDIT: Nevermind, I found it. :)

Re: How to change soldier camos?

Posted: 2013-08-01 18:13
by Rudd
if you're looking for the woodland textures for soldiers, you'll look in

mods\pr\objects\soldiers\insertteamhere\textures

AND

then you'll also want to look at the kit geometry textures too

mods\pr\objects\kits\insertteamhere\textures

however, don't modify these if you want to make edits :) if you modify a .dds texture and resave it, you'll recompress it and repeatedly doing this will cause the texture to degrade - you can see this on some PR weapons with little purple discolourations etc