Friday, 11 November 2011

30 second light test

This is just a test to get the lights to turn on/off when an entity enters or leaves a specific area





I'm having great difficulty in trying to set/change the ColorMultiplier property from 0 (which would make the light entity dark/off) to any other number. At the moment I'm trying to create a light which progressively glows brighter as you stand in a certain area as opposed to the light flicking on to maximum brightness instantly. The only way I can figure out how to do this is to progressively change the 'ColorMultiplier' settings of the light entity from 0 upwards up to 10. The property value is a "Float" type and that is why the property name is listed as fColorMultiplier as opposed to just ColorMultiplier in the node. Despite the node having it's properties listed correctly (I've experimented with this kind of entity:SetProperty node before with great success), the light entity does nothing when activated in-game. The node/property in question is the two nodes on the far right of the screenshot.

No comments:

Post a Comment