Results 1 to 13 of 13

Thread: Kingdom of Jerusalem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Kingdom of Jerusalem

    I don't know where I can post my question so I post it here...
    I want to play the Kingdom of Jerusalem in the early era in SS 6.2.

    I've tried on my own and edited the descr_strat.txt and gave the faction jerusalem as capital, characters with traits(most of this traits are copied from the late campaign) and agents/diplomats because I have no idea how to create a horde. I know its not historical but the best way with my very low modding skills.
    The characters are named and there are historical correct. The family tree constists of a father(Gottfried which is married with Marie), his son Balduin and his other son Tankred.
    So far so good,it should work, but:

    When I start the campaign with Jerusalem it jump back to the main menu and I don't know why. It would be nice when anybody can help me?

    There's nothing mentioned that Jerusalem spawns with a horde in the early era in the descr_sm_factions.txt or the campaign script. So I'm wondering why it doesn't work...

    The system.log says that:
    01:44:18.702 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5009, column 1
    Cannot create a general/admiral character without an army/navy.

    I haven't got any idea why because every general has an army with his bodyguard and units...
    If anybody help me so that it works, I will publish it for the 6.2 players if they would like to play this faction in the early era...

    Here's my descr_strat:

  2. #2
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,393

    Default Re: Kingdom of Jerusalem

    One thing I noticed is that you have this listed:
    Code:
    character	Gottfried, named character, male, leader, age 50, x 330, y 74 ;Jerusalem
    traits FactionLeader 1 , MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 3 , Intelligent 2 , 
    TourneyKnight 3 , StrategyChivalry 4 , GoodDiplomacy 2 , CrusaderHistory 2, ReligiousActivity 2
    army
    unit		NE Bodyguard				exp 3 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 0 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 0 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 1 armour 0 weapon_lvl 0
    unit		Pisan and Geonese sailors			exp 0 armour 0 weapon_lvl 0
    unit		Pisan and Geonese sailors			exp 1 armour 0 weapon_lvl 0
    unit		Templar Sergeant			exp 1 armour 0 weapon_lvl 0
    unit		Templar Sergeant			exp 2 armour 0 weapon_lvl 0
    unit		Templar Crossbowmen			exp 0 armour 0 weapon_lvl 0
    unit		Templar Crossbowmen			exp 1 armour 0 weapon_lvl 0
    unit		Dismounted Knights Of Jerusalem			exp 1 armour 0 weapon_lvl 0
    unit		Knights of Jerusalem		exp 2 armour 0 weapon_lvl 0
    You have Gottfried's traits on 2 lines of code when they have to be on only 1 line, like this:

    Code:
    character	Gottfried, named character, male, leader, age 50, x 330, y 74 ;Jerusalem
    traits FactionLeader 1 , MilitaryInclination 1 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 3 , Intelligent 2 , TourneyKnight 3 , StrategyChivalry 4 , GoodDiplomacy 2 , CrusaderHistory 2, ReligiousActivity 2
    army
    unit		NE Bodyguard				exp 3 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 0 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 0 armour 0 weapon_lvl 0
    unit		Pilgrims			exp 1 armour 0 weapon_lvl 0
    unit		Pisan and Geonese sailors			exp 0 armour 0 weapon_lvl 0
    unit		Pisan and Geonese sailors			exp 1 armour 0 weapon_lvl 0
    unit		Templar Sergeant			exp 1 armour 0 weapon_lvl 0
    unit		Templar Sergeant			exp 2 armour 0 weapon_lvl 0
    unit		Templar Crossbowmen			exp 0 armour 0 weapon_lvl 0
    unit		Templar Crossbowmen			exp 1 armour 0 weapon_lvl 0
    unit		Dismounted Knights Of Jerusalem			exp 1 armour 0 weapon_lvl 0
    unit		Knights of Jerusalem		exp 2 armour 0 weapon_lvl 0
    See if that helps, and also ensure that the names you have are listed under Jerusalem in names.txt and have entries in descr_names.

  3. #3

    Default Re: Kingdom of Jerusalem

    The names are correct listed under Jerusalem in names.txt and descr_names. This isn't the problem.
    If I do what you said I get a CTD:

    19:02:40.535 [system.rpt] [always] CPU: SSE2
    19:02:40.536 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
    19:02:40.540 [system.io] [always] mounted pack packs/data_0.pack
    19:02:40.541 [system.io] [always] mounted pack packs/data_1.pack
    19:02:40.542 [system.io] [always] mounted pack packs/data_2.pack
    19:02:40.543 [system.io] [always] mounted pack packs/data_3.pack
    19:02:40.544 [system.io] [always] mounted pack packs/data_4.pack
    19:02:40.544 [system.io] [always] mounted pack packs/localized.pack
    19:03:10.218 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

  4. #4
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,393

    Default Re: Kingdom of Jerusalem

    My suggestion fixed the initial error with descr_strat, but the log doesn't show anything to work with for you new CTD. It's not the descr_strat.txt, but could now be any number of things. Can you try to start it again and run a trace log?

    The names stuff I brought up was just to pre-empt a CTD or bugs by the names not being in those files.
    Last edited by Seether; July 21, 2010 at 12:30 PM.

  5. #5

    Default Re: Kingdom of Jerusalem

    I've started it again and got the same CTD...
    Then I have reduced the traits to a minimum so that there are only traits in one line and tried it again
    --> same CTD

    By the way what is a trace log? I only know the system.log...

  6. #6
    Seether's Avatar RoTK Workhorse
    Join Date
    Oct 2005
    Location
    FloRida
    Posts
    5,393

    Default Re: Kingdom of Jerusalem

    Having too many traits won't cause a CTD; the excess traits just won't be displayed or used by the character.

    http://www.twcenter.net/forums/showthread.php?t=143177
    Explains how to use a trace log in the system.log.txt, and also some basic CTD fixes.

    I would highly suggest checking out the different tutorials for scripting in the Mod Workshop. I self taught myself to do quite a bit by using them.

  7. #7

    Default Re: Kingdom of Jerusalem

    Since a few days I'm checking out different stuff for text editing...
    But what the trace log gives me is something that is too much for me...
    I don't know why it asks for things which aren't included in the original installation...
    See below:

  8. #8
    Alpha Zeke's Avatar Vicarius
    Join Date
    Dec 2006
    Location
    The US of A
    Posts
    2,931

    Default Re: Kingdom of Jerusalem

    I don't know much about modding, and maybe I missed it, but the game has a faction limit. Unless you removed a faction, you can't add any more.

  9. #9
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Kingdom of Jerusalem

    Quote Originally Posted by Historydude View Post
    I don't know much about modding, and maybe I missed it, but the game has a faction limit. Unless you removed a faction, you can't add any more.
    KoJ is already in the game so he's not adding one.

    If when you go to start a campaign and it throws you back to the menu, the problem is going to be in descr_strat. When that happens to me, it usually means the relative line is messed up. Looking at your relative line for KoJ, you've used spaces to separate the names. They have to be separated by TAB spaces or you will get that CTD.
    Last edited by Caesar Clivus; July 22, 2010 at 02:57 AM.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  10. #10

    Default Re: Kingdom of Jerusalem

    It doesn't make a difference because I get with your solution the same CTD...

  11. #11
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Kingdom of Jerusalem

    Are you sure you're using actual tab spaces? Because some text editors put only spaces even if you hit the tab key. Post your latest descr_strat and I'll take a look at it.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  12. #12

    Default Re: Kingdom of Jerusalem

    I've recognized that the Order of the knights templar has also a character who is called "Gottfried".. is this maybe the problem?

    And here is my latest descr_strat.txt with your Tab solution:

  13. #13
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Kingdom of Jerusalem

    I've recognized that the Order of the knights templar has also a character who is called "Gottfried".. is this maybe the problem?
    So long as the name is in both factions' name lists you can have identically named characters so that wont be the problem.

    Ok you need to use TAB spaces for the entire relative line, not just between each name. That means between the word relative and the first name, and between the comma after the last name and the end. For example:

    Code:
    relativeTABGottfried,TABMarie,TABBalduin,TABTankred,TABend
    Can I suggest to take a look at the Mod Workshop. There are several tutorials there on editing family trees. They can be very tricky to set up correctly. God knows how often they have caused me headaches

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

Posting Permissions

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