Page MenuHomeFeedback Tracker

Add support for scripted spotlights
Acknowledged, WishlistPublic

Description

While scripting does allow us to place lights, we can only place pointlights (#lightpoint), spotlights are currently not available via scripting.

The engine does support elaborate spotlights with all sorts of settings. These spotlights are used on vehicles and defined in the config. It is also possible to create modded lights via addons but nothing that compares to the flexibility that "#lightpoint" offers.

Details

Legacy ID
637811495
Severity
None
Resolution
Open
Reproducibility
Always
Category
Feature Request
Additional Information

Suggestion:

Either add a new object "#lightspot" or allow "#lightpoint" to be configured as spotlight.

Scripting commands to adjust "innerangle", "outerangle" and "conefadecoef" would also be required.

Event Timeline

Tajin edited Steps To Reproduce. (Show Details)Jun 17 2014, 11:01 AM
Tajin edited Additional Information. (Show Details)
Tajin set Category to Feature Request.
Tajin set Reproducibility to Always.
Tajin set Severity to None.
Tajin set Resolution to Open.
Tajin set Legacy ID to 637811495.May 7 2016, 6:46 PM

The game really lacks flexible lighting options, we don't even have the old search light any more.

It really needs some editions or scripting options so we can make our own.

Would be nice to be able to create spotlight type lights through scripting.
Creating believable lighting can't be achieved in many circumstances with just point lights.

Many are relying on solutions like creating and hiding objects which contain these lights to achieve believable effects.

Tilion confirmed the functionality exists in the engine in July 2013:
https://forums.bistudio.com/topic/146430-reflector-lights/#entry2372239