Adding Ap Weather Pack To Career Scenarios

Discussion in 'Technical Reports' started by Måns Johannesson, Sep 14, 2022.

  1. Måns Johannesson

    Måns Johannesson Member

    Joined:
    May 23, 2019
    Messages:
    87
    Likes Received:
    20
    I have been using the AP weather pack for some time. For some routes it isn´t a problem, the AP weather is automatically to all scenarios. However, for some routes it is not. Just added it to the Albula line and would like to add the weather to the supplied scenarios.
    Is it possible to add the weather (as the manual describes) to a career scenario without breaking it or do I have to convert it to a standard scenario and then add the weather?

    /Måns
     
  2. torfmeister

    torfmeister Guest

    You have two options:

    Either overwrite the weather blueprint the scenario is using (Asset folder) or change the used weather in the scenarios's ScenarioProperties.xml (not breaking it for scoring) or in the Editor (probably breaking it).
     
  3. Peter Hayes

    Peter Hayes Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    815
    Likes Received:
    328
    It may be worth asking Richard Armstrong if this can be achieved - but I don't think so.
    I tried it on several CS that I don't use - via the Build editor but when I tried to load the modified CS scenario they failed with a scenario.bin error.
    I have (a very hit and miss) method using TSTools - that changed the weather OK but the scenario again failed to load.
     
  4. torfmeister

    torfmeister Guest

    Edit the ScenarioProperties.xml directly. Copy it from the MainContent.ap, create a folder in "Scenarios" with the scenario's GUID and put the edited xml in there. That's all. (Or save the game to have TS create that folder for you.)

    If you want to use all of AP's weather blueprints, you have to add the AP/Weather EP at the bottom of the xml. Or just use the modified AP weather blueprints in RailSimulatorCore\Weather\RW_xxx.
     
    Last edited by a moderator: Sep 16, 2022
  5. Peter Hayes

    Peter Hayes Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    815
    Likes Received:
    328
    Torf
    I'm a bit thick - these are the changes that I made to the (Career) .xml file, I changed the season to Winter and applied thick fog, but I still got a scenario.bin error:
    I obviously missed a step???
     
  6. Måns Johannesson

    Måns Johannesson Member

    Joined:
    May 23, 2019
    Messages:
    87
    Likes Received:
    20
    Thanks for all the replies. I'll have to see how much work to put into this, I probably have to convert and change a lot of the career scenarios anyway since they often are to unprototypical for my taste any way.
     
  7. torfmeister

    torfmeister Guest

    In case you're not using the route supplied weather or RailSimulatorCore weather (which is modified by AP pack), you must add the pack to the preload section of Scenario Properties. Just pick a new ID and do like this:

    Example preload section:
    Code:
    <RBlueprintSetPreLoad>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683752">
               <Provider d:type="cDeltaString">AP_Waggonz</Provider>
               <Product d:type="cDeltaString">Class90Pack01</Product>
           </iBlueprintLibrary-cBlueprintSetID>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683760">
               <Provider d:type="cDeltaString">DTG</Provider>
               <Product d:type="cDeltaString">LNERA2Pack01</Product>
           </iBlueprintLibrary-cBlueprintSetID>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683768">
               <Provider d:type="cDeltaString">RSC</Provider>
               <Product d:type="cDeltaString">TornadoPack01</Product>
           </iBlueprintLibrary-cBlueprintSetID>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683776">
               <Provider d:type="cDeltaString">RSC</Provider>
               <Product d:type="cDeltaString">Class67Pack01</Product>
           </iBlueprintLibrary-cBlueprintSetID>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683784">
               <Provider d:type="cDeltaString">Oovee</Provider>
               <Product d:type="cDeltaString">BRClass156Pack01</Product>
           </iBlueprintLibrary-cBlueprintSetID>
           <iBlueprintLibrary-cBlueprintSetID d:id="668683792">
               <Provider d:type="cDeltaString">RSC</Provider>
               <Product d:type="cDeltaString">SettleCarlisle</Product>
           </iBlueprintLibrary-cBlueprintSetID>
       </RBlueprintSetPreLoad>
    
    now add this before the last line (closing RBlueprintSetPreload tag)
    Code:
           <iBlueprintLibrary-cBlueprintSetID d:id="668683800">
               <Provider d:type="cDeltaString">AP</Provider>
               <Product d:type="cDeltaString">WeatherEP</Product>
           </iBlueprintLibrary-cBlueprintSetID>
    
    The scenario.bin error is NOTHING to worry about - just press F2 and cancel. TS detects a change but it will work and give you XP (as all checksum strings are unchanged)

    Note that you must give a new id, I follow the algorithm and just add 8 to the previous id.
     
    Last edited by a moderator: Sep 17, 2022

Share This Page