[TUT] Custom Weapon Hud Sprites + Slot Redirection
2 Attachment(s)
Custom Weapon Hud Sprites + Slot Redirection |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Amazing!
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
o_o Really good job!
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Awesome!
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
OMFG !!!
Good job ;) |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Could you attach your sprites and txt file for the test plugin?
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Great work.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
[EDIT: done] |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Really nice job man ! You are the best !
:crab: |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Wicked thanks.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Good job
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Awesome! Nice Arkshine! Thanks
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Great Job, will be very usefull :D
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Nice. Didn't think this was possible.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
Thanks |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Nice, but are you completely sure that you can only replace the already made weapons and not create new ones? In ESF (which is a mod and possibly uses some different weapon system) you can actually create new weapons by registering a command (like "weapon_new") to hook when the weapon is selected (or force the player to select it), writing certain messages and setting weapon's new ID (if the last ID for ESF is like 34, then for the new weapon it would be 35) in certain messages and of course setting up the weapon_new.txt file.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Today: -1
within 2 month:+10 ;( pd:the truth +10 :|. |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Can this be used to place a sprite in the player's screen? That way we could show an image without editing hud.txt
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Arkshine, I think that knife can be placed in first slot. I passed SlotID as 0 and NumberInSlot 1 and it worked, while setting both to 0 didnt drawed sprite in HUD.
Edit. Is it possible to change crosshair ? I mean I passed it in .txt file and precached the sprite.But the original CS crosshair appeared. I was trying to hide crosshair with HideWeapon event but I failed. Edit2. Maybe you explain what each parameter does? Especially, someone maybe confused with flags parameter(since you can add some flags to the weapon). |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
awesome man, that should be useful for me !
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
i will say this , its fucking awesome , great work arkshine.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
Quote:
Quote:
About crosshair, it seems the keyword "crosshair" is a second crosshair you can added and not replacing the original. Will explain the parameters another time. Thanks. |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
OK, will do some testing in there.
P.S. You can also pass ammo2 keyword for the secondary ammo type.Using it together with Code:
byte SecondaryAmmoID byte SecondaryAmmoMaxAmount |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
thanks for share !
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
It was actualy one year ago. :)
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
To Arkshine, C.S. sends Weapon List as MSG_INIT (This mean message sends one time on connect), if you want change sprite for ever just send your message one time on connect, otherwise you must send it every time you want change it. =) |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
I'm well aware this message is sent one time but that's would lose the purpose to be dynamic & per player, which would be what want coder for most of them. But it's true I could add a section for the situation all players all the time.
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
I need to show icon if player has hud_fastswitch 1, is that possible?
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Does it work on client-side ?
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Can you make it possible to replace the "deathmsg" event on the upper-right side of the screen? where it shows whom you killed and who are killed, by changing its "weapon spr"?
ex: jc980 WEAPON_SPRITE bot01 |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Quote:
Quote:
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Hi. Can anybody to explain what's line to change to use for example 'Law Grenade' or 'Gas mask' ?
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
If you have read the tutorial, you should have seen the height of each weapon in this sprite is 45. So, all you have to do is to change shift x.
0 - Flare 45 - CS Grenade 90 - Melee 135 - Law Grenade 190 - Gaz mask |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Thanks for reply.
Edit :: Problem solved! The crash is caused by another part of my code. For now everything is ok with You're tutorial. After some tests I will see what will be happen. |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Good job man, very helpful !
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Very useful tutorial. Looking forward to seeing API :)
|
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Awesome!
And without Orphue, nice :D |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
what about multi custom weapon hud ?
Example: In Slot 0 (Primary Weapon Slot) I have Mp5 and P90. So how to make custom hud for that two. I try, and fail |
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection
Gj!
|
All times are GMT -4. The time now is 14:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.