Setting time of the day for custom battle scenes

正在查看此主题的用户

Cloud Breaker

Master Knight
Right now all the custom battles begin at dawn or dusk, which I believe is the default time for all the custom battles. I'm trying to change it. I've tried to put the 'wait' script in the game menus module, (since I haven't found any other script) in the appropriate trigger sections, with no luck. The game hangs up when loading a custom battle, as expected.

The script I used was:



          (store_time_of_day,":cur_time_of_day"),
          (val_add, ":cur_time_of_day", 1),
          (assign, ":time_to_wait", 3),
          (val_sub,":time_to_wait",":cur_time_of_day"),
          (val_mod,":time_to_wait",3),
          (val_add, ":time_to_wait", 1),
          (rest_for_hours, ":time_to_wait", 5, 1), #rest while attackable
          (change_screen_return),


Basically I tried to advance the time by 3 hours (I think so) to see if whether the battle will take place at morning or in the evening, and manipulate the time from there. It didn't work.

Help is needed.
 
Bumping this as i'm looking for the answer to the question now, and nothing else coming up on search.

Not seeing any values for it in game_menus, I guess it has to be set with mission_templates+scripts?
 
you can
1) put custom skybox as sceneprop
2) simulate different lighting with (set_fog_distance, X, 0xRRGGBB) in ti_once block in mission templates where X ~view distance and 0x is fog color

I got night in quick battles just fine with (set_fog_distance, 80, 0x010101)
 
后退
顶部 底部