In this guide, you will learn how to edit the different Half-Life: Opposing Force config files such as server.cfg and mapcycle.txt, and exactly what each one is for.
Main Configs in Opposing Force
By default, the configuration files listed below will control 99% of the things you need to do on your server. Here is an overview of each file and what commands/convars should go where. You can edit these files by going to Files.
server.cfg
Default location: /gearbox/server.cfg
The server.cfg file is the main configuration file of your Opposing Force server. This is where you add custom commands which can control things such as round timers, map timers, and much more.
Here are some examples of common settings:
- mp_timelimit - Time before map rotation.
- mp_maxrounds - Maximum rounds before map change.
- mp_roundtime - Sets round time.
mapcycle.txt
Default location: /gearbox/mapcycle.txt
The mapcycle file is where you edit your Opposing Force server map rotation. Ensure that any map added has already been uploaded to the gearbox/maps folder on your server.
Plugin Config Files
Default location: /gearbox/addons/amxmodx/configs
If you're using Opposing Force plugins such as AMX Mod X, each plugin you install should generate a config file inside the AMX Mod X plugin folder.
