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 assign a certain number for a action?

HOT
broken avatar :(
Created 11 years ago
by Dust
0 Members and 1 Guest are viewing this topic.
6,984 views
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
Anyway, one more quick problem and I should have this script mostly done. Is there a way to move the [5] over to the right hand side(where the shader is) and delete the checkerboard from showing up in game? Like in this picture.

(Image removed from quote.)

Side note, why is it that I have to press 5 in game for it to work when in the script its set to actionslot 3?

Nice,
For moving the shaders you prob need to edit a menu file somewhere. Rlly not my specialty  ???

The checkerboard is because of a hud-icon set in the weap-file prob, and the 5 key is because your keybindings in the options have it set to 5. You should be able to just change that in the options menu
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Figured it out, apparently the weapon file didnt like that I used no model/anim file in the weapons file so I had to quickly add some anims for it for right now until I get time to make some. Right now, its using the max ammo model with the perkacola anims(looks funny seeing him try to drink the max ammo :lol:)

Make gunmodel tag_origin, that way there is no model shown, but it still has model in it :)
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
Make gunmodel tag_origin, that way there is no model shown, but it still has model in it :)
The tag_origin is visible, it's just very small, take a look at tag_origin in asset viewer/tom xmodelutils.
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
The tag_origin is visible, it's just very small, take a look at tag_origin in asset viewer/tom xmodelutils.

Very small triangle, I know, but its near invisible when using on stuff :please:
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years 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.
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
Very small triangle, I know, but its near invisible when using on stuff :please:
Just use some random model then do hidetags :/
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 27 January 2015
Last active: 10 years ago
Posts
337
Respect
Forum Rank
Perk Hacker
Primary Group
Member
Signature
×
liamsa669's Groups
liamsa669's Contact & Social Links
How would I assign a specific action to a certain number that the players must hit?

For example, say they pick something up and it shows up in their HUD, and its something they can use. How would I script it so when they press that button it uses it? It is not a weapon btw so I cant set it up like a weapon
menufiles allow that to be possible... there is an fuction within it, so, what you would do is have that action set a dvar and have the dvar be checked via csc or gsc
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 6 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
Donate to me if you enjoy my work. https://www.paypal.me/thezombiekilla6
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social Linksdust103194MrZ0mbiesFanaticMrZ0mbiesFanatic
Nice,
For moving the shaders you prob need to edit a menu file somewhere. Rlly not my specialty  ???

The checkerboard is because of a hud-icon set in the weap-file prob, and the 5 key is because your keybindings in the options have it set to 5. You should be able to just change that in the options menu

Oh okay, I was confused cause I thought whatever number I set in the script was the number the players would have to press, but now I see its the equipment button.

And I was able to delete the checkerboard image and moved the keybinding over to the shader. So I think that covers everything.

Thanks so much to all who helped.

 
Loading ...