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 | Interior route (use 0 for outdoor) |
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
1
Go to Location
Travel to your desired arena location
2
Get Coordinates
Use a coordinate script or command like
/coords3
Copy Values
Copy the vector3 or vector4 coordinates
4
Add to Config
Paste into your arena configuration
Example: Creating a 1v1 Map
Weapon Configuration
Available weapons 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
1
Enable Debug
2
Restart Resource
3
Join Arena
Join your new map and test spawn points
4
Check Zones
Verify the zone boundaries are correct
5
Disable Debug
Popular Arena Locations
Paleto Bay Sheriff
Paleto Bay Sheriff
Bunker (Interior)
Bunker (Interior)
Los Santos Airport
Los Santos Airport
Tips
Configuration Guide
Back to configuration
