All the foliage are being drawn - not sure how you set the draw distance.
Have a look at Raybans foliage example and modify it to your needs.
[New map] Fragmaze
The command is called distancecull. It’s all here.
// distanceCull <inner&rt; <outer&rt; <alpha threshold&rt;
distanceCull 256 1024 0.4
[QUOTE=Magic;221376]All the foliage are being drawn - not sure how you set the draw distance.
Have a look at Raybans foliage example and modify it to your needs.[/QUOTE]
If this is the case, then i am sure it is the cause of the low FPS problem.
Edit: Yep, that is the problem…
Jec
[QUOTE=Jecoliah;221449]If this is the case, then i am sure it is the cause of the low FPS problem.
Edit: Yep, that is the problem…
Jec[/QUOTE]
I tested it with a few player and I nor they got that problem. Will take a look at it but I don’t think this could be solved…
[QUOTE=Magic;221376]All the foliage are being drawn - not sure how you set the draw distance.
Have a look at Raybans foliage example and modify it to your needs.[/QUOTE]
I have no idea what pk3’s you guys have in your etmain folder. It seems that there is an other pk3 using his foliage? But I did use distancecull and it works in 2.55 and 2.60b (just tested it). Try to view the map in a clean ET installation.
EDIT: Here is a screenshot:

More importantly, where did you get the shader from?
It’s your responsibility to make sure it doesn’t conflict with other maps, just renaming it on your end though should suffice.
[QUOTE=.Chris.;221472]More importantly, where did you get the shader from?
It’s your responsibility to make sure it doesn’t conflict with other maps, just renaming it on your end though should suffice.[/QUOTE]
I used these shaders:
models/mapobjects/plants_sd/grass_green1
{
surfaceparm trans
surfaceparm pointlight
cull disable
distanceCull 256 1536 0.5
{
detail
map models/mapobjects/plants_sd/grass_green1.tga
alphaFunc GE128
rgbGen exactVertex
alphaGen vertex
}
}
models/mapobjects/plants_sd/grassfoliage1
{
surfaceparm trans
surfaceparm pointlight
cull disable
distanceCull 256 512 0.5
{
detail
map models/mapobjects/plants_sd/grassfoliage1.tga
alphaFunc GE128
rgbGen exactVertex
alphaGen vertex
}
}
Those shadernames are also in the pak0.pk3. But what I don’t understand is why it isn’t in conflict in all my wolfenstein installations:confused:
I’ve a clean installed 2.60b server, a 2,55 and 2,60b for playing and a 2,55 for mapping.
