zPromotions MOD COMP v1.1
Type: PYTHON MOD COMP
Version: 1.1
Langages Used: Python
By: Zebra 9
Multiplayer Compatible: Shouldn't affect MP games
Description:
This allows any person with a basic knowledge of python to give or remove promotions from a unit after combat, when a unit moves, or when the unit is built. To do this I have created 15 "Events", these events are listed below:
Give units homeland promotions.
Give unhealth promotions when your unit moves into jungle.
Now you guys are more creative then I am so I'm shore I'm going to see some realy cool stuff done with this.
Oh, it also comes with a big HTML document telling how to use this MOD COMP.
Installation:
1) Unzip into "My Documents\My Games\Warlords\MODS".
2) Load the game.
3) Click on "Advanced"-->"Load A MOD"-->"zPromotions"-->"OK", the Game will restart.
4) Now you can play as normal
Descussion Here
Enjoy!
Type: PYTHON MOD COMP
Version: 1.1
Langages Used: Python
By: Zebra 9
Multiplayer Compatible: Shouldn't affect MP games
Description:
This allows any person with a basic knowledge of python to give or remove promotions from a unit after combat, when a unit moves, or when the unit is built. To do this I have created 15 "Events", these events are listed below:
PROMO_COMBAT: gives/removes the unit fights a battle
PROMO_PLOT: gives/removes the promotion if the plot the unit moved to matches certain criteria
PROMO_LOSER_COMBAT: gives/removes the promotion if the unit that lost the battle already had the promotion to be given
PROMO_COMBAT_PLOT: gives/removes the promotion if the plot the unit just battled on matches certain criteria
PROMO_HOMELAND: gives/removes the promotion if the unit moves into it's cultural borders
PROMO_NEUTRAL: gives/removes the promotion if the unit moves out of it's cultural borders
PROMO_CITY_BUILDING: gives/removes the promotion if the city the unit moved into has a certain building
PROMO_BUILT: gives/removes the promotion the unit is built
PROMO_CITY_BUILDING: This event checks each list. It checks the or prerequisite list for building types only. This allows you to give a promotion to a unit when it moves into a city with at least one of the set buildings.
PROMO_BUILT: This event checks each list. It checks the or prerequisite list for terrain types, feature types, improvement types, building types, and bonus types. This is called when a unit is built.
PROMO_BARBARIAN: This event is the opposite of PROMO_HOMELAND, it gives the promo if the unit leaves it's home land. Contrary to what it's name implies it doesn't only give the promotion if you move into a plot that is un owned, instead it gives the promotion if the unit moves to a plot that it's owner doesn't own.
PROMO_VASSAL: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a vassal.
PROMO_MASTER: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of the master.
PROMO_FRIENDLY: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who has open borders with the unit's owner.
PROMO_ENEMY: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who is at war with the units owner.
PROMO_HOSTILE: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who is not at war with, have open borders with, is not the vassal of, and is not the master of the units owner. Designed for units that ignore open borders agreements.
PROMO_AIR_CARRIER: This event gives a promotion to an Aircraft Carrier if it has a SPECIALUNIT_FIGHTER (Fighter or Jet Fighter) on board.
Some cool things you can do include giving archer units a special promotion when they move into a city with walls.PROMO_PLOT: gives/removes the promotion if the plot the unit moved to matches certain criteria
PROMO_LOSER_COMBAT: gives/removes the promotion if the unit that lost the battle already had the promotion to be given
PROMO_COMBAT_PLOT: gives/removes the promotion if the plot the unit just battled on matches certain criteria
PROMO_HOMELAND: gives/removes the promotion if the unit moves into it's cultural borders
PROMO_NEUTRAL: gives/removes the promotion if the unit moves out of it's cultural borders
PROMO_CITY_BUILDING: gives/removes the promotion if the city the unit moved into has a certain building
PROMO_BUILT: gives/removes the promotion the unit is built
PROMO_CITY_BUILDING: This event checks each list. It checks the or prerequisite list for building types only. This allows you to give a promotion to a unit when it moves into a city with at least one of the set buildings.
PROMO_BUILT: This event checks each list. It checks the or prerequisite list for terrain types, feature types, improvement types, building types, and bonus types. This is called when a unit is built.
PROMO_BARBARIAN: This event is the opposite of PROMO_HOMELAND, it gives the promo if the unit leaves it's home land. Contrary to what it's name implies it doesn't only give the promotion if you move into a plot that is un owned, instead it gives the promotion if the unit moves to a plot that it's owner doesn't own.
PROMO_VASSAL: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a vassal.
PROMO_MASTER: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of the master.
PROMO_FRIENDLY: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who has open borders with the unit's owner.
PROMO_ENEMY: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who is at war with the units owner.
PROMO_HOSTILE: This event is the similar to the PROMO_HOMELAND, it gives the promo if the unit enters the cultural borders of a player who is not at war with, have open borders with, is not the vassal of, and is not the master of the units owner. Designed for units that ignore open borders agreements.
PROMO_AIR_CARRIER: This event gives a promotion to an Aircraft Carrier if it has a SPECIALUNIT_FIGHTER (Fighter or Jet Fighter) on board.
Give units homeland promotions.
Give unhealth promotions when your unit moves into jungle.
Now you guys are more creative then I am so I'm shore I'm going to see some realy cool stuff done with this.
Oh, it also comes with a big HTML document telling how to use this MOD COMP.
Installation:
1) Unzip into "My Documents\My Games\Warlords\MODS".
2) Load the game.
3) Click on "Advanced"-->"Load A MOD"-->"zPromotions"-->"OK", the Game will restart.
4) Now you can play as normal
Descussion Here
Enjoy!