RQ-Dogs
  • DOCUMENTATION
    • Welcome
    • Commands
    • Common Issues
    • Inventory Setup
  • 🐶Script Configuration
    • Framework Configuration
    • Dog Access Configuration
    • Notification Configuration
    • Tracking Configuration
    • Searching Configuration
    • Ped Configuration
    • GPS Configuration
    • Miscellaneous Configuration
    • Vehicle Configuration
Powered by GitBook
On this page
  • Shared.RandomizePed
  • Shared.DogPeds
  1. Script Configuration

Ped Configuration

PreviousSearching ConfigurationNextGPS Configuration

Last updated 9 months ago

Shared.RandomizePed

This configuration option is only relevant if the below list has more than one item. If this is true, the dog ped will be a random option from the below list. If false, a context menu will open to select an item from the below list.

Shared.RandomizePed = true -- Whether or not to skip the dog ped selection and instead pick a random item from the below list.

Shared.DogPeds

This is a complex configuration option that allows you to extensively customize the dog ped used by the script. The dog ped used by the default configuration is from LCPDFR:

The default configuration has two dog peds, but you can remove one, or add more replicating the existing blocks. model Refers to the dog ped model name Refers to the name the dog will be displayed as in the ped selection menu (When the above Shared.RandomizePed is false, and there is more than one dog ped available)

textures is the table of ped textures. Each component of the dog has been given a shorthand name, and you can specify the corresponding texture id (Starting at zero). Component names can be any of the below - this list is in order of how you see customization options in vMenu.

  • FACE

  • MASK

  • HAIR

  • UPPER

  • PANTS

  • BAG

  • SHOES

  • NECK

  • ACCESSORY

  • ARMOUR

  • BADGE

  • JACKET

The function that is called to change the component is available at the bottom of the client/cl_open.lua file.

Shared.DogPeds = {
    -- Sheriff
    { model = "a_c_shepherd", name = "Sheriff Dog",
      textures = {
          ["FACE"] = 2,
          ["UPPER"] = 1,
          ["ACCESSORY"] = 1,
      }
    },

    -- LSPD
    { model = "a_c_shepherd", name = "Police Dog",
      textures = {
          ["FACE"] = 0,
          ["UPPER"] = 0,
          ["ACCESSORY"] = 0,
      }
    }
}
🐶
https://www.lcpdfr.com/downloads/gta5mods/character/19996-german-shepherd-malinois-k9-dog/