[?] Working with programs that paint your terrain for you?

Making or wanting help making your own asset? Check in here
Post Reply
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

[?] Working with programs that paint your terrain for you?

Post by Rudd »

Hey all, I was having a look in to programs that paint your map for you,

terragen coupled with tpaint etc, and I had some fun with them, ended up with the basis for a new project, but there was a problem.

http://img4.imageshack.us/img4/7945/screen002fz.png
http://img197.imageshack.us/img197/5313/screen001n.png
http://img25.imageshack.us/img25/5416/screen000wt.jpg

There is a zone ingame around 100m away where the colour cap...disappears.

This was painted with tpaint using a TGA file generated using terragen.

Anyone know what went wrong? its kinda annoying since I had already finished hand painting both main bases.
Image
HangMan_
Posts: 1753
Joined: 2009-06-07 00:58

Re: [question]Working with programs that paint your terrain for you

Post by HangMan_ »

Um i think you have the problem of not putting a piece of code in to the terrain.con file that is needed for scale 4 maps? The same thing happened on my scale 4 and i put the code in and it was fixed.

Scale 2
if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 1
terrain.primaryWorldScale 2/0.0025/2
terrain.secondaryWorldScale 8/0.64/8
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/AlBasrah/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/AlBasrah/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/AlBasrah/Colormaps/tx"
terrain.lightmapBaseName "Levels/AlBasrah/Lightmaps/tx"
terrain.farSideTiling 2/2
terrain.farTopTilingHi 16
terrain.farTopTilingLow 32
terrain.farYOffset 0
terrain.terrainWaterColor 0.360784/0.235294/0.137255
terrain.init

else
terrain.create Terrain
terrain.load Levels/albasrah/terraindata.raw
endIf
Scale 4
if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 1
terrain.primaryWorldScale 4/0.0025/4
terrain.secondaryWorldScale 16/0.64/16
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/battle_for_qinling/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/battle_for_qinling/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/battle_for_qinling/Colormaps/tx"
terrain.lightmapBaseName "Levels/battle_for_qinling/Lightmaps/tx"
terrain.farSideTiling 6/3
terrain.farTopTilingHi 16
terrain.farTopTilingLow 64
terrain.farYOffset 0
terrain.terrainWaterColor 0/0/0
terrain.init

else
terrain.create Terrain
terrain.load Levels/battle_for_qinling/terraindata.raw
terrainCuller.setUseStitchedLods 0
endIf
Im pretty sure that should fix it. Copy and paste the bold text into your map and if this is the error it will be fixed :-?
Image

PR Community Faction Team - "Getting Sh*t Done..."
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [question]Working with programs that paint your terrain for you

Post by Rudd »

Ah nice one!
Last edited by Rudd on 2009-10-11 07:10, edited 1 time in total.
Image
Post Reply

Return to “PR:BF2 Community Modding”