Map Structure
R_FFA uses two separate configurations:- Maps - Define available maps with weapons and settings
- Arenas - Define physical arena locations and zones
Creating a Map
Add toR.Maps in config.lua:
Map Parameters
| Parameter | Type | Description |
|---|---|---|
Name | string | Display name of the map |
Image | string | URL to map image |
Description | string | Short description |
Weapons | table | List of weapon spawn names |
MaxPlayers | number | Maximum players allowed |
UseArmor | boolean | Give players armor |
MapId | number | Links to Arena |
Creating an Arena
Add toR.Arenas in config.lua:
Arena Parameters
| Parameter | Type | Description |
|---|---|---|
Name | string | Must match Map name |
Image | string | URL to arena image |
Route | number | Use different route for each map |
Is1v1Map | boolean | Enable 1v1 mode |
P1Spawn | vector3 | Player 1 spawn (1v1) |
P2Spawn | vector3 | Player 2 spawn (1v1) |
SpawnPoints | table | List of FFA spawn points |
ZoneType | string | ”Sphere” or “Poly” |
RadiusOrThickness | number | Zone size/thickness |
Coords | vector3 | Zone center |
Getting Coordinates
Example: Creating a 1v1 wager Map
Weapon Configuration
Available weapons for custom lobbies / wagers are defined inR.Weapons:
Weapon Labels
Customize weapon names:Component Images
Customize weapon component icons:Zone Types
Sphere Zone
Simple circular zone:Polygon Zone
Complex shaped zone (future feature):Testing Your Map
Tips
Configuration Guide
Back to configuration
