This thread is for posting scripting ideas.
--------------------------------------------------------
Here's some from my local file:
- A script using the Condition "EndedInEnemyZOC" to give a % chance of the enemy inflicting an attack on the tired troops. Possibly give the general who ended in the ZOC a trait which is checked for when a battle is opened to give the AI an advantage.
- Find a way to remove the ability to ransom soldiers from Japanese and other "honorable" factions. Possibly uses the conditions "NumCapturedCharacters" and "NumCapturedSoldiers" with like a >1 parameter to impress a click on "Release" on the ransom scroll.
- The "invulnerable_general" scripting command leads to possibilities with characters like Chinggis Khan or Minamoto no Yoritomo and other important figures that shouldn't randomly die off in a battle.
*****- Instrinsic EDB Function. Declare counter for the ability to build every building type in the EDB, and use the script to validate those counters based on different criteria depending on the faction that is being played as. For example, the criteria will be unfulfilled as a Japanese clan prior to defeating the other clan and proclaiming Shogunate status.*****
Also have considered a lot of different ways to go about a supply line script.






Reply With Quote









