1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

How do I Save a TOD File after creating it?

Discussion in 'General Discussion' started by B3_Burner, Mar 14, 2022.

  1. B3_Burner

    B3_Burner
    Expand Collapse

    Joined:
    Mar 13, 2019
    Messages:
    402
    I want to create a time of day file for the Crash Hard 2.0 map, as it has no TOD by default.

    I can create TOD temporarily by going to the World Editor and hitting the plus sign for "Create Object".
    Then I hit the level icon, then time of day.
    I can then make adjustments to it in the inspector window along the right-hand column of the screen.

    If I jump out of the editor and go to "Environment" in the game menu, the clock control is still grayed out, and I can't change time of day.

    If I jump to Sun-Sky, while still in the editor, I can't get back to TOD, because I can't find any TOD file in the tree in the window along the left-hand column, and I don't know how to save it.

    If I leave the game and come back, whatever I created has disappeared, and I have to start over again.

    So how do I save a TOD file after I've created it? Thank you.
     
  2. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    The TOD icon seems to be broken at the moment, but Create Object > Other classes > Click to select Class: TimeOfDay > Create works. Reload LUA after that (Ctrl + L) and save.
    screenshot_2022-03-14_14-02-52.jpg
     
  3. B3_Burner

    B3_Burner
    Expand Collapse

    Joined:
    Mar 13, 2019
    Messages:
    402
    Thank you so much for the information. I'll give it a try later today.
     
  4. B3_Burner

    B3_Burner
    Expand Collapse

    Joined:
    Mar 13, 2019
    Messages:
    402
    Thank you so much "Itntai". It worked!
    CrashHardTOD.jpg
     
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice