Open 5harpness opened 3 years ago
"Prop Hunt" may be a slight misnomer, but I suppose the more accurate names would also be more boring.
The effect should probably pull from the list of nearby physical objects rather than have the selection be completely random. Random selection would require the code to contain references to all possible prop models, and that is probably too much work. A list of nearby physics objects is probably easier to obtain (as it's done anyway for various gravity-manipulation effects and whatnot, as well as gravity sphere and "teleport everything to player"), and the result could look more... natural. :P
Already been done https://github.com/gta-chaos-mod/ChaosModV/pull/2274
Name of effect Prop Hunt
Duration (choose one and replace the corresponding "[ ]" with "[X]")
Effect Description Replaces all nearby peds with random items (or, well, props). For example, turns a nearby ped into a flower pot, except it does so for all of the peds. Vehicles do not count (Unless you want them to). This would be hilarious to see in crowded areas and doesn't really have a negative effect on gameplay. If peds are in vehicles, the props spawn outside while the vehicles remain empty.