⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trekmanual.nr

📁 操作系统SunOS 4.1.3版本的源码
💻 NR
📖 第 1 页 / 共 2 页
字号:
.br.po 10.if n \!..sp 15.tr ^ \".ce 88^****^^^^*****^^^^^^*^^^^^^****^*^^^^^^^^^^*^^^^^^^*^*^^^^^*^^^*^***^^^^^^^*^^^^^^*****^^^^****^^^^^*^^^^^^*^^^^^^*^^^*^^^^*^^*^****^^^^^^^*^^^^^^*^^^*^^^^*^^^******^^^^****^^^^^*****^^^^*^^^*^^*^^^^^^*^^^*^^^^*^^^^^^^^*^^*^^^*^^^^^^****^^^^^***^^^^^^***^^^^*^^^^^^*^^*^^^^^*^^^^^^^^*^^*^^^*^^^^^^*^^^*^^^^*****^^^^*^^^*byEric AllmanUniversity of CaliforniaBerkeley.ce 0.tr ^^.de HE'sp 4'tl 'STAR TREK''%''sp 3...de FO'bp...wh 0 HE.wh -5 FO.de pp.sp.ti +4...bp 1.ceINTRODUCTION.ppWell, the federation is once again at war with the Klingon empire.It is up to you,as captain of the U.S.S. Enterprise,to wipe out the invasion fleet and save the Federation..ppFor the purposes of the gamethe galaxy is divided into 64 quadrantson an eight by eight grid,with quadrant 0,0 in the upper left hand corner.Each quadrant is divided into 100 sectorson a ten by ten grid.Each sector contains one object(e.g., the Enterprise, a Klingon, or a star)..ppNavigation is handled in degrees,with zero being straight upand ninty being to the right.Distances are measured in quadrants.One tenth quadrant is one sector..ppThe galaxy contains starbases,at which you can dock to refuel,repair damages, etc.The galaxy also contains stars.Stars usually have a knack for getting in your way,but they can be triggered into going novaby shooting a photon torpedo at one,thereby (hopefully) destroying any adjacent Klingons.This is not a good practice however,because you are penalized for destroying stars.Also, a star will sometimes go supernova,which obliterates an entire quadrant.You must never stop in a supernova quadrant,although you may "jump over" one..ppSome starsystemshave inhabited planets.Klingons can attack inhabited planetsand enslave the populace,which they then put to work building more Klingon battle cruisers..bp.ceSTARTING UP THE GAME.ppTo request the game, issue the command.sp.ti +12/usr/games/trek.spfrom the shell.If a filename is stated,a log of the game is writtenonto that file.If omitted,the file is not written.If the "-a" flag is stated before the filename,that file is appended torather than created..ppThe game will ask you what length gameyou would like.Valid responses are "short", "medium", and "long".Ideally the length of the game does notaffect the difficulty,but currently the shorter gamestend to be harder than the longer ones.You may also type "restart",which restarts a previously saved game..ppYou will then be prompted for the skill,to which you must respond"novice", "fair", "good", "expert","commadore", or "impossible".You should start out with a noviceand work up,but if you really want to see how fastyou can be slaughtered,start out with an impossible game..ppIn general,throughout the game,if you forget what is appropriatethe game will tell you what it expectsif you just type ina question mark..ppTo get a copy of these rules,execute the command.sp.ti +12nroff /usr/games/trekmanual.nr.sp.bp.ceISSUING COMMANDS.ppIf the game expects you to enter a command,.hc ^it will say ^"Command:\ "and wait for your response.Most commands can be abbreviated..ppAt almost any time you can type more than one thing on a line.For example,to move straight up one quadrant,you can type.ti +12move 0 1.bror you could just type.ti +12move.brand the game would prompt you with.ti +12Course:.brto which you could type.ti +120 1.brThe "1" is the distance,which could be put on still another line.Also, the "move" commandcould have been abbreviated"mov", "mo", or just "m"..ppIf you are partway through a commandand you change your mind,you can usually type "-1"to cancel the command..ppKlingons generally cannot hit youif you don't consume anything(e.g., time or energy),so some commands are considered "free".As soon as you consume anything though -- POW!.bp.de **.if \\n+l .**.as x *...de bl.nr l \\w'\\$1' -\\w'*'.ds x ****.**.sp 3.ne 3\\*x.br.if t *\h'\w'*'u'\fB\\$1\fP\h'\w'*'u'*.if n * \\$1 *.br\\*x.sp.in +8.nf...de FF.in -8.fi...if !\n(.V .ta \w'Full Commands: '+1.if \n(.V .ta \w'Full Commands: 'u.ceTHE COMMANDS.bl "Short Range Scan"Mnemonic: srscanShortest Appreviation: sFull Commands: srscan	srscan yes/noConsumes: nothing.FF.ppThe short range scangives you a pictureof the quadrant you are in,and (if you say "yes")a status reportwhich tells youa whole bunchof interesting stuff.You can get a status report aloneby using the.ulstatuscommand.An example follows:.sp.nf.in +4Short range sensor scan  0 1 2 3 4 5 6 7 8 9 0 . . . . . . . * . * 0   stardate      3702.161 . . E . . . . . . . 1   condition     RED2 . . . . . . . . . * 2   position      0,3/1,23 * . . . . # . . . . 3   warp factor   5.04 . . . . . . . . . . 4   total energy  43765 . . * . * . . . . . 5   torpedoes     96 . . . @ . .   . . . 6   shields       down, 78%7 . . . . . . . . . . 7   Klingons left 38 . . . K . . . . . . 8   time left     6.439 . . . . . . * . . . 9   life support  damaged, reserves = 2.4  0 1 2 3 4 5 6 7 8 9 Distressed Starsystem Marcus XII.in +8.ti -8The cast of characters is as follows:E  the heroK  the villain#  the starbase*  stars@  inhabited starsystem\&.  empty space   a black hole.in -12.fi.ppThe name of the starsystem is listed underneaththe short range scan.The word "distressed", if present,means that the starsystemis under attack..ppShort range scans are absolutely free.They use no time, no energy,and they don't give the Klingonsanother chance to hit you..bl "Status Report"Mnemonic: statusShortest Abbreviation: stConsumes: nothing.FF.ppThis command gives you informationabout the current statusof the game and your ship, as follows:.in +8.de qq.sp.ti -4...qqStardate -- The current stardate..qqCondition -- as follows:.in +4.nfRED -- in battleYELLOW -- low on energyGREEN -- normal stateDOCKED -- docked at starbaseCLOAKED -- the cloaking device is activated.fi.in -4.qqPosition -- Your current quadrant and sector..qqWarp Factor -- The speed you will move atwhen you move under warp power(with the.ulmovecommand)..qqTotal Energy -- Your energy reserves.If they drop to zero,you die.Energy regenerates,but the higher the skill of the game,the slower it regenerates..qqTorpedoes -- How many photon torpedoes you have left..qqShields -- Whether your shields are up or down,and how effective they are if up(what percentage of a hit they will absorb)..qqKlingons Left -- Guess..qqTime Left -- How long the Federation can hold outif you sit on your fat ass and do nothing.If you kill Klingons quickly,this number goes up,otherwise,it goes down.If it hits zero,the Federation is conquered..qqLife Support -- If "active", everything is fine.If "damaged", your reserves tell youhow long you haveto repair your life supportor get to a starbasebefore you starve, suffocate,or something equally unpleasant..qqCurrent Crew -- The number of crew membersleft.This figures does not include officers..qqBrig Space -- The space left in your brigfor Klingon captives..qqKlingon Power -- The number of unitsneeded to kill a Klingon.Remember, as Klingons fire at youthey use up their own energy,so you probably need somewhat lessthan this..qqSkill, Length -- The skill and lengthof the game you are playing..in -8.ppStatus information is absolutely free..bl "Long Range Scan"Mnemonic: lrscanShortest Abbreviation: lConsumes: nothing.FF.ppLong range scan gives you information about theeight quadrantsthat surround the quadrantyou're in.A sample long range scan follows:.sp.in +12.nfLong range scan for quadrant 0,3     2     3     4  -------------------  !  *  !  *  !  *  !  -------------------0 ! 108 !   6 !  19 !  -------------------1 !   9 ! /// !   8 !  -------------------.sp.in -12.fi.ppThe three digit numberstell the number of objectsin the quadrants.The units digit tells the number of stars,the tens digit the number of starbases,and the hundreds digit is the number of Klingons."*" indicates the negative energy barrierat the edge of the galaxy,which you cannot enter."///" means that that is a supernova quadrantand must not be entered..bl "Damage Report"Mnemonic: damagesShortest Abbreviation: daConsumes: nothing.FF.ppA damage report tells you what devices are damagedand how long it will take to repair them.Repairs proceed fasterwhen you are dockedat a starbase..bl "Set Warp Factor"Mnemonic: warpShortest Abbreviation: wFull Command: warp factorConsumes: nothing.FF.ppThe warp factor tells the speed of your starshipwhen you move under warp power(with the.ulmovecommand).The higher the warp factor,the faster you go,and the more energy you use..ppThe minimum warp factor is 1.0and the maximum is 10.0.At speeds above warp 6there is danger of the warp enginesbeing damaged.The probability of thisincreases at higher warp speeds.Above warp 9.0 there is a chance of enteringa time warp..bl "Move Under Warp Power"Mnemonic: moveShortest Abbreviation: mFull Command: move course distanceConsumes: time and energy.FF.ppThis is the usual way of moving.The course is in degrees and the distance is in quadrants.To move one sector specify a distance of 0.1.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -