{"slug":"clothes","category":"clothes","title":"Clothes","kind":"markdown","intro":"","body":"## OVERLAYS\n\nTo apply overlays use example script from file ```change_overlays_script.lua```. It uses commands to change overlays. Dont forget to change overlays table to default state, when change your ped model. By default script uses white textures for skin, to keep skin colour for black or indian peds use according albedo hashes for head textures from file ```cloth_drawable_albedo_normal_material_TEMPORARY.lua```.\n\n![overlays](https://i.imgur.com/INGYjfI.png)\n\n## NAMES OF OVERLAYS:\n```\neyebrows\nscars\neyeliners\nlipsticks\nacne\nshadows\nbeardstabble\npaintedmasks\nageing\nblush\ncomplex\ndisc\nfoundation\nfreckles\ngrime\nhair\nmoles\nspots\n```\n\n## EXAMPLES:\nApply default color to lipsticks:\n```\n/ov lipsticks 1\n```\n\nApply 15th type of eyebrows:\n```\n/ov eyebrows 1 15\n```\n\nApply 12th type of scars:\n```\n/ov scars 1 12\n```\n\nApply 15th variant of eyeliners with purple color from palette 6:\n```\n/ov eyeliners 1 1 15 1.0 6\n```\n\nApply 4rd variant of shadows with primary white color and tertiary orange color from palette 22:\n```\n/ov shadows 1 1 4 1.0 22 1 0 123\n```\n\nRemove shadows:\n```\n/ov shadows 0\n```\n\n## FUNCTION  \"toggleOverlayChange\"\n\nIt is recommended to bind function toggleOverlayChange to your menu to ease things out.\n\n```\n-- name:                        name of overlay\n-- visibility:                  0 or 1\n-- tx_id:                       from 1 till maximum of id for current ovelay (watch table \"overlays_info\". for example \"hair\" have maximum 4 ids)\n-- tx_normal:                   0\n-- tx_material:                 0\n-- tx_color_type:               if 0 it uses RGB from palette, if 1 it uses current white texture RGB, if 2 it uses current black texture RGB.\n-- tx_opacity:                  1.0\n-- tx_unk:                      0\n-- palette_id:                  from 1 till 25\n-- palette_color_primary:       from 0 till 254\n-- palette_color_secondary:     from 0 till 254\n-- palette_color_tertiary:      from 0 till 254\n-- var:                         0, for \"eyeliners\" from 0 till 15, for \"shadows\" from 0 till 5, for \"lipsticks\" from 0 till 7,\n-- opacity:                     from 0.0 till 1.0\n\n function toggleOverlayChange(name,visibility,tx_id,tx_normal,tx_material,tx_color_type,tx_opacity,tx_unk,palette_id,palette_color_primary,palette_color_secondary,palette_color_tertiary,var,opacity)\n```","tables":[],"sourceUrl":"https://github.com/femga/rdr3_discoveries/tree/477aaaccadb7f0c042286611d9939009636cff12/clothes","rows":[]}