YimMenu / YimMenu

YimMenu, a GTA V menu protecting against a wide ranges of the public crashes and improving the overall experience.
https://yim.gta.menu
GNU General Public License v2.0
1.55k stars 32 forks source link

[Improvement]: xml vehicles #2391

Open n8tr0 opened 1 year ago

n8tr0 commented 1 year ago

Which feature

Added support for more modifications in "xml_vehicles". Example: -Livery -WheelType -LrInterior -DoorsBroken -NumberPlateText -NumberPlateIndex -Neons etc..

Most of these options already work well in "xml_maps" I don't think adding support for these options to "xml_vehicles" would be too complicated.

Reason

At present it is not possible to load a vehicle with a livery, rims etc..

Additional context

I imagine it's not something very important for many, but having to manually modify the vehicle after loading is rather annoying. If anyone finds the time and inclination to set this up, I'd like to thank them in advance.

alyxme commented 1 year ago

Related to #1852 scenarios are also ignored

alyxme commented 12 months ago

Yes they do in Menyoo! Example.xml with scenario <ScenarioName>WORLD_HUMAN_SECURITY_SHINE_TORCH</ScenarioName>. This xml file is from GTA5-mods section for Menyoo. I described in #1852 my findings about that. Perhaps this may also be relevant: if there are several peds with the same animations in the xml file, then some of them are not played. I previously experimented with fiberpool and it seemed to help tp play animations. Unfortunately, I was unable to get the code to fix it.

n8tr0 commented 10 months ago

Do those scenarios exist in Menyoo? The XML Vehicles code was only meant to really support legacy Menyoo vehicles, if you are looking to properly persist those vehicles to disk, use the JSON persist engine, as it is much more robust.

JSON persist engine works well, but unfortunately it lacks a few functions, such as "Bone Attachment" "Doors Broken" and probably other things I can't think of.