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

4 Menufile Questions

broken avatar :(
Created 8 years ago
by alaurenc9
0 Members and 1 Guest are viewing this topic.
1,708 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
I was wondering if I could put floated numbers ( decimals ) into something like this:
Code Snippet
Plaintext
exp rect X DvarFloat( "x_align" );
to make something slide smoothly across the screen.
I also was wondering, I know you can do
Code Snippet
Plaintext
exp rect X
but can you do
Code Snippet
Plaintext
exp rect Y

Also, how do "if" statements in menu work? I have seen #ifdef but that is basically "if defined", which I can't force something to be defined or undefined based on a dvar like I want in menu, or at least I don't think I can. Is there another way I can use "if" statements in menu?
Also, can I resize shaders in menu? I know ScaleOverTime exists in GSC script for HUD, but how can I, if I even can, change the size of a shader in menu?
Last Edit: May 28, 2016, 08:20:24 pm by alaurenc9
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
come on guys, no one knows ANYTHING?
Marked as best answer by alaurenc9 8 years ago
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I was wondering if I could put floated numbers ( decimals ) into something like this:
Code Snippet
Plaintext
exp rect X DvarFloat( "x_align" );
to make something slide smoothly across the screen.
I also was wondering, I know you can do
Code Snippet
Plaintext
exp rect X
but can you do
Code Snippet
Plaintext
exp rect Y

Also, how do "if" statements in menu work? I have seen #ifdef but that is basically "if defined", which I can't force something to be defined or undefined based on a dvar like I want in menu, or at least I don't think I can. Is there another way I can use "if" statements in menu?
Also, can I resize shaders in menu? I know ScaleOverTime exists in GSC script for HUD, but how can I, if I even can, change the size of a shader in menu?
1) Yes, look at my "DUKIP Menu Mod" somewhere it has a transitioning MOTD
2) Yes
3) if in menu works similar to the if in headers/cpp files, checks for a defined constant
4) exp rect W/H (width, height)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 9 months ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
1) Yes, look at my "DUKIP Menu Mod" somewhere it has a transitioning MOTD
2) Yes
3) if in menu works similar to the if in headers/cpp files, checks for a defined constant
4) exp rect W/H (width, height)

Awesome. So exp rect W/H, those ARE in WaW right? Because last time I asked about exp forecolor R/G/B and those didn't exist. And can I put floated numbers into that too?
Last Edit: June 03, 2016, 01:32:15 pm by alaurenc9
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Awesome. So exp rect W/H, those ARE in WaW right? Because last time I asked about exp forecolor R/G/B and those didn't exist. And can I put floated numbers into that too?
Yes W/H are in, RGB might not be. You can put it and linker will throw an error without a doubt. And yeah.

 
Loading ...