Board index Roller Coaster Games NoLimits Coaster 2 NoLimits Coaster 2 Scripting NL2 Scripting

NL2 Scripting

Post your Nolimits 2 scripts here! Also any discussion regarding scription for NoLimits Coaster 2 should be placed in this forum

Post January 19th, 2014, 11:09 am
Mr. Freeze User avatar
Premium Member
Premium Member

Posts: 1522
Points on hand: 32.00 Points
Bank: 4,860.00 Points
Location: Arlington, TX, USA
I downloaded the realistic launch script from the exchange, I put it in the simulator and I got an error message saying BlockScript: Block 'Station' not found
If anyone could help, it would be greatly appreciated

Post January 19th, 2014, 11:23 am
Oscar User avatar
Founding Member
Founding Member

Posts: 14407
Points on hand: 11,527.60 Points
Bank: 187,052.60 Points
Location: California, USA

Do you have a station already there? If not, add one and then try again. It appears it is erroring because there isn't a station there.
Support Us! - Click Here To Donate $5 Monthly!
Paradox wrote:
No need to tell Oscar about the problems. He is magic.

Post January 19th, 2014, 11:32 am
Mr. Freeze User avatar
Premium Member
Premium Member

Posts: 1522
Points on hand: 32.00 Points
Bank: 4,860.00 Points
Location: Arlington, TX, USA

Post January 19th, 2014, 11:45 am

Posts: 151
Points on hand: 374.00 Points
Location: Virginia, USA
It's looking for a station named "Station". Your stations don't match that name. You need to edit the script so that uses your station names, and you will need to add code so that it uses 2 stations instead of one.

Post January 19th, 2014, 12:29 pm
Mr. Freeze User avatar
Premium Member
Premium Member

Posts: 1522
Points on hand: 32.00 Points
Bank: 4,860.00 Points
Location: Arlington, TX, USA

Post January 19th, 2014, 2:43 pm

Posts: 2318
Points on hand: 4,657.00 Points
Bank: 6,667.00 Points
Location: pennsylvania, USA
I have not even attempted scripting yet, I'll let the more experienced members work it out, however if I remember from my class on java, you probably have to make a if/then statement where if station left = full then station right, or something like that. But there is a good chance I am wrong considering I am trying to remember something from 3 years ago
What are these for?

Post January 19th, 2014, 3:15 pm

Posts: 11
Points on hand: 92.00 Points
Location: Antwerp, belgium, Belgium
You must add a station to the script, even the switches before and after the station must be implemented.

Post January 19th, 2014, 4:32 pm

Posts: 86
Points on hand: 2,891.00 Points
Location: Rapid City, South Dakota, USA
In order for a script to reference a track section, the section must be named. The track section name is set in the section properties in the editor. Double click on a station section and you'll see the "Name" property at the top. The name has to be the same as the one the script is expecting.


Return to NoLimits Coaster 2 Scripting

 


  • Related topics
    Replies
    Views
    Last post