Skip to content
Pinned

The NoLimits 2 Mega Resource Thread - Guides, Tools, Scripts

276 to 300 of 341

Hi, does anyone have a script for lighting that can be triggered on or off by pressing a key on a keyboard...SImilar to what is on a space mountain recreation that was released quite a while back....?

Posted February 28, 2022· Edited February 28, 2022

I will look for it.

I assume u mean the actionbutton on your mouse / touchpad to activate (open / close a door) ?

import com.nolimitscoaster.;
import nlvm.math3d.
;
import nlvm.lang.Math;

public class DoorClick extends Script
{
protected static final float DEG = (float)Math.PI/180.f;
protected String SCRIPT_NAME = "Door";
protected String TURN_NAME = "Door";
protected String HANDLE_NAME = "Handle";
protected float PHI_MAX=-82DEG;
protected float PHI_T=2.f;
protected float PHI_Ta=PHI_T/5.f;
protected float PHI_HANDLE_CLOSE=0
DEG;
protected float PHI_HANDLE_OPEN=-12*DEG;
private bool change = false;
private bool open = false;
private float t=0.f;
private float phi,phiCurrent,phiTarget=0.f;
private Vector3f clickPos = new Vector3f();
private Vector3f dis = new Vector3f();
private SceneObject obj;
private SceneObjectElement turn;
private SceneObjectElement handle;

private bool inv=false;

public bool onInit(){
	obj = sim.getSceneObjectForEntityId(getParentEntityId());
	if(obj==null){
		System.err.println(SCRIPT_NAME + ": Object not found");
		return false;
	}
	turn = obj.getElementForName(TURN_NAME);
	if(turn==null){
		System.err.println(SCRIPT_NAME + ": Element " + TURN_NAME + " not found");
		return false;
	}
	handle = obj.getElementForName(HANDLE_NAME);
	if(handle==null){
		System.err.println(SCRIPT_NAME + ": Element " + HANDLE_NAME + " not found");
		return false;
	}
	clickPos=handle.getAbsoluteMatrix().getTrans();
	return true;
}

public void onNextFrame(float tick)
{
	if(change){
		phi=phiCurrent+(float)Tools.switchRampC1(PHI_T,phiTarget,PHI_Ta,t);
		turn.setRotation(0,phi,0);
		if(t>=PHI_T){
			open=phiTarget==PHI_MAX;
			change=false;
			handle.setRotation(0,0,PHI_HANDLE_CLOSE);
			clickPos=handle.getAbsoluteMatrix().getTrans();
		}
		t+=tick;
		return;
	}
	if(Button.isPressed(Button.ACTION)){
		sim.getViewPos(dis);
		dis.sub(clickPos);
		if(dis.length()>0.9f) return;
		change=true;
		handle.setRotation(0,0,PHI_HANDLE_OPEN);
		t=0.f;
		phiCurrent=phi;
		phiTarget=open?-PHI_MAX:PHI_MAX;
	}
}

}

Calenclark posted on March 2nd, 2022

Does anyone got a boomerang script

Soko posted on March 3rd, 2022

Here's a boomerang recreation tho IDK what a so-called boomerang script would achieve or how it would work.

If you want to make a standard boomerang you don't need a script, just go in the coaster properties, and in the mode tab there is the operation mode, just click it and a drop down window will appear and there is an option called shuttle mode, that is the boomerang mode. Be warned tho some things will be different!!!

bearing posted on March 3rd, 2022

If you want to make a standard boomerang you don't need a script, just go in the coaster properties, and in the mode tab there is the operation mode, just click it and a drop down window will appear and there is an option called shuttle mode, that is the boomerang mode. **Be warned tho some things will be different!!!*ty

can someone give me a script that i can make it start by launching backwards then go into a ejector hill into a 90 degree spike then drop hit 4.5-5g for on level out on level up 5g then into the airtime hill and launching fowards into like an ejector airtime hill -1 to -2g then into a 5g cobra roll into like a Loop
Into a launch that leads into another airtime hill then a 110 degree spike then goes down hits 4g then goes back into the airtime hill -1.5g into cobra roll 5.3g into airtime hill then go slowly into station

Hey, I know the Roar Kit from TheCodeMaster already exists, but I'm seeing a pack called "New Roar Kit" with files that are named:
Roar A - B&M Standard.nl2sco
Roar B - B&M Quieter.nl2sco

Can somebody send me the link to the pack, because I really want to use it for my future projects

Hiya, would anyone happen to have a script that I can replace the default in-game
air gates and replace with my own custom ones but have them still work the same??

intim305 posted on December 27th, 2017

Pre-made Scripts and Scripting Information

Scripted Rides & Scenery Objects

Flat Rides and Coasters:

Custom Coaster Styles

Object Packs & Resources:


and since it doesn't really fit with any other categories here:

Digging up everything took a couple hours, but I think it was totally worth it to make sure that all of this awesome content wasn't just lost into oblivion. I may try to compile the NL1 resource thread in the same way, and maybe even dig up some of the old nl1 track I downloaded so long ago and see if I can find a way to upload and share all of those since they seem to have been lost entirely.

If you have any more files that you would like to see added to this list, please let me know so I can add them as soon as possible, especially custom trains and clone coaster models

your download link for mk1212 doesn't work and I really want those trains

Hi, i recently downloaded no limits 2 on Mac. I used to be really into NL1. I noticed FLY was available on the steam workshop but I cant find the new Vekoma Flying Coasters anywhere... Is there DLC or script for that?

Im also looking for a good tutorial on Switch Tracks.

Thank y'all so much!

Posted May 12, 2022· Edited May 12, 2022

Not avail in NL2 yet. If u looking for the full custom setup of FLY, u can send me an email (see profile)
I will send u an PKG file and make it for your self.

Then u can make like this :

276 to 300 of 341