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?
How to change soldier camos?
-
Rudd
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: How to change soldier camos?
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
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
-
ubermensche
- Posts: 264
- Joined: 2010-12-09 03:12
Re: How to change soldier camos?
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?
For example, sometimes it's simply just "". What does that mean?
-
Rudd
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: How to change soldier camos?
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
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
-
ubermensche
- Posts: 264
- Joined: 2010-12-09 03:12
Re: How to change soldier camos?
Ok thank a lot for the explanation.
One last thing: in which folder are the texture files?
EDIT: Nevermind, I found it.
One last thing: in which folder are the texture files?
EDIT: Nevermind, I found it.
-
Rudd
- Retired PR Developer
- Posts: 21225
- Joined: 2007-08-15 14:32
Re: How to change soldier camos?
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
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

