Difference between revisions of "Tutorial: Solar Panel"

From ARK Modding Wiki
Jump to navigation Jump to search
(First release)
 
Line 23: Line 23:
 
This solar panel will provide power during the day, if it's not build inside.
 
This solar panel will provide power during the day, if it's not build inside.
  
Additionally, the player can build batteries inside the solar panel's inventory, which allow the panel to charge during the day and discharge their energy at night when no sunlight is available.  Each battery extends the solar panel's power by 1 additional '''in-game''' hour.  Players will need to build enough batteries to survive the night, if they want uninterrupted power.
+
Additionally, the player can build batteries inside the solar panel's inventory, which allows the panel to charge the batteries during the day and discharge the batteries at night when no sunlight is available.  Each battery extends the solar panel's power by 1 additional '''in-game''' hour.  Players will need to build enough batteries to survive the night, if they want uninterrupted power.
  
 
The charging methodology is vary simple:  When night sets, the solar panel will count the number of batteries currently in it's inventory, and begin a countdown showing how much battery time is left.  Any battery added during the daytime is considered charged when night sets, but any batteries added at night will be ignored (since they have not been charged by sunlight).  Additionally, if batteries are removed at night, the timer will go down -- and if it hits zero, the solar panel will be out of juice and shut down until the sun rises the following morning.  =)
 
The charging methodology is vary simple:  When night sets, the solar panel will count the number of batteries currently in it's inventory, and begin a countdown showing how much battery time is left.  Any battery added during the daytime is considered charged when night sets, but any batteries added at night will be ignored (since they have not been charged by sunlight).  Additionally, if batteries are removed at night, the timer will go down -- and if it hits zero, the solar panel will be out of juice and shut down until the sun rises the following morning.  =)
  
 
Let's get started!
 
Let's get started!

Revision as of 05:44, 1 May 2018


Solar Panel Preview


Introduction

Hello there!

The theme of the 4th modding tutorial competition was to create a mod for "Space Day", which celebrates science and technology. In keeping with that theme RedDwarf (myself) and Pleasure have teamed up to build a working solar panel for ARK, completely from scratch. Pleasure created an excellent youtube video tutorial in which he shows how the solar panel model was constructed. And this tutorial that you're reading now will walk you through how to setup the solar panel so that it can be used in-game.

Click Here to watch the modeling tutorial by Pleasure!


Youtube link



The Plan!

This solar panel will provide power during the day, if it's not build inside.

Additionally, the player can build batteries inside the solar panel's inventory, which allows the panel to charge the batteries during the day and discharge the batteries at night when no sunlight is available. Each battery extends the solar panel's power by 1 additional in-game hour. Players will need to build enough batteries to survive the night, if they want uninterrupted power.

The charging methodology is vary simple: When night sets, the solar panel will count the number of batteries currently in it's inventory, and begin a countdown showing how much battery time is left. Any battery added during the daytime is considered charged when night sets, but any batteries added at night will be ignored (since they have not been charged by sunlight). Additionally, if batteries are removed at night, the timer will go down -- and if it hits zero, the solar panel will be out of juice and shut down until the sun rises the following morning. =)

Let's get started!