Animated files coding

View previous topic View next topic Go down

Animated files coding

Post by devilreborn on Tue May 20, 2014 4:06 pm

Does anybody know if it is possible to add user-defined variables to .animated files?
avatar
devilreborn

Posts : 30
Join date : 2012-06-15
Age : 20
Location : Hong Kong

Back to top Go down

Re: Animated files coding

Post by graymac on Tue May 20, 2014 4:44 pm

I've edited the numeric values in some examples. For instance with distance specific items like crossing gates and train doors etc.
If you have a thorough understanding of boolean algebra and programming in C# I have no doubt you could do a great many things to .animated files. I don't possess that knowledge myself.
avatar
graymac

Posts : 1743
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Animated files coding

Post by alex_farlie on Tue May 20, 2014 6:19 pm

devilreborn wrote:Does anybody know if it is possible to add user-defined variables to .animated files?

If you know what you are doing you can respond to things in ATS channels, but I don't think you can do user defined variables as such.

A feature enhancement that was being considered before development halted was to have an extended plugin architecture that allowed for named 'channels' between plugins and the rest of the engine.  It's not in the current implementation of the engine.

If you know C#. it would be theoretically possible to add 'user-defined' variables/channels to animate dobjects, but the engine would not then be OpenBVE.

alex_farlie

Posts : 100
Join date : 2011-08-27

Back to top Go down

Re: Animated files coding

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum