Roller Coaster Generator: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:rcg_controlpoint.png|thumb|right|200px|An individual Control Point]]
[[Image:Rcg.png|thumb|right|The logo]]
Roller Coaster Generator resources for Multi Theft Auto: San Andreas
Roller Coaster Generator resources for Multi Theft Auto: San Andreas
==History and concept==
==History and concept==
Line 6: Line 6:
A Roller Coaster Generator has been released at 2009 July. The new release started at 2010 may.
A Roller Coaster Generator has been released at 2009 July. The new release started at 2010 may.
===Concept===
===Concept===
The Roller Coaster Generator helps to create and manage series of objects which are produce usually a road or curve or loop or section together. The main idea is to use Control Points as points which mark track of the series of objects. Roller Coaster Generator contains an Element Definition Format for the editor, and also cooperates with the editor while it is running.
The Roller Coaster Generator helps to create and manage series of objects are produce usually a road or curve or loop or section together. The main idea is to use Control Points as points which mark track. Roller Coaster Generator contains an Element Definition Format for the editor, and also cooperates with the editor while it is running.
It is also possible to use easily the mathematical algorithm which calculates the element positions and rotations by the Roller Coaster Generator.
==Setup==
==Setup==
===Requirements===
===Requirements===
*Multi Theft Auto 1.0.3
*Multi Theft Auto 1.0.3
*Multi Theft Auto resources r596 editor
*Multi Theft Auto resources r596+ editor
===Installation===
===Installation===
# Download Roller Coaster Generator and unpack.
# Download Roller Coaster Generator and unpack. (see Roller Coaster Generator Googlecode at External links)
# Copy/move the unpacked folders and files into ''...\MTA San Andreas\server\mods\deathmatch\resources'' directory.
# Copy/move the unpacked folders and files into ''...\MTA San Andreas\server\mods\deathmatch\resources'' directory.
===Set the definition===
===Set the definition===
# Click on the ''Definitions'' icon.
# Click on the ''Definitions'' icon.
#: [[Image:Editor_Definitions.png]]
#: [[Image:Editor_Definitions.png]]
# Add ''rcg_edf'' definition.
# Add ''rcg'' definition.
#: [[Image:Rcg_addedf.png]]
#: [[Image:Rcg_setup1.png]]
# Click Ok.
# Click Ok.
#: [[Image:Rcg_setup2.png]]
==Usage==
==Usage==
===Basic usage===
===Basic usage===
====Definition====
# Go over the icons with your cursor.
#: [[Image:Rcg_def1.png]]
# Scroll with your mouse wheel.
#: [[Image:Rcg_def2.png]]
====Control point====
[[Image:Rcg_powermove.png|thumb|right|300px|Modifying the power with PageUp, PageDown.]]The control point defines the positions and directions of the track, and defines the rotations of the track elements. You can select 3 parts of the control point.
* Center
*: With this selection it is possible to move, rotate, and change the model of the control point.
* Left, Right
*: With this selection it is possible to change the power as it can be seen on the image. (Use PageUp, PageDown keys.)
====Track====
The track connects two control points, and it creates the series of objects.
A track element has 3 main properties:
* objectNumber
*: With this property, you can change how many element does the track contain.
* controlPointLeft
*: With this property, you can set where the track starts.
* controlPointRight
*: With this property, you can set where the track ends.
===Advanced usage===
===Advanced usage===
[[Image:Rcg_relativerotation.PNG|thumb|right|300px|Edited model and relative rotation on a control point.]]
====Model====
There are more ways to edit the control point's or track element's model.
* If you set a control point's model, then it will change every track's model which are connected to that control point.
* If you modify a trac element's model, then it will change the track's every element's model. Note, it will not change the control points model.
====Relative position, rotation====
Use relative position and relative rotation if the element is not in the proper direction or it needs some extra edition.
'''Use the key X while selecting a control point, and then, translate or rotate it.'''<br/>
'''Use the key V while holding the key X to reset its relative position and relative rotation.'''
* Relative position
*: It is not supported until r9
* Relative rotation
*: It helps you to rotate the element in the correct direction.
==Used tools==
==Used tools==
*Notepad++
*Notepad++
*Wolfram Mathematica
*Wolfram Mathematica
*Adobe Photoshop
*Adobe Photoshop
==See also==
==See also==
*[[Editor]]
*[[Editor]]
Line 34: Line 69:
==External links==
==External links==
*[https://code.google.com/p/mtasa-resources-rcg/ Roller Coaster Generator Googlecode]
*[https://code.google.com/p/mtasa-resources-rcg/ Roller Coaster Generator Googlecode]
*[http://forum.multitheftauto.com/ Roller Coaster Generator Forum]
*[http://forum.multitheftauto.com/viewtopic.php?f=108&t=27577 Roller Coaster Generator Forum]
*[http://en.wikipedia.org/wiki/B%C3%A9zier_curve Bézier curve Bézier Curve]
*[http://en.wikipedia.org/wiki/B%C3%A9zier_curve Bézier curve Bézier Curve]
*[http://www.wolfram.com/ Wolfram Research]
*[http://www.wolfram.com/ Wolfram Research]
[[pl:Roller Coaster Generator]]

Latest revision as of 17:41, 25 March 2024

The logo

Roller Coaster Generator resources for Multi Theft Auto: San Andreas

History and concept

History

Roller Coaster Generator's idea is old. I wanted to create a Going-Down like map, but it was very time consuming. That was the time, when i thinked first of a thing which can generate the whole track. Several algorithm were made, even algorithms like the loopgen uses. The algorithm Roller Coaster Generator uses now, first concieved at 2007 June-July. A console program created a .map file after i set up the track's properties like positions (had to find the coordinates manually), and i could try that ingame. A Roller Coaster Generator has been released at 2009 July. The new release started at 2010 may.

Concept

The Roller Coaster Generator helps to create and manage series of objects are produce usually a road or curve or loop or section together. The main idea is to use Control Points as points which mark track. Roller Coaster Generator contains an Element Definition Format for the editor, and also cooperates with the editor while it is running.

Setup

Requirements

  • Multi Theft Auto 1.0.3
  • Multi Theft Auto resources r596+ editor

Installation

  1. Download Roller Coaster Generator and unpack. (see Roller Coaster Generator Googlecode at External links)
  2. Copy/move the unpacked folders and files into ...\MTA San Andreas\server\mods\deathmatch\resources directory.

Set the definition

  1. Click on the Definitions icon.
    Editor Definitions.png
  2. Add rcg definition.
    Rcg setup1.png
  3. Click Ok.
    Rcg setup2.png

Usage

Basic usage

Definition

  1. Go over the icons with your cursor.
    Rcg def1.png
  2. Scroll with your mouse wheel.
    Rcg def2.png

Control point

Modifying the power with PageUp, PageDown.

The control point defines the positions and directions of the track, and defines the rotations of the track elements. You can select 3 parts of the control point.

  • Center
    With this selection it is possible to move, rotate, and change the model of the control point.
  • Left, Right
    With this selection it is possible to change the power as it can be seen on the image. (Use PageUp, PageDown keys.)

Track

The track connects two control points, and it creates the series of objects. A track element has 3 main properties:

  • objectNumber
    With this property, you can change how many element does the track contain.
  • controlPointLeft
    With this property, you can set where the track starts.
  • controlPointRight
    With this property, you can set where the track ends.

Advanced usage

Edited model and relative rotation on a control point.

Model

There are more ways to edit the control point's or track element's model.

  • If you set a control point's model, then it will change every track's model which are connected to that control point.
  • If you modify a trac element's model, then it will change the track's every element's model. Note, it will not change the control points model.

Relative position, rotation

Use relative position and relative rotation if the element is not in the proper direction or it needs some extra edition.

Use the key X while selecting a control point, and then, translate or rotate it.
Use the key V while holding the key X to reset its relative position and relative rotation.

  • Relative position
    It is not supported until r9
  • Relative rotation
    It helps you to rotate the element in the correct direction.

Used tools

  • Notepad++
  • Wolfram Mathematica
  • Adobe Photoshop

See also

External links