ethanwdp Posted June 17, 2015 Share Posted June 17, 2015 So I've been working on a little secret for my mod:ISUICheatMenu.IsUp = 0ISUICheatMenu.IsDown = 0ISUICheatMenu.IsUpUp = 0ISUICheatMenu.IsDownDown = 0ISUICheatMenu.IsLeft = 0ISUICheatMenu.IsRight = 0ISUICheatMenu.IsLeftRight = 0ISUICheatMenu.IsB = 0ISUICheatMenu.IsA = 0ISUICheatMenu.IsBA = 0ISUICheatMenu.IsCodeSuccess = 0ISUICheatMenu.NoSecretsHere = function(_keyPressed) if _keyPressed == 200 then ISUICheatMenu.IsUp = ISUICheatMenu.IsUp + 1 if ISUICheatMenu.IsUp > 2 then ISUICheatMenu.IsUp = 0 end end if _keyPressed == 208 then ISUICheatMenu.IsDown = ISUICheatMenu.IsDown + 1 if ISUICheatMenu.IsDown > 2 then ISUICheatMenu.IsDown = 0 end end if _keyPressed == 203 then ISUICheatMenu.IsLeft = ISUICheatMenu.IsLeft + 1 if ISUICheatMenu.IsLeft > 1 then ISUICheatMenu.IsLeft = 0 end end if _keyPressed == 205 then ISUICheatMenu.IsRight = ISUICheatMenu.IsRight + 1 if ISUICheatMenu.IsRight > 1 then ISUICheatMenu.IsRight = 0 end end if _keyPressed == 48 then ISUICheatMenu.IsB = ISUICheatMenu.IsB + 1 if ISUICheatMenu.IsB > 1 then ISUICheatMenu.IsB = 0 end end if _keyPressed == 30 then ISUICheatMenu.IsA = ISUICheatMenu.IsA + 1 if ISUICheatMenu.IsA > 1 then ISUICheatMenu.IsA = 0 end end if ISUICheatMenu.IsUp == 2 and ISUICheatMenu.IsDown <= 0 then ISUICheatMenu.IsUpUp = 1 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDown == 2 then ISUICheatMenu.IsDownDown = 1 end if ISUICheatMenu.IsRight == 1 and ISUICheatMenu.IsLeft == 0 then ISUICheatMenu.IsRight = 0 end if ISUICheatMenu.IsLeftRight < 2 or ISUICheatMenu.IsA == 1 and ISUICheatMenu.IsB == 0 then ISUICheatMenu.IsA = 0 ISUICheatMenu.IsB = 0 end if ISUICheatMenu.IsLeftRight == 2 and ISUICheatMenu.IsB == 1 and ISUICheatMenu.IsA == 1 then ISUICheatMenu.IsBA = 1 ISUICheatMenu.IsB = 0 ISUICheatMenu.IsA = 0 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDownDown == 1 and ISUICheatMenu.IsLeft == 1 and ISUICheatMenu.IsRight == 1 then ISUICheatMenu.IsLeftRight = ISUICheatMenu.IsLeftRight + 1 ISUICheatMenu.IsLeft = 0 ISUICheatMenu.IsRight = 0 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDownDown == 1 and ISUICheatMenu.IsLeftRight == 2 and ISUICheatMenu.IsBA == 1 then ISUICheatMenu.IsUpUp = 0 ISUICheatMenu.IsDownDown = 0 ISUICheatMenu.IsLeftRight = 0 ISUICheatMenu.IsCodeSuccess = 1 end if ISUICheatMenu.IsCodeSuccess == 1 then ISUICheatMenu.IsCodeSuccess = 0 ISUICheatMenu.MLGmode() endendISUICheatMenu.MLGmode = function() getSoundManager():PlaySound("MLG", false, 1); if ISUICheatMenu.ToggleAllStats == false then ISUICheatMenu.AllStatsToggle() end ISUICheatMenu.DoMaxAllSkills() getPlayer():setGhostMode(true) ISUICheatMenu.IsAmmo = true ISUICheatMenu.IsGod = true for i = 1,10 do getPlayer():Say("MLG MODE ACTIVATED") end getSoundManager():PlaySound("MLGsong", true, 1);end(I know the implementation is a bit clumsy, because of my "Make it work, and then make it efficient" modding style) So the MLG horns play, and an MLG remix of Turn Down for What starts playing. Oh, and it also enables most of the cheats.Problem is, I also want to have an overlay of Mountain Dew cans and a green haze over it. Is there a way to accomplish that? Link to comment Share on other sites More sharing options...
billwa Posted June 22, 2015 Share Posted June 22, 2015 hi, I understand the problems that you are having but I'm unsure if zomboid will allow you to place an overlay. I tried to figure this out before, but I have yet to find an answer to this.cya,Billwa Link to comment Share on other sites More sharing options...
Elizabeth Bailey Posted June 23, 2015 Share Posted June 23, 2015 So I've been working on a little secret for my mod:ISUICheatMenu.IsUp = 0ISUICheatMenu.IsDown = 0ISUICheatMenu.IsUpUp = 0ISUICheatMenu.IsDownDown = 0ISUICheatMenu.IsLeft = 0ISUICheatMenu.IsRight = 0ISUICheatMenu.IsLeftRight = 0ISUICheatMenu.IsB = 0ISUICheatMenu.IsA = 0ISUICheatMenu.IsBA = 0ISUICheatMenu.IsCodeSuccess = 0ISUICheatMenu.NoSecretsHere = function(_keyPressed) if _keyPressed == 200 then ISUICheatMenu.IsUp = ISUICheatMenu.IsUp + 1 if ISUICheatMenu.IsUp > 2 then ISUICheatMenu.IsUp = 0 end end if _keyPressed == 208 then ISUICheatMenu.IsDown = ISUICheatMenu.IsDown + 1 if ISUICheatMenu.IsDown > 2 then ISUICheatMenu.IsDown = 0 end end if _keyPressed == 203 then ISUICheatMenu.IsLeft = ISUICheatMenu.IsLeft + 1 if ISUICheatMenu.IsLeft > 1 then ISUICheatMenu.IsLeft = 0 end end if _keyPressed == 205 then ISUICheatMenu.IsRight = ISUICheatMenu.IsRight + 1 if ISUICheatMenu.IsRight > 1 then ISUICheatMenu.IsRight = 0 end end if _keyPressed == 48 then ISUICheatMenu.IsB = ISUICheatMenu.IsB + 1 if ISUICheatMenu.IsB > 1 then ISUICheatMenu.IsB = 0 end end if _keyPressed == 30 then ISUICheatMenu.IsA = ISUICheatMenu.IsA + 1 if ISUICheatMenu.IsA > 1 then ISUICheatMenu.IsA = 0 end end if ISUICheatMenu.IsUp == 2 and ISUICheatMenu.IsDown <= 0 then ISUICheatMenu.IsUpUp = 1 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDown == 2 then ISUICheatMenu.IsDownDown = 1 end if ISUICheatMenu.IsRight == 1 and ISUICheatMenu.IsLeft == 0 then ISUICheatMenu.IsRight = 0 end if ISUICheatMenu.IsLeftRight < 2 or ISUICheatMenu.IsA == 1 and ISUICheatMenu.IsB == 0 then ISUICheatMenu.IsA = 0 ISUICheatMenu.IsB = 0 end if ISUICheatMenu.IsLeftRight == 2 and ISUICheatMenu.IsB == 1 and ISUICheatMenu.IsA == 1 then ISUICheatMenu.IsBA = 1 ISUICheatMenu.IsB = 0 ISUICheatMenu.IsA = 0 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDownDown == 1 and ISUICheatMenu.IsLeft == 1 and ISUICheatMenu.IsRight == 1 then ISUICheatMenu.IsLeftRight = ISUICheatMenu.IsLeftRight + 1 ISUICheatMenu.IsLeft = 0 ISUICheatMenu.IsRight = 0 end if ISUICheatMenu.IsUpUp == 1 and ISUICheatMenu.IsDownDown == 1 and ISUICheatMenu.IsLeftRight == 2 and ISUICheatMenu.IsBA == 1 then ISUICheatMenu.IsUpUp = 0 ISUICheatMenu.IsDownDown = 0 ISUICheatMenu.IsLeftRight = 0 ISUICheatMenu.IsCodeSuccess = 1 end if ISUICheatMenu.IsCodeSuccess == 1 then ISUICheatMenu.IsCodeSuccess = 0 ISUICheatMenu.MLGmode() endendISUICheatMenu.MLGmode = function() getSoundManager():PlaySound("MLG", false, 1); if ISUICheatMenu.ToggleAllStats == false then ISUICheatMenu.AllStatsToggle() end ISUICheatMenu.DoMaxAllSkills() getPlayer():setGhostMode(true) ISUICheatMenu.IsAmmo = true ISUICheatMenu.IsGod = true for i = 1,10 do getPlayer():Say("MLG MODE ACTIVATED") end getSoundManager():PlaySound("MLGsong", true, 1);end(I know the implementation is a bit clumsy, because of my "Make it work, and then make it efficient" modding style) So the MLG horns play, and an MLG remix of Turn Down for What starts playing. Oh, and it also enables most of the cheats.Problem is, I also want to have an overlay of Mountain Dew cans and a green haze over it. Is there a way to accomplish that?Lmfao that sounds amazing! xD Cant help though sorry, just had to comment though >_< Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now