Log in to reply
 

Is there a mod/script that gets rid of all the garbage on the ground?



  • In multiplayer, there's no bricks, blue paint buckets, and other small things of garbage laying on the ground. If all that junk was removed from singleplayer, it would make driving around less bumpy, and it might save on a little bit of performance. Has anyone made a mod to get rid of the trash?


  • MODERATOR



  • @JustHelpMeFixMyMods

    Go to this file:

    ...\mods\update\update.rpf\common\data\materials\procedural.meta

    Make a backup of it & then open it, edit & save the file to look like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <CProceduralInfo>
      <procObjInfos>
      </procObjInfos>
      <plantInfos>
      </plantInfos>
      <procTagTable>
      </procTagTable>
    </CProceduralInfo>
    

    This will remove very small rocks, small bushes, scrap pieces of paper/rubbish, some small seaweed, starfishes, small sea life, some corals, small weeds etc. Sounds like a lot but you will be hard pushed to notice what is missing & it may even give you a few frames per second. :thumbsup:
    You are free to edit the file however you like (as long as the syntax remains intact). Say, you wanted to remove only trash & leave other things alone etc. It shouldn't be too hard to figure out if you search in the file for 'litter', 'trash' or 'rubbish' etc & remove those sections. Delete from (including) this line:

    <Item> 
    

    to (including) this line

    </Item>
    

    to remove an item from spawning.

    Example (remove this entire section to remove the 'NG_Proc_Paper_Burger01A' from spawning):

        <Item>
          <Tag>City_Litter_DENSE</Tag>
          <PlantTag />
          <ModelName>NG_Proc_Paper_Burger01A</ModelName>
          <Spacing value="5.000000" />
          <MinXRotation value="0.000000" />
          <MaxXRotation value="0.000000" />
          <MinYRotation value="0.000000" />
          <MaxYRotation value="0.000000" />
          <MinZRotation value="0.000000" />
          <MaxZRotation value="6.281250" />
          <MinScale value="1.000000" />
          <MaxScale value="1.000000" />
          <MinScaleZ value="-1.000000" />
          <MaxScaleZ value="1.000000" />
          <MinZOffset value="0.010000" />
          <MaxZOffset value="0.020000" />
          <MinDistance value="15.000000" />
          <MaxDistance value="35.000000" />
          <MinTintPalette value="1" />
          <MaxTintPalette value="128" />
          <Flags>PROCOBJ_ALIGN_OBJ</Flags>
        </Item>
    

    Tip: If you are not sure what something is. Have a look in the '<ModelName>' line:

    Example:

          <ModelName>NG_Proc_Paper_Burger01A</ModelName>
    

    & then use Ctrl+F3 in OpenIV to search for 'NG_Proc_Paper_Burger01A' etc & then have a look in the items '.ydr' or '.ytd' file opening them to get an idea of what it is. :thumbsup:



  • @a63nt-5m1th
    Thanks, this provided more than enough for me to clean things up. As it turns out, it was everything under city_industrial_litter_01 that I was looking for, but removing a few more things from the pavement will help too.

    I might make a mod for this so that others can have clear pavement too.



  • @JustHelpMeFixMyMods

    Nice, I haven't seen a mod that removes stuff from just pavement so fire on :thumbsup:


  • MODERATOR

    correct I think. On the opposite spectrum the current NVR version, very soon to be updated, has a procedural.meta that increases litter in certain areas



  • @ReNNie Yeah, it just got updated, but I switched everything back to the previous version. What got updated in this one?


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.