Scripting: Are there any Impetuous Troops? Enfilade Fire?
Posted: Mon Mar 19, 2018 9:56 pm
Are there any Impetuous Troops in the game right now? I think I remember in the old version, some of the French Knights were "Impetuous" so they would randomly charge the closest enemy. You couldn't always control them. Am I remembering that wrong? Does the scripting already exist in the game to allow that type of behavior?
Could you for example make a script to generate random number on start of a player's turn to see if a knight goes impetuous, modify it based on how close a General is, then take away control of the knight, and give it to the A.I. for the turn, force the Knight charge or move closer, then give back control at the end of that?
Also 2nd Question, in scripting..
What is the code to output floating text right to the screen. For Example: I want to check if an army was shot from behind, and add floaty text saying "Enfilade Fire". Similar to how when someone is charged in the Flank or Rear floaty text pops up.
Also 3rd Question are there plans for taking FoG II to the Medieval age? Like 'Wolves from the Sea' or 'Storm of Arrows'?
4th Question sorry, (I looked in the rulebook and did not find it)
Right now in the game is there a modifier in melee combat for having a friendly unit directly behind you in "Support"? Would it be hard to add such a modifier to the game?
Thanks
Could you for example make a script to generate random number on start of a player's turn to see if a knight goes impetuous, modify it based on how close a General is, then take away control of the knight, and give it to the A.I. for the turn, force the Knight charge or move closer, then give back control at the end of that?
Also 2nd Question, in scripting..
What is the code to output floating text right to the screen. For Example: I want to check if an army was shot from behind, and add floaty text saying "Enfilade Fire". Similar to how when someone is charged in the Flank or Rear floaty text pops up.
Also 3rd Question are there plans for taking FoG II to the Medieval age? Like 'Wolves from the Sea' or 'Storm of Arrows'?
4th Question sorry, (I looked in the rulebook and did not find it)
Right now in the game is there a modifier in melee combat for having a friendly unit directly behind you in "Support"? Would it be hard to add such a modifier to the game?
Thanks