Ulysses
Ulysses Stuff => Suggestions => Topic started by: jlj1 on February 01, 2009, 11:39:04 AM
-
Works in the same way as the other limits with a slider between 1-100 (depending on the component)
Thanks in-advance
-
I believe someone already made this somewhere on the forums...
-
Yeah in 2007 and the link is dead
-
Hmm, well, it's one line of code per cvar you add to the menu. I'm sure there's someone that will be kind enough to make a 5-minute script for you. :)
-
where would the limits sliders be added i have the commands:
ulx.addToMenu( ulx.ID_MADMIN, Max Wire lights :, { max=32, cvar="sbox_maxwire_lights " } )
but into which lua file should they be pasted :D?
thanks
-
Create a file under modules. Doesn't matter what the file is named.
-
where would the limits sliders be added i have the commands:
ulx.addToMenu( ulx.ID_MADMIN, Max Wire lights :, { max=32, cvar="sbox_maxwire_lights " } )
but into which lua file should they be pasted :D?
thanks
Hey can you give me the module file and the path to put it in? I don't know anything about how to do this stuff and i haven't been able to even FIND the variables fr the max wire stuff. thanks.
-
If you need to find the variables, ingame, type in the console "find sbox_maxwire"
you will get a full list.
-
Oh, ok thanks. What do i call teh file?(what extension? .mod?)
And where is the module folder? There is one in Ulib somewhere and there's another in ulx.
-
.lua
And, in the ulx modules..can't load using ULX menu commands if ULX isn't yet loaded.
-
I havent put the module in the place yet, but whenever i open the admin menu i get this:
ulx/modules/cl/adminmenu.lua:15: bad argument #1 to 'SetText' (string expected, got nil)
Is it something to worry about or not?
-
And there are multiple module folders in the ulx addon folder, so can you specify a specific directory?