📄 atc.6
字号:
.RSHave the plane circle (clockwise by default)..RE.RS.B "\- l Left:".RSCircle counterclockwise..RE.B "\- r Right:".RSCircle clockwise..RE.RE.B "\- t Turn:".RSChange direction..RE.RS.B "\- l Left:".RSTurn counterclockwise (45 degrees by default)..RE.RS.B "\- <dir> Direction:".RSTurn ccw the given number of degrees.Zero degrees is no turn. A ccw turnof -45 degrees is 45 cw..RE.RE.B "\- r Right:".RSTurn clockwise (45 degrees by default)..RE.RS.B "\- <dir> Direction:".RSSame as turn left <dir>..RE.RE.B "\- L Left 90:".RSTurn counterclockwise 90 degrees..RE.B "\- R Right 90:".RSTurn clockwise 90 degrees..RE.B "\- <dir> Direction:".RSTurn to the absolute compass heading given.The shortest turn will be taken..RE.B "\- t Towards:".RSTurn towards a beacon, airport or exit. The turn isjust an estimate..RE.RS.B "\- b/* Beacon:".RSTurn towards the beacon..RE.RS.B "\- [0-9] Number:".RSThe beacon number..RE.RE.B "\- e Exit:".RSTurn towards the exit..RE.RS.B "\- [0-9] Number:".RSThe exit number..RE.RE.B "\- a Airport:".RSTurn towards the airport..RE.RS.B "\- [0-9] Number:".RSThe airport number..RE.RE.RE.RE.RE.SS THE DELAY COMMAND.LPThe .B Delay(a/@)command may be appended to any .B Delayable command. It allows the controller to instruct a plane to do an actionwhen the plane reaches a particular beacon (or other objects in futureversions)..sp.RS.B "\- a/@ At:".RSDo the given delayable command when the plane reaches the given beacon..RE.RS.B "\- b/* Beacon:".RSThis is redundant to allow for expansion..RE.RS.B "\- [0-9] Number:".RSThe beacon number..RE.RE.RE.RE.SS "MARKING, UNMARKING AND IGNORING".LPPlanes are .B markedwhen they enter the arena. This means they are displayed in highlightedmode on the radar display. A plane may also be either .B unmarkedor.B ignored.An.B unmarkedplane is drawn in unhighlighted mode, and a line of dashes is displayed inthe command field of the information area. The plane will remain thisway until a mark command has been issued. Any other command will be issued,but the command line will return to a line of dashes when the commandis completed. .LPAn.B ignoredplane is treated the same as an unmarked plane, except that it willautomatically switch to .B markedstatus when a delayed command has been processed. This is useful ifyou want to forget about a plane for a while, but its flight path hasnot yet been completely set..LPAs with all of the commands, marking, unmarking and ignoring will take effect at the beginning of the next update. Do not be surprised if the plane doesnot immediately switch to unhighlighted mode..SS EXAMPLES.RS.TP 16atlab1a: turn left at beacon #1.TP 16ccC: circle.TP 16gtte4ab2g: turn towards exit #4 at beacon #2.TP 16ma+2m: altitude: climb 2000 feet.TP 16stqS: turn to 315.TP 16xix: ignore.RE.SH "OTHER INFORMATION".LPJets move every update; prop planes move every other update..LPAll planes turn a most 90 degrees per movement..LPPlanes enter at 7000 feet and leave at 9000 feet..LPPlanes flying at an altitude of 0 crash if they are not over an airport..LPPlanes waiting at airports can only be told to take off (climb in altitude)..SH "NEW GAMES".LPThe .B Game_Listfile lists the currently available play fields. New field descriptionfile names must be placed in this file to be 'playable'. If a playerspecifies a game not in this file, his score will not be logged..LPThe game field description files are broken into two parts. The firstpart is the definition section. Here, the four tunable game parametersmust be set. These variables are set with the syntax:.IPvariable = number;.LPVariable may be one of: .B update,indicating the number of seconds between forced updates;.B newplane,indicating (about) the number of updates between new plane entries;.B width,indicating the width of the play field; and.B height,indicating the height of the play field..LPThe second part of the field description files describes the locationsof the exits, the beacons, the airports and the lines.The syntax is as follows:.IPbeacon: (x y) ... ;.brairport: (x y direction) ... ;.brexit: (x y direction) ... ;.brline: [ (x1 y1) (x2 y2) ] ... ;.LPFor beacons, a simple x, y coordinate pair is used (enclosed in parenthesis).Airports and exits require a third value, a direction, which is oneof .B wedcxzaq.For airports, this is the direction that planes must be going to takeoff and land, and for exits, this is the direction that planes will goingwhen they.B enterthe arena. This may not seem intuitive, but as there is no restriction ondirection of exit, this is appropriate.Lines are slightly different, since they need two coordinate pairs tospecify the line endpoints. These endpoints must be enclosed in square brackets..LPAll statements are semi-colon (;) terminated. Multiple item statementsaccumulate. Each definition must occur exactly once, before anyitem statements. Comments begin with a hash (#) symboland terminate with a newline.The coordinates are between zero and width-1 and height-1inclusive. All of the exit coordinates must lie on the borders, andall of the beacons and airports must lie inside of the borders.Line endpoints may be anywhere within the field, so long as the lines are horizontal, vertical or .B "exactly diagonal.".SS "FIELD FILE EXAMPLE".RS.sp.nf.TA 1i 1i.ta 1i 1i# This is the default game.update = 5;newplane = 5;width = 30;height = 21;exit: ( 12 0 x ) ( 29 0 z ) ( 29 7 a ) ( 29 17 a ) ( 9 20 e ) ( 0 13 d ) ( 0 7 d ) ( 0 0 c ) ;beacon: ( 12 7 ) ( 12 17 ) ;airport: ( 20 15 w ) ( 20 18 d ) ;line: [ ( 1 1 ) ( 6 6 ) ] [ ( 12 1 ) ( 12 6 ) ] [ ( 13 7 ) ( 28 7 ) ] [ ( 28 1 ) ( 13 16 ) ] [ ( 1 13 ) ( 11 13 ) ] [ ( 12 8 ) ( 12 16 ) ] [ ( 11 18 ) ( 10 19 ) ] [ ( 13 17 ) ( 28 17 ) ] [ ( 1 7 ) ( 11 7 ) ] ;.fi.RE.SH FILES.LPFiles are kept in a special directory. See the OPTIONS for a way to print this path out..TP 16.B ATC_scoreWhere the scores are kept..TP 16.B Game_ListThe list of playable games..SH AUTHOR.LPEd James, UC Berkeley: edjames@ucbvax.berkeley.edu, ucbvax!edjames.LPThis game is based on someone's description of the overall flavorof a game written for some unknown PC many years ago, maybe..SH BUGS.LPThe screen sometimes refreshes after you have quit..LPYet Another Curses Bug was discovered during the development of this game.If your curses library clrtobot.o is version 5.1 or earlier, you will have erase problems with the backspace operator in the inputwindow.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -