View Full Version : Battlefield grass textures?
PROMETHEUS
06-19-2006, 01:01
Where do I find the textures to edit for the 3d grass semitransparent models ?
Duke John
06-19-2006, 06:58
You can find/change the location in descr_grass.txt
In the texture there is enough room to make different grass texture for long, short, scrub, forest. Use the tex_v1 and tex_v2 vertical (so only Y) coordinates for that.
Cheers,
DJ
PROMETHEUS
06-19-2006, 08:37
Thankyo m8 will try that ....
PROMETHEUS
06-19-2006, 14:23
Btw do u know also the place for the normal trees model textures? To retexture them ?
Duke John
06-19-2006, 14:36
Huh? Do you mean the battle vegetation? I thought you knew that I wrote a tutorial about that.
PROMETHEUS
06-19-2006, 21:08
Yes I know , but I tought it was just for new models , but I guess I can find my answer there , thankyou .... :p
PROMETHEUS
06-20-2006, 09:50
Thanks here is what I have done , I made lots more of the ones showed here , tough , I can't change well the ground texture and result still blurred , how do I solve this?
https://img230.imageshack.us/img230/3792/14ry1.jpg
Duke John
06-20-2006, 09:59
I can't change well the ground texture and result still blurred , how do I solve this?
I made 512x512 ground textures resulting in more detail. Or what do you mean?
PROMETHEUS
06-20-2006, 11:54
The fact is that there are already in the battlefield folder 512 512 textures , Should I do them in 1024 1024 ? I haven't noticed when I did so a sharper ground tough , could it be possible to a text file that needs to be edited?
can u post a pic of sample of difference between the ground texture u did and the ca one overwritten?
For example this is the size of the Oz_grass texture for alpine climate summer , but how many does it uses ? becouse I saw several textures , some where in 256 , others like this in high res , I am not sure the game uses it does it? if so for what?
https://img80.imageshack.us/img80/9232/ozgrasstga5wg.jpg
Duke John
06-20-2006, 12:07
The difference is there, but I would advise to include 256x256 textures for the people who rather want more available memory as the difference isn't that huge.
http://files.upl.silentwhisper.net/upload4/compare_texture_size.jpg
I guess 1024x1024 takes too much memory.
Also notice how the ground texture is tiled on, lets say, 16x16 metre grid. And the same texture is then scaled up and applied on top on a, lets say, 64x64 metre grid. Most obvious when you zoom way out and you can see the exact same texture but then big.
As a consequence I reduced the contrast on my textures to have that effect be less visible.
PROMETHEUS
06-21-2006, 22:32
Btw I have loaded the swamp battlefields and look quite everything but a swamp to me , plus it has no grass , do you know how to add grass to this climatic type?
Teleklos Archelaou
06-21-2006, 23:59
Prom, I tried my best to get any type of vegetation on swamps and failed. But then I know little about how it all works. I'd love to get some other veg. type on there besides that flat surface - it would be perfect to get thick palms on with undergrowth (swamp plus some other type).
PROMETHEUS
06-22-2006, 08:18
I don't think there should be a problem , There must some entries somewhere , but I can't find any reference to model of the grass and my English isn't that good to make me recognize correct names, but I am sure it is possible, I am already planning to make Swamps look like swamps , but I just need to know how to place there grass types ....
Duke John
06-23-2006, 09:24
Not all climates are given grass in descr_grass.txt. It should be as simple as just copy/pasting another entry and editing the header (climate test_climate -> climate swamp).
but I can't find any reference to model of the grass
Grass is just a billboard with a texture. The texture can be different for each climate and you can divide the texture into different horizontal bands that you can use to have different type of grass for long_grass, scrub etc.
PROMETHEUS
06-23-2006, 09:40
In descr_grass.txt
climate swamp
{
texture data/textures/#grass.tga
spacing 0.5
present_in_winter false
ground_type grass_short
{
avg_height 0.5
width 1.2
density 40
tex_v1 0.0
tex_v2 0.25
falloff 2.0
colour 0,0,0
correction 0.1
}
ground_type grass_long
{
avg_height 1.5
width 1.0
density 50
tex_v1 0.0
tex_v2 0.25
falloff 1.0
colour 0,0,0
correction 0.1
}
ground_type scrub_dense
{
avg_height 1.5
width 1.0
density 6
tex_v1 0.0
tex_v2 0.25
falloff 1.0
colour 0,0,0
correction 0.1
}
ground_type forest_dense
{
avg_height 0.5
width 2.0
density 40
tex_v1 0.0
tex_v2 0.25
falloff 1.5
colour 0,0,0
correction 0.1
}
}
I added this entry , but the grass do not show up , Why?
Duke John
06-23-2006, 09:46
Try this (I have no idea, I am just brainstorming along):
climate swamp
{
texture data/textures/#grass.tga
spacing 0.5
present_in_winter false
ground_type grass_short
{
avg_height 0.5
width 1.2
density 40
tex_v1 0.0
tex_v2 0.25
falloff 2.0
colour 0,0,0
correction 0.1
}
}
Swamp does not have scrub, long grass and forest so the engine might disregard the entire entry as it has 3 faulty sub-entries.
PROMETHEUS
06-23-2006, 10:02
Trying now ...
PROMETHEUS
06-23-2006, 10:11
No , it still has no grass.... :(
Duke John
06-23-2006, 10:19
I have run out of ideas :inquisitive:
PROMETHEUS
06-23-2006, 10:20
What if I wanted to create or clone another Climate and replace with this the swamps? How to do that?
Duke John
06-23-2006, 10:30
The descr_geography.db would need to be changed and this has been impossible for us.
Teleklos Archelaou
06-23-2006, 23:09
Are there sprites for grass? If I zoom out from your new grass textures Prometheus the grass seems to totally disappear.
PROMETHEUS
06-23-2006, 23:12
Same was with the previous CA version....
Teleklos Archelaou
06-23-2006, 23:27
Yeah, I just haven't paid attention to it until I saw your grass pics. :grin:
Ah - there's another reason: on vanilla, the grass is much more like the same color the ground is. So zoomed out you don't notice it. But your grass is more pronounced (color; which is good), so it's more obvious when your grass disappears.
PROMETHEUS
06-24-2006, 08:28
That's why I haven't released the others , it is still not complete and need a rework of the background to make it match possibly....
PROMETHEUS
06-26-2006, 08:52
Ok I resolved the problem , it wqas just that the Swamps where using just "swamp" terrain and mud and I wasn't using it , though the game or doesn't seem to use my ne ground higer res textures or the game doesn't make much difference when appling it , so I think I will skip the retexturing of terrain probably ......
Teleklos Archelaou
06-26-2006, 15:16
So can the swamps now have trees? (please, please, please :grin:)
That will be huge...
PROMETHEUS
06-26-2006, 22:36
Dunno how to add trees , but now they have grass...
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.