OpenBVE
OpenBVE copied to clipboard
[Request] offset an animation about some frames/seconds
Still a bit related to #763
An offset frame/seconds command before executing an animation like open or close door.
If this command set in .animated file the function will executed after some frame/second. This command maybe only valid for 1 [object] section above that command.
The command maybe behave like Refreshrate command but its not per something frame/seconds its only affect once per keyboard click or per pluginstates.
The command looks like this
[Object] (any object states and function you make) Offset = SECONDS
This command also have another variant like OffsetAnim = SECONDS
*offsetting animation only, sound will be played at the same when keyboard key pressed or pluginstates changed.
OffsetSound = SECONDS *offsetting sound only, animation will be played at the same when keyboard key pressed or pluginstates changed.
Offset = SECONDS *offsetting both animation and sound at the same when keyboard key pressed or pluginstates changed.
Maybe change command name to be more descriptive instead Offset we change to Delay.
So we will have Delay = SECONDS DelayAnim = SECONDS DelaySound = SECONDS
It would certainly be useful if your request was accepted. However, it is possible to do so with only existing functions. I think you can do the same by analyzing the Crosshatch's data. https://www.youtube.com/watch?v=Pp62_f3SRas Crosshatch's site http://kanakyusubway.web.fc2.com/bve/train/