Garry's Mod

Garry's Mod

Random Deathmatch [OUTDATED]
31 Comments
¿LλMBDᴬ? 31 Dec, 2020 @ 10:25am 
please make random deathmatch again PLS pls please becase the gamemode sound really cool:steamthumbsup:
EclipsePlays 6 Jun, 2020 @ 6:22pm 
Thanks @ChickenDinner for the update. I did play around with LUA a few years back, so I might sit down and see if I can fix it, but I'm very inexperienced so I'll leave it up to more advanced coders for now.
oaktal  [author] 6 Jun, 2020 @ 12:40pm 
@lordg52, on the offchance that you're still using RDM and it still works for you: no, I didn't include any playermodel selector if that's what you asked about. It should work with the Enhanced Playermodel Selector addon though (provided it still works at all).
oaktal  [author] 6 Jun, 2020 @ 12:39pm 
@EclipsePlays, sorry to hear that you're having issues with the addon. I can't remember seeing that error message during my time working on this thing, but it's very likely that something has broken with a recent update. I haven't worked on this addon in a long time, and I'm sure it wasn't entirely sound when I made it in the first place.

I hate to leave this addon in the dust for a second time now, but I unfortunately do not have the time to work out any issues or update the addon right now. That being said, if you or anyone else knows your GMod Lua, anybody is free to pick up my work via the GitHub repository I made (see bottom of description).

Sorry I couldn't help you, and I'm sorry to everyone for having to abandon this addon for the time being. I am going to update the title and description to reflect that this addon is most likely outdated.
EclipsePlays 5 Jun, 2020 @ 8:06pm 
I can't seem to get this addon to work at all. I've ran the game with in installed, closed it, ran it again, and every time it gives me the following error

[Random Deathmatch] gamemodes/randomdeathmatch/gamemode/rdm_player.lua:11: bad argument #1 to 'random' (number expected, got nil)
1. random - [C]:-1
2. Call - gamemodes/randomdeathmatch/gamemode/rdm_player.lua:11
3. unknown - gamemodes/base/gamemode/player.lua:276
4. Spawn - [C]:-1
5. unknown - gamemodes/base/gamemode/player.lua:115

My friends and I only spawn with fists, can anyone help us?
lordg52 27 Nov, 2019 @ 11:46pm 
is there a way to change the models with this?
sike Mapo 15 Oct, 2018 @ 5:10pm 
@ChickenDinner awesome! although im pretty sure if you're allowed to save and read files with glua, you might be able to add a way to save weapons.

try out the io library and see if it works, idk.
oaktal  [author] 15 Oct, 2018 @ 5:06pm 
@deR1t Sure, your comment wasnt very helpful syntax-wise, but it prompted me to just use a system of tables and commands to add more weapons. As of this instant, you have to add the new weapons every time you start a game or change a map (though changing the server.cfg on a dedicated server might avert that, but i havent tested it yet). However, everything else is functioning a lot better than before.
sike Mapo 13 Oct, 2018 @ 11:27pm 
whoa hello there!
i just got cancer from reading my other comment I posted because I've learned so much since then!

just here to say cool and leave again. :p
good luck on finishing!
oaktal  [author] 13 Oct, 2018 @ 5:58pm 
Well, luckily for everyone who wants me to *actually work on this damn addon*, I've gained some more understanding about how gmod works by playing around with TTT servers and the like.

I've been looking for a coding project again recently, and I think it would be best if I picked this up again. All of my source code was lost when I switched computers, but it was only like 100 lines in the first place so it shouldn't be that hard to restart.

When I rewrite it, I'll make sure to restructure the code so that instead of attempting to hack together a list of all the weapons somebody has installed, they will enable them manually through a convar (like @deR1t suggested). That way, when somebody hosts a server they can just put the whole list in their server.cfg.

I'll start work tomorrow (October 14th).
sike Mapo 14 Mar, 2018 @ 1:58pm 
ol its been like a year.
might as well attempt to give a tip with my shitty lua.

suggestions:
you can assign tables to variables and call them like this:

variable = {"thingy", "another string", "example#23"}
print( variable[3] )
print( variable[1] )


and that would return:

example#23
thingy


so all you need to do is find the cvar [wiki.garrysmod.com] command that i dont know how to use and use it :p
ev 13 Mar, 2018 @ 6:31pm 
FUK
Drew P. Wienner 27 Oct, 2017 @ 12:07pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=580983572&searchtext=crowbar+powerups this guy figured out how to give a player a random swep! contact him!
sike Mapo 3 May, 2017 @ 7:41pm 
nope, dont really have any modding experience at all with gmod. id just have the game give you weapons on a list with a number assigned to them, and it calls a random range 1-X (x being the number of weapons) giving you the weapon(s)

in lua createconvar makes a console command i think. idk XD
oaktal  [author] 3 May, 2017 @ 6:25pm 
@d e R 1 t Do you possibly... know how to do that? I really just made this project as a quick project, just for fun. I didn't expect it to get used very much.

I thought of making it use all SWEPS added (like TTT) but couldn't find much for it, and eventually gave up (as I tend to do). I'm sorry to say, but I never really wanted to continue working on this. If you know how to add modded weapons, please, tell me. It might be the last thing I add. Or if you would like, take it over! I have not updated this in who knows how long.

TL;DR Good idea, but I have no idea what I am doing. If you could give me some tips, please do, or just take over the mod.
sike Mapo 3 May, 2017 @ 1:33pm 
suggestion, have a few cvars to add / delete weapons to the random weapon list.

example:
rndm_add "weaponname" (adds a weapon to a list of random weapons that are possible to get)
rndm_list (lists them in console)
rndm_del "weaponname" (removes the weapon from the list)
Drew P. Wienner 4 Feb, 2017 @ 11:53am 
Good luck!
oaktal  [author] 3 Feb, 2017 @ 4:54pm 
@Not DDD Like weapons from other mods? Honestly that was my next goal, but I couldn't find out how. I have barely any idea what I'm doing with this plugin, if I were prompted to call it finished, I would.
Drew P. Wienner 3 Feb, 2017 @ 7:52am 
Maybe add a way to use sandox weapons?
Leon Burke 25 Nov, 2016 @ 10:37pm 
any ttt maps used for darkrp i meant this gamemode is called rDM XD
oaktal  [author] 21 Sep, 2016 @ 4:47pm 
@Droid_22 Indeed, that would be fun! I find myself working on this addon less often, but that shall be my next goal!
oaktal  [author] 18 Sep, 2016 @ 6:36pm 
@FeuerGolem® Weapon packs? As in add modded SWEPs like the M9K stuff? I've been working on that since the first day of development; it's a matter of finding how to give modded items to players, something I haven't been able to figure out.
Droid_22 18 Sep, 2016 @ 5:23pm 
cool i'll check it out!
oaktal  [author] 18 Sep, 2016 @ 2:38pm 
Updated! :D I think the Frag counter is working now, so there should be notifications like First Blood! And now you have a chance of getting the Gravity Gun (hopefully supercharged as well, if I can find the weapon ID for it.)
Droid_22 3 Sep, 2016 @ 12:48pm 
cool i hope you can continue to develope it. it has so much potential
LordWaffl3 | VPZONE.TV 3 Sep, 2016 @ 12:08pm 
|WafflesOfNerds|Random Deathmatch| 173.208.205.131:28015
(SERVER IS NOW ON BETA TEST) SOME TIME ONLINE SOME TIME NOT.
WE NEED ADMIN STAFF
oaktal  [author] 2 Sep, 2016 @ 10:23pm 
I don't have much time to develop this, stuff like school, etc. But I have not forgotten. Hopefully I can put an update up in a few days or so...
Droid_22 28 Aug, 2016 @ 10:14am 
you should add power upps so that you can get like an rpg or a turret that can kill people for you but like is slow moving and inacurate
XTREMEVIOLENCEMASTER420 26 Aug, 2016 @ 9:54am 
This has potential, please continue developing it! :)
FeuerGolem® 22 Aug, 2016 @ 10:04am 
I LOVE IT PLEASE MAKE WEAPON PACKS
caden 20 Aug, 2016 @ 2:12pm 
- I feel like mixing this with Prop Hunt, where you must fight other people disguised as props would be kinda fun. Maybe a seperate version?: Yes. pls do it in a seperate version.