Raised This Month: $ Target: $400
 0% 

Changing the ammotype icon in HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sputnik53
Senior Member
Join Date: Jun 2005
Old 12-10-2007 , 11:28   Changing the ammotype icon in HUD
Reply With Quote #1

Picture attached (sorry for low quality)
See the down right corner? Is there a way I can change the icon to something else? I don't mean anything custom I mean for example, some other ammotype icon or something?
Attached Thumbnails
Click image for larger version

Name:	fy_pool_day0006.JPG
Views:	275
Size:	42.0 KB
ID:	22046  
Sputnik53 is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-10-2007 , 11:43   Re: Changing the ammotype icon in HUD
Reply With Quote #2

Pretty sure it's impossible.

I say this only because WeaponMod seems to always show the 556 round.
And if you can change anything about a weapon, WeaponMod would do it ;-)
purple_pixie is offline
Sputnik53
Senior Member
Join Date: Jun 2005
Old 12-10-2007 , 12:44   Re: Changing the ammotype icon in HUD
Reply With Quote #3

Quote:
Originally Posted by purple_pixie View Post
Pretty sure it's impossible.

I say this only because WeaponMod seems to always show the 556 round.
And if you can change anything about a weapon, WeaponMod would do it ;-)
If you say so.

Well can anyone tell me how to change the damagetype icon then? (hazardous, freeze, burn etc. icon)

Last edited by Sputnik53; 12-10-2007 at 12:49.
Sputnik53 is offline
Old 12-10-2007, 16:23
ConnorMcLeod
This message has been deleted by ConnorMcLeod. Reason: i'm retarded
Sputnik53
Senior Member
Join Date: Jun 2005
Old 12-11-2007 , 23:54   Re: Changing the ammotype icon in HUD
Reply With Quote #4

Anyone has any ideas? I've seen it done in some of the WC3 mods (for the ultimate, it showed a skull and a lightning). :/
Sputnik53 is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-12-2007 , 00:19   Re: Changing the ammotype icon in HUD
Reply With Quote #5

The first request is possible. The one weapon mod that was unapproved did it (sorry, the reason it was unapproved was no source code, so we can't tell you how they managed it)


for the status icons on the left side of the screen:
Code:
	message_begin(MSG_ONE, get_user_msgid("StatusIcon"), _, id)
	write_byte(status) //status
	write_string("rescue") //sprite name
	write_byte(0) //red
	write_byte(160) //green
	write_byte(0) //blue
	message_end()
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Sputnik53
Senior Member
Join Date: Jun 2005
Old 12-12-2007 , 08:58   Re: Changing the ammotype icon in HUD
Reply With Quote #6

Ok how do I set it back to what it was (off?)?
Sputnik53 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-12-2007 , 09:18   Re: Changing the ammotype icon in HUD
Reply With Quote #7

write_byte(status) //status

0 = off (then color parameters are optional)

http://wiki.amxmodx.org/index.php/Ha...nts#StatusIcon
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 12-12-2007 , 09:28   Re: Changing the ammotype icon in HUD
Reply With Quote #8

Question #1:
Send a CurWeapon message with the current ammunition and a different weapon. This will alter your hud accordingly (ammo, crosshair, etc)

Question #2:
Moooo
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Sputnik53
Senior Member
Join Date: Jun 2005
Old 12-12-2007 , 11:05   Re: Changing the ammotype icon in HUD
Reply With Quote #9

Quote:
Originally Posted by Wilson [29th ID] View Post
Send a CurWeapon message with the current ammunition and a different weapon. This will alter your hud accordingly (ammo, crosshair, etc)
I actually don't want to set another weapons icon there I wanna set for example, dmg shock there.
Sputnik53 is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-12-2007 , 11:09   Re: Changing the ammotype icon in HUD
Reply With Quote #10

I'm fairly sure that is impossible.

But hey, I said that about the last thing :-D
purple_pixie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode