V.Rainbomizer icon indicating copy to clipboard operation
V.Rainbomizer copied to clipboard

Ped Randomizer: Allow specifying multiple models in ForcePed

Open pongo1231 opened this issue 3 years ago • 2 comments
trafficstars

Implements #19

pongo1231 avatar Feb 17 '22 15:02 pongo1231

Thanks for the pull request, but it makes it so that the ForcedPed config option can't be changed using the debug menu.

It'd be better to provide an override for it in the config reading code and the config debug interface code.

Parik27 avatar Feb 20 '22 03:02 Parik27

Works with the debug menu now, however right now it'll store a second copy of ForcePed and compare the config's ForcePed each time GetRandomPedModel gets invoked to check if it should update its list of ped hashes, which is not particularly optimal. I couldn't find any other way outside of modifying the config reading logic to include code specific to parsing ForcePed and not keeping it self-contained anymore though.

pongo1231 avatar Apr 12 '22 00:04 pongo1231