Results 1 to 9 of 9

Thread: Adding a new general

  1. #1

    Default Adding a new general

    Ok, so I am trying to add a general, plain and simple I thought. I added this into descr_strat.txt
    Code:
    character    Tomas, named character, male, age 24, x 109, y 154 
    traits GoodCommander 2 , LoyaltyStarter 1 ,
    army
    unit        Peasant Archers                exp 1 armour 0 weapon_lvl 0
    unit        Spear Militia                exp 1 armour 0 weapon_lvl 0
    unit        Spear Militia                exp 1 armour 0 weapon_lvl 0
    I tried general and named char, and neither work. The unit goes randomly atop a city, but no general. Is there another file I must edit?
    Oh, and my relative line looks like
    relative William, Matilda, Rufus, Cecilia, Tomas, Robert, Henry, end
    Last edited by Sylesia; December 07, 2006 at 06:46 PM.

  2. #2

    Default Re: Adding a new general

    I really hope its not so simple that people think I am to dumb to answer... *grin*

  3. #3
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,183

    Default Re: Adding a new general

    You can only have 1 general perc city at the start of the campaign. If you make him a name dcharacter you would need to add him into the family tree.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  4. #4
    freekyjason's Avatar Civis
    Join Date
    Nov 2006
    Location
    Perth, Western Australia
    Posts
    136

    Default Re: Adding a new general

    go in game and use show_cursorstat to find a valid x,y coord near a city, then use that to put in the generals location. also its easier to list him as a general or as lusted said you need to add him to the family tree. that makes more errors than anything i have done in the desc_strat file, gah family tree editing ftl

  5. #5

    Default Re: Adding a new general

    Ok, I can get the army to show, but there is no one leading it. As in, not even a captain... and not sure why... Here is what I used
    Code:
    character	Tomas, general, male, age 20, x 109, y 155 
    army
    unit		Peasants				exp 0 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		Peasant Archers				exp 0 armour 0 weapon_lvl 0
    So, any ideas what might be the problem with what I did? That is all I changed to add him in and yet it seems not to like it at all.

  6. #6
    Trajan's Avatar Capodecina
    Join Date
    Oct 2004
    Location
    USA
    Posts
    10,934

    Default Re: Adding a new general

    Moved to Text Editing and Scripting.

  7. #7
    freekyjason's Avatar Civis
    Join Date
    Nov 2006
    Location
    Perth, Western Australia
    Posts
    136

    Default Re: Adding a new general

    Quote Originally Posted by Sylesia View Post
    Ok, I can get the army to show, but there is no one leading it. As in, not even a captain... and not sure why... Here is what I used
    Code:
    character    Tomas, general, male, age 20, x 109, y 155 
    army
    unit        Peasants                exp 0 armour 0 weapon_lvl 0
    unit        Spear Militia                exp 1 armour 0 weapon_lvl 0
    unit        Spear Militia                exp 1 armour 0 weapon_lvl 0
    unit        Spear Militia                exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                exp 0 armour 0 weapon_lvl 0
    So, any ideas what might be the problem with what I did? That is all I changed to add him in and yet it seems not to like it at all.
    make sure the generals name is 'unique' so if another tomas exists in your faction, your general will need a different name. if there isnt make sure that tomas is one of the names acceptable by your faction as a starting character.

    there is a list in the text files containing the names for each faction. try using a different combo maybe with first and last name from the names text for the faction and see what happens.

    another idea is to add:
    unit NE Bodyguard exp 1 armour 0 weapon_lvl 0

    that way if it works, he has a bodyguard that isnt peasants.
    other than that not sure cause what you done should work as far as i can tell. but the desc_strat is funny at times. what should work doesnt always, keep at it eventually it will

  8. #8

    Default Re: Adding a new general

    Now, two questions. One, is there a file that says who can start out? Or is that anyone...
    And two, the file names.txt seems to have only names in it, and not specify which factions are allowed to use them.

  9. #9

    Default Re: Adding a new general

    Ok, I can get a named char added rather easy (max of four children I learned) But I would like to know, any way to add a wife? Tried this
    Code:
    character_record        Matilda,     female, age 49, alive, never_a_leader
    character_record        Malina,     female, age 17, alive, never_a_leader
    character_record        Henry,     male, age 5, alive, never_a_leader
    
    relative     William,     Matilda,        Rufus,    Cecilia,    Robert,    Davy,    Malina,        Henry,    end
    but she is not married to Davy as I would like. Double tab after Malina to show new generation (how its done after Matilda) Any dieas?

Posting Permissions

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