[Help] where are the weapon icons ?

Making or wanting help making your own asset? Check in here
Post Reply
FISHBED
Posts: 9
Joined: 2009-05-17 12:03

[Help] where are the weapon icons ?

Post by FISHBED »

Hi there i was modding BF2 for personal use and when i wanted to add weapons to BF2 i couldnot find the weapon icons in the Menu client all i found was those folders and those are thier stats :
Crosshair [Empty] nothing in it
Jackhammer the same
M16m203 same
Selection not empty i found just CHRIF_Type95.tga
SpecialKitIcons nothing
Stinger not empty and not important i think
Tow not empty
ZIS3 not empty
So where are the weapon icons ? plz help :-(
User avatar
Senshi
PR:BF2 Developer
Posts: 358
Joined: 2010-04-29 10:44

Re: [Help] where are the weapon icons ?

Post by Senshi »

I just checked it for me and yes, I got the very same issue and file layout. I'm confused just as well :) .

EDIT: Found it. Forgot that BF2 uses atlases.

Check
mods\pr_wgp_edit\menu\Atlas\MemeAtlas_1.dds
for all the files :)
Last edited by Senshi on 2011-06-22 18:08, edited 1 time in total.
FISHBED
Posts: 9
Joined: 2009-05-17 12:03

Re: [Help] where are the weapon icons ?

Post by FISHBED »

LOL i never thought that they were in ATLAS folder i used gimp to open that dds file and FINALY i found them thanks man :)

I transferd the Atlas files and added the weapons and i ONLY replaced the MEC medic weapon to inrg_AK74 but when i came to test it it loads the map and when i want to choose the team i want to play i choosed MEC and it crashed to desktop it do this every time when i choose MEC any help ? should i change it to DDS ? insted of TGA ?
Last edited by FISHBED on 2011-06-23 12:05, edited 1 time in total.
temexter
Posts: 397
Joined: 2009-11-23 15:50

Re: [Help] where are the weapon icons ?

Post by temexter »

You have two methods to mess with HUD icons in memeAtlases:

Change or add your icons in/to "C:\gamez\bf2\mods\pr-own\menu\menu_client-zip\atlas\XX_MemeAtlas_0.dds" and modify AtlasList.con and PR_MemeAtlas.tac respectively.

Look at this thread for mode help. It's not difficult but quite nasty job...

Better way is to create a new atlas file by generating it with dice_textureAtlasTool.exe:

Edit "C:\gamez\bf2\mods\pr_own\menu\menu_server-zip\atlas\AtlasList.con" and "C:\gamez\bf2\mods\pr-own\menu\menu_server-zip\atlas\XX_MemeAtlas.tac".

Command line should be something like:

Code: Select all

dice_textureAtlasTool.exe -i Menu\Atlas\XX_MemeAtlas.tac -nompimap
And when it's done, compress it:

Code: Select all

nvcompress -bc3 -nocuda -nomips XX_MemeAtlas_0.dds
Last edited by temexter on 2011-06-26 10:04, edited 1 time in total.
Image
ImageImageImage
FISHBED
Posts: 9
Joined: 2009-05-17 12:03

Re: [Help] where are the weapon icons ?

Post by FISHBED »

Hey thanks a lot man it worcked :)
Post Reply

Return to “PR:BF2 Community Modding”