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?





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



  • Hey! I see this topic is quite.. well.. old, but, i tried this out and it didn't really do anything for me. any ideas of what i could be doing wrong? Thanks in advance! =]



  • @ReadyP1ayerTwoTTV
    Are you editing the 'procedural.meta' here?:

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





  • @ReadyP1ayerTwoTTV
    Try this procedural.meta as a test, it removes everything in there (keep a backup of your original obvs).



  • @a63nt-5m1th well, i guess i should elaborate that i am trying to do this on FiveM. My procedural.meta looks exactly the same as yours. I've gotten the water removed, so it should be possible to remove the coral and all the other crap. So far it's not working for me, though.



  • @ReadyP1ayerTwoTTV
    FiveM is a variable I can't account for. Might well be that.

    Best bet is probably contacting someone who knows how FiveM handles 'procedural.meta', it has to load the assets from somewhere?!...

    ...Did a little testing, here's some info that may well be of use. :thumbsup:

    There is a 'procedural.ymt' file that GTA V falls back to when the 'procedural.meta' files in 'common.rpf' & 'update.rpf' are missing/deleted/unreadable. Maybe that is where the assets are being loaded from?

    ...\mods\x64a.rpf\data\materials\procedural.ymt

    Here is a decrypted 'procedural.ymt' with my original edit (post#3) pre-applied.
    Test it out & see what you come up with.
    If you can, let me know if it works :thumbsup:



  • Possibly so. I'm trying to stream it to my server though, i find it odd that i can remove the water for everyone but i can't even touch the coral. I'll try that out and tell you what i come up with! =]
    edit: caused a crash. i think i lost my original procedural.ymt file. time to verify game files! lmao


  • MODERATOR

    Locked. For new users, instead of replying to old topics make sure to create a new one which includes as much details as possible for your questions about existing mods.


Log in to reply
 

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