Board index Roller Coaster Games NoLimits Coaster 2 Fog Machines Error NL2

Fog Machines Error NL2

All discussion relation to NoLimits Coaster 2 should be posted here. Purchase NoLimits Coaster from this page: nolimits-coaster-2-purchase-and-upgrade-links-t32524.html

Post January 25th, 2014, 1:08 am
Turbo User avatar
Moderator
Moderator

Posts: 3771
Points on hand: 5,516.00 Points
Bank: 21,857.68 Points
Location: WA, USA

I'm trying to get a fog machine in NL2 to not have the timer where it stops emitting fog (or at least reduce the time between)

Any ideas on how to do this?
Last edited by Turbo on January 25th, 2014, 4:35 am, edited 1 time in total.
Coaster Count: 582 // Top Five: 1. Helix 2. Nemesis 3. Big Bad Wolf 4. Boulder Dash 5. Balder

Coasterkidmwm wrote:
4 G's to the taint was a bit much for me because I'm not a power bottom like Turbo

Post January 25th, 2014, 1:11 am

Posts: 1027
Points on hand: 92.00 Points
Bank: 1,341.05 Points
Do you have the script for the fog machine with pauses?
Originally posted by GerstlCrazy
Cool! The name is Fly Over Rainforest?
I was under the impression the name was Green Coaster Goes Fast Goes High Has Clockwise Loop Has Straight Upside Down Four Seats Two On Each Side Fast Coaster?

Post January 25th, 2014, 1:15 am
Turbo User avatar
Moderator
Moderator

Posts: 3771
Points on hand: 5,516.00 Points
Bank: 21,857.68 Points
Location: WA, USA

Comes with NL2 yeah
Coaster Count: 582 // Top Five: 1. Helix 2. Nemesis 3. Big Bad Wolf 4. Boulder Dash 5. Balder

Coasterkidmwm wrote:
4 G's to the taint was a bit much for me because I'm not a power bottom like Turbo

Post January 25th, 2014, 1:30 am
Oscar User avatar
Founding Member
Founding Member

Posts: 14409
Points on hand: 11,949.60 Points
Bank: 187,052.60 Points
Location: California, USA

I thought this was going to be another cool5 thread [lol]
Support Us! - Click Here To Donate $5 Monthly!
Paradox wrote:
No need to tell Oscar about the problems. He is magic.

Post January 25th, 2014, 1:32 am

Posts: 151
Points on hand: 374.00 Points
Location: Virginia, USA
You can have it either way.

To reduce off time:
Change the number on Line 15 to a smaller number
      private static final float InactiveTime = 30.0f;


To keep it from ever turning off
Comment out line 110
 
        _emitter.Enabled = _totalTime <= ActiveTime;

Post January 25th, 2014, 1:37 am

Posts: 1027
Points on hand: 92.00 Points
Bank: 1,341.05 Points
Originally posted by BoboMunkee

You can have it either way.

To reduce off time:
Change the number on Line 15 to a smaller number
      private static final float InactiveTime = 30.0f;


To keep it from ever turning off
Comment out line 110
 
        _emitter.Enabled = _totalTime <= ActiveTime;



^This.
Originally posted by GerstlCrazy
Cool! The name is Fly Over Rainforest?
I was under the impression the name was Green Coaster Goes Fast Goes High Has Clockwise Loop Has Straight Upside Down Four Seats Two On Each Side Fast Coaster?

Post January 25th, 2014, 2:07 am
Turbo User avatar
Moderator
Moderator

Posts: 3771
Points on hand: 5,516.00 Points
Bank: 21,857.68 Points
Location: WA, USA

How do I include that rescript in the package so the fog machines I put in my park automatically use it?

When I try to use the script edition, I get this error:
..\..\com.nolimitscoaster.nolimits2\Turbocoaster(Seth)
ewpark\Additional Files\Fog\TurboFogEffect.nlvm : error C14: Invalid class name or package: expected: TurboFogEffect in root package, found: FogEffect in root package
...1 error(s), 0 warning(s)


help?
Coaster Count: 582 // Top Five: 1. Helix 2. Nemesis 3. Big Bad Wolf 4. Boulder Dash 5. Balder

Coasterkidmwm wrote:
4 G's to the taint was a bit much for me because I'm not a power bottom like Turbo

Post January 25th, 2014, 10:40 am

Posts: 151
Points on hand: 374.00 Points
Location: Virginia, USA
Line 6:
public class FogEffect extends Script


Add the 'Turbo' in front of FogEffect. The class needs to be the same name as the filename. After this is done, you will need to remove the script and re-add it to your object.

Line 14:
    private static final String scriptName = "FogEffect";


Same thing. Not really necessary, but it's just good practice. This is the line that sets the name of the class so it can identify itself in error messages and whatnot. Like I said, not a big deal, but if you are running multiple scripts, it can be handy knowing which one is barfing on your coaster.

Post January 25th, 2014, 5:25 pm
Turbo User avatar
Moderator
Moderator

Posts: 3771
Points on hand: 5,516.00 Points
Bank: 21,857.68 Points
Location: WA, USA

Thank you, I had already changed that name but I forgot to reapply the script to the object. Thank you!

EDIT: One more error: I made another script but made this fog machines output of fog much smaller than the other one and got this error:
error C8: Class not found: TurboFogEffectSmall

This should be the last fog machine error I get lol. help?

FINAL EDIT: Fixed, I had to remake the script again. Simple copy paste and making sure everything was in the correct settings.

Thanks again for all your help
Coaster Count: 582 // Top Five: 1. Helix 2. Nemesis 3. Big Bad Wolf 4. Boulder Dash 5. Balder

Coasterkidmwm wrote:
4 G's to the taint was a bit much for me because I'm not a power bottom like Turbo

Post January 25th, 2014, 6:37 pm

Posts: 151
Points on hand: 374.00 Points
Location: Virginia, USA
It is looking for an *.nvlm that doesn't exist in the park directory. Specifically it's looking for TurboFogEffectSmall.nvlm, and you have either deleted it or renamed it but didn't update your park.

Unattach the script from your park and re-add it.

EDIT: You got it, while I was answering.


Return to NoLimits Coaster 2

 


  • Related topics
    Replies
    Views
    Last post
cron