-
Re: More than two turns a year - release
Originally Posted by Mammut:
Thanks for the help Myrddraal but I have to give up on this. I simply dont have the knowledge to correct the problem.
It is a good mod as it would be more correct then the 2 turns years that CA made. I hope it will be included in RTR as it would do a lot for the game.
:embarassed: Here I come back with my tail between my legs. After writing my post I had completly given up and put the game on the side.
This morning while eating my breakfast and thinking about what to do in school it suddenly hit me like a ton of bricks...in the script generator the original date was set on -270 while I use the RTR which starts in -280. :furious3: I have tried it now and it works now. Sorry about my pesting on this thread... :embarassed:
-
Re: More than two turns a year - release
:smile:
No problem, I'm glad you got it working. Perhaps you could upload the exact files you used. I.e. export_descr_advice.txt, export_descr_advice_enums.txt and export_advice.txt. For the ease of use of others.
-
Re: More than two turns a year - release
Originally Posted by Myrddraal:
:smile:
No problem, I'm glad you got it working. Perhaps you could upload the exact files you used. I.e. export_descr_advice.txt, export_descr_advice_enums.txt and export_advice.txt. For the ease of use of others.
I dont have the slightest idea of how to do that so I going to need some :help: on that. I got winRAR so that is the easy part but uploading is ???
-
Re: More than two turns a year - release
-
Re: More than two turns a year - release
Don't know if it has been mentioned...
I've been playing the Bouis RTR mod for 240 turns using this mod - 4 turns a year. No problems at all, with the exception that there are no random disasters - storms, floods, locust, earthquake, etc. Has anyone else noticed this?
-
Re: More than two turns a year - release
wouldn't shed a tear if that was the case. That's the main reason i save game with RTW - can you imagine losing that general/admiral you've been breeding for 240 turns over successive generations merely over an act of god/dess?
-
Re: More than two turns a year - release
I never see storms anyway. Am I just unlucky or what? I can't remember the last time I saw a storm. I've never ever ever seen a flood. The only disasters I see are volcanoes and plague.
Back to the point, I can't see why the script would stop plagues, unless they're set by year, but I thought they were random.... Hm
-
Re: More than two turns a year - release
small booboo on your part which prevented the autorun at start of campaign: (i'd been getting an annoying error txt about help campaign blah blah)- did extensive testing and still got error until i figured it was just a carriage return typo
Originally Posted by Myrddraal:
script
advance_advice_thread
Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
select_ui_element advisor_show_me_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
end_script
Code:
script
advance_advice_thread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
select_ui_element advisor_show_me_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
end_script
works like a charm now. let's see if it gives only one winter...yes. works like you intended.
edit: AAAAAAAAAAGHHH!!! now, after that one perfect run, i couldn't replicate it. in fact, the darned script didn't work. add to that, i got a wierd error message when i hit alt+f4 after the 10th attempt, in frustration. Originally Posted by :
blah blah 5567, 5
don't recongize this token: en
did a find in that file and found it to be the very last line...looked like the script had failed to complete and had stopped at year 8. i don't think this is related to my problems. I have to sleep now, but i'll try some more playtesting - perhaps a reboot? Anyhows, if worse comes to worse i'll revert to vanilla 1.2 and try again.
post-edit: tried a reboot. upon new campaign (provincial) i not only did not see the advisor popup, i even tried the F1 and question mark but the "showme" was greyed out - upon hitting the end turn i went to winter...i haven't a clue what's going on now. perhaps i bolloxed it up by all the restarts? (plus i was dicking around with "descr_strat_all.txt" and "descr_strat.txt"...even put the script lines at the end of both)- pretty sure i tried duplicating the script in "_all" when i ran into problems, not before
-
Re: More than two turns a year - release
Originally Posted by Myrddraal:
I never see storms anyway. Am I just unlucky or what? I can't remember the last time I saw a storm. I've never ever ever seen a flood. The only disasters I see are volcanoes and plague.
Back to the point, I can't see why the script would stop plagues, unless they're set by year, but I thought they were random.... Hm
I know that prepatch (1.2) that loading a savegame would stop all Disasters from occuring. I thought that had been fixed with the patch, but have mostly been playing with the four-turns-a-year since the patch came out. Maybe it wasn't fixed.
As to having storms/floods/earthquakes kill people off, well, it did sorta happen in real life.
-
Re: More than two turns a year - release
MajorFreak, just a question, how many years is your script set for? and how many turns a year?
-
Re: More than two turns a year - release
Originally Posted by Myrddraal:
MajorFreak, just a question, how many years is your script set for? and how many turns a year?
the default of -170 to 14 plus 4 turns per year. VERY bizarre that your default would cut short at "en..." at 8 AD. i've tried doing the script generator more than once and each time i get the same error. i suppose i could change it manually, but i just thought i'd let you know. just tried it again for 0 AD and got a truncated "year -3" instead....even tried downloading it again. no joy.
:dizzy2:
-
Re: More than two turns a year - release
Very very weird. I'm sorry about this, it hasn't been a very smooth release. I'll see if I can fix it.
-
Re: More than two turns a year - release
np. One learns to be patient in these matters.
-
Re: More than two turns a year - release
Hi Myrddraal.
Does this part of your scipt work?
Originally Posted by :
advance_advice_thread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread
select_ui_element advisor_show_me_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up
I tryed to replicate it but i was unsucesful.
This is what i made so far.
Originally Posted by :
console_command trigger_advice Advise_Thread_Name
select_settlement Write_Eny_Settlement_Name
simulate_mouse_click lclick_up
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
wait 1
select_ui_element advisor_show_me_button
simulate_mouse_click lclick_up
select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_up
As you can see its much more complicated then your script.
I would reelly apriciate any clue how to make your script work (that part that automaticly calls script).
-
Re: More than two turns a year - release
Why this bit?
select_settlement Write_Eny_Settlement_Name
simulate_mouse_click lclick_up
I'm not sure if mine works actually, it should do...
-
Re: More than two turns a year - release
The problem is that Advisor doesnt pop up afther console_command trigger_advice command.
But he will immidietly pop up when you open any scroll, press end turn button, select settlement etc ... Becouse selecting settlement is unnoticable for player i choose to use it in script.
-
Re: More than two turns a year - release
Originally Posted by MajorFreak:
the default of -170 to 14 plus 4 turns per year. VERY bizarre that your default would cut short at "en..." at 8 AD. i've tried doing the script generator more than once and each time i get the same error. i suppose i could change it manually, but i just thought i'd let you know. just tried it again for 0 AD and got a truncated "year -3" instead....even tried downloading it again. no joy.
:dizzy2:
MajorFreak you have donr the same mistake as me. In the RTR you have to change the time in the scriptgen to -180 instead of -170.
From what you have written I understand that you have tried with the RTR.
-
Re: More than two turns a year - release
Myrddraal can you in your first post add a line saying that if you are using the RTR mod you have to cahnge the beginning time in the scriptgenerator from -170 to -180 and otherwise do just as you say to get it to work.
-
Re: More than two turns a year - release
Originally Posted by Mammut:
MajorFreak you have donr the same mistake as me. In the RTR you have to change the time in the scriptgen to -180 instead of -170.
From what you have written I understand that you have tried with the RTR.
uhhhhh...i'm using the vanilla version with the CVP, plus the far eastern map mod...beyond that i've only got the ballistas of dumbo slaying plus the BUGFIXER "patch", and a few tweaks to the units.
-
Re: More than two turns a year - release
Download link broken, i'm going to cry, anyone think they could email Myrddraal's script gen to me?
-
Re: More than two turns a year - release
I recently got the Script Generator from Caius' site, from a link I got in the Chat room. After fiddling with all the files to install and re-generating the script to match the 280BC start date of RTR 5.4.1, every time I hit "end turn", the date is advanced by a whole year, skipping all the summer seasons.
I may be the only person to have this problem, and it may be my own fault...but...help?
-
Re: More than two turns a year - release
Post the file that it generated, or at least the first section of it or so. Could be Caius has an old buggy version of the generator.
-
Re: More than two turns a year - release
Originally Posted by Epistolary Richard:
Post the file that it generated, or at least the first section of it or so. Could be Caius has an old buggy version of the generator.
Will do.
Originally Posted by descr_script.txt:
;This script is designed by Myrddraal to edit the number of turns in one year. It was automatically generated using Myrddraals Script Generator on the
script
suspend_during_battle on
console_command date -280
console_command season summer
console_command season winter
while I_TurnNumber = 0
end_while
console_command date -279
console_command season summer
console_command season winter
while I_TurnNumber = 1
end_while
console_command date -278
console_command season summer
console_command season winter
while I_TurnNumber = 2
end_while
console_command date -277
console_command season summer
console_command season winter
while I_TurnNumber = 3
end_while
console_command date -276
console_command season summer
console_command season winter
while I_TurnNumber = 4
end_while
console_command date -275
console_command season summer
console_command season winter
while I_TurnNumber = 5
end_while
&c..
-
Re: More than two turns a year - release
Yeah, I had the same thing happen to me. That's an old version of the script generator. I don't think I have a copy of the working version... try the link at the beginning of this thread and if that's broken then hopefully someone will host it.
-
Re: More than two turns a year - release
Anybody got the lastest version as i would like to try it out.
-
Re: More than two turns a year - release
Myrddraal, please update the downloadlink to the script. I want to try it with the new RTR 6.0.
-
Re: More than two turns a year - release
Cant seem to download the script generator. Anyone else able to? Want to use it for a mini mod I am tryingto do for RTR v6.0
Kushan
-
Re: More than two turns a year - release
Originally Posted by Epistolary Richard:
Edit: Even later that day...
Okay, there's another problem. The advisor stays away right up until I go into a battle. As soon as I come out and hit a button then she pops back up. The solution may be no more complicated than repeating the suspend during battle line in the same way as the suspend unscripted advice...
Did anybody ever work this out? I have it working up to this point, but the advisor comes back after battles. Any way to keep her supressed?
-
Re: More than two turns a year - release
Got it working. The trigger needs a "not PostBattle" condition added:
Originally Posted by :
------------------------------------------
Trigger 2150_Multiple_Turns_Trigger
WhenToTest ButtonPressed
Condition not PostBattle
AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread 0
Now the advisor stays put after battles. ~:)
I actually use two triggers - one for the first turn and one for reloads. That way the advisor pops up in both circumstances - I could only get her to appear in one instance or the other otherwise. I can post details later if anyone is interested.
-
Re: More than two turns a year - release
So... any luck on uploading the script generator?