[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/bbcode.php on line 112: 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 skins in a map patch?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 16, 2024 5:16 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Sun Jun 01, 2008 2:47 am 
Offline

Joined: Thu Apr 24, 2008 3:16 am
Posts: 126
Hey guys. Can I add a custom skin (texture) into a map patch I made (Market_Garden_005.rfa)
for BF1942? I want it so that when I load Market Garden with my Patch, that whatever skin I did appears JUST and ONLY in MG, no other maps.

How do I do this? Say I wanted to write something in the sky. I open the sky for Market's .dds, edit it, blah blah blah, then what do I do? How do I get it so that if I edited the jeep's color, it only appears in Market Garden?

No idea and out of option, help is appreciated.

Thanks!
~Plague


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jun 03, 2008 8:25 pm 
Offline

Joined: Thu Apr 24, 2008 3:16 am
Posts: 126
Man, no one has any ideas? I'm working on this mod and I wanna change a particular skin in that map only. Can't I just stick it in the map's texture file?


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Jun 05, 2008 3:40 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Definitely not server side, first of all...


Yes you can do it, it just depends what folder it would be going in. For custom maps of my own, "textures" is for the map ground/sky, whereas "texture" is for custom textures (like you said). They would go in there. You would just have to specify the path in Init.con, like:

textureManager.alternativePath texture


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Jun 05, 2008 9:56 pm 
Offline

Joined: Thu Apr 24, 2008 3:16 am
Posts: 126
Yeah I don't need it to be server side.

Okay, here's what I did. Extracted my map_005.rfa, then I put a file in called "texture". In that file I put my modded texture, and in the init.con I put

textureManager.alternativePath texture

But in-game the textures don't show up, everything's normal. I packed the file back up and everything but nada.

Also, I know this happens but I can't remember the fix... the textureManager.alternativePath texture in init.con keeps disappearing, how do I make it stay there?

So now what? =)


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Jun 05, 2008 10:17 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jun 06, 2008 12:50 am 
Offline

Joined: Thu Apr 24, 2008 3:16 am
Posts: 126
So, I make a folder called texture, and in that folder I put a folder called test, and in that folder I put the modded skins. Then I put the line in Init.con that says

textureManager.alternativePath texture\test

and pack it all in and that should work?

Also, when does that line disappear? Am I gonna have to add it every time I play, or just every time I save?

I'm being cautious because other people use the same PC for BF, and I've jacked it up a couple thousand times already. =) Thanks for the help Iced, I'll try your theory.


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jun 06, 2008 1:57 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
1.) Are the Files saved in .dds format. VERY IMPORTANT, game doesnt work otherwise.

2.) When typing in the alternative texture path make sure to be very specific IE: ../../bf1942/levels/(yourmap)/texture. The ../../bf1942/levels is very important!

3.) Make sure the patch is done correctly. Market_Garden does not equal Market_Garden_001

And Last bust Not Least

4.) Make sure the textures have the right name, and folder. For example, Desert Combat uses subfolders, so for a M16 skin, the texture folder should be put together with the format texture/DESERT COMBAT/M16/M16.dds (not actual names, check DC Texture.rfa for actuals).

The line will disappear with battlecraft, otherwise, your fine


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Jun 06, 2008 3:31 am 
Offline

Joined: Thu Apr 24, 2008 3:16 am
Posts: 126
Yes, the files are in .dds format. I don't change the name or format when I mod them, I just draw on them and save over it. =)
---
I will try that, but here's another question: Do I make a folder inside the map patch?? Or do I actually have to make a new folder in my BF installation directory and edit the path to go there?
---
Patch is done correctly, as far as I know. It's Market_Garden_005.rfa.
---
So if I wanted to mod the willy jeep for Market Garden only, I could create a folder somewhere in my BF directory, and put the modded texture file in there? Like:

--in BF directory--
-----> Custom Textures for Market (or whatever)
------> Willy.dds (or whatever the willy's .dds is called)

and then in my Market Patch's Init.con: textureManager.alternativePath Battlefield 1942\Custom Textures

? Let me know if I'm doing anything wrong here.


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 196 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group