Post: Moving Menu in game bugs
10-06-2014, 09:05 AM #1
TehMerkMods
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Ok so i had this as my InitialisingMenu()
    InitialisingMenu()
{
self.Menu.Material["Background"] = self SetMaterial("LEFT", "TOP", 220, 0, 160, 1000, (0, 0, 0), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("LEFT", "TOP", 221, 60, 159, 13, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderMiddle"] = self SetMaterial("LEFT", "TOP", 221, 50, 159, 2, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("LEFT", "TOP", 219, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("LEFT", "TOP", 380, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
}

so to move the menu i used
     	self.Menu.Material["Background"] elemMoveX(1,-90);
self.Menu.Material["Scrollbar"] elemMoveX(1,-90);
self.Menu.Material["BorderMiddle"] elemMoveX(1,-90);
self.Menu.Material["BorderLeft"] elemMoveX(1,-91);
self.Menu.Material["BorderRight"] elemMoveX(1,150);
self.Menu.System["Title"] elemMoveX(1,-85);
self.Menu.System["Texte"] elemMoveX(1,-85);
it moved fine and stored well but when you went back or closed the menu the text and title went back to the original spot it was placed Via the menu any help?
10-06-2014, 10:32 AM #2
I tried testig it on mine and it possibly was because it wasnt on forever, try putting it in onplayerspawn and even after they die
10-06-2014, 11:51 PM #3
MrToxlcBooty
I defeated!
Originally posted by TehMerkMods View Post
Ok so i had this as my InitialisingMenu()
    InitialisingMenu()
{
self.Menu.Material["Background"] = self SetMaterial("LEFT", "TOP", 220, 0, 160, 1000, (0, 0, 0), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("LEFT", "TOP", 221, 60, 159, 13, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderMiddle"] = self SetMaterial("LEFT", "TOP", 221, 50, 159, 2, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("LEFT", "TOP", 219, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("LEFT", "TOP", 380, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
}

so to move the menu i used
     	self.Menu.Material["Background"] elemMoveX(1,-90);
self.Menu.Material["Scrollbar"] elemMoveX(1,-90);
self.Menu.Material["BorderMiddle"] elemMoveX(1,-90);
self.Menu.Material["BorderLeft"] elemMoveX(1,-91);
self.Menu.Material["BorderRight"] elemMoveX(1,150);
self.Menu.System["Title"] elemMoveX(1,-85);
self.Menu.System["Texte"] elemMoveX(1,-85);
it moved fine and stored well but when you went back or closed the menu the text and title went back to the original spot it was placed Via the menu any help?


use move overtime and make a dpad function to multiply a value u want to move it by
10-06-2014, 11:52 PM #4
MrToxlcBooty
I defeated!
Originally posted by TehMerkMods View Post
Ok so i had this as my InitialisingMenu()
    InitialisingMenu()
{
self.Menu.Material["Background"] = self SetMaterial("LEFT", "TOP", 220, 0, 160, 1000, (0, 0, 0), "white", 1, 0);
self.Menu.Material["Scrollbar"] = self SetMaterial("LEFT", "TOP", 221, 60, 159, 13, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderMiddle"] = self SetMaterial("LEFT", "TOP", 221, 50, 159, 2, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderLeft"] = self SetMaterial("LEFT", "TOP", 219, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
self.Menu.Material["BorderRight"] = self SetMaterial("LEFT", "TOP", 380, 0, 2, 1000, (1, 0, 1), "white", 1, 0);
}

so to move the menu i used
     	self.Menu.Material["Background"] elemMoveX(1,-90);
self.Menu.Material["Scrollbar"] elemMoveX(1,-90);
self.Menu.Material["BorderMiddle"] elemMoveX(1,-90);
self.Menu.Material["BorderLeft"] elemMoveX(1,-91);
self.Menu.Material["BorderRight"] elemMoveX(1,150);
self.Menu.System["Title"] elemMoveX(1,-85);
self.Menu.System["Texte"] elemMoveX(1,-85);
it moved fine and stored well but when you went back or closed the menu the text and title went back to the original spot it was placed Via the menu any help?


use move overtime and make a dpad function to multiply a value u want to move it by

example
    self.Menu.Material["Scrollbar"] elemMoveY(.2, 60 + (self.Menu.System["MenuCurser"] * 15.6));
10-07-2014, 12:23 PM #5
xJessex
I am error
Its probably because you put the shader in the open menu....
put them in init with alpha at 0 then when menu = open put alpha to 1, when close to 0,
will work fine like this Smile

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo