In the 13th modding tutorial video we build a lamp mod from a street 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 in the XML file that are specifically required for a lamp.
<dayNightObject node="0|1" visibleDay="false" visibleNight="true" />
<dayNightObject node="0|0" intensityDay="0" intensityNight="1" />
The first line with dayNightObject specifies that the light source is switched off during the day and switched on at night.
The second line with dayNightObject specifies that the lightbulb is inactive during the day and appears bright at night.
- 0 Likes
- 0 Comments
- 1956 Downloads
- 4 Downloads in
- 1 week ago