File: tut013.map.en_EN

package info (click to toggle)
asc 2.6.1.0-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 81,740 kB
  • sloc: cpp: 158,704; sh: 11,544; ansic: 6,736; makefile: 604; perl: 138
file content (20 lines) | stat: -rwxr-xr-x 1,402 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
map = asc.getLoadingMap() 
--- ===== Event 1  ======= 
message = [[Production Level 2 "Economy"

Unless you specify otherwise, newly produced units will automatically be filled with ammo, fuel and (if possible) material. 

This is not always what you really want. If you build a transport for example to fetch material from somewhere, then this transport should not leave the factory loaded to the brink with precious material.

Another example would be an ammo transport: if you don't have any units on the battle field that need cruise missile, then you don't need to build these rather costly pieces of weaponry. Or you only need cannon shells at the front and there is a high risk that the ammo transport will be shot down. Then you want to make the trip with only the least possible value on board.

To manage that, you have two checkboxes "Fill with Resources" and "Fill with Ammo" in the production window.

Try to build a ammo transport in this map. The red cost values show that you don't have sufficient resources to build a fully equipped ammo transport.

If you deactivate the "Fill with Ammo" option, you will be able to build the transport. You can then equip the unit with individual types and amounts of ammo through the "refuel dialog".

To continue the tutorial, step onto the red field.
The green field will lead back to base camp.]]
asc.setLocalizedEventMessage( map, 1, message )