Skip to content

Ability to switch off street lights #385

@ArranTuna

Description

@ArranTuna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions