Difference between revisions of "RUL File"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Warrior
m (Reverted edits by Constantina (Talk) to last version by CasperVg)
sc4e>Warrior
m (Reverted edits by Constantina (Talk) to last version by CasperVg)
(No difference)

Revision as of 14:23, 1 January 2009

RUL Files are internal game files which control the placement of Transit Network items in-game. There are numerous RUL Files used by the game, each of which has its own particular function. There are three different types of RUL Files: Network-Specific RUL Files, Multi-Network, and Bridge RULs. In addition, the Network INI file effectively functions like a RUL File.

The Network Specs Folder written by many of the people who discovered the file formats is helpful for learning Transit Modding even if it is a few years old and a few things need to be updated

The function of the RUL File is defined by its IID. It is not possible to add new RUL Files, though it is possible to define new Bridge RULs for networks that do not already have them.

Network-Specific RUL Files

Main article: Network Specific RUL

Each in-game network has two Network-Specific RUL Files, one Main RUL which defines the basic placement of the network, and one Supplemental RUL, which defines same-network overrides. There are 18 total Network Specific RULs.

Multi-Network RUL Files

There are three Multi-Network RUL Files, known by their IIDs: RUL 0x10000000, RUL 0x10000001 and RUL 0x10000002. These all handle situations that can handle multiple networks. RUL 0x10000000 is a particularly special case, since it deals exclusively with Puzzle Pieces, ploppable network pieces, as opposed to Draggable Network items, the only such RUL to do so.

Bridge RULs

Main article: Bridge RUL

Bridge RULs allow for more control over custom bridges.

Network INI

Main article: Network INI

The Network INI file, while technically not a RUL file, combines many functions of the various RUL files. It also controls bridge shadows, Left-Hand Drive path substitution, Powerlines, and various Bugfixes.