| Last update: June 17th, 2013 |
|
| Home | News | About | Screenshots | Buy Now! | Downloads | F.A.Q. | Howto | Troubleshooting | Professionals | Links | Credits |
This page is intended to help track designers on topics that go beyond of what is described inside the shipped help files.
!!!Under Construction!!!
3DS Scene-Objects
Environments
Custom 3D objects can be added to a track
inside the editor. NoLimits supports loading of .3DS files. Only the
basic properties of these files such as the static mesh and the most
basic material settings are supported. The .3DS files need to be stored
inside the 'objects' folder or a
subfolder of 'objects'. The .3DS can have textures for the diffuse and
environment texture. The textures need to reside inside the same folder
as the .3DS file and need to be in the following formats: JPG, PNG,
TGA. It is recommended that the textures use a power of 2 for both the
width and height of the size. For example 1,2,4,8,16,32,64,128,256,512
are possible widths and heights of a texture. The textures do not need
to be squared. For example 128x256 is a valid size for a texture. If
the diffuse color-map has an alpha-channel, the mesh will automatically
be displayed transparently using either alpha-masking or alpha-blending
depending on the values of the alpha-channel. Only PNG and TGA support
alpha-channels, JPG do not support these. Alpha-masking requires that
the alpha-channel only contains values that are either fully
transparent (0) or fully opaque (255). If the alpha-channel contains
values in between 0 and 255, the polygons will be rendered using
alpha-blending, which is much slower than the alpha-masking technique.
For example the trees and gate-textures inside the station are rendered
using alpha-masking, while the clouds and
flare effects are rendered using alpha-blending. For objects that are
made of lots of polygons or if the same object is rendered multiple
times (as in the case for trees and bushes), I strongly encourage any
track designer to use alpha-channels with values of 0 or 255, so that
the engine can switch to alpha-masking.
Complete list of supported 3DS features:
Environments can be used to change the appearance of the sun, background, clouds, trees and a couple of other textures within the simulator. An environment is a text file with the extension .env, stored in the environments folder. An .env file consists of a series of lines with the following format:
"variable"="value"
The value one variable expects depends on the variable's type. The following types are used:
The # sign can be used to start a comment in the file.
To customize global settings, an optional global environment file called "nolimits.cfg" can be placed in the root nolimits folder. This config file has a global effect and is loaded before the final environment file is loaded which can override the global settings. The typical use of this optional file is to change the g-force meter's color limits.
| Variable | Type | Meaning |
| sim.antiroll.texture.path | Path | Anti-rollback's texture |
| sim.background.texture.path | Path | Background texture |
| sim.background.texture.enabled | Boolean | Enable or disable the background texture |
| sim.background.trees.enabled | Boolean | Enable or disable the background trees |
| sim.chain.texture.path | Path | Chain's texture |
| sim.chain.loopsound.path | Path | Chain's loop-sound (WAV) |
| sim.chain.loopsound.db | Numeric | Chain's loop-sound volume dB (max=0, min=-10000) |
| sim.chainwheel.texture.path | Path | Lift's chain-wheel texture |
| sim.clouds.enabled | Boolean | Enable or disable the clouds (deprecated, use sim.clouds.visible instead) |
| sim.clouds.visible | Boolean | Enable or disable the clouds |
| sim.clouds.texture.path | Path | First cloud layer's texture |
| sim.clouds.wind.speedx | Numeric | First cloud layer's wind speed (x component) |
| sim.clouds.wind.speedy | Numeric | First cloud layer's wind speed (y component) |
| sim.clouds.layer2.texture.path | Path | Second cloud layer's texture |
| sim.clouds.layer2.wind.speedx | Numeric | First cloud layer's wind speed (x component) |
| sim.clouds.layer2.wind.speedy | Numeric | First cloud layer's wind speed (y component) |
| sim.flares.visible | Boolean | Enable or disable sun-flares |
| sim.flare1.texture.path | Path | Sun-flare's texture 1 |
| sim.flare2.texture.path | Path | Sun-flare's texture 2 |
| sim.flare3.texture.path | Path | Sun-flare's texture 3 |
| sim.flare4.texture.path | Path | Sun-flare's texture 4 |
| sim.flare5.texture.path | Path | Sun-flare's texture 5 |
| sim.flare6.texture.path | Path | Sun-flare's texture 6 |
| sim.fog.enabled | Boolean | Enable or disable fog |
| sim.fog.red | Numeric | Fog's red color intensity (0..1) |
| sim.fog.green | Numeric | Fog's green color intensity (0..1) |
| sim.fog.blue | Numeric | Fog's blue color intensity (0..1) |
| sim.fog.density | Numeric | Fog's density (exponent) |
| sim.fog.green | Numeric | Fog's green color intensity (0..1) |
| sim.fog.blue | Numeric | Fog's blue color intensity (0..1) |
| sim.ground.visible | Boolean | Enable or disable ground (terrain) |
| sim.ground.texture.path | Path | Flat-ground's texture |
| sim.lighting.globalmodulate.red | Numeric | Red color intensity (0..1) of non-lightened objects (trees, clouds) |
| sim.lighting.globalmodulate.green | Numeric | Green color intensity (0..1) of non-lightened objects (trees, clouds) |
| sim.lighting.globalmodulate.blue | Numeric | Blue color intensity (0..1) of non-lightened objects (trees, clouds) |
| sim.lim.texture.path | Path | (deprecated) |
| sim.newplatform.texture.path | Path | Lift's center platform texture |
| sim.minetrain.crosstie.texture.path | Path | Mine-train's cross-tie texture |
| sim.operatorspanel.texture.path | Path | Operator's panel texture |
| sim.platform.texture.path | Path | Lift's center platform texture (no function since 1.7, use sim.newplatform.texture.path instead) |
| sim.ptcbrake.texture.path | Path | Texture of wooden coaster brake |
| sim.railingfloor.texture.path | Path | Texture of railing's floor |
| sim.railing.texture.path | Path | Texture of railings |
| sim.skyboxup.texture.path | Path | Skybox-Up-texture (when blank, use gradient instead) |
| sim.skyboxleft.texture.path | Path | Skybox-Left-texture (when blank, use gradient instead) |
| sim.skyboxright.texture.path | Path | Skybox-Right-texture (when blank, use gradient instead) |
| sim.skyboxfront.texture.path | Path | Skybox-Front-texture (when blank, use gradient instead) |
| sim.skyboxback.texture.path | Path | Skybox-Back-texture (when blank, use gradient instead) |
| sim.skyboxdown.texture.path | Path | Skybox-Down-texture (when blank, use gradient instead) |
| sim.sky.gradient.top.red | Numeric | Auto-skybox-top-gradient's red color intensity (0..1) |
| sim.sky.gradient.top.green | Numeric | Auto-skybox-top-gradient's green color intensity (0..1) |
| sim.sky.gradient.top.blue | Numeric | Auto-skybox-top-gradient's blue color intensity (0..1) |
| sim.sky.gradient.horz.red | Numeric | Auto-skybox-horizon-gradient's red color intensity (0..1) |
| sim.sky.gradient.horz.green | Numeric | Auto-skybox-horizon-gradient's green color intensity (0..1) |
| sim.sky.gradient.horz.blue | Numeric | Auto-skybox-horizon-gradient's blue color intensity (0..1) |
| sim.shadows.visible | Boolean | Enable or disable the shadows |
| sim.stationrafters.enable | Boolean | Enable or disable rafters inside station |
| sim.stationrafters.texture.path | Path | Station's rafter texture |
| sim.stationfloor.texture.path | Path | Station's floor texture |
| sim.stationrailing.texture.path | Path | Station's railing texture |
| sim.stationside.texture.path | Path | Station's side texture |
| sim.stationtrack.texture.path | Path | Station's lowered part texture |
| sim.stationtop.texture.path | Path | Station's top texture |
| sim.stationtopside.texture.path | Path | Station's top-side texture |
| sim.stationwaitgate.texture.path | Path | Station's wait-gate texture |
| sim.stationwaitrailing.texture.path | Path | Station's wait-railing texture |
| sim.sun.texture.path | Path | Texture of sun |
| sim.sun.visible | Boolean | Enable or disable the sun display |
| sim.sun.pos.alpha | Numeric | Alpha-angle (deg) of sun's position |
| sim.sun.pos.beta | Numeric | Beta-angle (deg) of sun's position |
| sim.sun.diffuse.red | Numeric | Light-source's red color diffuse intensity (0..1) |
| sim.sun.diffuse.green | Numeric | Light-source's green color diffuse intensity (0..1) |
| sim.sun.diffuse.blue | Numeric | Light-source's blue color diffuse intensity (0..1) |
| sim.sun.specular.red | Numeric | Light-source's red color specular intensity (0..1) |
| sim.sun.specular.green | Numeric | Light-source's green color specular intensity (0..1) |
| sim.sun.specular.blue | Numeric | Light-source's blue color specular intensity (0..1) |
| sim.sun.ambient.red | Numeric | Light-source's red color ambient intensity (0..1) |
| sim.sun.ambient.green | Numeric | Light-source's green color ambient intensity (0..1) |
| sim.sun.ambient.blue | Numeric | Light-source's blue color ambient intensity (0..1) |
| sim.supports.roundfooter.texture.path | Path | Round-footer's texture |
| sim.supports.tubeN.radius | Numeric | Radius of support tube type N (N: 1..5) |
| sim.treeN.texture.path | Path | Texture of tree type N (N:1..10) |
| sim.treeN.sizex | Numeric | Size of x component of tree type N (N: 1..10) |
| sim.treeN.sizey | Numeric | Size of y component of tree type N (N: 1..10) |
| sim.treeN.sizez | Numeric | Size of z component of tree type N (N: 1..10) |
| sim.trwheel.texture.path | Path | Transport's wheel texture (deprecated since 1.6) |
| sim.vertg.posyellowlimit | Numeric | Yellow limit of positive vertical G-force meter |
| sim.vertg.posredlimit | Numeric | Red limit of positive vertical G-force meter |
| sim.vertg.negyellowlimit | Numeric | Yellow limit of negative vertical G-force meter |
| sim.vertg.negredlimit | Numeric | Red limit of negative vertical G-force meter |
| sim.latg.yellowlimit | Numeric | Yellow limit of lateral G-force meter |
| sim.latg.redlimit | Numeric | Red limit of lateral G-force meter |
| sim.accg.yellowlimit | Numeric | Yellow limit of horizontal G-force meter |
| sim.accg.redlimit | Numeric | Red limit of horizontal G-force meter |
| sim.vertwheel.texture.path | Path | Texture of vertical friction tire |
| sim.woody.beams.texture.path | Path | Wooden-beam's texture |
| sim.woody.catwalk.texture.path | Path | Wooden-catwalk's texture |
| sim.woody.rail.texture.path | Path | Wooden-rail's texture |
| sim.woody.tie.texture.path | Path | Wooden-crosstie's texture |
| sim.woody.tunnel.side1.texture.path | Path | Wooden-tunnel's side texture |
| sim.woody.tunnel.side1inside.texture.path | Path | Wooden-tunnel's side (inside) texture |
| sim.woody.tunnel.entry1.texture.path | Path | Wooden-tunnel's entry texture |
| sim.woody.tunnel.entry1inside.texture.path | Path | Wooden-tunnel's entry (inside) texture |
| ©2000-2013 by Ole Lange - Impressum / Disclaimer | http://www.nolimitscoaster.de |