


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I am new to scripting and all I have really done so far was be able to find the values for certain HUD elements and to change them xD. Currently I want my ammo count to be rotated but I looked around to find that you can't do that so I want to use pictures for my ammo, so I could rotate the numbers in the pictures. How would I go to implement these pictures into the ammo count area,like how would I script that in? Also what would I have to name these pictures? ???
itemDef
{
name "ammo"
type ITEM_TYPE_TEXT
rect 0 (WEAPINFO_Y + 20) 35 40
exp rect X( WEAPON_AMMO_X )
textscale TEXTSIZE_BIG
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_RIGHT
forecolor 1 1 0 1
exp text (dvarString("hud_player_ammo_weapon"))
visible 1
decoration
}
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
1. That looks amazing btw
2. I figured it be in itemdefs, but you be able to help me with what i would have to put in the script?
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Alright so kinda like these frag icons how they are frag 1,frag2, and so on?
itemDef
{
name "ammo"
type ITEM_TYPE_TEXT
rect 0 (WEAPINFO_Y + 20) 35 40
exp rect X( WEAPON_AMMO_X )
textscale TEXTSIZE_BIG
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_RIGHT
forecolor 1 1 0 1
exp text (dvarString("hud_player_ammo_weapon"))
visible 1
decoration
}
itemDef
{
name "ammo"
type ITEM_TYPE_OVERDRAW
rect 0 (WEAPINFO_Y + 20) 35 40
exp rect X( WEAPON_AMMO_X )
forecolor 1 1 0 1
background "number_0" // default texture
visible 1
decoration
}

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
itemDef
{
name "ammmocounter1"
rect (WEAPINFO_X +50) (WEAPINFO_Y -184) 40 40
forecolor 1 1 1 1
ownerdraw CG_PLAYER_WEAPON_BACKGROUND
exp material (dvarstring(position1));
visible when ( dvarstring(position1) != "number_");
decoration
}
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I understand what you are saying but this is now seeming more complicated as at first i just thought set each number to a position then it wouldnt change if you shot or reloaded. In that itemdef script, visible when ( dvarstring(position1) != "number_"); takes all of the number_0-9 and does the magic of subtracting bullets when gun is shot and reloading and such?

, i see what you mean now, the picture helped alot too xD. Where would dukips script be btw?![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Alright, i see what you mean now, the picture helped alot too xD. Where would dukips script be btw?
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Ohhh i thought you meant like he gave it as a self download lol
Double Post Merge: November 12, 2015, 05:08:42 pm
Edit: _dukip_hud.gsc right?
. The t6 one is the one i changed all the perk icons and positions and ammo and stuff to. Thats the one im trying to get this to work on lol
)