UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

How to change HUD ?

broken avatar :(
Created 7 years ago
by Nelonn
0 Members and 1 Guest are viewing this topic.
4,520 views
broken avatar :(
×
broken avatar :(
Location: fiHamina
Date Registered: 19 May 2014
Last active: 2 years ago
Posts
17
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Nelonn's Groups
Nelonn's Contact & Social LinksNelonn
Is there any way to change HUD ? I would like to have good ol' WAW display, with points counter and ammo counter.
Marked as best answer by Nelonn 7 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Is there any way to change HUD ? I would like to have good ol' WAW display, with points counter and ammo counter.

Unfortunately some of the hud we can and some we can't. You can override some of the images of the hud, but you can't manipulate where it is, or anything like that.  A lot is lui and we can't edit that.

I've overritten the perk hud myself, by modifying the perk scripts, and replacing with a gsc hud. We have 24 hud elements available so we could do some, but I don't think we could do all in gsc huds.
broken avatar :(
×
broken avatar :(
Location: usSouth Florida
Date Registered: 10 July 2016
Last active: 12 months ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
Signature
Let he who has not sinned cast the first stone.
×
Archaicvirus's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Archaicvirus's Contact & Social Links
Quote from: MakeCents link= date=1493155794
Unfortunately some of the hud we can and some we can't. You can override some of the images of the hud, but you can't manipulate where it is, or anything like that.  A lot is lui and we can't edit that.

I've overritten the perk hud myself, by modifying the perk scripts, and replacing with a gsc hud. We have 24 hud elements available so we could do some, but I don't think we could do all in gsc huds.
 If you could clarify this for me, when you do x = NewClientHudElement() that counts as 1/24. Alright so when you do Destroy() or hud::destroyElem(), then you have 0/24 available to you again? Is it relative to the client or server? Let's say you spawn one shader on all player's screen, does each player have 23/24 elements left to use or does it take 4 elements (assuming a 4-player game) ? Curious because I'm using a lot of elements between buildables and quest item shaders.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
If you could clarify this for me, when you do x = NewClientHudElement() that counts as 1/24. Alright so when you do Destroy() or hud::destroyElem(), then you have 0/24 available to you again? Is it relative to the client or server? Let's say you spawn one shader on all player's screen, does each player have 23/24 elements left to use or does it take 4 elements (assuming a 4-player game) ? Curious because I'm using a lot of elements between buildables and quest item shaders.

Good questions. I assume that the player gets 24 additional hud elements, whether it was created on all players or on the player themselves, it still counts as 1 off. I tested by creating hud elements in a row over and over until they stopped showing. I got 24 added before it stopped.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
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 ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
It's a combined limit

So 1 client elem would be one his element to that player but not the others

1 server element would take 1 his element on "each" player

Eg if you use 24 client elems on some one, then try a hud elem on everyone, that'll push that one player over 24

Are we sure the limit really is 24 tho? Was allegedly increased from waw onwards - and consider most of what was hud controlled before is now not included in this
broken avatar :(
×
broken avatar :(
Location: fiHamina
Date Registered: 19 May 2014
Last active: 2 years ago
Posts
17
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Nelonn's Groups
Nelonn's Contact & Social LinksNelonn
Well hopefully we will be able to change hud completly in the future...
broken avatar :(
×
broken avatar :(
Location: usSouth Florida
Date Registered: 10 July 2016
Last active: 12 months ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
×
Archaicvirus's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Archaicvirus's Contact & Social Links
I found this in hud_util_shared: createServerIcon( shader, width, height, team ), but there's no comment section on it. I'm assuming this is the method to create a 'server' element, so essentially that will just take one element from each player? Usually when I do hud elements I just use a for loop to draw a shader for each player in game, but I also have situations where only one player should see the shader, sort of like the bow quests from der eisendrach. I'll just have to keep track of how many are drawn, but I doubt I'll really have that many at one time though. Thanks for the replies.

 
Loading ...