Custom Texture Suffix in BF2Editor?

Making or wanting help making your own asset? Check in here
Post Reply
zero_Cold13
Posts: 10
Joined: 2014-09-20 14:06

Custom Texture Suffix in BF2Editor?

Post by zero_Cold13 »

HelloHello.

I want to ask whether you can add additional texture suffix in Editor and how to do it? I need to work directly in the time to see how will look different objects in the game. I mean default, Woodland, snow, etc.

I hope you understand me correctly. I use the Google Translate.
Last edited by Rhino on 2015-06-07 02:04, edited 2 times in total.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: CustomTexture suffix in BF2Editor?

Post by Rhino »

First to add a custom texture suffix you need to browse to "\Battlefield 2\bf2editor\Settings\Init\" and open up the "ResourceInit.con" file with a text editor, such as notepad. Then at the bottom of the file you should find:

Code: Select all

ResourceHandler.AddCustomTextureSuffix "Woodland"
Just add extra ones you want below it such as:

Code: Select all

ResourceHandler.AddCustomTextureSuffix "Woodland"
ResourceHandler.AddCustomTextureSuffix "snow"
ResourceHandler.AddCustomTextureSuffix "muttrah"
ResourceHandler.AddCustomTextureSuffix "fw"
ResourceHandler.AddCustomTextureSuffix "night"
Image

Then to active one of the ones you've added in the Editor, go to "Render > Object Custom Texture Mode >" and select the texture suffix you wish to use, with "Default" being the normal desert texture scheme :)

Image
Image
zero_Cold13
Posts: 10
Joined: 2014-09-20 14:06

Re: Custom Texture Suffix in BF2Editor?

Post by zero_Cold13 »

Thank you. You saved me a lot of time.
Post Reply

Return to “PR:BF2 Community Modding”