Hello everyone!
When it comes to rockets in GTA V, they work great, HOWEVER, when it comes to rockets mounted on aircraft, there’s a pretty obvious problem:
LODS.
Context on Lods:
LOD means level of detail and it allows systems to render the GTA V map, vehicles, and entities ONLY when the player is near. This saves players from needing to have to render everything at once.
The problem:
Imagine a scenario where you want to conduct an airstrike from a long distance with a longrange missile.
Based on what you now know about LODS, when the missile strikes the ground, it will simply pass through because the collision and associated entities haven’t yet rendered. This is because the player’s not close to the entity yet. (hope this is clear)
This is problematic because you have to be close to the target in order to use your missiles, otherwise air-to-ground attacks become pointless.
Potential ideas:
When it comes to snipers, when zooming in on a far land, the entities and objects, vehicles, peds, etc all magically render.
This is due to something called “Focus” which allows the player to ‘render in’ the area in question allowing them to see everything clearly, and more importantly, HIT anything that can be hit.
More info here:
The question:
Since I need to be able to render a specific area of interest (based on where a launched missile is going, OR based on a static location), HOW can I allow for remote rendering of ‘areas of interest’ dynamically so that I can blow up a convoy, or take out a ped from a distance, or allow ped code to run while the player’s not necessarily nearby?
I may be missing something, so let me know if there are any natives, or if anyone has solved for a similar problem!
Cheers
-Wet