Log in to reply
 

The role of Persistent and Overlay values in Add-on DLC Packs ?



  • The entries in content.xml:
    [<Item>
    <filename>dlc_demo:/%PLATFORM%/vehicles.rpf</filename>
    <fileType>RPF_FILE</fileType>
    <overlay value="false" />
    <disabled value="true" />
    <persistent value="true" />
    </Item>
    <Item>
    <filename>dlc_demo:/%PLATFORM%/vehiclemods/lp610_mods.rpf</filename>
    <fileType>RPF_FILE</fileType>
    <overlay value="false" />
    <disabled value="true" />
    <persistent value="true" />
    </Item>]

    in my knowledge if persistence is true, the models remains in the game all the times...
    Correct me if im wrong.
    And what is the role of Overlay value?



  • @reyser if you can help


  • MODERATOR

    @c0der7 I think that Overlay is used by R* when they update vehicles or other game files with new patches, so the game should use the new ones instead of the old ones, and as they're located in a different folder, then the most recent one should have Overlay enabled. (I guess that's why)

    About persistent I have no idea about which is the function.



  • @Reyser maybe you are right, but that doesn't makes sense to me. Logically when rockstar adds new dlc folder they never touches the old ones to change the overlay values.



  • @Reyser they reason why im asking is do with the missing textures issue in the world you spawn 20+ cars one by one... the texture starts to disappear.
    Maybe persistent means to make them somehow keep a record in the memory.


  • MODERATOR

    @c0der7 I don't think so, but anyway you can try to keep that value disabled and spawn 20 Add-Ons again and see if it still happens.



  • I already tried it with the persistent value set to "false" but it doesn't helped


  • MODERATOR

    This is a post made by @bigd822

    I figured out how to get replacement cars and mod-kits in add-on dlcs to overwrite vanilla cars / mod-kits.
    I've added 50 replacement cars to this pack so far without issue.

    In content.xml replace:

    <Item>
    <filename>dlc_aprilfools:/%PLATFORM%/vehicles.rpf</filename>
    <fileType>RPF_FILE</fileType>
    <overlay value="false" />
    <disabled value="true" />
    <persistent value="true" />
    </Item>

    with

    <Item>
    <filename>dlc_aprilfools:/%PLATFORM%/vehicles.rpf</filename>
    <fileType>RPF_FILE</fileType>
    <locked value="true"/>
    <overlay value="true" />
    <disabled value="true" />
    <persistent value="true" />
    </Item>

    Still no clue what the persistent value does :p



  • @c0der7 the reason you get missing textures is because of the limits of the game. The games engine isnt designed to have so many high poly count vehicles spawned in especially in one area like you where probably doing. This is a common issue sometimes higher values in gameconfig will fix part of the texture missing problems but it will only partly help out. When i replaced more then 30 cars and had them spawn into traffic i would get missing textures on the road or on buildings. The only cars i replace now are just cop cars and have the rest of my cars in addon packs.


  • MODERATOR

    @Willief23 same here, exactly the same actually :smile_cat:

    A fleet of real police cars chasing my spawned added ride and responding via dispatch.meta and roaming the streets via popgroups.ymt.

    The 'missing textures bug' is as old as IV.

    Replacing 800kb models with 10MB is just too much...



  • @Willief23 Thanks for reply. But I haven't replaced any car.... I made my own Add-on Packs and put my favorite cars there.... there isn't any replaced car in the game.

    I spawn a DLC car using a trainer and then delete that model from the game using Menyoo and spawn another one, means that one car at a time. Then after spawning and deleting about 20+ different cars the textures start missing



  • @ReNNie The same issue. Exactly like the IV. There were two main bugs in IV one was the missing textures and the other was all the traffic car are becomes taxis'

    @Willief23 the R* gave us a chance to somehow change settings in the gameconfig to find that Sweet Spot where there will be no more texture missing issues

    The alternative way is the difficult one with some memory hacking to free up that memory used by the previous cars that also prevents the textures got missing


Log in to reply
 

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