3D Game Programming All in One- P30 - Pdf 76

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.
Index 787
Toggle3rdPPOVLook, 175
ToggleFullScreen(), 723
ToggleInputState(), 724
ToggleMessageBox, 637
ToggleNPatch(), 724

Game module, server-side, 256–258
game root folders, 129–130
GameBase class, 729
GameConnection class, 729
GameConnection() function, 143
GameConnection object, 211–212
initialControlSet() function, 215
onConnect() function, 213
onConnectionAccepted() function, 213
onConnectionDropped() function, 214
onConnectionError() function, 214
onConnectionRequest() function, 212
SetNPatch(), 716
SetOpenGLAnisotropy(), 716
SetOpenGLInteriorMipReduction(), 716
SetOpenGLMipReduction(), 717
SetOpenGLSkyMipReduction, 717
SetOpenGLTextureCompressionHint(), 717
SetRandomSeed(), 717
SetRecord(), 717
SetResolution(), 718
SetScreenMode(), 718
SetServerInfo, 718
SetShadowDetailLevel(), 718
SetVerticalSync(), 718
SetWord(), 719
SetZoomSpeed(), 719
ShapeBaseImageData, 570
ShowMenuScreen(), 161
Sinus, 537

Team LRN
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Index788
Tribes 2, 17
Unreal II, 17
World War II Online, 22
gaps in map box mapping option, 411
gaps in 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
GeoSphere button (MilkShape Model tab), 399
GetBoxCenter() function, 688
GetBuildString() function, 688
GetCompileTimeString() function, 688
GetControlObjectAltitude() function, 688
GetControlObjectSpeed() function, 688
GetDesktopResolution() function, 689

setLagIcon() function, 215
GameDev.net Web site, 744
Gamer's Technical Resources Web site, 745
games
1st PPOV (First-Person Point-of-View), 3
3rd PPOV (Third-Person Point-of-View), 3
Attach & Defend, 3
Blackhawk Down, 22
Capture the Flag, 3
Center World, 6
Chain Reaction, 6
Death Match, 3
Delta Force, 22, 217
Dungeons & Dragons, 4
Everquest, 22
Falcon 4, 6
FPS (First-Person Shooter), 3, 662–663
genres
action games, 3
adventure games, 3–4
retail games, 2
RTS (Real-Time Strategy), 7
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


Nhờ tải bản gốc
Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status