Garry's Mod

Garry's Mod

Random Deathmatch [OUTDATED]
oaktal  [开发者] 2018 年 10 月 16 日 下午 6:52
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
最后由 oaktal 编辑于; 2019 年 6 月 11 日 下午 4:26
< >
正在显示第 1 - 7 条,共 7 条留言
The ^* is syntax only for _add?
oaktal  [开发者] 2019 年 5 月 4 日 下午 5:04 
I haven’t worked on this for a while, but I believe that the ^* works on remove commands as well.
oaktal  [开发者] 2019 年 5 月 4 日 下午 5:06 
Correction: the ^* syntax seems to apply to rdm_weapon_removeall , not rdm_weapon_remove
最后由 oaktal 编辑于; 2019 年 5 月 4 日 下午 5:06
Thank you.
oaktal  [开发者] 2019 年 5 月 7 日 下午 3:56 
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  [开发者] 2019 年 5 月 14 日 下午 5:56 
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.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50