Jump to content
  • 0

Program in Lua Script for Light signals


Question

 

Hello, good afternoon, after almost 5 months modeling the light signals for RW, I thought they are out of service, that's why I said you have to put them into operation and that can only be done with Lua Script, I think, that's why I would like to learn for RW , but there are very few or few tutorials for your learning

Link to comment
https://simtogether.com/forums/topic/464-program-in-lua-script-for-light-signals/
Share on other sites

11 answers to this question

Recommended Posts

  • 0

If you are talking about Street light  on at night  or Off at daytime  NO LUA needed

If you talk about  Railway signaling  control: Yes LUA needed.

 

Edited by Sjef61
  • 0

Ok, I can tell you that it is very complicated programming.

Never made them  by myself. (Only a simple experiment)

 

Too complicated to explain.

Here you can find LUA script from RSDL as example:

 

image.png

Advanced Signal Scripting.docx

  • 0

Scripting Railways signals  is very advanced scripting.

Please use Google to find out how LUA works first.

Please read then the PDF i gave  you.

  • 0
1 minuut geleden, Ter160 zei:

Ok I'll see what I can do

Learning  LUA basics is step 1 in this process

I had to do that too
Cannot make it simpler....

 

 

  • 0

If doing that helps me to put certain objects into operation, for the moment only the Spanish light signals from Adif ...

Edited by Ter160
Correct Message
  • 0

Maybe you can use those scripts.
You just need to find out what the lamp names are in that script.
You can get that from the GEO file

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Home
Activities
Sign In

Sign In



×
    Search In
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Privacy Policy