THREADS GUIs SCRIPTS MAPS TUTORIALS SOUNDS EFFECTS TOOLS SERVERS SKINS TEXTURES MODELS PLUGINS MODS
 
Remove ads!
Rating
Based on GVME Community!
Rating:


Your rating: N/A
Total votes: 0

You cannot rating yet!
You can rate anything - when you add rating to a submission your vote determines its success or failure.

To vote on this submission
register or login

You cannot add to Favorites!


You cannot say thanks!
You must register or login

Statistics
Scores and popularity
Views: 869
Downloads: 80
Feedback: 0

[ESX] Tattoos Shops

Share: F F F F F F F
Added by: SlayeR
Author(s):
n/a
Category: Grand Theft Auto: V > FiveM
Tags: esx tattoo shop
Attached Image
Author's Readme/Notes
To put custom custom tattoos, please see this tutorial
How to add own tattoos?
Simple, mates!
You need graphic editor (i use Photoshop) and game engine browser (OpenIV).
First step is open new_overlays.xml and add just like in example:
CODE
<Item>
      <uvPos x="-0.278000" y="0.490000" />
      <scale x="0.147000" y="0.180000" />
      <rotation value="0.000000" />
      <nameHash>new_tattoo_01_M</nameHash>
      <txdHash>new_tattoo_01</txdHash>
      <txtHash>new_tattoo_01</txtHash>
      <zone>ZONE_RIGHT_ARM</zone>
      <type>TYPE_TATTOO</type>
      <faction>FM</faction>
      <garment>All</garment>
      <gender>GENDER_MALE</gender>
      <award />
      <awardLevel />
    </Item>

Explanaton:

uvPos - position of tattoo with offset from ped body.
scale - sacling of tattoo
rotation - rotation obviously
nameHash - this is the hash name (you need it to apply tattoo on ped)
txdHash/txtHash - Have to be the same as your nameHash (but without _M / _F)
zone - zone can be different
ZONE_TORSO
ZONE_HEAD
ZONE_LEFT_ARM
ZONE_RIGHT_ARM
ZONE_LEFT_LEG
ZONE_RIGHT_LEG
ZONE_UNKNOWN
ZONE_NONE

type/faction/garment - do not touch
gender - can be GENDER_MALE / GENDER_FEMALE or GENDER_DONTCARE
Next, open shop_tattoo.meta and add this for each tattoo (do not know if it necessary, but i add this):
CODE
<Item>
     <id value="92610"/>
     <cost value="50"/>
     <textLabel>NEW_TAT_001</textLabel>
     <collection>new_overlays</collection>
     <preset>new_tattoo_01_M</preset>
     <zone>PDZ_RIGHT_ARM</zone>
     <eFacing>TATTOO_RIGHT</eFacing>
     <updateGroup>ARM_RIGHT_LOWER_SLEEVE</updateGroup>
     <eFaction>TATTOO_MP_FM</eFaction>
     <lockHash>CUSTOM_TATTOOS</lockHash>
</Item>

Explanaton:

id - i think this is shop id
cost - same, for shop
textLabel - label for shop
collection - your collection name
preset - nameHash from new_overlays.xml
zone - same as in new_overlays.xml
eFacing - unknown for me now
updateGroup - unknown for me now
eFaction - unknown for me now
lockHash - hash for unlocks used by R* (optional param)
Next step - create your new tattoo in graphic editor, add in .ytd (ATTENTION! .ytd file HAVE to be the same name like you type in txdHash/txtHash in new_overlays.xml) file, put in stream folder. And enjoy!

How to apply this tattoo?
Usage:

ApplyPedOverlay(PlayerPedId(), GetHashKey("new_overlays"), GetHashKey("new_tattoo_01_M"))

new_overlays - is our new overlay library
new_tattoo_01_M - is our tattoo name from our files (nameHash from new_overlays.xml and preset from shop_tattoo.meta)


After, edit the list.lua . First, add in "tattoosCategories" the name of the categorie and then the name of the collection (name of your xml). After, add your tattoos in the "tattoosList" like the others.
  Added: Apr 25 2021, 12:34 AM    Modified: Never edited!
  Thanks List: [+]  
 
 
Add Feedback

You cannot post yet!
Get involved on GVME by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login
Feedback