> For the complete documentation index, see [llms.txt](https://rqver-resources.gitbook.io/rq-dogs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rqver-resources.gitbook.io/rq-dogs/script-configuration/ped-configuration.md).

# Ped Configuration

## 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.

```lua
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: <https://www.lcpdfr.com/downloads/gta5mods/character/19996-german-shepherd-malinois-k9-dog/>

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.

```lua
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,
      }
    }
}
```
