Data Realms Fan Forums
http://45.55.195.193/

Terrain Texture Help
http://45.55.195.193/viewtopic.php?f=8&t=18687
Page 1 of 1

Author:  dragonxp [ Fri May 07, 2010 4:45 am ]
Post subject:  Terrain Texture Help

I've ran into a little problem with terrain textures:
I'd set the texture path, but in game, it wouldn't show up.
It'd just display the material Colour.

I'm confused.

Heres the code:
Code:
AddMaterial = Material
   Index = 253
   PresetName = PMetal
   Bounce = 0.2
   Friction = 0.9
   StructuralIntegrity = 100
   DensityKGPerVolumeL = 8.5
   GibImpulseLimitPerVolumeL = 15
   GibWoundLimitPerVolumeL = 0.1
   Priority = 10
   SettleMaterial = 182
   Color = Color
      R = 37
      G = 43
      B = 50
   TextureFile = ContentFile
      Path = Scene Template.rte/Images/Metal.bmp

Author:  MaximDude [ Fri May 07, 2010 11:52 am ]
Post subject:  Re: Terrain Texture Help

'UseOwnColor = 0' is worth a try.

Author:  dragonxp [ Sun May 09, 2010 10:07 pm ]
Post subject:  Re: Terrain Texture Help

Did not work.

Edit: does it have to be 128 X 128?

Edit2: nvm, i think that it's because the colours i sued aren't in the map palette.

Edit3: problem solved.

Author:  Dylanhutch [ Wed Jul 07, 2010 2:10 am ]
Post subject:  Re: Terrain Texture Help

I am having the same trouble.
dragonxp wrote:
Edit3: problem solved.


Do tell how.

Author:  dragonxp [ Wed Jul 07, 2010 2:14 am ]
Post subject:  Re: Terrain Texture Help

i don't know but, the colours i defined worked, but the textures wouldnt show up.

Finally, i changed the index # to the vanilla dirt, dense earth etc.
and changed the colours to define the material back to normal.

now the textures load, im not sure which of the above fixed it, though i suspect its the index #.

Author:  MaximDude [ Wed Jul 07, 2010 3:34 am ]
Post subject:  Re: Terrain Texture Help

I suspect that the color you chose for you material is not in the material palette.
To work this out, you must first randomly select a color, paint your terrain, then take a screenshot, paste it into PS and use the color picker tool on your color, then open the color selector and check for actual RGB values, then you must enter these values in your material code.

Author:  Dylanhutch [ Wed Jul 07, 2010 3:52 am ]
Post subject:  Re: Terrain Texture Help

Tried that.

Didn't work.

Author:  Grif [ Wed Jul 07, 2010 3:56 am ]
Post subject:  Re: Terrain Texture Help

back in my day I would get the material palette color for custom materials by making an object out of the material, dropping it on the ground (I used magazines so that it insta-settled) and then using the Ctrl + M material view

then just printscreen and copy out the color.

easy as pie.

Author:  MaximDude [ Wed Jul 07, 2010 7:30 pm ]
Post subject:  Re: Terrain Texture Help

Dylanhutch wrote:
Tried that.

Didn't work.

Guess your try wasn't good enough. Repeat.
Grif's method is also a great way to do it.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/