Author |
Message |
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
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 |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
Re: Terrain Texture Help
'UseOwnColor = 0' is worth a try.
|
Fri May 07, 2010 11:52 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
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 |
|
|
Dylanhutch
Joined: Sun Apr 25, 2010 12:04 am Posts: 303 Location: Australia
|
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 |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
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 |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
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 |
|
|
Dylanhutch
Joined: Sun Apr 25, 2010 12:04 am Posts: 303 Location: Australia
|
Re: Terrain Texture Help
Tried that.
Didn't work.
|
Wed Jul 07, 2010 3:52 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
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 |
|
|
|