Results 1 to 3 of 3

Thread: How to: give custom portraits to dead characters

  1. #1
    Kiliç Alì's Avatar Domesticus
    Artifex

    Join Date
    Feb 2011
    Location
    Italy
    Posts
    2,114

    Default How to: give custom portraits to dead characters

    This is a pretty easy and quick thing, but I did not find it in the workshop (too obvious?), so I wrote this.
    I assume you know Gigantus' guide of "Custom portraits: Creation and use" yet and "Advanced family tree" guide by GrnEyedDvl.
    Here you can find them: http://www.twcenter.net/forums/showthread.php?t=92488#CODING

    What you need:
    - a portrait of the caracheter you wanna put in the tree; -> data\ui\custom_portraits\Newone\portrait_dead.tga
    - data\world\maps\campaign\imperial_campaign\descr_strat,txt
    - data\world\maps\campaign\imperial_campaign\campaign_script.txt

    Let's start:
    1 In the descr_strat
    -> Remove eventual character_record's
    -> Add the general in the strat map: just copy an existing general, then change his name and location, add at the end this: ", portrait newone, label newone1"
    (Be sure you have the name in the data\descr_names.txt and, consequently, in the data\text\names.txt)

    EXAMPLE:

    Code:
     
    character Newone, named character, male, age 49, x 60, y 15, portrait newone, label newone1
    traits Generous 1 , CrusaderHistory 1 , BattleChivalry 1 , GoodAdministrator 2 , LoyaltyStarter 1, ManagementStarter 1
    ancillaries knight_crusader
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    Don't mind the traits neither the units
    Note: if you want to replace a past_leader, just put this after male: ", leader," since the game does not crash if there are multiple leaders or heirs... at least at beginning. But this could lead to an error whit the heir succession, so the "real" leader must be marked, in the descr_strat, as heir

    -> Put him in the family tree

    2 In the campaign_script
    -> Kill the general. Qick , dirty and simlple.
    Code:
     
    monitor_event FactionTurnStart I_TurnNumber >= 0
    kill_character newone1
    terminate_monitor
    end_monitor
    And, ta daa! check your family tree

    NOTES: In the tree, the year those characters die is the same as turn 1 (of course)
    Last edited by Kiliç Alì; September 19, 2011 at 03:16 AM.

    Member of the Imperial House of Hader, proud client of The only and sole Ferrit

  2. #2

    Default Re: How to give custom portraits to dead characters

    you should ask for it to be moved in the tutorial section

    it would be more useful there


  3. #3

    Default Re: How to: give custom portraits to dead characters

    Moved to Tutorial section.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •