Results 1 to 2 of 2

Thread: How to create an event with army?

Hybrid View

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

    Default How to create an event with army?

    Hello there,

    I want to create an event in a faction say Egypt, let's say I want Saladin to rise. I want to create an event with Saladin appearing in a 2 full stakes armies.

    So this is includes creating a character, units, and an event in the script. How can I do that?

    I'm a beginner, I don't know how to mod or create anything.

  2. #2

    Default Re: How to create an event with army?

    you can use for example something like this:
    PHP Code:
        monitor_event FactionTurnStart FactionType egypt
                    
    and I_NumberOfSettlements egypt 0

            spawn_army 
                faction egypt
                character    Saladin
    named characterage 16x 428y 75 
                traits LoyaltyStarter 1 
    GoodCommander 1 ReligionStarter 1 
                unit         ME Bodyguard                exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        ME Spear Militia            exp 0 armour 0 weapon_lvl 0
                unit        Desert Archers                exp 0 armour 0 weapon_lvl 0
                unit        Desert Archers                exp 0 armour 0 weapon_lvl 0
                unit        Arab Cavalry                exp 0 armour 0 weapon_lvl 0
                unit        Arab Cavalry                exp 0 armour 0 weapon_lvl 0
                unit        Dismounted Arab Cavalry            exp 0 armour 0 weapon_lvl 0
                unit        Dismounted Arab Cavalry            exp 0 armour 0 weapon_lvl 0
            end
            terminate_monitor
        end_monitor 
    Check if cou have "Saladin" name in names.txt and descr_names.txt. Change coordinates and add some conditions and it would work. If it will not, it probably will be a problem with conditions.

Posting Permissions

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