Garry's Mod

Garry's Mod

Random Deathmatch [OUTDATED]
oaktal  [developer] 16 Oct, 2018 @ 6:52pm
Server.cfg Example!
!-- THIS IS NOW DEPRECATED --!
You don't need to use server.cfg to set up your weapon loadouts now, since RDM will load and save the tables to loadouts.txt.

Instead, use this as an example of how to use the commands, since they work the same way.
!-- --!

Here is the server.cfg that I use to register all the weapons on my server. Use it for further examples about how to use the add and remove commands:

hostname "Random Deathmatch Official Server"

rdm_primary_add weapon_doom3^* weapon_dubstepgun^* gidzco_shrekzooka weapon_♥♥♥♥♥♥_gold_de m9k^* weapon_mc_bow weapon_catgun weapon_nyangun weapon_beam weapon_752^*
rdm_primary_remove weapon_frag weapon_doom3_base weapon_doom3_grenade weapon_doom3_flashlight weapon_doom3_fists weapon_doom3_chainsaw weapon_dubstepgun_custom weapon_dubstepgun_base m9k_damascus m9k_davy_crockett m9k_fists m9k_knife m9k_m61_frag m9k_machete m9k_nerve_gas m9k_nitro m9k_suicide_bomb m9k_sticky_grenade m9k_base

rdm_melee_add weapon_hl2^* weapon_doom3_flashlight weapon_doom3_chainsaw m9k_damascus m9k_knife m9k_machete weapon_mc^*
rdm_melee_remove weapon_mc_bow

rdm_aux_add weapon_portalgun seal6-claymore seal6-c4 weapon_doom3_grenade weapon_slam weapon_frag laserjetpack m9k_m61_frag m9k_nerve_gas m9k_nitro m9k_sticky_grenade minecraft_swep swep_asm weapon_hexshield weapon_phantom_ruby spiderman's_swep weapon_extinguisher
Last edited by oaktal; 11 Jun, 2019 @ 4:26pm
< >
Showing 1-7 of 7 comments
The ^* is syntax only for _add?
oaktal  [developer] 4 May, 2019 @ 5:04pm 
I haven’t worked on this for a while, but I believe that the ^* works on remove commands as well.
oaktal  [developer] 4 May, 2019 @ 5:06pm 
Correction: the ^* syntax seems to apply to rdm_weapon_removeall , not rdm_weapon_remove
Last edited by oaktal; 4 May, 2019 @ 5:06pm
oaktal  [developer] 7 May, 2019 @ 3:56pm 
No problem.
One last thing, how are you setting your spawn points and would it be possible for you to add a teams mode?
oaktal  [developer] 14 May, 2019 @ 5:56pm 
Spawn points are set by the map. I'm sure there is a way I could change that, but I never got around to it. As for a team mode; sure, one day if I get to working on this again.

Your interest is encouraging, I could see myself rewriting this plugin (because it badly needs it) around June when I'm free again. Once I get into that I could add a team mode and possibly spawn handling.
< >
Showing 1-7 of 7 comments
Per page: 1530 50