Multicharacter
Camera and Scene
config/camera.lua - character select scenes, camera animations, filters, world freeze, lineup, and UI sounds.
On this page10 sections
Scenes
Config.CameraLocations = { { key = 'golf', label = 'Golf', coords = vector4(-1106.1281, 156.9379, 63.0399, 7.5890), scenarios = { 'WORLD_HUMAN_DRINKING', 'WORLD_HUMAN_SMOKING', 'WORLD_HUMAN_STAND_MOBILE_UPRIGHT', }, },}| Field | Description |
|---|---|
key | Optional. Translates the name with camera.location.<key>. |
label | Scene name in the settings. |
coords | vector4 where the character stands and which way it faces. |
scenarios | GTA scenarios picked at random, such as drinking or smoking. |
Golf course, school, and beach are included. Add as many as you want.
The camera positions itself around the character, so you only need the spot and the heading.
Config.CameraMode = 'random'Config.FixedCameraIndex = 1| Option | Description |
|---|---|
CameraMode | 'random' picks a scene, 'fixed' always uses one. |
FixedCameraIndex | Scene used in 'fixed' mode. 1 is the first entry. |
Players can pin their own scene in the settings (gear icon). The choice is saved for them.
Camera entry animations
Config.CameraAnimations = { 'default', 'left', 'right', 'back', 'orbit', 'low', 'high', 'far',}Config.DefaultCameraAnimation = 'default'| Name | Movement |
|---|---|
default | Straight push in |
left | Fly in from the left |
right | Fly in from the right |
back | Turn from behind |
orbit | Long orbit |
low | Low rise |
high | Drop from above |
far | Long push in from far away |
Remove the ones players should not see. DefaultCameraAnimation applies until a player picks their own.
Image filters
Config.GameFilters = { 'none', 'cinematic', 'noir', 'cold', 'warm', 'sunset', 'dream',}Config.DefaultGameFilter = 'none'Color filter for the game image on the select screen. Players choose it in the settings.
Orbit
Config.CameraOrbit = { enabled = false,}The camera slowly circles the character instead of holding one angle.
World freeze
Config.FreezeWorldDuringSelect = { enabled = true, time = true, weather = true,}Stops the game clock and weather during character select, so the background does not change. Everything resumes after closing.
Minimap
Config.HideRadar = trueHides the minimap and HUD from the loading screen until the first frame of gameplay. Set false if your HUD manages the minimap.
Character lineup
Config.CharacterLineup = { enabled = false, maxVisible = 6, scenarios = { 'WORLD_HUMAN_SMOKING', 'WORLD_HUMAN_DRINKING' },}The player's other characters stand in a row next to the selected one, each with its own scenario.
Character switch animation
Config.CharacterSwitch = { enabled = true,}When switching, one character walks out of frame and the next walks in. Works only when the lineup is disabled.
UI sounds
Config.InterfaceSounds = { enabled = true, typing = true, defaultVolume = 0.5,}| Option | Description |
|---|---|
enabled | Clicks and cues in the menu. |
typing | Key sound while typing in fields. |
defaultVolume | Starting volume from 0 to 1. Players can change it. |
Sounds are generated in the game browser and need no files.
Player settings
Players have their own settings panel (gear icon on character select):
- background scene
- camera entry animation
- image filter
- background music and its volume
- UI sounds and their volume
Settings are saved for each player and apply on every visit.