Adding new icons to the character creator

Users who are viewing this thread

I'm trying to add a new tattoo icon to the character creator to select a custom tattoo I made. I already imported my icon sprite into the Resource Browser and created a SpriteData xml to reference the sprite. Then I wrote a code to load the SpriteData xml. Based on the game code I have read so far, the hair, beard and tattoo icons are loaded in the grid using a for loop. However no matter what I did my icon won't appear in the character creator. Any ideas?
 
Last edited:
It would be easier to replace one of the Native tattoos as you wouldn't need to write any code. Tattoo textures aren't locked in gtex tilesets. If you use TpacTool, you can export the sheets of Native tattoos, edit them in a photo editor and them reimport them into your own mod to overwrite the original versions.
 
Upvote 0
I just tested by adding a new line under this section in skins.xml:
XML:
      <tattoo_materials group_id="8"
                        zero_probability="85">


        <tattoo_material name="tattoo_female_a_mat"
                         tags="tattoo1" >
          <style_tags>
            <style_tag name ="eastern"/>
          </style_tags>
        </tattoo_material>
        <tattoo_material name="tattoo_female_b_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_c_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_d_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_e_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_f_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_g_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_h_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_i_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_j_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_k_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_l_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_m_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_n_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_o_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_p_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_q_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_r_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_s_mat"
                         tags="tattoo1" />
        <tattoo_material name="tattoo_female_t_mat"
                         tags="tattoo1" />
And the game crashed on startup.

So currently only replacing one of the lines works.
 
Upvote 0
Back
Top Bottom