> For the complete documentation index, see [llms.txt](https://veil-development.gitbook.io/veil-development-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://veil-development.gitbook.io/veil-development-documentation/paid-resources/gang-system/creating-gang-sprays.md).

# Creating Gang Sprays

Tutorial to creating gang sprays for your gangs

**Manual Spray Creation**\
**Dependencies**\
OpenIV - [Download Here](https://openiv.com/)\
GIMP - [Download Here](https://www.gimp.org/downloads/)

**Follow These Steps**

* Make copies of the `template` folder given in the `veil-sprays` folder.
* Load the desired PNG file containing the graffiti into GIMP and save it as DDS files.
* Rename the DDS file to `sprays_yourgangnamehere_dif` and drag it in the template folder.
* Change all the files names from `"yourgangnamehere"` to your actual gang name.
* Open `sprays_yourgangnamehere_dif.OXT` and `sprays_yourgangnamehere.ODR` with notepad and change `yourgangnamehere` to your gang name as well.
* Open OpenIV enable edit mod then open your mods folder(if you dont have one create one) and drag `sprays_yourgangnamehere.ODR` in to the folder.
* Drag `misc_load.ytyp` into OpenIV too, right click on it and press export to META/XML(.xml), choose the folder you want to save it and open the file with noteped.
* Write this code inside but with your gang name

  ```
  <Item type="CBaseArchetypeDef"><lodDist value="64.00000000"/><flags value="139296"/><specialAttribute value="0"/><bbMin x="-2.00000000" y="0.00000000" z="-2.00000000"/><bbMax x="2.00000000" y="0.00000000" z="2.00000000"/><bsCentre x="0.00000000" y="0.00000000" z="0.00000000"/><bsRadius value="2.82843000"/><hdTextureDist value="32.00000000"/><name>sprays_yourgang/name><textureDictionary>sprays_yourgangnamehere/textureDictionary><clipDictionary/><drawableDictionary/><physicsDictionary>sprays_yourgangnamehere</physicsDictionary>
        <assetType>ASSET_TYPE_DRAWABLE</assetType>
        <assetName>sprays_yourgang/assetName>
        <extensions/>
  </Item>
  ```
* Save it and drag it back to the OpenIV.
* Drag the `.ytyp` and `.ydr` file to your `stream` folder.
* Done!

**Automatic Spray Creation**\
The system has the ability to create the gang sprays itself when there is not a spray created for a gang, it will download the image of the gangs logo and use that to create a texture for a gang spray. This is good for gangs created using the Whitelist system where the player can create their own gang.
