Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to switch off street lights #385

Open
ArranTuna opened this issue Sep 3, 2018 · 2 comments · May be fixed by #2989
Open

Ability to switch off street lights #385

ArranTuna opened this issue Sep 3, 2018 · 2 comments · May be fixed by #2989
Labels
enhancement New feature or request
Milestone

Comments

@ArranTuna
Copy link
Collaborator

ArranTuna commented Sep 3, 2018

This is a request from "zencro":

Is your feature request related to a problem? Please describe.

It's currently impossible to turn off the lights at night time.

Describe the solution you'd like

Perhaps a setAmbientLightingEnabled/toggleAmbientLighting()?

Describe alternatives you've considered

I checked to see if this is possible with shaders and it's not. Disabling coronastar makes the lampposts not shine, but it doesn't get rid of the actual light on the ground and also ends up disabling the stars and the sun. Maybe there's a more complex shader solution than that though.

I think a function that makes everything darker would be more useful than something that disables street lights because even with all the street lights removed the world is still way too bright at night time and the only way to get close to proper darkness is one of those super dark weathers. Though this is almost realistic dark:

crun setWeather(159)
crun setSkyGradient(0, 0, 0, 0, 0, 0)

Additional context

It's precisely for roleplay, and mainly for ambience. If a roleplay is set during a blackout, it would be nice to actually not have lights.

From https://bugs.mtasa.com/view.php?id=5543

@ArranTuna ArranTuna added the enhancement New feature or request label Sep 3, 2018
@patrikjuvonen patrikjuvonen changed the title Ability to switch off Street lights Ability to switch off street lights Sep 3, 2018
@samr46
Copy link
Contributor

samr46 commented Sep 5, 2018

I'm not sure if it's exactly what author wanted but it will be possible to disable street lights with a timecycle option from PL #276

Street lights off
image

Insane street lights
image

It doesn't affect other coronas (moon, sun, markers, etc.)
image

@qaisjp
Copy link
Contributor

qaisjp commented Sep 5, 2018

Neat, I've edited the issue to reflect that.

@botder botder added this to the Backlog milestone Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants