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

Perk Icons

broken avatar :(
Created 12 years ago
by pashan
0 Members and 1 Guest are viewing this topic.
1,774 views
broken avatar :(
×
broken avatar :(
UM Member, Mapper and 3d Modeler
Location: ca
Date Registered: 8 February 2014
Last active: 5 years ago
Posts
835
Respect
Forum Rank
The Decider
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Port Arthur
Signature
×
pashan's Groups
Mapper Has released one or more maps to the UGX-Mods community.
Sorry, I have been asking too many questions.

How do i change the perk shader's size and loaction on screen. I want it to be in a top down formation on the ledt side of the screen and have the perks be 84 x 84?
Marked as best answer by pashan 12 years ago
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 15 March 2014
Last active: 7 years ago
Posts
214
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
WaW Scriptor
Signature
WaW Scriptor
×
PROxFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
PROxFTW's Contact & Social LinksPROxFTWPROxFTWPROxFTWPROxFTW
To change the size of the Shader:
In _zombiemode_perks.gsc look for
Code Snippet
Plaintext
perk_hud_create( perk ) { Some Code }
Now look for in perk_hud_create
hud SetShader( shader, 24, 24 );
Change the both of the 24's to 84 or whatever number you would like.
Ex. hud SetShader( shader, 84, 84 );

Change the location to up/down
In perk_hud_create, look for
hud.y = hud.y - 70; and hud.x = self.perk_hud.size * 30;
And change to
hud.y = ( hud.y - 70 ) + ( self.perk_hud.size * -30 ); and hud.x = 0;
hud.y controls up/down
hud.x controls left to right

**If the size of the perks are increased, change the -30 to Shader size (84) to -90. Basically add 6 to the shader size then make it negative**
Last Edit: July 21, 2014, 03:47:43 pm by PROxFTW

 
Loading ...