Description:
Within the thirteenth modding tutorial video we construct a lamp mod from a road lamp from Felsbrunn.
As a lantern object, we use an object that we exported from the Felsbrunn map in episode 8.
There are some entries within the XML file which can be particularly required for a lamp.
<dayNightObjects>
<dayNightObject node=”0|1″ visibleDay=”false” visibleNight=”true” />
<dayNightObject node=”0|0″ intensityDay=”0″ intensityNight=”1″ />
</dayNightObjects>
The primary line with dayNightObject specifies that the sunshine supply is switched off throughout the day and switched on at night time.
The second line with dayNightObject specifies that the lightbulb is inactive throughout the day and seems vivid at night time.
Credit:
omatanaspielt