Module Ref


SECTION BRIEF - This section details the operation of the Cybertank Test Module (CTM).


The Cybertank Test Module (CTM) displays all instructions during a battle simulation instead of the instrument panel shown using the Combat Simulation Module (CSM). Instructions are viewed one at a time and you can observe the internal status of a cybertank to track its reaction to a specific command or situation. Instructions are viewed and tested in Trace Mode. Various cybertank status registers can be edited in Status Mode.
To use the CTM, select TEST A CYBERTANK from the DESIGN menu. The File Retrieval Panel (FRP) will appear. Highlight the desired simulation design and select the LOAD button. You are transferred to the CTM. After the OSI/CACD loads the specified cybertanks and battlefield, the testing will begin.


At the start of the simulation, the Battlefield Display Area shows, the cybertank selected as the "Primary Tank” in the center of the display area. To view the other cybertanks, use the Cybertank Selection Keys. The next cybertank is centered in the Battlefield Display Area with the name of the cybertank appearing directly below the display area. If a crater or destroyed cybertank is displayed in the center of the area, that cybertank has been destroyed.
To Pause the action, press the PAUSE key. press it again to resume the simulation.
The locations of the SELECTION and PAUSE keys can be found in the OSI/CACD System 2 Reference Card.


The options below are accessed from the Debugger menu.
  • RESTART is used to start the current simulation over again.
  • SATELLITE VIEW provides an overhead view of the battlefield as seen from the OSICOM I satellite. The entire battlefield is shown with the cybertanks appearing as flashing blips. When viewing the Satellite transmission, you can observe all the cybertanks’ actions. To exit the satellite view, press any key or click the mouse or joystick button.
  • SOUND ON toggles your terminal’s speakers on and off, With the speaker off, the simulation speed is increased.
  • TRACE MODE ON toggles between Trace Mode and the AI status Mode (see Sections 5.4 and 5.5, respectively). The default setting is Trace Mode, which is represented by a check-mark preceding the TRACE MODE ON option.
  • EXIT exits the CTM and transfers you back to the ECM.


Diagram 5.4 represents the screen displayed when AI Trace Mode is activated (details in Al and terrain may vary). Trace Mode is used to observe specific instructions during a simulation and their effect on the selected cybertank.

Diagram 5.4 - Cybertank Test Module (CTM)

When the CTM is in Trace Mode, the display area on the right side of the screen shows the cybertank’s AI. The upper Part of this display area shows the cybertank number and name, and the Label of the section of Al currently being executed. The lower part of this display area shows the cybertank’s “thoughts.” lt should be pointed out that only the AI of the tank selected as the Primary Tank in the Simulation Design Module (SDM) can be shown. For security reasons, the AI of all other tanks in the simulation cannot be shown.
A great deal can be learned by watching a cybertank’s behavior on the battlefield while examining its AI being processed. Trace Mode allows you to see the cybertank’s commands as they are being processed.
Press the PAUSE key to halt execution of the AI. The PAUSE key works the same way in the CTM as it does in the CSM. That is, pressing it toggles the pause mode on and off. See the OSI/CACD System 2 Reference Card to determine the PAUSE key for your particular terminal type. When the test is paused, pressing the STEP key causes the test to run just tong enough to process one CCL command, after which the test remains paused. This allows you to examine the Al and its effects one command at a time. This feature is known as single stepping. To determine the STEP key for your particular terminal type, see the OSI/CACD System 2 Reference Card.
To return execution to full speed, press the PAUSE again.
By watching a cybertanks Al, you can gain a great deal of insight into logic and cybertank control. For example, if you are experiencing problems with a firing routine (ex. routine named ‘SHOOTIT”), then let the AI execute at full speed until you see the label "SHOOTIT" displayed. Press the PAUSE key to halt execution and then single-step through the firing routine to examine the execution of the AI instructions closely.


Diagram 5.5 represents the screen display for the Status Mode. Use this mode to change the various cybertank status registers.

Diagram 5.5 - AI Edit Mode

The entries on the right side of the screen represent the values of various System and User Variables. Several different screens (pages) are used to show the status of your cybertank, due to the many variables possible. Use the Cybertank Status Page Keys tree the OSI/CACD System 2 Reference Card) to scan the available pages.
The table below lists all of the entries which can be changed along with their respective System variable name:
Page 1 Fuel Left FuelLevel
  Direction TankDir
  X Location TankX
  Y Location TankY
  Type ObstacleType
  X Location ObstacleX
  Y Location ObstacleY
  Distance ObstacleDist
  Internal IntDamage
  Armor ArmorDamage
  Treads TreadDamage
  Scanner ScanDamage
  Weapon WeapDamage
Page 2 Direction ScanDir
  X Location EnemyX
  Y Location EnemyY
  Distance EnemyDist
  Type ObjType
  X Location ObjX
  Y Location ObjY
  Distance ObjDist
  X Location EnemyHQX
  Y Location EnemyHQY
  Distance EnemyHQDist
Page 3 Ally Number AllyNum
  Code Received AllyCode
  X Location AllyX
  Y Location AllyY
  Distance AllyDist
  X Location AllyEnemyX
  Y Location AllyEnemyY
  Distance AllyEnemyDist
  Direction AllyEnemyDir
Page 4 Ally Number CopyNum
  Code Received CopyCode
  X Location CopyX
  Y Location CopyY
  Distance CopyDist
  X Location CopyEnemyX
  Y Location CopyEnemyY
  Distance CopyEnemyDist
  Direction CopyEnemyDir
Page 5 Repair Kits KitsLeft
  Launchers RemotesLeft
  XY Distance XYDist
  Random # RandomNum
  X Location AllyHQX
  Y Location AllyHQY
Pages six and higher list all the User Variables in the Cybertank’s AI. All User Variables can be edited.
To change the value of a System or User Variable, halt execution (see Section 5.2) using the PAUSE key. If you are using a mouse or joystick, simply click on the register you wish to change and it becomes highlighted. If you are using the keyboard, please refer to the OSI/CACD System 2 Reference Card to determine the appropriate keys to use to highlight the various status registers. Once you have highlighted the variable you want to edit, Simply Use the keyboard to enter the new value and press RETURN. Your cybertank then reflects the new status. If you enter an illegal value or attempt to select a variable which cannot be changed, a beep is generated and the highlight bar move to the first entry on the page which can be edited.

Toadstool's Home | Contact © 2003 Toadstool's Game Shrines. All Rights Reserved.