Can edit / cancel peds using convertible roof on vehicles ? SOLVED
-
Anyone know how to edit any files to stop peds using convertible roofs on cars? I want it to optimalize game when I replace car with any other car with not working roof.
-
@ArmaniAdnr
There are convertible roof settings in 'vehicles.meta'. They look like this:<animConvRoofDictName>va_ninef2</animConvRoofDictName> <animConvRoofName>roof</animConvRoofName> <animConvRoofWindowsAffected> <Item>VEH_EXT_WINDOW_LF</Item> <Item>VEH_EXT_WINDOW_RF</Item> </animConvRoofWindowsAffected>
I've never messed with them so I don't know much more than that but I suggest you compare convertible vehicle settings (like 'ninef2' example above) to non-convertible, like this:
<animConvRoofDictName>null</animConvRoofDictName> <animConvRoofName>null</animConvRoofName> <animConvRoofWindowsAffected />
Swap lines & test things out. See what you get.
Note: This approach will most likely disable convertible roofs on those cars for the player also. That could be solved to some degree if you created two versions of the same car. One ambient spawn for peds (convertible disabled), one for the player (convertible allowed) saved in a garage/trainer etc. Best of luck & if you like tell us what you figure out
-
It's ok because when I replace car with not working roof car, I can't use it as player too, so it will be good to don't get bugged.
Thanks a much will try it soon before I start replacing cars, to test it on working roof (if it's dissabled) and write then result here (((((:
-
@a63nt-5m1th thanks it is working
There is lot of 'vehicles.meta' but browse them all and in which I found '<animConvRoofName>roof' I changed it whole from
<animConvRoofDictName>va_nameofcar</animConvRoofDictName>
<animConvRoofName>roof</animConvRoofName>
<animConvRoofWindowsAffected>
<Item>VEH_EXT_WINDOW_LF</Item>
<Item>VEH_EXT_WINDOW_RF</Item>
</animConvRoofWindowsAffected>to
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />after that spawned all vehicles and no one of convertible vehicles have working roof and no one bug or error. Now can safely replace any car with maximalized optimalization ((((((:
-