Page 1 of 2 12 LastLast
Results 1 to 20 of 28

Thread: descr_strat- Marriage Failure

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default descr_strat- Marriage Failure

    I've been banging my head against the wall on this all morning and can't figure out why when I try to marry a named_character to a family members daughter, the game KTM's

    I've been able to do this for other factions, it just does not want to work for the Egyptian faction.

    Here is the code;

    Code:
    character    Ahmakiq Cannula, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 147, y 217
    traits GoodCommander 1 , NaturalMilitarySkill 1 , PublicFaith 2 , MathematicsSkill 2 , Brain 3
    ancillaries  
    army
    unit        maya general's bodyguard                exp 1 armour 0 weapon_lvl 0
    
    
    ;Character & Family Tree
    
    character_record        Cimik,    female, command 0, influence 0, management 0, subterfuge 0, age 54, alive, never_a_leader
    character_record        Yohl_Iknal,    female, command 0, influence 0, management 0, subterfuge 0, age 37, alive, never_a_leader
    character_record        Itzel,    female, command 0, influence 0, management 0, subterfuge 0, age 32, alive, never_a_leader
    
    
    relative    Kinich Cocom,    Cimik,    Yohl_Iknal,    Ekahau Cocom,    Yaxche Cocom,    end
    relative    Ekahau Cocom,    Itzel,    end    
    relative    Ahmakiq Cannula,    Yohl_Iknal,    end
    If I ; out the last relative line, it loads fine, so the character names are OK. But, once I try to marry them it wont load.

    What am I missing?

    Thanks - Rah
    Under the Patronage of Lord Condormanius

  2. #2

    Default Re: descr_strat- Marriage Failure

    Tried reversing the order of the two last lines?

  3. #3
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    I've tried it without the second relative line and I just tried it reversing the last two relative lines, KTM.

    Its really stumper at the moment.
    Under the Patronage of Lord Condormanius

  4. #4
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: descr_strat- Marriage Failure

    Did you use tabs or spaces in the relative lines?
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  5. #5

    Default Re: descr_strat- Marriage Failure

    I've had this problem some days ago, couldn't marry a general to a family member's daughter. When you quit the game, what error do you get?

    I fixed that by reversing the order of the relative entries, but try adding her father's surname to the married woman.
    Last edited by Spartan 666; July 27, 2009 at 11:56 AM.


  6. #6
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: descr_strat- Marriage Failure

    I had similar problem in M2 with trying to get it to take female as the person linking tree - that seemed to need the woman to use her fathers surname in all her entries - then it worked.... haven't tried in RTW but might work better like that ?

  7. #7

    Default Re: descr_strat- Marriage Failure

    It's very likely, I remember I had a lot of problems also with women without surname...


  8. #8
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    @ House of Ham: Yes, I've been using tabs. As I mentioned, I've gotten this to work in other factions, just not this one. I have also tried with and without tabs, still crashes.

    @Spartan 666: I'm using the same note pad program I've been editing the game with for three years now without any problems. Unless there was an update I'm unaware of. And I have deleted, re-wrote, and changed around the order of relatives. Even tried with and without other siblings.

    @Makanyane: I haven't tried with giving the woman a surname. Wasn't aware it would even take effect, I'll give that a shot and see if it works.

    Thank you everyone for your suggestions. As I said, I'm stumped and any all suggestions are helpful. Just goes back to how tricky the RTW family tree was programed.
    Under the Patronage of Lord Condormanius

  9. #9

    Default Re: descr_strat- Marriage Failure

    Sorry, that question about your text editor was silly, it doesn't matter because I use both windows notepad and Notepad++ and never had conflicts.

    But when you quit the game, do you get an error message?
    Last edited by Spartan 666; July 27, 2009 at 12:42 PM.


  10. #10
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    No, its one of those dang frustrating family tree things. I just get a KTM without any errors. (Yeah, I use show_err )

    Its like you just have to crash, quit, edit, load, crash, quit, edit, load, until you hunt the bug down. Just, with this one, my frustration is that its already worked once. Oh well, if these things didn't happen then what we would be the fun and challenge of modding right?
    Under the Patronage of Lord Condormanius

  11. #11
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: descr_strat- Marriage Failure

    Have you perhaps made some changes in descr_names.txt?
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  12. #12
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    Sure enough, I had to add the last name to the female character. Now I know. I think in the other family tree i did I only had one portion with last names, so this is why it did not effect that one.

    So, if your going to be making a female character from a family with a last name marry another character with a last name, you need to add the last name to the female, only in the relatives line.

    Code:
    character_record        Yohl_Iknal,    female, command 0, influence 0, management 0, subterfuge 0, age 37, alive, never_a_leader
    character_record        Itzel,    female, command 0, influence 0, management 0, subterfuge 0, age 32, alive, never_a_leader
    
    
    relative    Kinich Cocom,    Cimik,    Yohl_Iknal,    Ekahau Cocom,    Yaxche Cocom,    end
    relative    Ekahau Cocom,    Itzel,    end    
    relative    Ahmakiq Cannula,    Yohl_Iknal Cocom,    end
    
    Under the Patronage of Lord Condormanius

  13. #13

    Default Re: descr_strat- Marriage Failure

    Did it work? Glad you solved it!


  14. #14
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    Yup, thanks for the suggestions and support guys.

    Now if I can just solve the other errorless CTD whose cause is still a major mystery, I'll be a very very happy modder. Probably has something to do with the AOR I've designed and the EDB. Anyway. A frustration for another day.

    I think the female family name thing should be added to the descr_strat or family member tutorial if its not already there.
    Under the Patronage of Lord Condormanius

  15. #15
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: descr_strat- Marriage Failure

    Quote Originally Posted by Ramashan View Post

    Now if I can just solve the other errorless CTD whose cause is still a major mystery, I'll be a very very happy modder. Probably has something to do with the AOR I've designed and the EDB. Anyway. A frustration for another day.
    When does that happen? Have you thought about the revolt CTD? if you've got a complex AOR and cities that are about to have loyalist revolt won't have any units available to build - it's a likely culprit - gives errorless CTD during AI turn when city is about to revolt (likely to be at least a few turns in).

  16. #16
    Kylan271's Avatar Domesticus
    Join Date
    Jul 2007
    Location
    Vietnam
    Posts
    2,232

    Default Re: descr_strat- Marriage Failure

    I was trying to work this out ages ago in MTW2??? Hmmm,very interesting,very handy to know. You are trying a Inca TW family tree? I hope it works since it is all hard work(been there screamed that),so I appreciate this.


  17. #17
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    When does that happen? Have you thought about the revolt CTD? if you've got a complex AOR and cities that are about to have loyalist revolt won't have any units available to build - it's a likely culprit - gives errorless CTD during AI turn when city is about to revolt (likely to be at least a few turns in).
    This sounds exactly like what is happening. We have not coded in the resources yet so every city and faction goes broke rather quickly. And with the AOR, there are two levels of recruitment buildings, a non-factional one and a factional one. I wonder if I can avoid this by placing a standard barracks in every city that only recruits base level units, like peasants?

    Any suggestion Mak? And thanks for the tip, I would have never thought of that.


    You are trying a Inca TW family tree?
    At the moment I am working on the Aztec, Tlaxcala, Tepanec, Maya, and Mixtec-Zapotec. Surprisingly, there is a lot of information on all the factions except the Mixtec. The problem for the Maya is lack of names for the leaders who were in power at the start of the mod, since they were quickly all killed in a civil war and forgotten about. But it has been interesting research. And interesting coding.
    Under the Patronage of Lord Condormanius

  18. #18

    Default Re: descr_strat- Marriage Failure

    Quote Originally Posted by Ramashan View Post
    This sounds exactly like what is happening. We have not coded in the resources yet so every city and faction goes broke rather quickly. And with the AOR, there are two levels of recruitment buildings, a non-factional one and a factional one. I wonder if I can avoid this by placing a standard barracks in every city that only recruits base level units, like peasants?

    Any suggestion Mak? And thanks for the tip, I would have never thought of that.
    Do like vanilla and put a peasant/levy unit in the government building, or else in an indestructible building (or set of buildings) present in every city.

    Expand your borders, a mod based on XGM 5.

  19. #19
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    Do like vanilla and put a peasant/levy unit in the government building, or else in an indestructible building (or set of buildings) present in every city.
    Makes sense, thanks guys for the additional help!
    Under the Patronage of Lord Condormanius

  20. #20
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: descr_strat- Marriage Failure

    Well, I added some base units to every city recruitable by every faction, but it still crashes during the turn change. I could have missed something, so I'll double check it.

    It could also be the double character bug. When it crashes, it looks like the last faction icon it always lands on is the same one. Could this be a hint to where the problem lies?
    Under the Patronage of Lord Condormanius

Page 1 of 2 12 LastLast

Posting Permissions

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