Editing RP NPC Companion Appearance when wearing Armor

Discussion in 'Fallout General Modding' started by Clg•Seed, Aug 30, 2014.

  1. Clg•Seed

    Clg•Seed First time out of the vault

    13
    Jul 8, 2009
    Hi y'all can someone help me or guide me to do the following things:
    Edit suilk/vic/myron/kitsune/jules when they wear leather/metal/combat Armor to point out to the default leather armor appearance and not the one that shows his feet/big tummy/skinny jeans/default appearance?
    I'm thinking of editing their scripts to point out at the default proto of the armors? is this the way to go? if so please correct me and guide me please.

    look for vic/myron/sulik scripts <--- what file name should i edit?

    I also downloaded the unlimited party mod <--- should i edit this one instead?

    and not related to my title post, how do i remove the talking head of sulik and myron?

    Thanks.
     
  2. Endocore

    Endocore Look, Ma! Two Heads!
    Modder

    365
    Mar 14, 2010
    Armor-appearance changes are handled similarly in almost all mods, there's a section at the end of talk_p_proc in each npcs script specifying basically "If you told them to change their armor and the new armor is X, use animation Y for the critter."

    You won't be able to change this unless you can decompile and recompile scripts. :cry: Research the forum for info on what tools are needed and how to get started on that, as there are numerous discussions of the matter.
     
    • [Like] [Like] x 1
  3. Clg•Seed

    Clg•Seed First time out of the vault

    13
    Jul 8, 2009
    Thank you sir! I can now decompile :) Oh joy! I just found phobos2077's sfall script editor thank you so much.

    I found these:
    if ((obj_pid(critter_inven_obj(self_obj, 0)) == 349) or (obj_pid(critter_inven_obj(self_obj, 0)) == 348)) then begin metarule3(107, self_obj, 16777287, 0);
    end

    all i have to do is change them right? (the numbers) but I cant seem to find the right PID numbers. any idea what PID animation does the:
    1) Long Hair Dude (Leather Armor) ?
    2) LHD (Metal Armor) ?
    3) LHD (Leather Jacket) ?
    4) Combat Armor?
    5) Leather Armor?
    6) Leather Jacket?

    I have the resources file of RP and im looking at header file CRITRPID.H but everytime i look at 16777287 it points me to PID_WEAK_GUN_GUARD_MALE. this is wrong right? so im quite confused which PID to use. Or did the legendary bear just use that PID for the custom animation of the bald dude?
     
    Last edited: Sep 2, 2014
  4. Clg•Seed

    Clg•Seed First time out of the vault

    13
    Jul 8, 2009
    Still have no clue where and what Critter PID to use so that they change appearance depending on the armor. Can someone help me please? Just point me to the right file to look at.. :look:

    What are the right PID for the following appearance both in leather jacket, leather armor, metal armor and combat armor:
    Long Hair Dude
    Bald Dude
    Normal Male
     
  5. Continuum

    Continuum Vault Fossil

    Nov 8, 2006
    Not Pid, but Fid. ARTFID.H is the file you should look at. Proto:

    Code:
    pid: 16777219 00000003
    
    ...
    
    fid: 16777229 hmmaxx,11
    PID is a pointer to given proto, while FID is a pointer to art.

    As for custom 'models' used by player - AFAIK they're hacked-in, they don't have fids, nor presence in default directories. If true you'll have to add/put them there.
     
    Last edited: Sep 3, 2014
  6. Clg•Seed

    Clg•Seed First time out of the vault

    13
    Jul 8, 2009
    Thank you so much! finally finished editing and compiling.
     
  7. Hubal

    Hubal It Wandered In From the Wastes

    186
    Sep 11, 2014
    Could share your work with others(me)?
     
  8. Hubal

    Hubal It Wandered In From the Wastes

    186
    Sep 11, 2014
    Lol I got exactly those mods installed, thank you