1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Retexture a Gm-model

Discussion in 'Tutorials' started by Jack Rackham, Jun 8, 2015.

  1. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    In this example I want to make a monk with a green outfit

    1) RESOURCE\MODELS\Characters: make a copy of Animists1.gm (red monk)
    rename it to AnimistGr.gm (for example)

    2) TX-converter: convert RESOURCE\Textures\Characters\Animists1.tga.TX to Animists1.tga (right to left)

    3) Photoshop (in this example) or what you prefer to use: open Animists1.tga and save it as AnimistGr.psd
    Here it is very important that the length of the texture file is the same as the original one.
    (9 letters in this case)

    4) Do your changes in AnimistGr.psd (green clothes instead of red). save

    5) Save as AnimistGr.tga

    6) TX-converter: convert AnimistGr.tga to AnimistGr.tga.TX (left to right)

    7) HEX-editor: open your AnimistGr.gm, search the right side for Animists1.tga
    Overwrite Animists1.tga with AnimistGr.tga. save
    Your new file now calls for the green texture not the red one.

    This can be applied to all gm-models such as ships, locations, items etc

    //JRH
     
    DAT66, Levis, Hylie Pistof and 2 others like this.
  2. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    And now a "talking head" for the green monk above. 2 files needed for this.

    1) RESOURCE\MODELS\Heads: make a copy of h_Animists1.gm (red monk)
    rename it to h_AnimistGr.gm

    2) HEX-editor: open your h_AnimistGr.gm, search the right side for Animists1.tga
    Overwrite Animists1.tga with AnimistGr.tga. save
    Your new head file now calls for the green texture not the red one.

    3) RESOURCE\animation\Heads: make a copy of h_Animists1.ani (red monk)
    rename it to h_AnimistGr.ani
     
    Andouce and Pieter Boelen like this.
  3. DAT66

    DAT66 Sailor Apprentice

    Joined:
    Sep 8, 2017
    Messages:
    67
    Gender:
    Male
    Location:
    Germany
    :ahoy:pirates, :rumgone?
    Is there any restriction about the compressing format? Used the wrong once, in another mod, and that was crap.


    EDIT:
    :aar Found my problem, with Bing search, lead me to piratesahoy. Should be mentioned here.
    from @ThirdWish: Solved - Tx Converter Error
    "Got it finally, Pieter. Both Gimp and Paint.NET have an RLE Compression box checked by default when you save the modified file. I unchecked that box and it's working like a champ now. Now if only I were an artist ;)"
    Bye
     
    Last edited: Sep 30, 2017

Share This Page