[?] Suffix's

Making or wanting help making your own asset? Check in here
Post Reply
CTRifle
Retired PR Developer
Posts: 1056
Joined: 2011-01-03 14:57

[?] Suffix's

Post by CTRifle »

Hey quick question, how do I add a suffix to the editor, ie snow, and then after that just rename all textures I want to blahblah_snow and the editor will load them?
Image
Image
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [?] Suffix's

Post by Mineral »

C:\Program Files (x86)\EA GAMES\Battlefield 2\bf2editor\Settings\Init\ResourceInit.con
in that file you will see:
ResourceHandler.AddCustomTextureSuffix "Woodland"
just add a similar one right beneath it:
ResourceHandler.AddCustomTextureSuffix "Snow"
Image
CTRifle
Retired PR Developer
Posts: 1056
Joined: 2011-01-03 14:57

Re: [?] Suffix's

Post by CTRifle »

thanks, and so it will load textures with that same suffix?
Image
Image
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [?] Suffix's

Post by Mineral »

it will if you select it in the editor ;)

go render-->load costum texture suffix(or something similar)-->snow
Image
CTRifle
Retired PR Developer
Posts: 1056
Joined: 2011-01-03 14:57

Re: [?] Suffix's

Post by CTRifle »

I knew that haha, I meant do I need to do anything else other than naming the textures, nvm though I got it
Image
Image
Post Reply

Return to “PR:BF2 Community Modding”