Results 1 to 2 of 2

Thread: Scripting help please :)

  1. #1

    Default Scripting help please :)

    Just wanted to know if its even possible to script a custom even or something. Im playing a 4tpy and would like an event or something similar to occur every 4th turn or the winter turn that decreases movement of troops increases upkeep and maybe even some desertion.

    Also if this event could be randomized to not every 4th turn but every other or so simulating a harsh winter for the year. The turns its doesnt occur is a mild winter so on and maybe a popup window describing or explaing the de buffs.

    Any help at all regarding this matter would be a big help and thanks to everyone in the community

  2. #2

    Default Re: Scripting help please :)

    I know there's already a script that disbands all mercenaries when the treasury is empty, you could use that as example and expand on it.

    For movement speed of troops you could try using a trait that reduces movement points of the generals and the troops they command.

    i know SSHIP was talking about upkeep increase but havent seen it done, thruth is i havent played that mod since a while
    but if you just want to take away money from the player because of harsh winter you can just make a very simple script like the pirate raid or trade fair ones, scripts that just use the console command add_money

Posting Permissions

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