[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Increasing effect visibility distance
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Increasing effect visibility distance
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4919
Page 1 of 4

Author:  Senshi [ Mon May 11, 2009 7:10 pm ]
Post subject:  Increasing effect visibility distance

Does anyone know how I can increase the visibility distance for effects?
E.g. the basic e_panzshoottrail effect
If you have a map with high view distance, you notice the trail effect disappears when the projectile has traveled some distance.

I'm however not sure which effect parameter controls this, or if it disappears to due a timer limit or a LOD distance limit.

I tried upping the
ObjectTemplate.lodDistance
of the effect, but didn't make any difference. The TimeToLive is set to CRD_NONE/-1/0/0 as in vanilla, so the effect bundle shouldn't fade out based on time.

Anyone can point me the right direction? I'm somewhat confused...

Author:  freddy [ Mon May 11, 2009 8:30 pm ]
Post subject:  Re: Increasing effect visibility distance

dunno if this applies to effects to or just objects

http://mdt.planetbattlefield.gamespy.co ... Scale.shtm

Author:  Senshi [ Mon May 11, 2009 8:43 pm ]
Post subject:  Re: Increasing effect visibility distance

Tried that, only works for objects with real geometry, I fear.

Additionaly, can anyone explain to me how this LOD settings work? Specifically the setLodRange and setLodPercent stuff
This is only used for soldiers AFAIK, but I have no idea how this stuff works. MDT and google are no help here, either :( . I only knew the LOD stuff for vehicle geometries, I have no idea why it's different here...

GeometryTemplate.create AnimatedMesh Soldier/BritHead
GeometryTemplate.setSkin animations/BritHead.skn
GeometryTemplate.file BritHead
GeometryTemplate.hasDynamicShadow 1
GeometryTemplate.setLodRange 0 0 1 10 2 30
GeometryTemplate.setLodRange 3 50 4 60 5 100
GeometryTemplate.setLodPercent 0 1.0
GeometryTemplate.setLodPercent 1 0.6
GeometryTemplate.setLodPercent 2 0.3
GeometryTemplate.setLodPercent 3 0.2
GeometryTemplate.setLodPercent 4 0.1
GeometryTemplate.setLodPercent 5 0.03

Author:  freddy [ Tue May 12, 2009 9:00 am ]
Post subject:  Re: Increasing effect visibility distance


Author:  Senshi [ Tue May 12, 2009 9:17 am ]
Post subject:  Re: Increasing effect visibility distance

Yes, that's why I want to increase that ;) .

In Vanilla, you notice it most often when using artillery or Katyusha. The trails just disappear midair, though you sometime later see the impact explosion...

Disregard the question about the LodRange and LodPercent-stuff. I'm still not 100% sure how these things correlate (ObjectTemplate.setLodValue from the objects.con is important, too, somehow), but I got what I wanted (increased LOD distances for soldiers, so no "face-downgrade" after only 3 meters...;) ).

Author:  Archimonde0_0 [ Tue May 12, 2009 10:40 am ]
Post subject:  Re: Increasing effect visibility distance

adjust the LodRange, the numbers in order represent distances at which the head switches to a new Level Of Detail

Lod 0 at 0, Lod 1 out to 10, Lod 2 out to 30 Lod 3 out to 50 Lod 4 out to 60 Lod 5 out to 100, change these to something else like:

ObjectTemplate.LodRange 0 0 1 30 2 60
ObjectTemplate.LodRange 3 80 4 100 5 120

etc.

Author:  Senshi [ Tue May 12, 2009 11:14 am ]
Post subject:  Re: Increasing effect visibility distance

Yes, that's what I thought too, as that would be the logical explanation.
Except it doesn't work... ;-) Only if you also change the LodPercent stuff and the setLod in the Objects.con you get it right....

Author:  freddy [ Tue May 12, 2009 6:45 pm ]
Post subject:  Re: Increasing effect visibility distance


Page 1 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/