RUL 0x10000001

From SC4D Encyclopaedia
Revision as of 15:18, 14 February 2009 by sc4e>Warrior (added some info)
Jump to navigation Jump to search
TGI Info
Name Intersection Solutions RUL
Format RUL File
Type

Group

Instance

0x0A5BCF4B

0xAA5BCF57

0x10000001

Comments
See also: IntersectionSolutions RUL

RUL 0x10000001, also known as the Intersection Solutions RUL, is a RUL File which defines textures or models for intersections between two different networks.

There are several sections in the RUL file, each has a heading that is required, and used by the EXE. an example is: [RoadRailIntersectionSolutions]

This means that the below section is for intersection between Road and Rail, but the order must be correct so [RailRoadInter...] would not work.

This is an example of the actual RULs, namely the Orth Road x Orth Rail (Road/Rail Level Crossing):

;straight road, straight rail

Template:ColorTemplate:Color,0x00020002,0x03010100,0,0


As usual the line beginning with a semicolon is just a comment and not used by the game.

The Template:Color is also not used by the game, but is not optional.

Then the first set of edge values(Template:Color) is the RUL edge values for Road, road because Road comes first in the header.

Therefore the second set is for rail.

The 0x02000200 is split to 0x 02 00 02 00, the order being South East North West.

Then the third set is the IID of the model/texture to be drawn when the edge values are drawn in game.

The following 2 numbers are the rotation and flip respectively.

See also: Network_Specs/IntersectionSolutions_RUL