]> git.pond.sub.org Git - empserver/blob - info/Concepts/Autonav.t
Import of Empire 4.2.12
[empserver] / info / Concepts / Autonav.t
1 .TH Concept Autonavigation
2 .NA Autonav "Giving ships automatic sailing orders"
3 .LV Expert
4 In a very short while after acquiring ships the effort of moving ships after
5 every update gets very boring.  And the more ships you have, the more work
6 it is.  Hence the concept of autonavigation.  Like any self-respecting
7 dictator, you don't personally drive your ships around (except when you want
8 to), instead you command you ship captains to take their vessels to a
9 specified destination.  This is done via the \*Qorder\*U command.
10 .s1
11 Each ship can be ordered to proceed to a destination.  During each update,
12 the ship will try and use ALL the mobility it has and use the shortest
13 possible path.  It will also avoid any known mines (sectors marked
14 with an 'X' or 'x' on your bmap).  Note that this movement is all 
15 done before mobility is accumulated, so that after the update is
16 complete the ship will have a full updates worth of mobility
17 in case you need to move it by hand.  Should a ship be fired upon
18 by forts or strike a mine they will stop moving!  This will prevent
19 your ship from foolishly getting sunk in enemy waters.  The
20 \*Qorder\*U command covers many special cases.
21
22 .s1
23 The autonavigation capability is dependent upon the per country map database
24 accessed via the \*Qbmap\*U command.  If you order a vessel to a destination
25 that causes it to cross a previously unexplored area, the ship will attempt
26 to cross that area as if it were water.  One of the features of the bmap
27 functionality is that when a ship is navigated, it automatically uses its
28 radar to see the local sectors (much like real life).  This sector information
29 is added to the per country map database.  Thus upon running into a previously
30 unknown obstruction, that information is added to the map database and on the
31 next update, a new path to the destination will be calculated which avoids
32 the obstruction.  This process applied iteratively means that a ships will
33 eventually find its way around any obstruction, provided that a path exists.
34 In reality, this is a limit to this process.  In order to limit the processing
35 that is done to find a path to the destination, the internal path string is
36 limited to 28 characters.
37 .s1
38 The other capability of the autonav function is autotrading.  By specifying
39 two destinations and two commodities, the ship will move back and forth between
40 the two destination loading and unloading the appropriate commodities.
41 Specific examples can be found in the \*Qorder\*U info file.
42 .s1
43 The same rules for navigating, loading, and unloading apply for
44 Autonavigation as they do when you do these things by hand, namely
45 that you may only use harbours owned by nations which consider you to
46 be a friendly trading partner (see info relations).
47 .s1
48 .SA "navigate, order, Ships, Update"