View Full Version : "viewdistance" on Vehicles
HakunaMatata
02-02-2006, 07:33 AM
Hi
How do I make land Vehicles show up at the same distance as air Vehicles?
Tanks "disaper" when they are 400 meter away. Planes can you see 700+ m away. Where/how do get the same "viewdistance" on tanks?
Regards
PBAsydney
02-02-2006, 09:34 AM
If it's just for you, have Geometry on high.
If it's for your mod (as forum suggests) then you have to alter the LODs of the vehicles, which i have no clue how to do since I never use the damn editor.
HakunaMatata
02-02-2006, 09:44 AM
Hi
Its for a kind of tank survivabillity mod :)
Is it this LOD you mean:
GeometryTemplate.setSubGeometryLodDistance 1 0 120
GeometryTemplate.setSubGeometryLodDistance 1 1 150
GeometryTemplate.setSubGeometryLodDistance 1 2 1100
GeometryTemplate.setMaterialReflectionScale 1 0 0 0.7
GeometryTemplate.setSpecularStaticGloss 0 0 0 0
GeometryTemplate.setSpecularStaticGloss 0 0 1 0
GeometryTemplate.setSpecularStaticGloss 0 0 2 0
GeometryTemplate.setSpecularStaticGloss 0 0 3 0
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 8
I have alterd this too be the same as for the MECs SU-34. That did not help :cry:
What else is there to do??
PBAsydney
02-02-2006, 09:50 AM
nono, its not about the scripting, its about the model, the tanks probably don't have any LOD mesh that reaches that far out, you will have to re-export the vehicles, which is impossible due to the lack of an importer.
(Me thinks, I'm not entirely sure)
HakunaMatata
02-02-2006, 10:00 AM
So what you are saying ill have to export the tanks, do some magic an then import it again. Hmmm, well thats a problem. Its time to learn some magic :)
Thanks m8
PBAsydney
02-02-2006, 10:12 AM
No, you would have to import the vehicles, then export them with greater LOD distances.
HakunaMatata
02-02-2006, 10:17 AM
Is it not from bf -> Maya -> bf again?
jimbob
02-02-2006, 11:08 AM
yes and probably all the fun of re-bundlemeshing in between ;)
HakunaMatata
02-02-2006, 11:35 AM
So there is no workaround then?? :cry: Uuäääää!
Its a Grim&Evil world we live in.
PBAsydney
02-02-2006, 12:01 PM
You could always hook up with some mod and ask them if they would be willing to re-export their models with heavy LOD distance so you can make this tank mod.
HakunaMatata
02-02-2006, 12:22 PM
Ill do that (Arnold S. accent) Immediately start fishing for generous moders.
Your modteam seems to bee a bunch of nice guys, Wolfi has helpt me before so... ;)
Thanks m8´s
[BG2]Panzaman
02-02-2006, 02:18 PM
You don't need to reexport anything, assuming you have your LODs. In the editor load up your vehicle, select Geometry/Geom in the bottom left of the Resources window and then open up the Default section in the Tweaker bar. Edit the values for LodDistance1, LodDistance2 and particularly LodDistance3. You are unlikely to see any effect, though, if you set these higher than the maxviewdistance for the map.
HakunaMatata
02-02-2006, 05:15 PM
In Geometry/Geom i find Geom_0, Geom_1 and Geom_2. In Geom_1 the values for is:
LodDistance1 25
LodDistance2 40
LodDistance3 95
This is for the su-34
The Abrams have under geom_1
LodDistance1 55
LodDistance2 30
LodDistance3 95
And under geom_2
LodDistance1 50
LodDistance2 100
Is this as it should? And where do I change maxviewdistance for the map, is it in sky.con ?
[BG2]Panzaman
02-06-2006, 01:40 PM
It's in init.con, e.g for Gulf of Oman:
GameLogic.MaximumLevelViewDistance 400
HakunaMatata
02-06-2006, 02:53 PM
My Mapsetting is "GameLogic.MaximumLevelViewDistance 850" but I still dont get more than 300 m ingame for tanks. Planes I can see at this range.
These settings in the editor, where are they in the *.con/*.tweak file?
[BG2]Panzaman
02-07-2006, 02:13 PM
I don't know. There used to be a separate setting in Bf42 called 'cull radius scale' or something like that which I think was a sort of viewdistance scale factor, but I don't know if/how it works in Bf2.
HakunaMatata
02-07-2006, 02:44 PM
Now I can see them 650m away when I sitt in a tank or the tow.
Thats not perfect but atleast its better then before. I will look into this "cull radius scale" thing.
Thank you for your help.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.