Results 1 to 5 of 5

Thread: "Faction doesn't exist."

Hybrid View

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

    Default "Faction doesn't exist."

    This is an info from logfile. I'm a little confused, because i'm quite sure, the faction is declared.
    This is an entry from descr_sm_faction:
    Code:
    faction						jerusalem, spawned_on_event
    culture						northern_european
    religion					catholic
    symbol						models_strat/symbol_jerusalem.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 239, green 239, blue 239
    secondary_colour				red 183, green 152, blue 84
    loading_logo					loading_screen/symbols/symbol128_england.tga
    standard_index					28
    logo_index					FACTION_LOGO_JERUSALEM
    small_logo_index				SMALL_FACTION_LOGO_JERUSALEM
    triumph_value					5
    custom_battle_availability			no
    horde_min_units					10
    horde_max_units					20
    horde_max_units_reduction_every_horde		10
    horde_unit_per_settlement_population		250
    horde_min_named_characters			2
    horde_max_percent_army_stack			80
    horde_disband_percent_on_settlement_capture	0
    horde_unit					Syrian Militia
    horde_unit					Syrian Militia
    horde_unit					Syrian Militia
    horde_unit					Syrian Militia
    horde_unit					Syrian Militia
    horde_unit					Mailed Knights
    horde_unit					Mailed Knights
    horde_unit					Mailed Knights
    can_sap						no
    prefers_naval_invasions				yes
    and from campaign script (this entry causing an error i'm talking about):

    Code:
    declare_counter siege_antioch
    declare_counter siege_jerusalem
    
    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter siege_antioch = 1
    siege_settlement Boemund, Antioch, attack
    terminate_monitor
    end_monitor
    
    monitor_event FactionTurnStart FactionIsLocal
    and I_CompareCounter siege_jerusalem = 1
    siege_settlement Baldwin, Jerusalem, attack
    terminate_monitor
    end_monitor
    ;______________________________________________________________________________
    ;declare_counter siege_antioch
    monitor_event FactionTurnStart FactionIsLocal
              and I_TurnNumber = 2
    
        spawn_army
            faction jerusalem
    character	Boemund, named character, age 16, x 434, y 131 
    traits Factionheir 1 , GoodCommander 3 , BattleDread 3 , ReligionStarter 1 , LoyaltyStarter 1 , Austere 1 
    unit		NE Bodyguard			exp 1 armour 0 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Dismounted Mailed Knights		exp 4 armour 0 weapon_lvl 0
    unit		Dismounted Mailed Knights		exp 4 armour 0 weapon_lvl 0
    unit		S Peasant Archers			exp 1 armour 2 weapon_lvl 0
    unit		S Peasant Archers			exp 1 armour 2 weapon_lvl 0
    unit		Sicilian Muslim Archers			exp 1 armour 0 weapon_lvl 0
    unit		Sicilian Muslim Archers			exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    end
    
    siege_settlement Boemund, Antioch, maintain
    set_counter siege_antioch 1
    
        spawn_army
            faction jerusalem
    character	Baldwin, named character, age 18, x 435, y 92 
    traits Factionleader 1 , GoodCommander 3 , PublicFaith 1 , BattleDread 2 , ReligionStarter 1 , HaleAndHearty 1 
    unit		NE Bodyguard			exp 1 armour 0 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Sergeant Spearmen			exp 1 armour 2 weapon_lvl 0
    unit		Dismounted Mailed Knights		exp 4 armour 0 weapon_lvl 0
    unit		Dismounted Mailed Knights		exp 4 armour 0 weapon_lvl 0
    unit		S Peasant Archers			exp 1 armour 2 weapon_lvl 0
    unit		S Peasant Archers			exp 1 armour 2 weapon_lvl 0
    unit		Sicilian Muslim Archers			exp 1 armour 0 weapon_lvl 0
    unit		Sicilian Muslim Archers			exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    unit		Mailed Knights				exp 1 armour 0 weapon_lvl 0
    end
    siege_settlement Baldwin, Jerusalem, maintain
    set_counter siege_jerusalem 1
    
        terminate_monitor
    end_monitor
    What can be wrong?

  2. #2

    Icon1 Re: "Faction doesn't exist."


  3. #3
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: "Faction doesn't exist."

    Do you have an entry in the descr_strat? Like...

    Spoiler Alert, click show to read: 
    Code:
    faction	mongols, balanced henry
    ai_label	nomad_faction 
    dead_until_resurrected
    denari	10000
    denari_kings_purse	3000

  4. #4

    Default Re: "Faction doesn't exist."

    TNZ
    i know how to add spawning faction. i've already adde two

    Vegas_Bear
    yes i did. That's way i've wrote i'm a little beat confused

  5. #5

    Default Re: "Faction doesn't exist."

    OK i've foud the bug. It was a laps in descr_strat. Thanx for your help

Posting Permissions

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