PDA

View Full Version : Status ICON


Zor
06-19-2008, 08:50 PM
Don't know if this will work for DoD. Need some testing done, but never know!

http://forums.alliedmods.net/showthread.php?t=52529

Cheers!

diamond-optic
06-19-2008, 09:44 PM
pretty sure it doesnt as dod doesnt seem to have the StatusIcon message

=|[76AD]|= TatsuSaisei
06-20-2008, 09:49 AM
Now, correct me if im wrong... but this StatusIcon is what the "message" is in other mods for the HUD sprite, like the Satchel image, or the Area Capture image, or the MG deploy image??

Or are these "icons" something else I am simply not too familiar with as I have always been 100% DoD and know LITTLE about all the other mods style of play...

Wilson [29th ID]
06-20-2008, 05:47 PM
StatusIcon is what mods like CS use to display extra sprites on the HUD that DoD doesn't use. DoD has it's own message for the few sprites it displays on the HUD, and it does not have StatusIcon.

I have tried every workaround possible, including "creating" the message with AMXX, to no avail. It'd be great if we could get it, but the message was removed from the game by the devs.

If I remember correctly, it used to be in the game, but they removed it - probably for the retail release.

Zor
06-20-2008, 11:18 PM
Yeah I remember that now, however what I was hoping for was the Icon over the head. Its gotta be somehow attached to a player like a weapon. I would say we should check the spawn of items and see what they are. Like when a player is spawned, or when an entity is created watch to see what is created. Would could most likely find it that way.

Cheers!

Wilson [29th ID]
06-21-2008, 07:12 PM
It's handled client-side. If the player is on your team, it draws the icon x units above his origin.

Zor
06-23-2008, 10:04 AM
Perhaps there is a way that on client update, or player think that if you are invisible, you can say, dont draw. Does anyone have the specific are / code / whatever of where this is. I will look into making this available like the speaking, something like, icon(viewed, viewer, on:off) or some such. Something that can be checked every frame or something. It will be like the model that couldn't be changed in dod. Wow its been done! Hehehehe

Wilson [29th ID]
06-24-2008, 08:15 AM
I don't have the original code because it's DoD source code. You'd have to decompile the client DLL somehow :(

Zor
06-24-2008, 12:20 PM
Will have to look at the code for the client.dll I guess.

Cheers!