Is it possible to only recieve taxes to the treasury during one month/season with this script. I remember in Shogun Total War you only recieved tax revenue in the fall with the harvest, and I always wished it carried over into the other games.
-Cheers
GED,
I noticed one more bug. On the first turn every character has full movement points even though it's a winter turn. Once I hit end turn the character gains the winter trait and movement points are reduced. Should I give every character the winter trait at the start?
Also what is the maximum - Effect MovementPoints number? I tried -200 but characters can still move 1 square. I want to prevent any movement in winter.
Cheers
This is the trigger that starts off the counter:
That should give all of the characters the Winter trait, on turn 0. It is currently being run from CharacterTurnStart, because I don't think there is a PreFactionturnStart for Turn 0. It would seemingly give the character the "Winter" trait, but since the MP is already handled prior to the CharacterTurnStart, it won't be able to affect the MP points on Turn 0. The other triggers use CharacterTurnEnd, which changes the trait before the new turn comes around, so the trait is there to be used as an MP modifier when the Turn Start comes back around. There isn't a TurnEnd before Turn 0 though, so the same effect isn't possible. This is the reason why it is stated that a lot of scripts can't run on Turn 0, because while they can run during that turn, they can't have an effect on that turn.Code:Trigger GameStart WhenToTest CharacterTurnStart Condition I_TurnNumber == 0 and not AgentType = admiral and IsRegionOneOf 0, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 38, 40, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 60, 61, 63, 67 Affects CampaignSeason 2 Chance 100
You could probably solve the issue by giving the trait "CampaignSeason 2" to every character listed in the descr_strat, but of course this can't be included with the script publicly, since everyone's descr_strat is different, so it's work wasted.
Cheers,
Augustus
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
I gave them the trait in descr strat but now they keep the winter trait throughout the year. Removing the gamestart trigger seems to fix the problem.
Cheers
You would want to remove the GameStart trigger, since it does the same thing essentially, except for Turn 1(2). I don't know about whether or not it would conflict, since the traits thresholds are one of CA's wonders, as in, you wonder how sane someone can be to make that area so confusing. But you should be able to remove it. The downside of course, is any character you miss in the descr_strat will be off-kilter most probably for their movement, whereas the script insures every character is on the right track, just at turn 1.
As for the general thing which you ninja edited out, I'm not entirely sure, would have to look into it. My guess though, is it isn't possible to do it like that, you'd have to either deal with the decreased MP, since the AI makes decisions based on their MP, it's probable they'd not decide to move out of a settlement if they only had 1 square worth of MP. Or you could run an AI freeze or similar, which stops other aspects that don't want to be stopped.
Cheers,
Augustus
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
I found that my starting_action_points value was too high. At anything more than 100 the maximum minus Effect MovementPoints failed to remove all of their movement points. I should be able to give all characters a movement points bonus for having to decrease the number of MP's.As for the general thing which you ninja edited out, I'm not entirely sure, would have to look into it. My guess though, is it isn't possible to do it like that, you'd have to either deal with the decreased MP, since the AI makes decisions based on their MP, it's probable they'd not decide to move out of a settlement if they only had 1 square worth of MP. Or you could run an AI freeze or similar, which stops other aspects that don't want to be stopped.
Cheers
If it works then good. And also something I just noticed, you said the max Effect MovementPoints you tried was -200. Well, MovementPoints is effected on a -1 = -5% basis, so -20 would be -100% (maybe you added an extra 0 on accident?). -6 has also been the tested limit at least via a single trait it seems, but maybe it stacks.
Cheers,
Augustus
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
do i have to enter your custom script for the character to age properly or will that happen when i change the timescale and season start date?
Characters age when summer turns to winter.
ok so i will have to edit the script to make it stay a certain season for a certain period of time?
GED, unfortunately i cannot download the script you have would it be possible to paste the script in a email and send it me?
Why can you not download??
hey i figuered out a way to do it, thanks for the help though, one more question all i need to do is paste your script from script to end_script anywhere in the game script?
thanks again
Last edited by thdot44; September 02, 2008 at 10:54 PM.
There are 4 versions of each script, its a hell of a lot of text to paste. What exactly do you want?
hey thats ok i figuered out a way to do it, i just wanted your base script for the 6ypt so the characters aged right, wasnt worried about the traits and what not. thanks
Not that I know of.
Excellent! Man, I tried to make a 2 tpy with proper aging script using this same system, and it worked like a spell, but I started facing problems related to devastation (it wasn't calculated by the engine or something)...do you know how it can be solved?
I havent seen any devastation problems, but then I wasnt looking for them. Can you be a bit more specific?