Difference between revisions of "Water"

From HIVE
Jump to navigation Jump to search
(Missing Pictures. I'll probably change the Data Editor method into the Water Module method later on.)
 
Line 1: Line 1:
 +
[[File:Water Highlights.jpg|320px|thumb|The Editor highlights the surrounding of the selected Water Type in the Water Panel.]]
 
This tutorial will explain how water works in [[GalaxyEdit]].
 
This tutorial will explain how water works in [[GalaxyEdit]].
 +
  
 
==How To Add Water==
 
==How To Add Water==
 +
In the Terrain Editor, you can press the ''droplet'' icon to access the "'''Water Panel'''". From there, you have the option to '''Add Water''' or '''Remove Water'''. On the following picture, you see the '''Add Water''' button pressed and the options is gives you.
  
After opening the map you are working on, switch to the terrain pallet by pressing the shortcut "'''T'''". Click the water drop icon to tab to the water pallet. It should bring up two buttons asking you to add water or remove water. We want to '''Add Water''', so click the add button and select a water type.
+
[[File:Water Panel.png]]
 
 
[[
 
 
 
For this tutorial, we'll be using the Redstone lava water type. Placing the default water types, places it in '''8x8 blocks''' at a '''height 9.0'''. <span style="color:#FF0000">Unfortunately, as of Patch 1.1, we cannot modify the size of the Water Brush.</span>
 
 
 
[[
 
 
 
Place some more blocks of water until you have a large enough area to map in. Add some land via the raise and lower terrain tool. You can also use cliffs if you so desire. Now for the "tutorial map", we'll want to have a "mini volcano" so here is a carefully created land that covers the entire middle 8x8 water block.
 
:'''NOTE''': There are no middle block of lava.
 
 
 
[[
 
 
 
==Create Custom Water==
 
We want the middle lava to be lower than the rest. To achieve such a thing, we're going to create a custom water tile and change its height. Open up the [[Data Editor]] and bring up the '''Water tab'''.
 
 
 
[[
 
 
 
Right click on the left pane anywhere and do '''Add New Object'''. Title your new lava to whatever you want and make sure you base it off the water type that you want.
 
 
 
[[
 
 
 
Now go back into the terrain editor, bring up the water tab and add your new custom water in the area that you desire. Make sure to press "'''Refresh Train Objectives'''" to see the updated water.
 
 
 
[[
 
 
 
==Changing the Water's Height In Editor==
 
To change the height of the water, we need to go back into the Data Editor and select the state field that is on the right.
 
 
 
[[
 
 
 
This should open up the water state panel with lots of custom values. For this tutorial I will be just modifying the height, making it slightly lower to 8.7.
 
  
[[
+
Those option-buttons represent every different '''[[Water Types|Water Type]]''' you can place. Once you've selected one of them, you can place it in your map.
  
Now, to add a new water height/state you want to right click on pane on the left and click "'''Add Water State'''" button.
+
Note that you can unfortunately only place '''8x8 blocks''', and unless you modify the default Height value a Water Type, you'll place it at a Height of '''9.0'''.
:'''NOTE''': You have to have the water added in the map to be able to create new water states. For this new state, the color back to the red of the lava was changed so its height value is of 10.
 
  
[[
+
In order to shape you newly placed water block, you'll have to use the '''Raise''' option of the '''Height''' Terrain Brush to draw some elevation surrounding it.
  
Click ok and go look at your terrain. You should see differences if you changed the height of the default value.
+
==How To Remove Water==
 +
If you take a look back at the Water Panel's image, you'll see the '''Remove Water''' button just to the right of the '''Add Water''' one. Once it is selected, you can just left-click anywhere on a block of water to remove it.
  
[[
+
==Custom Water==
 +
[[File:Lava Cratter.jpg|320px|thumb|Just a quick example-draw that shows how you can use the Height property.]]
 +
In the Water Panel, you can select any Water Type and press the "'''Edit Water'''" button to customize its properties.
  
 +
[[File:Water Properties.png]]
  
==Credits==
+
As you can see, you can either decide to edit the Default water, or create an '''Alternate Setting'''. Creating a Water State requires you to use the '''Set Water State''' [[trigger]] action to apply it in-game.
*[http://www.udmod.com/showthread.php?657-Water-Everything-You-Need-To-Know&p=8445&viewfull=1#post8445 '''Coldrocker''' from Unconfessional Design's community]
 
  
  
Line 55: Line 29:
 
*[[Changing Water Height In Game]]
 
*[[Changing Water Height In Game]]
 
*[[Detecting if a unit is in water]]
 
*[[Detecting if a unit is in water]]
 +
 +
[[Category:StarCraft II]]
 +
[[Category:Terrain]]
 +
[[Category:Reference]]

Revision as of 05:15, 26 November 2010

The Editor highlights the surrounding of the selected Water Type in the Water Panel.

This tutorial will explain how water works in GalaxyEdit.


How To Add Water

In the Terrain Editor, you can press the droplet icon to access the "Water Panel". From there, you have the option to Add Water or Remove Water. On the following picture, you see the Add Water button pressed and the options is gives you.

Water Panel.png

Those option-buttons represent every different Water Type you can place. Once you've selected one of them, you can place it in your map.

Note that you can unfortunately only place 8x8 blocks, and unless you modify the default Height value a Water Type, you'll place it at a Height of 9.0.

In order to shape you newly placed water block, you'll have to use the Raise option of the Height Terrain Brush to draw some elevation surrounding it.

How To Remove Water

If you take a look back at the Water Panel's image, you'll see the Remove Water button just to the right of the Add Water one. Once it is selected, you can just left-click anywhere on a block of water to remove it.

Custom Water

Just a quick example-draw that shows how you can use the Height property.

In the Water Panel, you can select any Water Type and press the "Edit Water" button to customize its properties.

Water Properties.png

As you can see, you can either decide to edit the Default water, or create an Alternate Setting. Creating a Water State requires you to use the Set Water State trigger action to apply it in-game.


See Also