Garry's Mod

Garry's Mod

UUIS: Universal Union Item Spawner
65 条留言
Bamsy 2021 年 1 月 4 日 上午 1:07 
keep in mind this addon is OLD. VERY OLD. AND HASNT BEEN UPDATED SINCE 2014! any bugs you people may have most likely will never be fixed!
Dookin 2020 年 6 月 28 日 下午 10:11 
Ah crap this wold be perfect to use on my server but it dont seem to work just gives me a lua error

[ERROR] lua/includes/modules/concommand.lua:72: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:72 (x5)
Dornek 2020 年 2 月 16 日 上午 4:39 
nothing seems to spawn, with or without spawnpoints, what is the cause?
CollChuuk 2019 年 10 月 31 日 下午 4:47 
No matter how i look at it, the "uuis_add_spawnpoint" command isn't there. Am i doing something wrong?
SajLenc 2019 年 10 月 31 日 上午 8:29 
k ty
TOASTEngineer  [作者] 2019 年 10 月 30 日 下午 3:24 
Nope, just sandbox.

@SajLenc

Weight is a number, things where you put a bigger number in will appear more often than things where you put a smaller number. The item name has to be GMod's internal name for the item you want; I think you can get it by right clicking things in the weapons/entities menu? At least you could back in 2014.
CollChuuk 2019 年 10 月 29 日 下午 12:12 
Taost Eng. That's understandable. But maybe it'll work if i try other gamemodes. Back when you created this, did you test it with other gamemodes?
SajLenc 2019 年 10 月 29 日 上午 4:10 
uuis_add_item weight itemname
where do I find weight and itemname?
TOASTEngineer  [作者] 2019 年 10 月 28 日 上午 9:27 
I mean, this addon is 5 years old, it might just be broken. uuis_add_spawnpoint is only available if you are an admin (which you always are when you're playing single player)
CollChuuk 2019 年 10 月 27 日 下午 9:20 
The command "uuis_add_spawnpoint" doesn't seem to even exist.
CollChuuk 2019 年 10 月 27 日 下午 9:18 
I'm having trouble getting this addon to work. Is it even sandbox supported? If not, then what gamemodes does support?
Smungaloid 2019 年 9 月 12 日 上午 5:24 
is there a way to save spawnlists between games?
PUG-alo 2019 年 8 月 5 日 上午 3:03 
How do i remove spawnpoints anyway? I can't find related command
PUG-alo 2019 年 8 月 5 日 上午 2:48 
Spits errors at me, tried putting weight first, still were errors everytime I typed a symbol
Salil Al-Sawarim 400BPM Edit 2019 年 1 月 27 日 上午 1:31 
any way this could have a weapon limit? Like, a limit on the amount of weapon SENTs that are spawned?
Bumface 2018 年 12 月 30 日 下午 6:26 
Oh well, thanks anyway.
TOASTEngineer  [作者] 2018 年 12 月 29 日 上午 11:42 
It does not.
Bumface 2018 年 12 月 29 日 上午 4:54 
Does this work with dupes? I'd like to spawn some of my dupes with this.
Dornek 2018 年 1 月 14 日 上午 5:27 
it kind of works but the items spawn just rarely and i dont know why
BrainyPepper 2017 年 9 月 10 日 下午 2:35 
It's quite nice, but I would like a menu to add items.
TOASTEngineer  [作者] 2016 年 9 月 12 日 上午 9:56 
@In-animate sens-i-a-tion
Bigger = more chance to spawn

@poop
How exactly isn't it working? Have you tried putting "uuis_enabled 1" in the console?
Sexual Misconduct 2016 年 9 月 10 日 下午 9:49 
How does weighting work? Is a big number a better chance or a low number?
B2B InsaneScientist 2016 年 8 月 2 日 上午 9:09 
How to auto add stuff to a list?
8Z 2016 年 1 月 27 日 下午 4:58 
Apparently it does, thankfully.
TOASTEngineer  [作者] 2016 年 1 月 27 日 上午 6:11 
@8Z I have no idea. Try it and find out, I guess.
8Z 2016 年 1 月 25 日 上午 10:51 
So, does this still work?
Markoiz 2016 年 1 月 15 日 上午 11:28 
i would like to add item like cw 2.0 but it doesn't work
TOASTEngineer  [作者] 2015 年 6 月 11 日 下午 8:33 
@JF\CK
No, it works on listen/SP. In that case your console is both the server and client console.

If it's on and the uuis_* cvars all look okay, I don't know what else to say. Maybe it really is broken.
MDK 2015 年 6 月 11 日 上午 3:40 
So, basically, what you are saying, is that this wouldn't work on a listen server/single player, only on a dedicated server? If so I'll have to test it again, as I couldn't be arsed to immediately upload it just to test it out.

And yes, UUIS was enabled, I'm not that stupid.
TOASTEngineer  [作者] 2015 年 6 月 10 日 下午 6:40 
@JF/CK
If it was broken I'd *expect* an error message; if you're not getting one it's more likely you've done something wrong.

It's been literally years since I last touched this so I really don't remember how it works *exactly*. If you put "find uuis_" in the server console (important - it has to be the SERVER console) it'll show you all the commands UUIS gives you.

Have you checked that UUIS is actually turned on? What exactly happens when you try uuis_add_spawnpoint? That's designed to be used by a player, by the way, not from the server, and it puts the spawnpoint at your feet. The player using it has to be an admin.

There's also commands to add entitty-weight pairs to the list; that list is persistent (i.e. if you add an item, turn off the server or change the map, and come back, it'll still be there). Spawnpoints are persistent too, of course, though the spawnpoints are specific to the map they were added on. The files for both are in garrysmod/data/uuis/.
MDK 2015 年 6 月 10 日 上午 10:06 
@Schilcote Nothing entirely, it might be my fault, not sure, but I seem to be unable to use uuis_add_spawnpoint entirely, no items seem to spawn at random either, regardless of settings.


I'm also completely incapable of common logic so I might be missing something.

Is it perhaps possible to make a custom ent/item spawnlist as well? I would love to use this for a survival server I am working on.
TOASTEngineer  [作者] 2015 年 6 月 10 日 上午 7:07 
@JF\CK
Specific error message or...?
MDK 2015 年 6 月 8 日 上午 4:51 
It appears that this mod no longer works.
Sturm-Falke101 2014 年 12 月 16 日 下午 8:53 
None that I can see, maybe it gets buried under the server startup stuff?
Would be great if you could add me, gamemode is near completion and it basically relies on uuis, lol
TOASTEngineer  [作者] 2014 年 12 月 16 日 下午 8:08 
@Sturm-Falke101

Not that I know of. Error message?
Sturm-Falke101 2014 年 12 月 16 日 下午 1:59 
Is there any reason this simply wouldn't work on a server but works fine on singleplayer?
TOASTEngineer  [作者] 2014 年 10 月 11 日 下午 6:30 
Well, now ya' know.
Lolkat 2014 年 10 月 11 日 下午 6:25 
Oh my...
I was using the format of the command on the previous page of comments, didn't know it changed.
TOASTEngineer  [作者] 2014 年 10 月 11 日 下午 3:01 
You're putting the command in wrong. Weight comes first.
Lolkat 2014 年 10 月 11 日 上午 9:54 
http://puu.sh/c8fMf/adbc4afe9d.png
What happens when I add an item and check it with list.
http://puu.sh/c8fOJ/f1105e2052.png
Error message. May be incompatible with parakeet's pill pack...
http://puu.sh/c8fSa/4b9b731a10.png
After adding an item, this message comes up on every spawn attempt. Alongside this, it spews every addon with a lua/autorun folder out above it in white text.
TOASTEngineer  [作者] 2014 年 10 月 11 日 上午 8:47 
Are you sure that's the whole error message? 'Cos that isn't coming from UUIS.
Lolkat 2014 年 10 月 11 日 上午 8:06 
uuis_add_item weapon_bp_flamethrower 10
Also, it spews out this lua error every time i type in a character:

[ERROR] lua/includes/modules/concommand.lua:89: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:89
TOASTEngineer  [作者] 2014 年 10 月 11 日 上午 7:47 
@Lolkat
Can you tell me the exact command you tried?
Lolkat 2014 年 10 月 10 日 上午 11:55 
I'm having the same issue, I use the uuis_add_item command with the proper item name and a weight but them it causes lua errors about calling the hook "AddItem" I think.
TOASTEngineer  [作者] 2014 年 10 月 10 日 上午 6:34 
@Lolkat
I'm not aware of any at the moment. I've more or less stopped playing GMod, but if its a simple fix I'll likely go back and repair it.

I dunno what that broli guy's problem is.
Lolkat 2014 年 10 月 9 日 下午 4:23 
Do you plan on fixing all the errors?
Sexual Misconduct 2014 年 7 月 27 日 上午 12:36 
Plus, it seems every time I want to add an item to the list I get a lua error, and it breaks the spawning.
Sexual Misconduct 2014 年 7 月 27 日 上午 12:14 
Hmm... Good addon, but you should see about making it a tool/utilities selection. Not comcmnds. They get tedious, and often give errors.
TOASTEngineer  [作者] 2014 年 7 月 23 日 上午 10:18 
@My Lord
You'll have to figure out what the entity name is for it. You might be able to find out by right-clicking on the SENT you want in the Q-Menu and clicking "Copy to Clipboard", then pasting it in the console.

So once you have it, if it was for example "darkrp_food", you'd then type (and I gave the wrong concmd in my last comment, sorry) "uuis_add_item darkrp_food 10". The number at the end is a spawn weight, and the higher it is the more often the addon will choose that item when it tries to spawn something.
Sens0ry 0verl0ard 2014 年 7 月 23 日 上午 10:09 
then how do I add dark RP food?