mtm2.com MTM2.COM
Log in
The Monster Truck Madness Guild
mtm2.com / mtmg / traxx
Track Making 3 ▸
Basic Traxx 6 ▸
Working Area 3 ▸
Starting Out 3 ▸
Textures 7 ▸
Terrain 4 ▸
Models 8 ▸
Ground Boxes 3 ▸
Circuits & Rallies 6 ▸
Rumbles 2 ▸
Arenas 6 ▸
Wrapping Up 6 ▸
Tips 8 ▸
Downloads 1 ▸
Traxx · Modern Traxx

Vegetation

Plant thousands of trees and a carpet of grass without placing them one by one. You paint where each kind of planting goes in a paint program, and Traxx plants it. Planted trees do not use up the scenery-object limit.

Needs: Community Patch #4.

On the original game the track still loads and plays, just without the trees and grass. Vegetation shows in Traxx's OpenGL view only.

For our example we'll plant a pine forest on the hillsides, a few birches along its edge, and long grass on the flats.

Step 1 — Get the models into the track

The Vegetation window picks from the track's own Models list, so load the tree and grass models there first (View > Models, as in Inserting). If the list is empty, the window tells you to add them first. Vegetation models and their textures count against the track's usual model and texture limits.

Step 2 — Paint the two masks

Make two pictures, in any paint program, covering the whole map:

Each colour you paint is a kind of planting: "pine forest", "birch edge", "tall grass". Black means nothing. The pictures can be PNG or TGA, any size.

Paint with a hard-edged brush, with no anti-aliasing. A soft edge makes in-between colours that match nothing, and Traxx warns you when too much of a mask is unmatched.

Step 3 — Load a mask

Choose Special → Vegetation... to open the Vegetation window. Pick Trees and bushes first, then Load.... The colours you painted appear in the Colours list, each named something like "colour 1". Click one and rename it in Name.

Do the same for Grass and scrub. You can load only one if that is all you want. Clear removes the loaded mask and its colours, after asking.

Note: a track holds up to 16 colours for each mask. If the grass mask is an exact copy of the tree mask, Traxx tells you, because every tree area would also become grass.

The Vegetation window: each painted colour with its models, spacing and density, and the count of what Re-plant put down — here 13,689 trees and 131,072 grass clumps.

Step 4 — Give each colour its models

Select a colour. For trees and bushes, set Spacing (ft) (how far apart the trunks stand) and Density (%). For grass, set Clumps per tile. Then, under Models in this colour, press Add... to open Vegetation Model. You can have up to 8 models in a colour.

Edit... and Remove change an entry you've added.

At the top of the window, AI course corridor (ft) and Object margin (ft) keep trees clear of the race line and of your scenery objects. Planted trees also keep off the start grid, checkpoint gates, raised ground boxes, water, lakes, and slopes too steep for them. They do not avoid lights or fog objects, and trees in neighbouring colours will not overlap.

Step 5 — Plant it

Press Re-plant. Traxx plants the forest and reports how many trees and grass clumps it placed, how many were turned away, and why. The line under the lists keeps a running count. Change the Seed or press New Seed for a different arrangement of the same mix: the same masks, rules and seed always plant the same forest.

Clear All removes both masks, every rule and everything planted, after asking. OK asks whether to Re-plant first if you changed a rule.

Step 6 — Far cards

Far away, the game swaps each tree for a cheap picture of itself, so a whole hillside of forest stays fast. Make Far Cards renders those pictures from your own models, adds them to the track as models, and fills in each tree's far-card field. In the 3D view distant trees change to their cards at the same distance the game uses.

Seeing it

In the OpenGL view, View → Vegetation has:

The same switches Veg. Mask Wash and Veg. Aids are boxes on the View Control bar.

Limits

16 colours per mask, 8 models per colour, 60 models in all, of which 16 can be grass. Up to 30,000 trees, and up to 2,097,152 grass clumps. Past that, Traxx thins the grass evenly across the map. Past 500,000 clumps it warns that slower PCs will struggle; players can reduce grass in the game's own settings.

Warning: some models cannot be drawn efficiently in bulk (blended, glowing or animated ones, for example). Traxx names them and why when you Re-plant and again at Write POD. As a tree such a model shows only its nearest 128 or so copies, and as grass it is not drawn at all.

See also: getting models in, Water Level.

<< Fog << >> Writing the Pod (New) >>
Downloads Tracks Trucks Utilities C-Pod26 VectorSlope Podzip MTM 1 Tracks More Help MTMG Forum Partners Track Shots