ModmeDTZxPorter: Goodbye

New Modme platform coming soon!
Removing Hud items
Viewed 335 time(s)
Topic created on 1537133762
Original post
Modme User
0 wins

Hey, I am making a gamemode for zombies and I'm just wondering if it's possible to remove only the zombie round counter from the hud and if so how would I go about doing it?

 

any help or pointers in the right direction would be much appreciated.

Reply #1 on 1537137480
Modme User
138 wins

vampehtwist

Hey, I am making a gamemode for zombies and I'm just wondering if it's possible to remove only the zombie counter from the hud and if so how would I go about doing it?   any help or pointers in the right direction would be much appreciated.

 there isnt a zombie counter by default anyway


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
FX Library v1.0.2
LINK TO MODME POST
Black Ops 3 Gun Pack v2.4.1
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #2 on 1537156419
Modme User
0 wins

Harry Bo21

vampehtwist Hey, I am making a gamemode for zombies and I'm just wondering if it's possible to remove only the zombie counter from the hud and if so how would I go about doing it?   any help or pointers in the right direction would be much appreciated.  there isnt a zombie counter by default anyway

 

 

Sorry I meant the round counter. I've tried removing it out through lua, but when I load it up I just get UI error and the round counter is still present.

Reply #3 on 1537187914
Modme User
27 wins

What about commenting theses lines in your .lua file with a --[[balblabla]]????

local RoundCounter = CoD.ZmRndContainer.new(HudRef, InstanceRef)
    RoundCounter:setLeftRight(true, false, -32.000000, 192.000000)      -- AnchorLeft, AnchorRight, Left, Right
    RoundCounter:setTopBottom(false, true, -174.000000, 18.000000)   -- AnchorTop, AnchorBottom, Top, Bottom
    RoundCounter:setScale(0.8)  -- Scale (Of 1.0)
    
    HudRef:addElement(RoundCounter)
    HudRef.Rounds = RoundCounter

All the traps:
https://modme.co/index.php?view=topic&tid=2497

Share points system
https://modme.co/index.php?view=topic&tid=2747

Mountable turret
https://modme.co/index.php?view=topic&tid=2746

attackables
https://modme.co/index.php?view=topic&tid=2734
Reply #4 on 1537189450
Modme User
138 wins

then the close at the end will error

 

youneed to make sure you remove it "all"


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
FX Library v1.0.2
LINK TO MODME POST
Black Ops 3 Gun Pack v2.4.1
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #5 on 1537189487
Modme User
138 wins
HudRef:addElement(RoundCounter)

 

 

just commenting that is enough


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
FX Library v1.0.2
LINK TO MODME POST
Black Ops 3 Gun Pack v2.4.1
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #6 on 1537206354
Modme User
0 wins

Harry Bo21

HudRef:addElement(RoundCounter)     just commenting that is enough

 

 

Thank you :)