3D Game Programming All in One- P30

30 490 0
3D Game Programming All in One- P30

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Index 777 client control modules control/client/client.cs, 160–164 control/client/interfaces/menuscreen.gui, 162 control/client/interfaces/playerinterface.gui, 165–168 control/client/interfaces/splashscreen.gui, 169 control/client/misc/presetkeys.cs, 171–174 control/client/misc/screens.cs, 169–171 client interfaces ChatBox, 636–640, 650–652 FindServer, 635–636, 648–650 Host, 635, 647–648 MenuScreen, 632–634 MessageBox, 640–642, 652–655 SoloPlay, 634–635, 643 client modules Canvas module, 259–261 discussed, 258–259 functions, list of, 269–270 messages module, 266–268 mission module, 261–262 client-only sounds, 560 client versus server design issues, 132–133 ClientCmdChatMessage function, 267 ClientCmdMissionStart function, 262 ClientConnection module, 250–256 clipColumnText property, 344 Clone Brush tool (Paint Shop Pro), 297–298 Close command (Audacity File menu), 546 Close method, 655 clothing, player skin example, 329–332 cloud layers, 521–523 code byte code, 134 common, 129 control, 129, 139–140 executable, 51 code module, finding servers, 225–229 CodeGuru Web site, 743 coins, scoring, 625–627 CollapseEscape() function, 677 collisions collision mesh, vehicle models, 476 Collision Mesh option (Torque Game Engine (DTS) Exporter dialog box), 459–460 CollisionTol command, 618 vehicle models, 612–613 GUI control classes, 337–345 GuiBitmapCtrl, 639, 729 GuiButtonCtrl, 632 GuiCanvas, 729 GuiControl, 630, 730 GuiEditCtrl, 730 GuiFilterCtrl, 730 GuiFrameSetCtrl, 730 GuiInspector, 730 GuiMessageVectorCtrl, 730 GuiNoMouseCtrl, 639 GuiPopUpMenuCtrl, 730 GuiScrollCtrl, 224 GuiSliderCtrl, 731 GuiTerrPreviewCtrl, 731 GuiTestListCtrl, 731 GuiTextEditCtrl, 224 GuiTreeViewCtrl, 732 HTTPObject, 732 InteriorInstance, 732 Item, 732 Lightning, 732 MessageVector, 732 PhysicalZone, 732 Player, 732 Precipitation, 732 Profile, 25 SceneObject, 732 ServerScreen, 642 ShapeBase, 732 ShapeBaseData, 734 SimpleNetObject, 734 Sky, 734 StaticShape, 735 superclass, 129 TCPObject, 735 Terraformer, 735 Trigger, 735 TriggerData, 735 WaterBlock, 735 WorldEditor, 735 className property, 154, 184 Clear button (MilkShape Joints tab), 403 Clear Empty function, 537 ClearTextureHolds() function, 677 clicking, mouse operations, 591 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index778 color Color command (UVMapper Edit menu), 408 Color dialog box (Paint Shop Pro), 280 color matching, photography, 354–355 colors property, 601 Colors tab (Materials palette), 291 fadeColor property, 530 columns property, 344 command interface control, 340 command property, 164, 340, 634 commands Animation menu (MilkShape), 394 Audacity tool shortcut keys, 550 Camera menu (Mission Editor), 589 Edit menu Audacity tool, 547 Configuration, 500 Duplicate, 432 Duplicate Selection, 390 Hide Selection, 389, 425 MilkShape 3D, 392 Mission Editor, 588 New UV Map, 387 UVMapper, 408 Effect menu (Audacity tool), 549 Face menu (MilkShape), 394 File menu Audacity tool, 546 Import, 387 Merge, 429 MilkShape 3D, 392 Mission Editor, 588 Preferences, 404 Save As File, 507 Save Model, 387 UVMapper, 407 grep overview, 32 in UltraEdit-32, 39–41 Help menu (UVMapper), 408 Project menu (Audacity tool), 548 Vertex menu (MilkShape 3D), 392 View menu (Audacity tool), 547 WheeledVehicleData, 618–619 Window menu (MilkShape), 397 World menu, 590 CommandToClient() function, 207–209, 250, 677 CommandToServer() function, 206–207, 242, 250, 678 comments, defined, 50 common code, 129 compilation errors, 82–83 Compile() function, 678 Compile Quake 1 MDL command (MilkShape Tools menu), 395 compound statements, 52 compression, lossy, 285 computation, 58 concatenation, strings, 59 conditional expressions, 71–73 Configuration command (Edit menu), 500 configuring QuArK, 500–501 UltraEdit-32, 33–35 Connect() function, 212 console library, Torque Game Engine, 24 constantAcceleration property, 601 constantThumbHeight property, 225, 343 constraints, game design, 585–586 constructs, entities, 509–510 ContactTol command, 618 ContainerBoxEmpty() function, 678 ContainerFindFirst() function, 679 ContainerFindNext() function, 679 ContainerRayCast() function, 679 containers, parent controls, 346 ContainerSearchCurrDist() function, 679 ContainerSearchCurrRadiusDist() function, 680 ContainerSearchNext() function, 680 Content Editor, Torque GUI Editor, 345–346 continue keyword, 54, 735 continuous-mesh model, character models, 417 Control class, 25 control/client/client.cs module, 160–164 control/client/interfaces/menuscreen.gui module, 162 control/client/interfaces/playerinterface.gui module, 165–168 control/client/interfaces/splashscreen.gui module, 169 control/client/misc/presetkeys.cs module, 171–174 control/client/misc/screens.cs module, 169–171 control/client.cs module, 144–148 control code, 129, 139–140 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index 779 control flow, Torque Game Engine, 23 Control Inspector, Torque GUI Editor, 346 control/main.cs module, 159 control modules. See modules Control Panel command (MilkShape Window menu), 397 control/player.cs module, 151–153 control/server/misc/item.cs module, 197–202 control/server/players/player.cs module, 180–186 control/server/server.cs module, 175–180 control/server/weapons/crossbow.cs module, 190–197 control/server/weapons/weapon.cs module, 186–190 control/server.cs module, 149–151 Control Tree, Torque GUI Editor, 346 controls, GUI discussed, 336–337 GuiButtonCtrl class, 340–341 GuiCheckBoxCtrl class, 341–342 GUIChunkedBitmapCtrl, 337–338 GUIControl class, 339 GuiScrollCtrl class, 342–343 GuiTextEditCtrl class, 344–345 GuiTextListCtrl class, 343–344 Convert Old MS3D Format command (MilkShape Tools menu), 395 coordinate systems axis, 90 Cartesian coordinates, 95 Computer Graphics Aerobics, 90 left-handed, 90 object space, 90 rectangular coordinates, 95 right-handed, 90 vertices, 92 world space, 91 XYZ-axis system, 90–93 Copy command Audacity Edit menu, 547 Mission Editor Edit menu, 588 Copy Keyframes command (MilkShape Animate menu), 394 covers, terrains, 369, 378–380 Cox, Steve (UVMapper program creation), 406 CRC (Cyclic Redundancy Check), 246 CreateCanvas() function, 680 createPlayer function, 610 createServer() function, 143, 240 cropping images, 355–357 cross-platform software, disadvantages, 11 CS Hand Offset option (Preferences dialog box), 405 Cube brush (Torque Map Editor, QuArK), 505 current frame number box (Keyframer tool), 404 Cut command Audacity Edit menu, 547 Mission Editor Edit menu, 588 cuts, axial extrusion, 416 cycleGame function, 656 Cyclic Redundancy Check (CRC), 246 Cylinder button (MilkShape Model tab), 399 cylinder shapes character models, head modes, 418–419 MilkShape 3D, 384–386 Cylinder tool (MilkShape), 485 Cylindrical Cap unwrapping method, 410, 412 Cylindrical unwrapping method, 409, 412 D data blocks defined, 108 overview, 128–129 sound, creating and programming, 550–555 data-manipulation tasks, 4 databases, support infrastructures, 22 datablock keyword, 735 datablock property, 530, 599 DbgSetParameters() function, 680 DeactivateDirectInput() function, 680 DeactivateKeyboard() function, 681 DeactivatePackage() function, 681 Death Match, 3 deaths death animation, 444, 455–457 tracking, scoring techniques, 628–629 Debian Linux distribution, 11 Debris class, 728 Debug() function, 681 Debug_debugbreak() function, 681 debugging best practices, 86–87 compilation errors, 82–83 problem solving techniques, 83–86 using trace() function, 141 Debug_testx86unixmutex() function, 681 Debug_testxunixmutex(), 681 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index780 decimal systems, 46 declarations, forward, 48 Decompile Genesis command (MilkShape Tools menu), 395 DecreaseFSAA() function, 682 DecreaseNPatch() function, 682 decrement operators, 62 dedicated servers, 230–232, 662 default keyword, 54, 735 defaultLineHeight property, 343 DefaultMessageCallback function, 268 Delete All command (MilkShape Edit menu), 392 Delete button (MilkShape) Groups tab, 401 Materials tab, 402 Delete command (Audacity File menu), 547 Delete Keyframe command (MilkShape Animate menu), 394 Delete Selection command (MilkShape) Edit menu, 392 World menu, 590 DeleteDataBlocks() function, 682 DeleteVariables() function, 682 Delta Force, 22, 217 DEM (Digital Elevation Model), 367 Density control (Paint Brush tool), 295 density property, 154, 184 DepthGradient property, 535 description property, 552 DestroyedLevel command, 618 DestroyServer function, 179, 240 Detag() function, 682 developers, roles of, 11–12 development, gaming industry, 1–2 dialog boxes Add Noise (Paint Shop Pro), 286 Box Mapping, 409 Color (Paint Shop Pro), 280 Cylindrical, 409 Cylindrical Cap Mapping, 410 Find, 36–37 New Image (Paint Shop Pro), 279 Planar Mapping, 409 Preferences (MilkShape 3D), 404–406 Project Setup, 35 Replace, 37 Soft Focus, 314 Texture Coordinate Editor, 494–495 Torque Game Engine (DTS) Exporter Animation Settings option, 460 Collision Mesh option, 459–460 Other Settings option, 460 Diffuse button (MilkShape Materials tab), 402 Digital Elevation Model (DEM), 367 digital images versus film, 352–353 Dimensions command (UVMapper Help menu), 408 direct messaging CommandToClient function, 207–209 CommandToServer function, 206–207 discussed, 205 online cheating, fighting against, 209 direct movement, translation, 105–106 Direct3D, advantages/disadvantages, 10 directed graphs, 103 DisabledLevel command, 618 DisableMouse() function, 683 dismounting, 615–616 display options, layers, 292 distant object textures, 278 DistortGridScale property, 535 distortion, 515, 518 DistortMag/DistortTime property, 535 distributions, Linux operating systems, 11 Divide Edge command (MilkShape Vertex menu), 393 DnetSetLogging() function, 683 do keyword, 54, 735 Doctor Dobb's Journal Web site, 744 DoExitGame() function, 657 DoJump function, 175 dollar sign ($), 54 DoPitch function, 175 DoScore method, 624 double-quoted strings, 124 double-sided surface, 94 double-slash operator (//), 50 down-stream industry, 2 DoYaw function, 175 Drag command, 618 drag property, 154, 184 dragCoefficient property, 601 Drop Camera At Player command (Mission Edi- tor Camera menu), 589 Drop Player At Camera command (Mission Edi- tor Camera menu), 589 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index 781 Help feature, 45 installing, 32 macro commands, 43 program setup, 32 Project Setup dialog box, 35 projects and files, setting up, 32 search capabilities, 35–37 UEPM (UltraEdit Project Maker), 32 World Editor, 589–590 EditTSCtrl class, 728 Effect menu (Audacity tool), 545, 549 ejectionOffset property, 600 ejectionPeriodMS property, 600 ejectionVelocity property, 600 elements and arrays, 56 else keyword, 54, 735 Emaga4 navigation keys, 154 properties, 154 Emaga5 key bindings, 202 properties, 184 emap property, 154, 184 Emissive button (MilkShape Materials tab), 402 emitter property, 599 emitters, particles, 604 EnableMouse() function, 684 EnableWinConsole() function, 685 endGame function, 656 EndMission function, 246, 258 engine vehicle sound, 576 EngineBrake command, 618 EngineSound command, 619 EngineTorque command, 618 ENormals flag (special materials, MilkShape), 462 entities, 509–510 enumerate property, 344 Envelope tool (Audacity toolbar), 543 environment mapping, 102, 185, 461–462 environmental sound effects, 578–579 envMapIntensity property, 535 envMapOverTexture property, 535 envMapUnderTexture property, 535 Eraser tool (Paint Shop Pro), 298 Error() function, 685 errors compilation, 82–83 error function, 83 Drop Selection command (World menu), 590 DumpConsoleClasses() function, 683 DumpMemSnapshot() function, 683 DumpNetStringTable() function, 683 DumpResourceStats() function, 684 DumpTextureStats() function, 684 Dungeons & Dragons, 4 Duplicate command Edit menu, 432 File menu, 547 Duplicate Selection command (Edit menu), 390, 392 dynamic objects, shapes as, 104 E Echo command (Audacity Effect menu), 549 Echo() function, 83, 684 EchoInputState() function, 684 edges, shapes, 94 Edit Area check box (Mission Area Editor), 594 edit boxes, GUI, 335 Edit-Compile-Link-Run cycle, 48 Edit ID3 Tags command (Audacity Project menu), 548 Edit menu Audacity tool, 545, 547 Configuration command, 500 Duplicate command, 432 Duplicate Selection command, 390 Hide Selection command, 389, 425 MilkShape 3D, 391–392 Mission Editor, 588 New UV Map command, 387 UVMapper, 407–408 editors Mission Area Editor, 593–594 Mission Editor, 587–589 programming features, 31 Terrain Editor, 534–537, 590–592 Terrain Terraform, 592 Terrain Texture Editor, 592–593 text, 31 UltraEdit-32 bookmark capabilities, 41 configuring, 33–35 discussed, 31 Find in Files feature, 38 grep command capabilities, 39–41 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index782 operands, 72 order of evaluation, 62 regular, 39 statements, 52 variables, 53 extent property, 164, 338, 652 external methods, terrains, 367 extrapolation, 28 Extrude button (MilkShape Model tab), 399 F fabric textures, 362 Face button (MilkShape Model tab), 399 face handlers, 505 Face menu (MilkShape 3D), 393–394 Face To Front command (MilkShape Face menu), 394 Fade In command (Audacity File menu), 549 Fade Out command (Audacity File menu), 549 fadeColor property, 530 fake phone shading, 100 Falcon 4, 6 fall animation sequence, torque-supported, 444 false keyword, 54, 735 fast phong shading, 100 fBm Fractal function, 537 fenders, vehicle models, 473–474 FFT Filter command (Audacity File menu), 549 fidelity simulator games, 6 terrains, 366 field of view (FOV), 515 File menu Audacity tool, 545–546 Import command, 387 Merge command, 429 MilkShape 3D, 391–392 Mission Editor, 588 Preferences command, 404 Save As File command, 507 Save Model command, 387 UVMapper tool, 407 File Tree View (UltraEdit-32), 33 FileBase() function, 686 FileExt() function, 686 FileName() function, 686 FileObject class, 728 FilePath() function, 686 escapeCommand property, 642, 655 Eval method, 655 evaluation expressions, 52 for loop, 65 order of, 62 precedence, 56 events list of, 24 simulation of objects, 24 triggers creating, 620–621, 623 kill tracking, 629–630 onEnterTrigger, 621 onLeaveTrigger, 621 onTickTrigger, 621 scoring, 622–629 SetImageTrigger method, 629 Everquest, 22 examples. See programs; scripts Excavate function, 537 exclamation point (!), 73 Exec() function, 566, 685 executable code, 51 Exit command Audacity File menu, 546 MilkShape File menu, 392 ExpandEscape() function, 685 ExpandFilename() function, 552, 685 exploded skyboxes, 514 Export as WAV command (Audacity File menu), 546 Export command (MilkShape File menu), 392 Export() function, 686 Export Labels command (Audacity File menu), 546 export options (MilkShape special materials), 461 Export Selection as WAV command (Audacity File menu), 546 Export Terraform Bitmap command (Mission Editor File menu), 588 Export UVs command (UVMapper File menu), 407 expressions branching, 74–75 conditional, 71–73 defined, 52 evaluations, 52 logical, 73–74 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index 783 FPS (First-Person Shooter) games, 3, 662–663 frames, 339, 382 freedom of terrains, 366 Freehand Selection tool (Paint Shop Pro), 300 FreeMemoryDump() function, 687 freestanding particles, 595 Freeverb2 command (Audacity File menu), 549 freeware and shareware tools, 750–752 front view, MilkShape 3D, 382 full transformation, 97 function block, 51 function body, 51 function headers, 51 function keyword, 54, 735 functions. See also methods activateDirectInput(), 667 activateKeyboard(), 667 activatePackage(), 667 Add Dirt, 537 AddCardProfile(), 668 addMaterialMapping(), 668 addMessageCallback, 268 AddOSCardProfile(), 669 AddTaggedString(), 669 AddToServerGuidList, 241 Adjust Height, 537 Adjust Selection, 537 alGetString(), 669 alListener3f(), 670 AllowConnections, 670 alxCreateSource(), 670 alxGetChannelVolume(), 671 alxGetListener3f(), 671 alxGetListenerf(), 671 alxGetListeneri(), 671 alxGetSource3f(), 672 alxGetSourcef(), 672 alxGetSourcei(), 672 alxListener(), 673 alxListenerf(), 552 alxlsPlaying(), 673 alxPlay(), 552, 673 alxSetChannelVolume(), 673 alxSource3f(), 674 alxSourcef(), 674 alxSourcei(), 675 alxStop(), 675 alxStopAll(), 675 files listed files, Find in Files feature, 38 open files, Find in Files feature, 38 project files, Find in Files feature, 38 setting up, UltraEdit-32, 32 texture files, saving, 284–285 Fill tool (Paint Shop Pro), 516–517 film versus digital images, 352–353 Filter function, 537 Filter Textures option (Preferences dialog box), 405 filterflags parameter, 229 Find dialog box, 36–37 Find in Files feature, UltraEdit-32, 38 FindFirstFile() function, 647, 687 FindNextFile() function, 646, 648, 687 FindServer interface, 635–636, 648–650 First-Person Point-of-View (1st PPOV) games, 3, 662–663 First-Person Shooter (FPS) games, 3 FirstWord() function, 687 Fit in Window command (Audacity View menu), 547 fitParentWidth property, 344 flags flags parameter, 228 mesh option (MilkShape special materials), 462–463 option (MilkShape special materials), 461–462 flat shading, 99, 469 Flatten function, 537 flesh-tone RBG settings, 324 flipCode Web site, 744 flipping objects, 393 Float command (Audacity View menu), 547 FlowAngle/FlowRate property, 535 FlushTextureCache() function, 687 FlyingVehicle class, 729 fog effects, 523 folders, game root, 129–130 fonts, text, 306 footstep sounds, 560–563 for keyword, 54, 735 for loop, 65–66 forums, as support infrastructure, 22 forward declarations, 48 forward slash (/), 61 FOV (field of view), 515 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index784 DeleteVariables(), 682 DescreaseNPatch(), 682 DestroyServer, 179, 240 Detag(), 682 DisableMouse(), 683 DnetSetLogging(), 683 DoExitGame(), 657 DoJump, 175 DoPitch, 175 DoYaw, 175 DumpConsole(), 683 DumpMemSnapshot(), 683 DumpNetStringTable(), 683 DumpResourceStats(), 684 DumpTextureStats(), 684 Echo(), 83, 684 EchoInputState(), 684 EnableMouse(), 684 EnableWinConsole(), 685 endGame, 656 EndMission, 246, 258 error, 83 Error(), 685 Excavate, 537 Exec(), 685 ExpandEscape(), 685 ExpandFilename(), 552, 685 Export(), 686 fBm Fractal, 537 FileBase(), 686 FileExt(), 686 FileName(), 686 FilePath(), 686 Filter, 537 FindFirstFile(), 647, 687 FindNextfile(), 646, 648, 687 FirstWord(), 687 Flatten, 537 FlushTextureCache(), 687 FreeMemoryDump(), 687 Fruit program example, 67–69 GameConnection(), 143 GetBoxCenter(), 688 GetBuildString(), 688 GetCompileTimeString(), 688 GetControlObject Altitude(), 688 GetControlObjectSpeed(), 688 GetDesktopResolution(), 689 arguments, 70 Backtrace(), 675 BackUp, 175 Bitmap, 537 Blend, 537 BuildTaggedString(), 676 CalcExplosionCoverage(), 676 Call(), 676 calling, 70, 126 Cancel(), 676 CancelServerQuery(), 677 Canyon Fractal, 537 ChatMessage, 267 ChatMessageAll, 653 chatPageDown, 640 Clear Empty, 537 ClearTextureHolds(), 677 client module functions, list of, 269–270 ClientCmdChatMessage, 267 ClientCmdMissionStart, 262 CollapseEscape(), 677 CommandToClient, 207–209, 250 CommandToClient(), 677 CommandToServer(), 206–207, 242, 250, 678 Compile(), 678 Connect(), 212 ContainerBoxEmpty(), 678 ContainerFindFirst(), 679 ContainerFindNext(), 679 ContainerRayCast(), 679 ContainerSearchCurrDist(), 679 ContainerSearchCurrRadiusDist(), 680 ContainerSearchNext(), 680 CreateCanvas(), 680 createPlayer, 610 CreateServer(), 143, 240 cycleGame, 656 datablocks, 108 DbgSetParameters(), 680 DeactivateDirectInput(), 680 DeactivateKeyboard(), 681 DeactivatePackage(), 681 Debug(), 681 Debug_degub_debugbreak(), 681 DecreaseFSAA(), 682 DefaultMessageCallback, 268 defined, 26, 66 DeleteDataBlocks(), 682 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index 785 InitializeServer(), 143 InputLog(), 696 IsDemoRecording(), 696 IsDeviceFullScreenOnly(), 697 IsEventPending(), 697 IsFile(), 697 IsFullScreen(), 697 IsJoystickDetected(), 697 IsKoreanBuild(), 698 IsNameUnique, 255 IsObject(), 698 IsPackage(), 698 IsPointInside(), 698 IsWriteableFileName(), 698 LaunchDedicatedServer(), 699 LaunchGame(), 161 LightScene(), 265, 699 LoadMission, 246, 250, 258 LoadMissionStage2, 246, 250 lockMouse(), 699 ltrim(), 699 mAbs(), 699 mAcos(), 700 main(), 51 makeTestTerrain(), 700 mAsin(), 700 mAtan(), 700 MathInit(), 701 MatrixCreate(), 701 MatrixCreateFromEuler(), 701 MatrixMulPoint(), 701 MatrixMultiply(), 702 MatrixMulVector(), 702 mCeil(), 702 mCos(), 702 mDegToRad(), 702 member, 127 mFloadLength(), 703 mFloor(), 703 MissionStartPhase, 250 mLog(), 703 MoveShape(), 109, 117 mPow(), 703 mRadToDeg(), 703 msg(), 704 mSin(), 704 mSolveCubic(), 704 mSolveQuadratic(), 704 GetDisplayDeviceList(), 689 GetField(), 689 GetFieldCount(), 689 GetFields(), 690 GetFileCount(), 690 GetFileCRC(), 690 getGroup, 652 getHelp, 634 GetJoystickAxes(), 690 GetMaxFrameAllocation(), 690 getMissionDisplayName, 646–647 GetModPaths(), 691 GetRandom(), 691 GetRandomSeed(), 691 GetRealTime(), 691 GetRecord(), 691 GetRecordCount(), 692 GetRecords(), 692 GetResolution(), 692 GetResolutionList(), 692 GetServerCount(), 692 GetSimTime(), 693 GetSubStr(), 693 GetTag(), 693 GetTaggedString(), 693 GetTerrainHeight(), 693 GetVersionNumber(), 694 GetVersionString(), 694 GetVideoDriverInfo(), 694 GetWord(), 652, 694 GetWordCount(), 694 GetWords(), 695 GLEnableLogging(), 695 GLEnableMetrics(), 695 GLEnableOutline(), 695 GoAhead, 175, 562–563 GoLeft, 175 GoRight, 175 GoToWebPage(), 695 Hydraulic Erosion, 537 IncreaseFSAA(), 696 IncreaseNPatch(), 696 InitBaseClient(), 143, 239 InitBaseServer(), 143, 239 InitCanvas(), 143 InitContainerRadiusSearch(), 696 initialControlSet(), 215 InitializeClient(), 143, 217–218, 642 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Index786 PurgeResources(), 708 QueryMasterServer(), 709 QueryStatus(), 225 Quit(), 709 RedbookClose(), 710 RedbookGetDeviceCount(), 710 RedbookGetDeviceName(), 710 RedbookGetLastError(), 710 RedbookGetTrackCount(), 710 RedbookGetVolume(), 711 RedbookOpen(), 711 RedbookPlay(), 711 RedbookSetVolume(), 711 RedbookStop(), 711 ReferenceDistance, 564 RemoveField(), 712 RemoveRecord(), 712 RemoveTaggedString(), 712 RemoveWord(), 712 ResetLighting(), 712 ResetMission, 246, 258 ResetServer, 241 RestWords(), 713 Rigid Multifractal, 537 Rtrim(), 713 SaveJournal(), 713 SceneLightingComplete, 265 Schedule(), 115, 178–179, 713 ScreenShot(), 713 Select, 537 SendMacro(), 206 server modules, list of, 270–272 ServerMessage, 268 serverPlay3D, 560, 562 Set Empty, 537 Set Height, 537 SetDefaultFov(), 714 SetDisplayDevice(), 714 SetEchoFileLoads(), 714 SetField(), 714 SetFov(), 715 SetFSAA(), 715 SetInteriorFocusedDebug(), 715 SetInteriorRenderMode(), 715 setLagIcon(), 215 SetLogMode(), 715 SetModPaths(), 716 SetNetPort(), 716 mSolveQuartic(), 704 mSqrt(), 705 mTan(), 705 nameTolD(), 705 nCycleExec, 656 nextResolution(), 705 nextToken(), 706 objects, 126 onChatMessage, 268 onConnect(), 213 onConnectionAccepted(), 213 onConnectionDropped(), 214 onConnectionError(), 214 onConnectionRequest(), 212 onConnectionTimedOut(), 214 onConnectRequestRejected(), 213–214 onConnectRequestTimedOut(), 213 onCyclePauseEnd(), 656 onDataBlockObjectReceived(), 216, 265 onDataBlocksDone(), 216 onDrop(), 215 OnExit(), 140 onFileChunkReceived(), 216 onGhostAlwaysObjectReceived(), 216 onGhostAlwaysStarted(), 217 OnMissionDownloadPhase, 265 OnMissionEnded, 258 OnMissionLoaded, 179, 258 OnServerCreated(), 178, 258, 595, 620 OnServerDestroyed, 258 OnStart(), 140, 159, 231 OpenAlInitDriver, 706 OpenALShutdownDriver(), 706 Paint Material, 537 PanoramaScreenShot(), 706 parameters, 71 ParseArgs, 138, 230 pathOnMissionLoadDone(), 707 PermDisableMouse(), 707 PlayDemo(), 707 PlayJournal(), 707 PortInit, 240 PrevResolution(), 707 problem decomposition, 66 ProfilerDump(), 708 ProfilerDumpToFile(), 708 ProfilerEnable(), 708 ProfilerMarkerEnable(), 708 Team LRN Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... simulator games, 6 sports games, 7 strategy games, 7–8 Half-Life 2, 17 The Incredible Machine series, 6 King-of-the-Hill, 3 MarbleBlast, 5 Maximum Football, 7 mazes, 5–6 Myrmidon, 5 platforms, 8–11 puzzles, 5–6 Quake 3, 17 RPGs (role playing games), 4–5 SimCity series, 8 ThinkTanks, 3 Tribes 2, 17 Unreal II, 17 World War II Online, 22 gaps in map box mapping option, 411 gaps in map cylindrical cap mapping... File menu), 407 IncreaseFSAA() function, 696 IncreaseNPatch() function, 696 increment operators, 62 incremental polygon construction, 415–416 indenting, readability issues, 86 index of arrays, 56 infinite loops, 65 inheritedVelFactor property, 601 InitBaseClient() function, 143, 239 InitBaseServer() function, 143, 239 InitCanvas() function, 143 InitContainerRadiusSearch() function, 696 initialControlSet()... UltraEdit-32, 32 instance of objects, 125 instantiation, 125 Integration command, 618 interface module, finding servers, 218–223 interface sound, 578–579 interfaces ChatBox, 636–640, 650–652 creating, using Torque GUI Editor, 348–349 FindServer, 635–636, 648–650 Host, 635, 647–648 MenuScreen, 632–634 MessageBox, 640–642, 652–655 SoloPlay, 634–635, 643 interior library, Torque Game Engine, 27 interior structures,... function, 215 initialization control code, 139–140 for loop, 65 overview, 58 program example, 141–143 script for, 235–240 InitializeClient() function, 143, 217–218, 642 InitializeServer() function, 143 input model, Torque Game Engine, 24 InputLog() function, 696 insert credit Web site, 745 Insert Silence command (Audacity File menu), 547 installing Audacity tool, 540 MilkShape 3D, 381–382 Paint Shop Pro,... map cylindrical cap mapping option, 412 gaps in map cylindrical mapping option, 412 gaps in map planar mapping option, 411 gaps in map spherical mapping option, 413 GarageGames Web site, 27, 742 genres action games, 3 adventure games, 3–4 retail games, 2 RTS (Real-Time Strategy), 7 simulator games overview, 6 strategic simulations, 8 sports games, 7 strategy games, 7–8 geometric center of objects, 90... skin example, 322–326 NeHe Productions, 746 networking direct messaging CommandToClient function, 207–209 CommandToServer function, 206–207 discussed, 205 online cheating, fighting against, 209 GameConnection object messages, 211–217 servers, dedicated, 230–232 servers, finding code module, 225–229 InitializeClient function, 217–218 interface module, 218–223 triggers, 209–211 Team LRN Index networking... 791 792 Index Joint Selector Box button (MilkShape Joints tab), 403 Joint Size option (Preferences dialog box), 406 Joint tool (MilkShape), 617 Joints tab (MilkShape 3D) , 403 JPEG (Joint Photographic Experts Group), 285–288 jump animation sequence, torque-supported, 444 jumpEnergyDrain property, 184 jumpForce property, 154, 184 jumpSurfaceAngle property, 154, 184 K kerning, text, 306 key binding, 148,... Lightning class, 732 lightning effects, 529–531 light_recoil animation sequence, torquesupported, 445 LightScene function, 265 LightScene() function, 265, 699 lines hidden lines, 94 straight, 294 Linux Game Development Center Web site, 745 Linux Game Tome Web site, 745 Linux operating systems discussed, 10–11 distributions, 11 Linux tool source Web sites, 749 listed files, Find in Files feature, 38 Load... 699 machine code, 45–46 Machinima.com Web site, 746 Macintosh Macintosh Linux distribution, 11 Macintosh tool sources Web sites, 749 mAcos() function, 700 macro commands, UltraEdit-32, 43 main() function, 51 main screen, Audacity tool, 542–543 main.cs module, 139–140 makeTestTerrain() function, 700 Mandrake Linux distribution, 11 Manual Edit command (MilkShape Vertex menu), 393 map size box mapping option,... property, 535 mincpu parameter, 228 minExtent property, 338 MinImpactSpeed command, 184, 618 MinJetEnergy command, 619 minJumpEnergry property, 184 minJumpSpeed property, 154, 184 minplayers parameter, 228 minRunEnergy property, 184 minVelocity property, 532 mipmapping, 102 MipZero flag (special materials, MilkShape), 462 Mirror button (Mission Area Editor), 594 mirroring objects, 393 terrains, 594 Misc . 643 interior library, Torque Game Engine, 27 interior structures, 499 InteriorInstance class, 732 InteriorInstance object, 125 internal methods, terrains,. Connect(), 212 ContainerBoxEmpty(), 678 ContainerFindFirst(), 679 ContainerFindNext(), 679 ContainerRayCast(), 679 ContainerSearchCurrDist(), 679 ContainerSearchCurrRadiusDist(),

Ngày đăng: 08/11/2013, 00:15

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan