home *** CD-ROM | disk | FTP | other *** search
/ Más de 2,500 Juegos / CD3.iso / zipdat / 2617 / 2617.txt next >
Encoding:
Text File  |  1992-01-30  |  16.0 KB  |  424 lines

  1.                                  Rbot v1.2
  2.                                   "Bot 2"
  3.                               (C)  1991, 1992  
  4.                               Ed T. Toton III
  5.                             All rights reserved
  6.                              6/26/91, 01/30/92
  7.                               
  8.  
  9.  
  10. Part 1:    [Introduction and apology/clarification]
  11.  
  12.   Welcome to Rbot, Bot 2. This is a program in which you design robots to
  13. compete against other robots. You will find it best to get at least one or
  14. two friends together to play as well, and have everyone see who can make the
  15. best robot, or perhaps the one that does the best in team games or
  16. free-for-all's. At anyrate, I hope you enjoy it.
  17.   I want to apologize now for a little problem with the whole thing. Below
  18. is a listing of all of the program codes. I don't think I explained it too
  19. well, so as clarification, read this:
  20.  
  21.                                  All the program commands have several
  22.                                different codes with which to use them.
  23.                                Which code you use determines the direction
  24.                                that the robot's program cursor will move
  25.                                after the command is completed. U,D,L,R mean
  26.                                up,down,left,right respectively. The 'IF'
  27.                                commands always pass the cursor down or to
  28.                                the right. Which one of those 2 is determined
  29.                                by whether the condition it's checking for
  30.                                is true or not, and which code you used. The
  31.                                program cursor always starts at 1,1.
  32.  
  33.  
  34.  
  35. Part 2:    [program codes]
  36.  
  37. PROGRAM CODES:
  38.   Under each command listed below are the number codes that are put into
  39. the programs. The program operates as a flow-chart. The different codes
  40. under the same heading tell it which way to move the program cursor after
  41. executing that instruction. The letters U,D,L,R mean up, down, left, right
  42. respectively.
  43.  
  44.     NOTE- Long programs may work well but they will run much more slowly.
  45.        Also, if the program is instructed to go to a program element
  46.        that has the number 0, it will return to the upper-left corner (1,1).
  47.        It will go to the upper-left if the program cursor is sent off
  48.        the side of the program also.
  49.        See the sample program at the end of this file.
  50.  
  51. ATTACK:   (Attacks the enemy. Note that the enemy must be in the space
  52.  U: 1      directly in front of the robot)
  53.  R: 2     NOTE-Multiple attacks in large loops has a disadvantage. Every
  54.  D: 3     successive element that is an attack will decrease your attack
  55.  L: 4     strength by 1 (normal damage=1 to 5). However, a non-attack
  56.           program element will reset you to full strength.
  57.  
  58. MOVE:     (Moves the robot one space forward)
  59.  U: 5
  60.  R: 6
  61.  D: 7
  62.  L: 8
  63.  
  64. TURN LEFT:   (Turns robot left 90 degrees)
  65.  U: 9
  66.  R: 10
  67.  D: 11
  68.  L: 12
  69.  
  70. TURN RIGHT:  (Turns robot right 90 degrees)
  71.  U: 13
  72.  R: 14
  73.  D: 15
  74.  L: 16
  75.  
  76. RANDOM TURN:  (Turns robot 90 degrees left or right)
  77.  U: 17
  78.  R: 18
  79.  D: 19
  80.  L: 20
  81.  
  82. CONNECTOR:     (Simply acts as a bridge for the program cursor. Note that
  83.  U: 21          This is one of the only program elements that doesn't slow the
  84.  R: 22          robot down)
  85.  D: 23
  86.  L: 24
  87.  
  88. RANDOM SPIN:   (Turns robot to a random facing. Note-There is a 1/4 chance
  89.  U: 25          that the robot will remain facing the same direction)
  90.  R: 26
  91.  D: 27
  92.  L: 28
  93.  
  94. OVERBURN ON:   (Turns robot to overburn status)
  95.  U: 29
  96.  R: 30
  97.  D: 31
  98.  L: 32
  99.  
  100. OVERBURN OFF:  (Turns robot off from overburn status)
  101.  U: 33
  102.  R: 34
  103.  D: 35
  104.  L: 36
  105.  
  106. OVERBURN TOGGLE:   (Turns robot overburn to on if it's off and
  107.  U: 37              vice versa)
  108.  R: 38
  109.  D: 39
  110.  L: 40
  111.  
  112. SIDESLIP 'L':      (Moves robot diagonally forward and left)
  113.  U: 77
  114.  R: 78
  115.  D: 79
  116.  L: 80
  117.  
  118. SIDESLIP 'R':      (Moves robot diagonally forward and right)
  119.  U: 81
  120.  R: 82
  121.  D: 83
  122.  L: 84
  123.  
  124. NOTES ON OVERBURN:  Overburn, when on, will allow the robot to do double
  125.    damage when attacking and triple damage when self-destructing. When
  126.    doing this, however, the robot overheats. It's memory curcuits don't
  127.    function normally at these temperatures, thus everytime the robot attacks
  128.    with overburn on, 1 randomly chosen program element will be given a
  129.    random code.
  130.  
  131. DESTRUCT:
  132.   99      (Self destructs robot. Does up to 3 times the damage of a normal
  133.            attack to all within 1 space)
  134. RANDOM:
  135.   100  (This only has one code. It will randomly select to go down or right
  136.         in the program)
  137.  
  138. GOTO:     (Sends program cursor to a specified location in x,y format)
  139.   111-269      NOTE-This (like connectors) will not slow the robot.
  140.                  Also, Not all these numbers are used. The equation
  141.                  for what code is as follows:  100 + (10 * x) + y
  142.  
  143. NOTES ON CONNECTORS/GOTOS: Connectors and gotos normally don't slow the robot
  144.   because they don't count as a function. However, ten of them in a row will!
  145.  
  146. IF STATEMENTS:
  147.   (These only pass the cursor down and right.
  148.   In each case, 2 codes are given.
  149.   In the first, yes goes right and no goes down.
  150.   In the second, no goes right and yes goes down.)
  151.  
  152.  OVERBURN ON:   (Detects if overburn has been activated)
  153.    42, 43
  154.  
  155.  ARMOR <= 5%:   (Detects if armor is less than or equal to 5 percent)
  156.    44, 45
  157.  
  158.  ARMOR <= 10%:   (Detects if armor is less than or equal to 10 percent)
  159.    46, 47
  160.  
  161.  ARMOR <= 25%:   (Detects if armor is less than or equal to 25 percent)
  162.    48, 49
  163.  
  164.  ARMOR <= 50%:   (Detects if armor is less than or equal to 50 percent)
  165.    50, 51
  166.  
  167.  ENEMY HERE:   (Detects if an enemy is in the space in front of the robot)
  168.    52, 53
  169.  
  170.  ENEMY THERE (F): (Detects if an enemy is in front of the robot)
  171.    54, 55
  172.  
  173.  ENEMY THERE (L): (Detects if an enemy is left of the robot)
  174.    56, 57
  175.  
  176.  ENEMY THERE (R): (Detects if an enemy is right of the robot)
  177.    58, 59
  178.  
  179.  OBSTACLE (F):  (Detects if an obstacle is in the space in front of the robot)
  180.    60, 61
  181.  
  182.  OBSTACLE (L):  (Detects if an obstacle is in the space left of the robot)
  183.    62, 63
  184.  
  185.  OBSTACLE (R):  (Detects if an obstacle is in the space right of the robot)
  186.    64, 65
  187.  
  188.       NOTE-The walls of the arena count as obstacles!
  189.  
  190.  FRIEND HERE:   (Detects if a friend is in the space in front of the robot)
  191.    66, 67
  192.  
  193.  FRIEND THERE (F): (Detects if a friend is in front of the robot)
  194.    68, 69
  195.  
  196.  FRIEND THERE (L): (Detects if a friend is left of the robot)
  197.    70, 71
  198.  
  199.  FRIEND THERE (R): (Detects if a friend is right of the robot)
  200.    72, 73
  201.  
  202. NOTE- The enemy detectors will not see robots that have the same team number,
  203.    In other words, robots on the same team are invisible to each other unless
  204.    the friend detectors are used by the robot.
  205.  
  206.  
  207.  
  208. SAMPLE PROGRAM:
  209.  
  210.   The default program:
  211.  
  212.     1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16:
  213.  
  214. 1:  61  53   7   0   0   0   0   0   0   0   0   0   0   0   0   0
  215.  
  216. 2:  17   1   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  217.  
  218. 3:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  219.  
  220. 4:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  221.  
  222. 5:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  223.  
  224. 6:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  225.  
  226. 7:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  227.  
  228. 8:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  229.  
  230. 9:   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
  231.  
  232.  
  233.  
  234. NOTE- This program is the default for the robots.
  235.       All robot programs must have the extension '.RBT'
  236.  
  237.  
  238.         We apologize if this is confusing, this program and this
  239.         text file assume a certain level of knowlege, you can
  240.         probably figure out how the thing works if you play around
  241.         with it and have a printout of the above program codes
  242.         available to you... Also, you may want to dissect the
  243.         robots that come with this game.
  244.  
  245.  
  246.  
  247.  
  248.  
  249. Part 3:    [differences between Rbot and Bot]
  250.  
  251.   Rbot now takes full advantage of the VGA graphics system, unfortunately it
  252. restricts usage to only those who actually have a VGA or EGA (Bot worked on
  253. EGA, MCGA, and VGA). Rbot colors the entire robot for ID purposes (Bot only had
  254. a colored nob on top of the robot). Rbot allows for a wide variety of maps,
  255. Bot had maps that were 24x15, Rbot allows them to be anywhere from 10x10 all
  256. the way up to 50x35. Rbot has alot of those 'annoying tid-bits' cleaned up.
  257. One major change: For robots that used overburn, they had to be reloaded after
  258. each battle in order to re-use them because they would get ruined. Rbot saves
  259. them in temp files and reloads them after the battle for you. However, if
  260. you want to look and see what happened to them, it won't reload them until
  261. you leave the 'after-battle menu', where you can view all of the robots.
  262. Another improvement is that you don't design just the program, but also the
  263. hard-ware that the robot is equipped with. And you can still load your old
  264. BOT programs, they are given standard settings for the hard-ware, and will
  265. perform exactly the same in the arena as they did before. Rbot is also
  266. equipped with a map editor (mapedit.exe). With this you can either change the
  267. existing maps or create your own. Rbot is now written in Pascal 5.5 as
  268. opposed to Quick-Basic 4.5 (like Bot). This allows for smaller program size
  269. and faster execution.
  270.  
  271.   These are most of the major changes. If there are any others I have forgotten
  272. (and I'm sure there are), I apologize.. and they should become apparent very
  273. quickly.
  274.  
  275.  
  276.  
  277.  
  278. Part 4:    [explanation of technology]
  279.  
  280.   The story etc...
  281.  
  282.   Each robot is about 5 feet long and usually weigh roughly 3200 pounds. Each
  283. coordinate-box on the map is about 6 feet across (which makes some arenas as
  284. large as 300x210 feet).
  285.   The robots are equipped with a variety of weapons. Some have thrust-blades,
  286. others are epuipped with claw-arms. The most common weapon however is the
  287. plasma-blaster. It has a range just as short as the other weapons, and is
  288. very effective. Class 1 weapons tend to be blades, class 2's are usually
  289. claws, and class 3's and up are different sized plasma-blasters.
  290.   Many types of locamotion are available as well, including treads, wheels,
  291. hover-pods, and legs (the most common). These all have the same basic effect
  292. in the game since the robots are more limited by there program than type
  293. of propulsion. Thus it's not even an option in the robot-editor.
  294.   Armor tends to be dura-plast. Dura-plast is a very strong plastic-like
  295. material. It's cheaper to produce and has the same effect as sheet-metal.
  296. But some wealthy competitors prefer metal just for that reason.
  297.   There are a couple of different construction designs for the chassis.
  298. The lighter ones tend to have more dead-air space inside and thus tend to
  299. act as insulation. Though they allow you to carry more, they also tend
  300. to trap heat in. This can be very dangerous considering that the brains
  301. of the robots don't operate well when hot (as you will find out).
  302.   All robots are equipped with demolition charges. The standard is 2. They
  303. are all made of an electrically-detonated material. Some robots have been
  304. designed with the suicide-tactic in mind where everything on the robot is
  305. stripped off in favor of explosives.
  306.   Every robot is equipped with at least one heat-sink. Heat sinks are the
  307. heat-exchangers for the robot. Note that the effect of them is cancelled by
  308. insulating chassis. Heat is one of your two main enemies!
  309.   The other main enemy to your robot design is weight. If you go over the
  310. suggested maximum weight, the robot will be hindered in it's walking. The
  311. farther up the weight goes, the less often the robot will be able to move,
  312. until eventually it can't move at all. It's ability to turn is also effected,
  313. but not as much as movement. It too will be completely impossible if the
  314. robot gets too heavy.
  315.  
  316.  
  317.  
  318.  
  319. Part 5:    [warnings, suggestions, etc]
  320.  
  321.   Warning!  Know what file names things have and know how to spell them
  322.             BEFORE trying to type them in!! If you spell it wrong the program
  323.             will crash and dump you into dos!
  324.  
  325.   Suggestion:  File names should be only 3 or 4 letters long. This will
  326.                decrease your chances of mispelling them, and they'll be
  327.                easier to remember. I have made several robots in series
  328.                example:   EXP1, EXP2, and so on..  (EXP=Experiment)
  329.                           FAS1, FAS2....           (FAS=Fast)
  330.  
  331.   Caution:  Rbot (unlike it's predecessor, Bot) does not support MCGA.
  332.             Only VGA and EGA will work. Also, the maximum map size for EGA
  333.             users is 50x26 (as opposed to the afore mentioned 50x35, which
  334.             is available only to VGA users). If you are using EGA and you
  335.             load a map larger on the Y axis than 26, it will be cut short
  336.             so that it will fit on your screen.
  337.  
  338.  
  339.  
  340.  
  341. Part 5:    [closure and credits and legal stuff]
  342.  
  343.   I thank you for using this program. I hope you enjoy it. If you have any
  344. suggestions/criticism/remarks/donations/complaints, please send them to:
  345.  
  346.           Ed T. Toton III
  347.         7101  Talisman Lane
  348.         Columbia MD,  21045
  349.  
  350.  
  351. NOTICE:
  352.  
  353.    This program is being distributed on the "shareware" concept. It is by
  354. no means completely free. If you think the program is of use to you, please
  355. send a registration fee of $5. If you think that is rediculous, then send 
  356. less (or more for that matter). If you hate the program or found too many 
  357. bugs, write me and tell me, and include a graphic explanation (but don't 
  358. be too harsh!! Heheheh). In any event, write to:
  359.  
  360.                            Ed T. Toton III
  361.                          7101  Talisman Lane
  362.                           Columbia Md 21045
  363.  
  364.  
  365.       And WHY should you register it?
  366.         1.  To support my continuing efforts to bring you some level of
  367.              functional programs. If I get no cash, you get no improvements
  368.              in these programs, and I won't be encouraged to make new and
  369.              better software!
  370.         2.  To get that warm glow for knowing that you supported the author 
  371.              of at least one of the many shareware programs you probably use.
  372.         3.  To find out if there is a newer version. All you need to do is 
  373.              ask! But letters with money take priority!
  374.         4.  You could be sick and demented and thus register everything you
  375.              get your hands on.
  376.         5.  To get anything else this program may entitle you to.
  377.              (some of my programs will have the source code available,
  378.               or additional data files to enhance your life).
  379.  
  380.  
  381.  
  382. DISCLAIMER:
  383.  
  384.    This program is provided "AS IS" and I make no gauruntees about it's
  385. performance. I will not be and can not be held responsible for any damages 
  386. incurred during it's use. It's on a "use at your own risk" basis. Nothing 
  387. at all should happen, the program is harmless, but I have to say it anyway.
  388.  
  389.  
  390.  
  391. COPYRIGHT:
  392.  
  393.    This program may be freely distributed (which is actually encouraged) 
  394. AS IS. No one may modify this program in ANY way. ESPECIALLY where names
  395. and credit is given, and INCLUDING all the documentation and data files. 
  396. It may NOT be used for comercial or profit-turning ventures of any kind, 
  397. including sale by disk vendors, without the written consent by ME, with 
  398. ONE exception. Disk vendors MAY sell it without my written consent ONLY
  399. if they charge no more than $5 higher then the cost of the disk, AND they 
  400. register it first. NOTHING may be added to it either. NO BBS ads are 
  401. allowed EXCEPT as zip comments, or as a single SEPERATE text file.
  402.  
  403.  
  404.  
  405.  
  406.  
  407. Special thanks to:
  408.  
  409.           Kenneth B. Foreman
  410.                   &
  411.            Jeremy Kusnetz
  412.  
  413.                 (for their helpful thought-provoking comments,
  414.                 their suggestions and support, and for their
  415.                 de-bugging help. Also for their patience.....)
  416.  
  417.  
  418.  
  419.  
  420.                               Ed T. Toton III
  421.                              Rbot v1.2 "Bot 2"
  422.                              6/26/91, 01/30/92
  423.  
  424.