Results 1 to 2 of 2

Thread: KTM on custom battle start.

  1. #1

    Default KTM on custom battle start.

    This battle loads and saves perfectly in the editor but doesn't load in battle just kicks back to the choose historic battle menu.

    Code:
    ; Custom battle script generated by Romans Battle Editor
    
    battle        Osgiliath
    playable
        huns
        sassanids
    end
    nonplayable
    end
    
    
    start_date    500 summer
    end_date    500 summer
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; >>>> start of factions section <<<<
    
    faction    sassanids
    settlement
    {
        level village
        tile 69 152
    
        year_founded 1264
        fortification none roman, walls 0 towers 0 gates 0 gate_defences 0
        population 0
        battle_pos 32.947 407.451 -19.628    rotation_0    0
        plan_set metw_osgiliath_set
        faction_creator sassanids
    }
    character    Boromir the_Mighty, general, age 25, , x 69, y 152 
    
    army
    unit        gondor general                soldiers 30 exp 6 armour 3 weapon_lvl 2
    unit        gondor ithilien rangers                soldiers 45 exp 2 armour 0 weapon_lvl 1
    unit        gondor ithilien rangers                soldiers 45 exp 2 armour 0 weapon_lvl 1
    unit        gondor swords                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor swords                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor spears                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor spears                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor spears                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor swords                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor archers                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor archers                soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit        gondor archers                soldiers 60 exp 0 armour 0 weapon_lvl 0
    
    faction    huns
    character    Burthrak Headsplitter, general, age 20, , x 69, y 152 
    
    army
    unit        mordor general                soldiers 25 exp 3 armour 1 weapon_lvl 2
    unit        mordor olog                soldiers 5 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc spears                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc spears                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc spears                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc spears                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc swords                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc swords                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc archers                soldiers 300 exp 0 armour 0 weapon_lvl 0
    unit        mordor orc archers                soldiers 300 exp 0 armour 0 weapon_lvl 0
    sieging    
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; >>>> start of battle section <<<<
    
    battle    69, 152        ambient_settlement
    variable_weather_and_time ( day_time 12.00, year_day 0, duration    24.00, weather_seed    0 )
    
    home_faction    sassanids
    alliance    can_deploy    can_view    sassanids, defending
    alliance    can_deploy    can_view    can_delay    huns, attacking
    
    army    sassanids, 0, supporting_armies 0
    
    deployment_area_point    -156.709, -502.067
    deployment_area_point    -426.509, -301.941
    deployment_area_point    -523.188, 2.591
    deployment_area_point    -406.697, 381.515
    deployment_area_point    -131.223, 544.593
    
    unit            0, -396.424, 49.739, 89, formation_type square, formation_width 28.871
    unit            1, -399.180, 99.288, 88, formation_type square, formation_width 44.434
    unit            2, -397.745, 165.870, 88, formation_type square, formation_width 63.732
    unit            3, -325.913, 29.007, 90, formation_type square, formation_width 40.928
    unit            4, -326.366, -5.181, 87, formation_type square, formation_width 72.557
    unit            5, -333.213, 28.098, 87, formation_type square, formation_width 38.044
    unit            6, -332.486, -5.013, 86, formation_type square, formation_width 63.308
    unit            7, -332.184, -41.129, 91, formation_type square, formation_width 79.351
    unit            8, -324.060, -40.230, 90, formation_type square, formation_width 94.364
    unit            9, -326.971, -74.500, 78, formation_type square, formation_width 91.931
    unit            10, -316.390, -127.950, 70, formation_type square, formation_width 91.946
    unit            11, -334.040, -73.078, 77, formation_type square, formation_width 60.255
    
    
    army    huns, 0, supporting_armies 0
    
    deployment_area_point    426.274, 500.186
    deployment_area_point    652.326, 331.136
    deployment_area_point    719.425, 31.565
    deployment_area_point    666.322, -263.998
    deployment_area_point    497.876, -448.855
    
    unit            0, 674.943, -37.796, -80, formation_type square, formation_width 76.546
    unit            1, 678.444, 13.359, -92, formation_type square, formation_width 90.094
    unit            2, 600.568, -130.674, -83, formation_type square, formation_width 75.912
    unit            3, 611.682, -131.492, -83, formation_type square, formation_width 88.186
    unit            4, 618.276, -130.602, -82, formation_type square, formation_width 68.805
    unit            5, 628.935, -130.042, -83, formation_type square, formation_width 55.032
    unit            6, 612.819, -21.295, -85, formation_type square, formation_width 70.229
    unit            7, 631.278, -28.384, -84, formation_type square, formation_width 37.680
    unit            8, 623.449, 84.016, -84, formation_type square, formation_width 163.264
    unit            9, 640.466, 76.416, -84, formation_type square, formation_width 137.500
    
    
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; >>>> start of objectives scripting section <<<<
    
    objectives
    
    alliance 0
    condition destroy_or_rout_enemy
    
    alliance 1
    condition destroy_or_rout_enemy
    Anything in there stand out as wrong?

  2. #2

    Default Re: KTM on custom battle start.

    FIXED PLEASE CLOSE/DELETE.

Posting Permissions

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