OpenBVE icon indicating copy to clipboard operation
OpenBVE copied to clipboard

[Request] offset an animation about some frames/seconds

Open adfriz opened this issue 2 years ago • 2 comments

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.

adfriz avatar Mar 27 '22 09:03 adfriz

Maybe change command name to be more descriptive instead Offset we change to Delay.

So we will have Delay = SECONDS DelayAnim = SECONDS DelaySound = SECONDS

adfriz avatar Mar 27 '22 09:03 adfriz

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/

ginga81 avatar Mar 27 '22 09:03 ginga81