Announcement

Collapse
No announcement yet.

Developmental land.

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

    Developmental land.

    You should have parts of the map to where we can choose what houses go where. Even possible have the houses placed with code. That way we can rearrange them how we want.

    #2
    There are some buildings in the list https://dev.playonset.com/wiki/Objects that you can spawn with CreateObject.

    Comment


      #3
      Yes. In GTA SA you can RemoveBuilding() that would be nice

      Comment


        #4
        It works in GTA:SA because it's draw distance is so limited. In Onset you have a very high draw distance. That's possible with so called Hierarchical LODs. So when you move away from a town a small proxy LOD pops in which contains several buildings combined in a single mesh. So when you remove a building it would only be visible closeby.

        Comment


          #5
          So how could you remove it all together? Or could you do that?

          Comment


            #6
            Those LODs take hours to generate. So no you can't remove them in the far distance. Pretty sure you can't remove then in GTAV as well.

            Comment


              #7
              Gotcha well how hard would it be to make buildings objects? And placed with code?

              Comment


                #8
                You use the function https://dev.playonset.com/wiki/CreateObject to spawn any model that is on this list: https://dev.playonset.com/wiki/Objects
                So it's a one-liner.

                Comment


                  #9
                  That is a shit ton of objects

                  Comment

                  Working...
                  X