| Author |
Topic: Asset Manager - Weapon Hud? |
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
Category: CoD2 General Posted: Tuesday, Nov. 1, 2011 03:58 pm |
 |
How do i create weapon hud?
my weapon files have killicon\gfx/icons/weaponname_hud
weaponname = its name of my weapon
the file i have in images/gfx/icons folder is weaponname_hud
the file is right size and is working because it works for other gun but other gun already has stock hud so its same as i just repainted old but for my new gun it doesn't show it i see as that default texture.
Any ideas what options to use to make weapon hud in AssMan? |
 |
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD2 General Posted: Tuesday, Nov. 1, 2011 04:21 pm |
 |
Zaphax writes...Quote: How do i create weapon hud?
my weapon files have killicon\gfx/icons/weaponname_hud
weaponname = its name of my weapon
the file i have in images/gfx/icons folder is weaponname_hud
the file is right size and is working because it works for other gun but other gun already has stock hud so its same as i just repainted old but for my new gun it doesn't show it i see as that default texture.
Any ideas what options to use to make weapon hud in AssMan?
1. Create you image in Asset Manager but make sure it is a materials file with a IWI file. Don't try to save it as a .TGA and IWI file (which go in the /gfx folder).
2. Reference the image in your weapon file by calling the materials file itself:
Quote: hudIcon\inventory_stickybomb
Not:
Quote: hudIcon\gfx/gfx/icons/hud@uinventory_stickybomb.tga
I say this because newbies get stuck on making the materials .TGA files. They are "special" materials, and Infinity Ward switched methods during development of COD2 to the simpler method which you see throughout COD4.
edited on Nov. 1, 2011 12:22 pm by Tally |
 |
|
|
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD2 General Posted: Tuesday, Nov. 1, 2011 05:19 pm |
 |
Zaphax writes...Quote: So i made my image for my weapon hud which is .dds file when i used .iwi file it said its something wrong.
So i put the material/gfx/icons/weapon.tga the compiled material file of the image in my mod right?
Can you say it step by step
1. i made my image .dds format
2. i put it in directory/main/images/ folder
3. i open asset manager i select material then what? what name what settings?
yes i changed from hudIcon\gfx/icons/hud_name to hudIcon\hud_name
so i need to call it to material file or to image file?
These are the settings I used for a custom image for a bouncing betty weapon in COD2:
The location of the directory for the DDS file is self-explanatory - it is shown under "color map". |
 |
|
|
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
|
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
|
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
|
| liltc64 |
General Member Since: Feb 12, 2007 Posts: 906 Last: Oct 22, 2012 [view latest posts] |
|
|
 |
|
Category: CoD2 General Posted: Tuesday, Nov. 1, 2011 10:18 pm |
 |
Zaphax writes...Quote: Yeah! It works, i needed to have hudIcon/hud_flamethrower.tga
you need to have .tga in the end cause the material file is .tga file but nobody ever told to use file extension in the end but with out the extension it doesn't work
the post before that you said you have "i got the material/hud_flamethrower.tga" ?? oh well glad you found a solution. |
 |
|
|
| Zaphax |
 |
General Member Since: Jun 17, 2008 Posts: 251 Last: Dec 29, 2013 [view latest posts] |
|
|
|
Category: CoD2 General Posted: Wednesday, Nov. 2, 2011 07:42 pm |
 |
I wanned to show my friend i asked him to choose an image and i make it cod2 style hud, so here it is.
Original pic
http://www.cabom.se/img/products/30550804/product-30550804-big.jpg
My Hud:

I did this one fast so the background grey color is not the orignal i just took any fast but it doesnt matter cause real huds i make i do alpha transparancy so you dnt see grey you see only outline and gun i usally make thicker outline and do smaller alpha and i make sure you dont see grey its better to see more black then background.
What do you think of my work? :) It's not final product i just did it fast in 10 second ![[wink]](images/BBCode/smilies/wink.gif) |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|