Post: Can someone test this for me?
10-31-2016, 02:40 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
As I said can someone test this for me?
Just call it once you spawn.
    cirleText()
{
self.menu = [];
self.menu["hud"] = [];
self.menu["hud"]["options"] = [];

level.center = 0; //for text
level.radius = 300; //for shader

input = "test";
self.menu[input] = [];
self.menu[input]["options"] = [];
self.menu[input]["options"][0] = "Option 1";
self.menu[input]["options"][1] = "Option 2";
self.menu[input]["options"][2] = "Option 3";
self.menu[input]["options"][3] = "Option 4";
self.menu[input]["options"][4] = "Option 5";
self.menu[input]["options"][5] = "Option 6";

for(i = 0; i < self.menu[input]["options"].size; i++)
{
opt_angle = (360 / self.menu[input]["options"].size) * (i + 1); //so that the first angle isn't 0
opt_sin = level.center + Sin(opt_angle); //get the y
opt_cos = level.center + Cos(opt_angle); //get the x
opt_x = (opt_cos / 2) + opt_cos; //since we don't want the first option to start at 0°, we'll just rotate the whole thing
opt_y = (opt_sin / 2) + opt_sin; //since we don't want the first option to start at 0°, we'll just rotate the whole thing
self.menu["hud"]["options"][i] = self drawText("hudbig", 1.4, self.menu[input]["options"][i], opt_x, opt_y, 420, true, 1, (1, 1, 1), 0, (1, 1, 1));
}
}

drawText(font, fontScale, text, x, y, sort, hideWhenInMenu, alpha, color, glowAlpha, glowColor)
{
textElem = createFontString(font, fontScale);
textElem setText(text);
textElem.x = x;
textElem.y = y;
textElem.sort = sort;
textElem.hideWhenInMenu = hideWhenInMenu;
textElem.alpha = alpha;
textElem.color = color;
textElem.glowAlpha = glowAlpha;
textElem.glowColor = glowColor;
return textElem;
}
(adsbygoogle = window.adsbygoogle || []).push({});
10-31-2016, 12:09 PM #2
Patrick
League Champion
Originally posted by CxwhMods View Post
As I said can someone test this for me?
Just call it once you spawn.
    cirleText()
{
self.menu = [];
self.menu["hud"] = [];
self.menu["hud"]["options"] = [];

level.center = 0; //for text
level.radius = 300; //for shader

input = "test";
self.menu[input] = [];
self.menu[input]["options"] = [];
self.menu[input]["options"][0] = "Option 1";
self.menu[input]["options"][1] = "Option 2";
self.menu[input]["options"][2] = "Option 3";
self.menu[input]["options"][3] = "Option 4";
self.menu[input]["options"][4] = "Option 5";
self.menu[input]["options"][5] = "Option 6";

for(i = 0; i < self.menu[input]["options"].size; i++)
{
opt_angle = (360 / self.menu[input]["options"].size) * (i + 1); //so that the first angle isn't 0
opt_sin = level.center + Sin(opt_angle); //get the y
opt_cos = level.center + Cos(opt_angle); //get the x
opt_x = (opt_cos / 2) + opt_cos; //since we don't want the first option to start at 0°, we'll just rotate the whole thing
opt_y = (opt_sin / 2) + opt_sin; //since we don't want the first option to start at 0°, we'll just rotate the whole thing
self.menu["hud"]["options"][i] = self drawText("hudbig", 1.4, self.menu[input]["options"][i], opt_x, opt_y, 420, true, 1, (1, 1, 1), 0, (1, 1, 1));
}
}

drawText(font, fontScale, text, x, y, sort, hideWhenInMenu, alpha, color, glowAlpha, glowColor)
{
textElem = createFontString(font, fontScale);
textElem setText(text);
textElem.x = x;
textElem.y = y;
textElem.sort = sort;
textElem.hideWhenInMenu = hideWhenInMenu;
textElem.alpha = alpha;
textElem.color = color;
textElem.glowAlpha = glowAlpha;
textElem.glowColor = glowColor;
return textElem;
}


Why do you even bother if you cant test things for yourself?
10-31-2016, 02:12 PM #3
Originally posted by Hypocrite View Post
Why do you even bother if you cant test things for yourself?


Would only be able to test it on bo3 since the mod tools got release but I can't because I can't load any mods/play custom maps due to the game giving an error message everytime no matter what I do... (even for maps from the workshop)
11-02-2016, 11:28 AM #4
anthonything
Space Ninja
Originally posted by CxwhMods View Post
Would only be able to test it on bo3 since the mod tools got release but I can't because I can't load any mods/play custom maps due to the game giving an error message everytime no matter what I do... (even for maps from the workshop)


You have a cracked version of the game, huh?
11-04-2016, 11:36 AM #5
Kronos
Former Staff
Originally posted by CxwhMods View Post
Would only be able to test it on bo3 since the mod tools got release but I can't because I can't load any mods/play custom maps due to the game giving an error message everytime no matter what I do... (even for maps from the workshop)


wait what game is this for?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo