"viewdistance" on Vehicles

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HakunaMatata

    #1

    "viewdistance" on Vehicles

    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

    #2
    Re: "viewdistance" on Vehicles

    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.

    Comment

    • HakunaMatata

      #3
      Re: "viewdistance" on Vehicles

      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??

      Comment

      • PBAsydney

        #4
        Re: "viewdistance" on Vehicles

        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)

        Comment

        • HakunaMatata

          #5
          Re: "viewdistance" on Vehicles

          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

          Comment

          • PBAsydney

            #6
            Re: "viewdistance" on Vehicles

            No, you would have to import the vehicles, then export them with greater LOD distances.

            Comment

            • HakunaMatata

              #7
              Re: "viewdistance" on Vehicles

              Is it not from bf -> Maya -> bf again?

              Comment

              • jimbob

                #8
                Re: "viewdistance" on Vehicles

                yes and probably all the fun of re-bundlemeshing in between

                Comment

                • HakunaMatata

                  #9
                  Re: "viewdistance" on Vehicles

                  So there is no workaround then?? :cry: Uuäääää!

                  Its a Grim&Evil world we live in.

                  Comment

                  • PBAsydney

                    #10
                    Re: "viewdistance" on Vehicles

                    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.

                    Comment

                    • HakunaMatata

                      #11
                      Re: "viewdistance" on Vehicles

                      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

                      Comment

                      • [BG2]Panzaman

                        #12
                        Re: "viewdistance" on Vehicles

                        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.

                        Comment

                        • HakunaMatata

                          #13
                          Re: "viewdistance" on Vehicles

                          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 ?

                          Comment

                          • [BG2]Panzaman

                            #14
                            Re: "viewdistance" on Vehicles

                            It's in init.con, e.g for Gulf of Oman:

                            GameLogic.MaximumLevelViewDistance 400

                            Comment

                            • HakunaMatata

                              #15
                              Re: "viewdistance" on Vehicles

                              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?

                              Comment

                              Working...