Armstrong Powerhouse weather and Scenario Markers.

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by gptech »

peterfhayes wrote: Fri Apr 09, 2021 9:51 pm If you look at say this route folder: \STEAM\steamapps\common\RailWorks\Content\Routes\00000029-0000-0000-0000-000000002014\Scenarios There is no lua script in that scenarios folder, but if yo open individual scenarios for example \STEAM\steamapps\common\RailWorks\Content\Routes\00000029-0000-0000-0000-000000002014\Scenarios\08441d80-1b23-4177-93e2-8c1eac3da294 that is where you find the lua script.
So does it need to be in the INDIVIDUAL scenario folder or will it work in the generic scenario folder itself?
The scenario's folder Peter, not the Scenarios folder--the punctuation and capitalisation make things even more confusing, and that's before we debate whether (not weather) it should be "the capitalization".... :wink:

So, yes, the script has to be in the individual scenario folder--scripts are used for much more than just setting weather extensions, so some scenarios may call for completely different scripting.
peterfhayes wrote: Fri Apr 09, 2021 9:51 pm I couldn't find any reference in the manual to P/P filtering what is that?
Hover your mouse on the far-right of the screen and a fly-out will appear. Select ‘AP’ from the drop-down menu and tick the second and third box next to ‘WeatherEP’.
P/P = Provider/Product, AP and WeatherEP respectively here. The filtered list of which provider's assets are available for use in the scenario. That saves the game having to reference every asset you have in every scenario. It keeps things nice any tidy, and presumably aids stability and loading/running efficiency.
peterfhayes wrote: Fri Apr 09, 2021 9:51 pm When you "double click the marker already present" you see a list of the types of scenarios available in TS20XX as I explained.
Yes, the one in the left hand flyout---that's so you can choose which type of new scenario you want to add to the route. When you open a scenario in the scenario editor, you'll have the Scenario Marker for that scenario right in front of you. It's selectable, so you can move it to where you want it if needed---if it's underground it's a good reason to lift it up to where it can be seen for example. Thats's the marker you'd use to set the weather for the scenario, so you'd need to enable AP/WeatherEP beforehand or at least identify which marker in the editor screen (not the flyouts) is relevant to that scenario.
User avatar
peterfhayes
Very Active Forum Member
Posts: 2155
Joined: Mon Sep 26, 2011 5:07 am

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by peterfhayes »

Gary
Many thanks - much clearer now.
I needed some extra clarification as I have found a way of changing the Standard weather in a scenario to the AP Weather EP using TS-Tools - it works most of the time but not always - so I can't really publish it.
One thing even using the AP method of changing the weather in a scenario, if the author of that scenario has added a weather extension no amount of changing the weather will change anything. Apparently a weather extension takes priority over any other weather??
Fortunately for me, Mike Simpson has put in an option to delete weather extensions in TS Tools - that helps greatly.
Do you know if there is there an easy method to check if a scenario has a weather extension in it?
pH
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by gptech »

peterfhayes wrote: Sat Apr 10, 2021 3:01 am changing the Standard weather in a scenario to the AP Weather EP using TS-Tools
RW Tools has long had the ability to change the weather pattern in a scenario, regardless of where the weather patterns involved are from.
peterfhayes wrote: Sat Apr 10, 2021 3:01 am One thing even using the AP method of changing the weather in a scenario, if the author of that scenario has added a weather extension no amount of changing the weather will change anything. Apparently a weather extension takes priority over any other weather

There's no special "AP method" involved; being able to use weather extensions pre-dates the release of the AP pack somewhat, the earliest mention of it I've come across it is dated 2015--http://trainsimlive.blogspot.com/2015/0 ... rt_15.html whilst the AP pack didn't appear until 2018.
Weather extensions don't take precedence as such; they're brought into play as the scenario runs when the scripting is triggered. This can be at the start or when you reach a particular location.
peterfhayes wrote: Sat Apr 10, 2021 3:01 am Do you know if there is there an easy method to check if a scenario has a weather extension in it?
Just look in the scenario's folder--if there's a script in there it'll most likely call for a weather extension. The script should be editable with Notepad etc, do it doesn't take long to just open it and check.
User avatar
peterfhayes
Very Active Forum Member
Posts: 2155
Joined: Mon Sep 26, 2011 5:07 am

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by peterfhayes »

Gary
Thanks for the info.
RW Tools has long had the ability to change the weather pattern in a scenario, regardless of where the weather patterns involved are from.
Maybe so, but in my case, it couldn't change any weather to the AP EP weather - I even asked Richard Armstrong, and my impression was that it was not possible. See below.
Even now you can only change some weather patterns via TS_Tools - usually what AP called "Standard" and previously not at all if the scenario contained a weather extension (now removable in TS Tools).
I found that for it to work via TS_Tools that you had to make sure that every route (whether supported or not) has the Weather EP buttons checked (1 and 3 in this case - 2 and 3 for a scenario) using the Build option and the object set marker as you do for a scenario. Then, you have to make sure that every Route-Asset folder has the AP weather EP " TimeOfDay" folder re-naming the 4 bin files if necessary to the same as the original route-asset-specific names for Spring, summer, autumn, winter.
Then it is possible (sometimes) in TS-Tools.
If you do not have the AP Weather EP TimeofDay folder in a Route-Asset folder then TS Tools cannot change the weather to the AP Weather EP.
pH
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by gptech »

peterfhayes wrote: Sat Apr 10, 2021 9:48 pm Then it is possible (sometimes) in TS-Tools.
When you've found it to fail, could it be because you've tried to swap to one of the patterns designed as an extension?---most of the patterns supplied are of that type.
User avatar
peterfhayes
Very Active Forum Member
Posts: 2155
Joined: Mon Sep 26, 2011 5:07 am

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by peterfhayes »

Gary
When you've found it to fail, could it be because you've tried to swap to one of the patterns designed as an extension?---most of the patterns supplied are of that type.
That's probably it - you can "see" in TS Tools a selection of the APWeatherEP variants (including some used in Weather Extensions) - (haven't counted them yet) but in Build/Editor/Scenario the number of variants to choose appears to be less ie not as many (yet to compare) - so your hypothesis is probably correct.
pH
signalnorths
Been on the forums for a while
Posts: 201
Joined: Sun Nov 15, 2020 10:33 am

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by signalnorths »

I just wanted to say thank you to everyone on here who helped me get weather up and running. All well now. Cheers. Very helpful people on here.

Indeed I've moved on to using the weather randomisation facility that I downloaded from the download section on this site. I'd be interested to know how random do people actually find it to be if you use it too ?

Len
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by gptech »

signalnorths wrote: Sun Apr 11, 2021 5:24 pm using the weather randomisation facility that I downloaded from the download section on this site.
Got a link for that?
User avatar
peterfhayes
Very Active Forum Member
Posts: 2155
Joined: Mon Sep 26, 2011 5:07 am

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by peterfhayes »

Gary
Possibly this one UKTS File ID =38867
Looks interesting!
pH
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Armstrong Powerhouse weather and Scenario Markers.

Post by gptech »

Ta Peter, as it's scripting it may even be possible to get it working with extensions from other sources.
Post Reply

Return to “[TS] General Discussion”