[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Custom Texture on No4
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Custom Texture on No4
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3715
Page 1 of 2

Author:  RecRic [ Sun Jan 20, 2008 12:29 pm ]
Post subject:  Custom Texture on No4

Hi Guys

This isnt server side relating but you're the most competant people out there....

I cant seem to get custom texture to show on my map..

Im trying to add a winter camo texture to the No4 rifle. I have extracted No4_r.dds and placed this into a 'customtextures' folder in my extracted map, and ive opened in Photoshop and painted the new textures.

I have then saved the .dds file into the 'customtextures' folder (Ive saved as DXT3 and Generate All Mipmaps)

I have then added the following line into my init.con

textureManager.alternativePath ../../bf1942/levels/<<MAP NAME>>/customtextures

However in game it still displays the standard wooden texture for it....any ideas :?:

Author:  hardrock [ Sun Jan 20, 2008 12:31 pm ]
Post subject:  Re: Custom Texture on No4

iced earth has done some of this, search his posts, he's good...

Author:  RecRic [ Sun Jan 20, 2008 12:37 pm ]
Post subject:  Re: Custom Texture on No4

Ive searched through a few posts but i cant seem to pinpoint what im doing wrong...ive done it before...months ago but i cannie remember the exact process

This is the first time ive done a weapon re-skin so i dont know if the process is different, the other issue i forgot to mention is when i open the .dds file and select load mip maps when i go to save the .dds file i get a message saying

"image width and height must be a multiple of four"

Author:  Archimonde0_0 [ Sun Jan 20, 2008 12:55 pm ]
Post subject:  Re: Custom Texture on No4

First locate the texture that the Number 4 is using, edit it to your liking and save it as a .dds Files.

Extract your custom map to the desktop. Inside create a new Folder called "Texture" there will already be one called "Textures" dont worry about this one.

Cut and Paste your new NO. 4 Texture into the folder "Texture" inside your map you just extracted to the desktop.

Then find and open its Init.con. and edit the line where it says "textureManager.alternativePath" it will have text next to it the name of a texture set used by the game something like "Texture/Africa" delete this, and type in a new path thats something like this:

../../bf1942/levels/(YourMap)/Texture

then save the Init.con file. Repack your map using WinRFA, and go in game. and VIOLA! youve got custom textures.


and yes .dds must be a Multiple of Four most commonly they are squares. 128x128 256x256 512x512, check your size make sure it didnt change.

Author:  RecRic [ Sun Jan 20, 2008 1:06 pm ]
Post subject:  Re: Custom Texture on No4

Excellent thanks Archimonde :D

Deleting the standard Texture/Africa line and replacing it with the custom one seemed to do the trick. Before hand i had both lines in the init.con

I also managed to get around that photoshop error message thing by selecting Use Existing Mip Maps option when saving...the textures dont look affected at all

Mucho Gracias guys

Author:  [TKO]Twist [ Sun Jan 20, 2008 3:10 pm ]
Post subject:  Re: Custom Texture on No4

Well you made my curious, let us see a SS of this texture!

Author:  RecRic [ Sun Jan 20, 2008 6:11 pm ]
Post subject:  Re: Custom Texture on No4

Sure, here's a not so great SS of the rifle and another SS of the map so far...its based on Kursk

Image

Image

Author:  [TKO]Twist [ Sun Jan 20, 2008 8:17 pm ]
Post subject:  Re: Custom Texture on No4

Well it looks nice :D
EDIT: now you need to make a snow camo suit

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/