newgrf-specs.tt-wiki.net
Action0 - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0
Action 0 allows to change the feature properties of 'features', i.e. vehicles, stations, bridges, houses and more. Each feature has its own very specific properties. These are explained in detail in their separate pages. The data for Action 0 looks as follows:. Sprite-number * Length 00 Feature Num-props Num-info Id ( Property New-info ). Here is a short overview of what every term means:. A sequential sprite number. The total number of bytes in the action. Action type. In this case, 00. In the GRF file.
newgrf-specs.tt-wiki.net
Action0/Stations - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Stations
Number of tiles supported. Copy sprite layout (0A). Selection of numbers of platforms and length (0C, 0D). Define custom layout (0E). Copy custom layout (0F). Pylon placement (11) and wire placement (14). Cargo types for random triggers (12). Can train enter tile (15). Road routing (19 - reserved for future use). Advanced sprite layout with register modifiers (1A). Using TTD's sprite layouts for certain tiles. Defining properties of new stations. The only property you must. Class ID, see below. Road rout...
newgrf-specs.tt-wiki.net
Action0/Industry Tiles - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Industry_Tiles
Substitute tile type (08). Industry tile override (09). Tile acceptance (0A, 0B, 0C). Land shape flags (0D). Triggers for callback 25 (11). Industry tiles work similarly to town buildings, except that they are not stand-alone; they are always part of an industry. Industry tile IDs are unique within each grf file. The per-GRF ID is specified as a byte, which means no GRF can define more than 256 tile IDs. You should use your industry tile IDs sparingly. Variational action 2 variable 43. These three words ...
newgrf-specs.tt-wiki.net
Action0/Industries - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Industries
Substitute industry type (08). Industry type override (09). Set industry layout(s) (0A). Industry production type (0B). Industry messages (0C.0E), new industry text ID (1B). Production cargo types (10). Acceptance cargo types (11). Production multipliers (12, 13). Minimal amount of cargo distributed (14). Random sound effects (15). Conflicting industry types (16). Probability in random game (17), Probability during gameplay (18). Special industry flags to define special behavior (1A). OpenTTD 1.6: 64.
newgrf-specs.tt-wiki.net
Action0/Bridges - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Bridges
Long format year of availability (0F). Description of a rail(11) or road(12) bridge. Defining properties of bridges. By default the following bridges are defined:. Girder, Steel Bridge. Suspension, Concrete Bridge. Suspension, Steel (Bronze) Bridge. Suspension, Steel (Golden) Bridge. Cantilever, Steel (Bronze) Bridge. Cantilever, Steel (Brown) Bridge. Cantilever, Steel (Red) Bridg. Girder, Steel Bridge. Tubular, Steel (Bronze) Bridge. Tubular, Steel (Golden) Bridge. Tubular, Silicon Bridge. The tableid i...
newgrf-specs.tt-wiki.net
Action0/Vehicles/Ships - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Vehicles/Ships
Long format introduction date (1A). Sort vehicle list (1B). Custom cargo ageing period (1D). Defining properties of ships. Sprite (FF for new graphics). Refittable (0 no, 1 yes). Speed in mph*3.2. Cargo type, see CargoTypes. For GRF version 7 and below: Type B 'cargo slot'. For GRF version 8 and above: Type A '(translated) cargo bit'. Sound effect type (4=cargo ship, 5=passenger ship). Since OpenTTD r27507 also custom sound effects from Action11 are allowed here. Callback flags bit mask, see below. Bit i...
newgrf-specs.tt-wiki.net
Action0/Vehicles/Planes - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Vehicles/Planes
Primary (0F) and secondary (11) cargo capacity. Long format introduction date (1A). Sort vehicle list (1B). Custom cargo ageing period (1C). Defining properties of planes. Sprite (FF for new graphics). 0=no, 1=yes (i.e. can't safely land on small airports). Speed in units of 8 mph, that is: property = (speed in mph) / 8. Acceleration in units of 3/8 mph/tick, that is: property = (acceleration in mph/tick) * 8/3. Primary cargo capacity (passenger or refitted cargo). Secondary cargo capacity (mail). The se...
newgrf-specs.tt-wiki.net
Action0/Objects - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Objects
Object class text ID (09). Object text ID (0A). End of life date (0F). Object removal cost factor (14). Number of views (17). Defining properties of new objects. Unlike vehicles or new stations, most new objects have no real equivalent in TTD. The property you must. Set for each object ID is 08 (in addition to defining an action 3 for it). Also, all object IDs must get their classes in the right order, starting from ID 00 onwards. Class label, see below. Text ID for class. Text ID for this object. Their ...
newgrf-specs.tt-wiki.net
Action0/Canals - GRFSpecs
https://newgrf-specs.tt-wiki.net/wiki/Action0/Canals
Defining properties of canals / rivers. Canals / Rivers Callback flags, see below. Canals / Rivers Graphic flags. For canals and rivers, the following callbacks. Can be defined by setting the corresponding bit in property 08:. Enable add sprite offset callback. Please note that not all feature ids support this callback. Various flags defining how the graphics are drawn. Changes the arrangement of sprites. See Action3. For details. It's not allowed to set this bit for undefined entries!