View unanswered posts | View active topics It is currently Tue Dec 03, 2024 10:27 pm



Reply to topic  [ 9 posts ] 
 Terrain Texture Help 
Author Message
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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


Fri May 07, 2010 4:45 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Terrain Texture Help
'UseOwnColor = 0' is worth a try.


Fri May 07, 2010 11:52 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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.


Sun May 09, 2010 10:07 pm
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post Re: Terrain Texture Help
I am having the same trouble.
dragonxp wrote:
Edit3: problem solved.


Do tell how.


Wed Jul 07, 2010 2:10 am
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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 #.


Wed Jul 07, 2010 2:14 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post 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.


Wed Jul 07, 2010 3:34 am
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post Re: Terrain Texture Help
Tried that.

Didn't work.


Wed Jul 07, 2010 3:52 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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.


Wed Jul 07, 2010 3:56 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post 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.


Wed Jul 07, 2010 7:30 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.029s | 14 Queries | GZIP : Off ]