Garry's Mod

Garry's Mod

Not enough ratings
RONController - Operator and Loadout customization
By lambups
This guide will show you how to have a custom weapon and operator selection on your server running a RONController gamemode.
   
Award
Favorite
Favorited
Unfavorite
Introduction
By default, RONController will use the weapons from the required weapon pack. These weapons have been made specifically for the gamemode, but they can be changed.

When you start a server with the gamemode for the first time, 2 new files will be created in the server's data folder (or if it's a listen server, your data folder) named roncontroller-loadout.txt and roncontroller-operators.txt respectively.
Weapon selection
Opening roncontroller-loadout.txt will reveal this (I will be using Windows 11's Notepad for this guide)

primary
These weapons will be available to choose as primary weapons. They must be available in slots 3 or 4 to not cause issues. Examples of primary weapons would be assault rifles or sniper rifles.

secondary
These weapons will be available to choose as secondary weapons. They must be available in slots 1 or 2 to not cause issues. Examples of secondary weapons would be pistols, RPGs or melee weapons (shotguns too if you feel like it).

grenade1 and grenade2
These weapons will be considered grenades. They must be available in slots 5 or 6 to not cause issues. Examples of grenades would be flashbangs, smoke grenades, throwing knives, medical shots, etc.
Operator selection
Opening roncontroller-operators.txt will reveal this

Each table corresponds to a team ID. 1 being BLUFOR, 2 being OPFOR, 1001 being Unassigned and 1002 being Spectator.

If an operator was not found, the gamemode will default to using models/player.mdl as the player's model.

In the Operator selection, the models will have their names as they would in the Sandbox Player Model Selector
The gamemode will also create additional drop down boxes for all the teams that have categories and its own convar of format "rc_operator_team*teamid*" (rc_operator_team1 for example)
2 Comments
michael jackson 15 Jul, 2023 @ 6:56am 
brrrap
HexStrain 10 Jul, 2023 @ 1:55pm 
Thanks for this guide!