Simple item for you guys tonight I made a menu macro to put perks through menu and not spawn by GSC. (To save such little resources that's needed ;-;)
Matches (pretty much) identically to the script version, the Y coordinate may or may not be off
Notes: To add more than 4 perks into the UI you'll need to modify two things; one is a for loop in the GSC provided and the other is the macro call in menu.
GSC -> Function setPerkDvars() -> for loop -> replace 4 with the amount of perks you want to use. UI -> HUD_PERK macro -> macro call (336 for start) -> add HUD_PERK(NUMBER); as many times needed to the number of perks in your map.
That's it.
Last Edit: July 17, 2015, 03:21:46 am by DidUknowiPwn
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
I had issues with this, but intend to try it again
I was curious if we could have them "fade" in and out rather than just appear tho, I had my hud element version doing this,m looks quite nice ( It also starts off slightly larger and shrinks to normal size in mine, is this possible? )
Sorry for late reply, but the one i posted worked for me but it might because i'm using the perks in "competitivemodescores" menuDef instead of the weapons one, forgot to mention that.
Sorry for late reply, but the one i posted worked for me but it might because i'm using the perks in "competitivemodescores" menuDef instead of the weapons one, forgot to mention that.
I decided to do this too, because when you take damage, your ammo hud hides, which results in your perks hiding. Also the only item type I could get to work is what MakeCents did, "ITEM_TYPE_GAME_MESSAGE_WINDOW".
I don't know why you say that it doesn't need one. Obviously it does when an error is thrown without one in mod builder