.
Results 1 to 5 of 5

Thread: CDP Content

  1. #1
    Join Date
    Nov 2006
    Location
    Canada, On, Newmarket
    Posts
    242
     

    Default CDP Content

    For saving CDP's for Routes and Sessions, What items/data/assets are saved in a Route and or a Session. I would like to save a route and a specific session/specific sessions for the same route. Do I just save the route and the appropriate session and the assets etc are saved at the same time.
    Or is necessary to open up the dependencies for the route or session and save all the items in a new named cdp name.
    I have reskinned 'train' and other assets in these sessions etc.

  2. #2
    Join Date
    Mar 2008
    Location
    Lost
    Posts
    1,672
    Blog Entries
    4
     

    Default

    Quote Originally Posted by paperpusher View Post
    For saving CDP's for Routes and Sessions, What items/data/assets are saved in a Route and or a Session. I would like to save a route and a specific session/specific sessions for the same route. Do I just save the route and the appropriate session and the assets etc are saved at the same time.
    Or is necessary to open up the dependencies for the route or session and save all the items in a new named cdp name.
    I have reskinned 'train' and other assets in these sessions etc.
    When you save a route/session to a CDP, only the route/session is saved. Dependencies will not be included.

    Matt
    Intel Core i7-7700K 4.20 GHz
    PNY GTX 1070 8GB Overclocked GPU
    16 GB DDR4 RAM
    275 GB SSD + 1 TB HDD + 500 GB HDD

  3. #3
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    5,536
    Blog Entries
    3
     

    Default

    When you save a route to a CDP, Trainz will save the identities (kuids), positions (e.g. grid co-ordinates), altitude, tilt (if appropriate), etc of all assets in the route but NOT the assets themselves. It will also save the landform (terrain) and texture data (position, rotation, scale, etc - but probably not the textures themselves) and the geographic coordinates (lat/long) of the route world marker.

    When you save a session to a CDP, Trainz will save the kuid of the parent route (but not the route), the identities of any assets placed in the session (as described above), the weather and environmental settings, time of day/season of year, all the session rules and driver commands, the industry settings, consist loadings, etc.

    Assets that you add to a route or session, such as locos, rolling stock, trees, buildings, track, signals, etc, etc are only ever referenced by their kuids in the saved CDP files, they are not saved as complete assets.
    A member of the "Party Machine". Now if only I could remember where they are holding the party!

  4. #4
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    593
     

    Default

    ... if it helps ... i use cdp-explorer from vvmm (download here) to view what is in a cdp ... drag the cdp into the window of opened cdp-explorer and you see what you've packed ...
    https://forums.auran.com/trainz/show...78#post1650978
    so, i make a route.cdp, session.cdp and deps.cdp(s) ..

    grtz
    daveric
    Last edited by zsuda; July 11th, 2019 at 11:55 PM.

  5. #5
    Join Date
    Sep 2015
    Location
    Australia, Victoria, Churchill
    Posts
    1,458
     

    Default

    The method I use is: Save route and session files to one cdp.
    Right click on route and view dependencies recursively. Searching recursively picks up dependencies of dependencies.
    Group by status and select all modified assets
    Right click and save to cdp
    repeat for sessions but do not search recursively as you will get route assets as well.
    cheers
    Graeme

Posting Permissions

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