Jump to content

Question about lamp posts


FuriouZ

Recommended Posts

Unfortunately I doubt that is possible at the moment. You could of course always do the worst possible thing and go through all possible pixel targets on the screen and perform processLineOfSight for those, but that's the worst possible thing to do, so no. The way you could do something like that in MTA is to process all the possible light elements with shaders - if the intensity of this pixel is higher than something, then perform something cool for that. However, lights are not rendered that far so it would become a problem for shaders to know all that. So, I doubt you can (unless you get a team of people to create markers for each lamp post in San Andreas, that's also a way...)

I doubt it would be a major hyper extreme hard thing for the MTA team to develop a function to get all world objects of a specific model, so instead of going through all that trouble making markers for each lamp post I'd just wait until they add support for that.

Edited by Guest
Link to comment
Unfortunately I doubt that is possible at the moment. You could of course always do the worst possible thing and go through all possible pixel targets on the screen and perform processLineOfSight for those, but that's the worst possible thing to do, so no. The way you could do something like that in MTA is to process all the possible light elements with shaders - if the intensity of this pixel is higher than something, then perform something cool for that. However, lights are not rendered that far so it would become a problem for shaders to know all that. So, I doubt you can (unless you get a team of people to create markers for each lamp post in San Andreas, that's also a way...)

Okay, thanks :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...