Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1.  
  2.  
  3. Re-size image to be used so that the dimensions are powers of 2 (e.g. 512x512, 256x1024, etc.) Note: This isn't a requirement but it will take advantage of mipmaps which improve image quality when applied to the characters.
  4. Rename the image to the overlay name you'll use, e.g. blazingtattoo_60.png Note: Anything proceeding the underscore must be the same as the tattoo collection name.
  5. Export a tattoo from OpenIV (e.g. mp_bus_tat_m_006.ytd)
  6. Rename tattoo filename to overlay name mp_bus_tat_m_006.ytd -> blazingtattoo_60.ytd Note: Anything proceeding the underscore must be the same as the tattoo collection name.
  7. Open the tattoo .ytd in OpenIV texture editor and use the rename option to match the image filename, e.g. blazingtattoo_60
  8. While still in texture editor, use the replace option and select the image file with the same name (e.g. blazingtattoo_60.png).
  9. You should have now have 2 textures in the tattoo, delete the older one and save the .ytd
  10. Move the .ytd to resources[familyrp]\new_overlays\stream
  11. Open/Create an .xml similar to blazingtattoos_overalys.xml located in \resources[familyrp]\new_overlays This file dictates the tattoo gender, placement, and scale. Male tattoos will only work on males and vice versa. If you hear of someone saying the tattoo shows for them but not others, it is because they are using a tattoo opposite of their gender.
  12.  
  13. Follow previous examples located in blazingtattoos_overlays.xml Note: Anything proceeding _overlays must be the same as the tattoo collection name. The key components you need to edit:
  14.  
  15. <Item>
  16. --> <uvPos x="0.720000" y="0.670000" />
  17. --> <scale x="0.280000" y="0.350000" />
  18. <rotation value="0.000000" />
  19. --> <nameHash>blazingtattoo_05_M</nameHash>
  20. --> <txdHash>blazingtattoo_05</txdHash>
  21. --> <txtHash>blazingtattoo_05</txtHash>
  22. --> <zone>ZONE_RIGHT_ARM</zone>
  23. --> <type>TYPE_TATTOO</type>
  24. <faction>FM</faction>
  25. <garment>All</garment>
  26. --> <gender>GENDER_MALE</gender>
  27. <award />
  28. <awardLevel />
  29. </Item>
  30.  
  31. If it is a female tattoo, it should be named blazingtattoo_05_F instead. If it is a badge or hairstyle, you need to change property to reflect that. Potential zones are: ZONE_HEAD ZONE_LEFT_ARM ZONE_LEFT_LEG ZONE_RIGHT_ARM ZONE_RIGHT_LEG ZONE_TORSO
  32.  
  33. Open/Create shoptattoos.meta file and add an entry there for the overlay. These don't require much work.
  34.  
  35. The key components you need to edit:
  36.  
  37. <Item>
  38. <id value="92610"/>
  39. <cost value="50"/>
  40. --> <textLabel>BLAZINGTATTOO_TAT_004</textLabel>
  41. --> <collection>blazingtattoo_overlays</collection>
  42. --> <preset>blazingtattoo_04_M</preset>
  43. <zone>PDZ_HEAD</zone>
  44. <eFacing>TATTOO_RIGHT</eFacing>
  45. <updateGroup>ARM_RIGHT_LOWER_SLEEVE</updateGroup>
  46. <eFaction>TATTOO_MP_FM</eFaction>
  47. <lockHash>CUSTOM_TATTOOS</lockHash>
  48. </Item>
  49.  
  50. Collection needs to be the same name as your XML file. None of the other information matters as far as I've been able to tell in tattoos.meta.
  51.  
  52. I find it easier to just load the tattoos in the game and edit their position/scale while live. You can use icecon or the console window to issue "restart new_overlays" and the tattoo will update.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement