Difference between revisions of "Manual:Edit Node"

From VsWiki
Jump to: navigation, search
(Adding a Criteria Node)
(Adding a Chain Node)
Line 22: Line 22:
 
== Adding a Chain Node ==
 
== Adding a Chain Node ==
  
 
+
The last type of nodes are chain nodes. They refer to the solutions of other sources. Say you wrote a really great search which takes you from A to B. But you also wanted to see a path to C. You can use chaining to get a route from A to B to C. You use the destination of the first search as the start of the second search. Just pick the path to get the information from. Then select whether you want to copy the info from the source, destination or all points. In this case you would select destination. Then just press the Chain button to create the node. The all points option might seem confusing at first, but imagine you have an existing route named "GoodPath" set up, going from A to B, but you need to stop at a Bio_Diverse planet along the way to pick up some food. Create a new path with the source as a Chain Node by selecting "GoodPath" and the "All Points" option. Then use a regular Criteria Node as the destination. Now you have a second path that represents the route to the closest bio_diverse planet along the way. Sort of like finding the closest hotel from the highway when you are planning a long trip.
* [[Manual:Criteria Node|Criteria Node]]
 
* [[Manual:Chain Node|Chain Node]]
 

Revision as of 05:39, 14 March 2005

arrow_left.png Manual:Edit Node arrow_up.png Manual Manual:System Node arrow_right.png

CURRENTLY ONLY A COPY FROM THE FORUMS!!


To edit a node: So the node you are building is going to be in the bottom right box. There are three different classes of nodes, System, Criteria and Chain.

Adding a System Node

System nodes are the easiest. They map directly onto specific systems. If you want to use the current system (the current system always refers to the system your ship is in), just press the current button. The target system always refers to whatever system you are targeted on in the map. The last one will always refer to the system named on the button. It does not change once created. The system that is shown on the button though, is the last system you clicked on in the map.


Adding a Criteria Node

Criteria nodes are also easy. They do not refer to a specific system, like system nodes do, but rather they match up to any system meeting the criteria. The different criteria types are Owned By, Contains and Sector. When adding a criteria to the list type a value it should match. For example, if the node should match systems with Bio_Diverse planets, select Contains and type Bio_Diverse in the box. Press and to add it to the list. These lists are boolean so there are two commands you can use to add more criteria, And and Or. To add another criteria select the new criteria type and type in a value. Then select the existing criteria you wish to and/or off of and press either And or Or. Criteria can also be Not'ed by selecting an existing criteria and pressing the not button. This system allows you to match up against a system like this "Contains(Bio_Diverse) AND NOT( OWNED BY(aera) )" There's a lot of potential in these types of nodes. Note: Since these nodes are not referring to a specific system they cannot be applied as source nodes.

Adding a Chain Node

The last type of nodes are chain nodes. They refer to the solutions of other sources. Say you wrote a really great search which takes you from A to B. But you also wanted to see a path to C. You can use chaining to get a route from A to B to C. You use the destination of the first search as the start of the second search. Just pick the path to get the information from. Then select whether you want to copy the info from the source, destination or all points. In this case you would select destination. Then just press the Chain button to create the node. The all points option might seem confusing at first, but imagine you have an existing route named "GoodPath" set up, going from A to B, but you need to stop at a Bio_Diverse planet along the way to pick up some food. Create a new path with the source as a Chain Node by selecting "GoodPath" and the "All Points" option. Then use a regular Criteria Node as the destination. Now you have a second path that represents the route to the closest bio_diverse planet along the way. Sort of like finding the closest hotel from the highway when you are planning a long trip.