How to Make a Custom User Interface in a game Mode
Posted: 27 Jan 2018, 22:28
Hello, good afternoon, I would like to know if someone from that forum knows how to make user interfaces for a custom game mode. I'll explain why I've decided to ask for help.
I'm not a programmer (wow that older excuse) but it's a disadvantage when you have no idea how things work.
I know that now the UI of the game modes use something called Hud. Module. GBX and from there they call modules with preset styles but not editable.
Delete the path of the game mode and also its modules, so I stay the HUD old (MP3 HUD).
Now that I do not have the HUD of MP4 I want to add quads and labels to the UI, but I can not find any file that allows me to do, except the library Layers2. Script. txt
I discovered how to use a function called Create ();
So I wrote in TimeAttack. Script. txt on the plug Match_LoadHud the following:
Layers:: Create (NewQuad, "< Label pos = " 0 0 "z-index = " 0 "text = " This is an example "/> ");
But when compile tells me syntax error, unexpected MANIASCRIPT_NATURAL, expecting MANISCRIPT_SEMICOLON
Until there comes no matter what someone can ahcer me see what I do wrong or I need to do?
I'm not a programmer (wow that older excuse) but it's a disadvantage when you have no idea how things work.
I know that now the UI of the game modes use something called Hud. Module. GBX and from there they call modules with preset styles but not editable.
Delete the path of the game mode and also its modules, so I stay the HUD old (MP3 HUD).
Now that I do not have the HUD of MP4 I want to add quads and labels to the UI, but I can not find any file that allows me to do, except the library Layers2. Script. txt
I discovered how to use a function called Create ();
So I wrote in TimeAttack. Script. txt on the plug Match_LoadHud the following:
Layers:: Create (NewQuad, "< Label pos = " 0 0 "z-index = " 0 "text = " This is an example "/> ");
But when compile tells me syntax error, unexpected MANIASCRIPT_NATURAL, expecting MANISCRIPT_SEMICOLON
Until there comes no matter what someone can ahcer me see what I do wrong or I need to do?