Ayccoe's Assets
  • Welcome
  • ayc-loading
    • Introduction
    • Installation
    • Editing Colors
    • Editing Images, Video, and Music
    • Editing Links (Discord & YouTube)
    • Editing Announcements
    • Discord/Steam Integration Configurations
  • AYC-MULTICHARACTER
    • Introduction
  • Features
  • Installation
  • Configurations
  • Advanced Configuration
  • Commands
Powered by GitBook
On this page

Configurations

The Config file in the script contains all the settings you can modify to adjust the character selection experience to your server's needs.

QB Settings

Config.QB = {
    SkipSelection = true,
    apartmentsStarting = true,
}
  • SkipSelection : If set to true, players will bypass the spawn selector screen.

  • apartmentsStarting : Determines whether players spawn in their apartment by default.

ESX Settings

Config.ESX = {
    PREFIX = "char",
    DefaultSkin = { ... }
}
  • PREFIX : Prefix used for character identifiers (e.g., char1, char2).

  • DefaultSkin : Defines the default appearance for male (m) and female (f) characters. This includes facial features, clothing, and accessories.

Default Spawn

Config.DefaultSpawn = vector4(-1032.02, 658.05, 156.08, 91.91)

Specifies the default spawn location for new characters. This is also used as the customization location if SkipSelection is enabled.

Weather & Environment

Config.weather = {
    weatherType = "CLEAR", -- Character selection environment weather
    time = 9 -- Character selection environment time
}
  • weatherType : Sets the weather during character selection (e.g., CLEAR, RAIN, THUNDER).

  • time : Sets the time of day (in hours).

UI Settings

Config.Ui = {
    bannedWords = {'areallybadword', 'anotherreallybadword'},
    maxBirthYear = 2015,
    minBirthYear = 1900,
    maxCharSlots = 5,
    allowCharSlots = 1,
    hideKeyBind = "L",
    delKeyBind = "Delete",
    delAllowed = true,
    primaryColor = "#cde6ff",
    SecondaryColor = "#677380",
    lightColor = "#cde6ff",
    darkColor = "#212529",
    onPrimaryColor = "#212529"
}
  • bannedWords : List of banned words for character names.

  • maxBirthYear / minBirthYear : Define the allowed range for character birth years.

  • maxCharSlots : Maximum number of character slots displayed.

  • allowCharSlots : Number of unlocked character slots for new players.

  • hideKeyBind / delKeyBind : Keybinds for hiding the UI and deleting characters.

  • delAllowed : Whether players are allowed to delete characters.

  • Colors : Customize the UI colors using hex codes.

Character Slots

Config.chars = { ... }

Defines the positions, animations, and camera settings for each character slot. You can use either manual or automatic camera configurations.

Manual Camera Example:

{
    coords = vector4(0.0, 0.0, 0.0, 0.0),
    animation = {dict = nil, name = nil},
    camCoords = vector3(0.0, 0.0, 0.0),
    rot = vector3(0.0, 0.0, 0.0)
}

Automatic Camera Example:

{
    coords = vector4(0.0, 0.0, 0.0, 0.0),
    animation = {dict = nil, name = nil},
    camZOffset = 0.0,
    pointZOffset = 0.0
}

Main Camera

Config.mainCam = vector4(-1020.54, 663.94, 156.30, 280)
Config.mainFov = 40.0
Config.fixCam = false
Config.mainCamRotation = vector3(0.0, 0.0, 180.0)
  • mainCam : Position and rotation of the main camera.

  • mainFov : Field of view for the main camera.

  • fixCam : Automatically frame all characters if set to true.

  • mainCamRotation : Rotation of the main camera when fixCam is false.

PreviousInstallationNextAdvanced Configuration

Last updated 1 month ago