Originally posted by me [BF:A] Croupier from the Battlefield Apocalypse Mod at: http://bfeditor.gotfrag.com/forums/viewtopic.php?t=3780
Ok lets get started shall we.....
1. Navigate to Levels/your_custom_map or BF2 map if thats what your working on.
2. Open up the server.zip/Init.con
3. Add the red text to your run commands like so.
run ClientArchives.con
run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\Strike_at_Karkand\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
else
run ClientArchives.con
run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\Strike_at_Karkand\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
You should now see where were getting at.
4. Goto EA GAMES/Battlefield 2/Mods/bf2 and copy the ClientArchives.con uncheck read only in the file properties and add it to your_maps/server.zip
5. Open the server.zip/ClientArchives.con that you just added and in notepad ammend it to look like this.
fileManager.mountArchive Levels/your_map/Objects_client.zip Objects
fileManager.mountArchive Objects_client.zip Objects
fileManager.mountArchive Common_client.zip Common
fileManager.mountArchive Menu_client.zip Menu
fileManager.mountArchive Fonts_client.zip Fonts
fileManager.mountArchive Shaders_client.zip Shaders
6. You are now going to copy the entire BF2 Objects_client.zip from mods/BF2 into Levels/Your_Map (Don't worry we are going to be deleting everything except the folder structure and the texture/s that you are going to customise, stay with me on this)
7. Now depending on what you want to give a custom skin will determine which folder/s textures you keep in the Objects_client.zip for the purpose of this exercise I changed the US soldier skin, this will probably be the most popular thing to be customised anyway.
8. Delete everything in the .zip except soldiers/Us/Textures/us_3p_heavy_c and US_3p_Light_C (we will only be changing the 3rd person textures)
9. Open the textures in Photoshop and work your magic, save as DXT 1. Keep the same name but add a _BFA (underscore BFA is my custom texture suffix, you can add whatever you like as long as you have the _ ) So my texture name looks like this: us_3p_heavy_c_BFA
10. Open up Levels/your_map/Objects_client.zip delete the original BF2 textures and add your newly repainted and renamed US 3p textures.
Nearly done now folks.
11. Open up Levels/your_map/server.zip/Init.con and change the custom texture suffix, remeber mine is BFA yours may be whatever you want. Mine looks like this:
if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "BFA"
else
texturemanager.customTextureSuffix "BFA"
endIf
Congardulations your done. Load up the map jump in a vehicle and change the camera angle so you can see your nice new 3p custom textures added to your map.![Smile](https://totalgamingnetwork.com/core/images/smilies/smile.png)
Note: You will need to uncheck the read only properties of the maps Init.con if working on a stock BF2 map. This will work best with bundledMesh's as they dont use the texture layers but should work with statics however will require more work on the textures unless you just want to change the detail, havent tested it though and I dont know if the custom texture suffix will work with them, someone confirm please.
Ok lets get started shall we.....
1. Navigate to Levels/your_custom_map or BF2 map if thats what your working on.
2. Open up the server.zip/Init.con
3. Add the red text to your run commands like so.
run ClientArchives.con
run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\Strike_at_Karkand\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
else
run ClientArchives.con
run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\Strike_at_Karkand\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
You should now see where were getting at.
4. Goto EA GAMES/Battlefield 2/Mods/bf2 and copy the ClientArchives.con uncheck read only in the file properties and add it to your_maps/server.zip
5. Open the server.zip/ClientArchives.con that you just added and in notepad ammend it to look like this.
fileManager.mountArchive Levels/your_map/Objects_client.zip Objects
fileManager.mountArchive Objects_client.zip Objects
fileManager.mountArchive Common_client.zip Common
fileManager.mountArchive Menu_client.zip Menu
fileManager.mountArchive Fonts_client.zip Fonts
fileManager.mountArchive Shaders_client.zip Shaders
6. You are now going to copy the entire BF2 Objects_client.zip from mods/BF2 into Levels/Your_Map (Don't worry we are going to be deleting everything except the folder structure and the texture/s that you are going to customise, stay with me on this)
7. Now depending on what you want to give a custom skin will determine which folder/s textures you keep in the Objects_client.zip for the purpose of this exercise I changed the US soldier skin, this will probably be the most popular thing to be customised anyway.
8. Delete everything in the .zip except soldiers/Us/Textures/us_3p_heavy_c and US_3p_Light_C (we will only be changing the 3rd person textures)
9. Open the textures in Photoshop and work your magic, save as DXT 1. Keep the same name but add a _BFA (underscore BFA is my custom texture suffix, you can add whatever you like as long as you have the _ ) So my texture name looks like this: us_3p_heavy_c_BFA
10. Open up Levels/your_map/Objects_client.zip delete the original BF2 textures and add your newly repainted and renamed US 3p textures.
Nearly done now folks.
11. Open up Levels/your_map/server.zip/Init.con and change the custom texture suffix, remeber mine is BFA yours may be whatever you want. Mine looks like this:
if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "BFA"
else
texturemanager.customTextureSuffix "BFA"
endIf
Congardulations your done. Load up the map jump in a vehicle and change the camera angle so you can see your nice new 3p custom textures added to your map.
![Smile](https://totalgamingnetwork.com/core/images/smilies/smile.png)
Note: You will need to uncheck the read only properties of the maps Init.con if working on a stock BF2 map. This will work best with bundledMesh's as they dont use the texture layers but should work with statics however will require more work on the textures unless you just want to change the detail, havent tested it though and I dont know if the custom texture suffix will work with them, someone confirm please.
Comment