bttfhillvalley / vc-cleo-scripts

Source code for the cleo scripts (.cs) of the Vice City version of the Back to the Future: Hill Valley mod
2 stars 1 forks source link

useful injection point for lag-less coronas #6

Open HV-Leaf opened 1 year ago

HV-Leaf commented 1 year ago

" to register coronas attached to a vehicle without them lagging behind the vehicle, do it at the end of the game's CRenderer::PreRender function, specifically hooked at: Vice City US 1.0: 0x4CA25A This ensures that they are registered using the up-to-date position of the vehicle for this frame as vehicles and other entities have been processed before this point, but before coronas are rendered. "