UnrealScript Game Programming Cookbook

(Chris Devlin) #1
254

creating 92-96
using, in vehicles 105-109
pickup variables
altering 100-104
Pixel Mine 16
PlayerController class 54, 89, 209
player name
drawing, on screen 208- 211
player’s ammo
bar, displaying for 201-204
text, drawing for 205-208
player’s health
bar, displaying for 190-197
text, drawing for 197-201
PlayerSpawned() function 218, 220
PlayerStart 112
PlayerStart navigation point 116
PlayHit() function 222
PointLight archetype
creating 40-45
working 45
PoisonDmg() function 172
PoisonPlayer() function 171
PostBeginPlay() function 69, 131, 179, 218,
220
PostBeginPlay() method 59
PostRender() function 191, 197, 212, 250
prefabs
about 26, 33
audio effects, adding 39, 40
leaking pipe prefab, constructing 34-36
particles, adding 37, 38
working 36
ProcessInstantHit() function 171
properties
class, creating for 63-67


R


raycasting 114
ReachSpecs 112
Remote Control
about 27
used, for editing runtimme values 26-31
RenderBoundingBox() function 243, 248
RespawnDestructable() function 179


ResScaleY variable 198
RouteCache 112
runtime values
editing, with Remote Control 26-31

S


Scaleform 189
scout
adding, for NavMesh properties creation
121-124
Scout class 121
screen
player name, drawing on 208-211
SetBodyMatColor() function 222, 224
SetMovementPhysics() function 131
SetTimer() function 131, 172
ShockRifle class 150
side-scrolling camera
about 75
creating 75-81
side-scrolling games 75
SpawnDefaultController() function 220
SpawnDefaultFor() function 218, 220
Steam sale 13
subarchetype
creating, from archetype 47-49
working 51

T
text
drawing, for player’s ammo 205-208
drawing, for player’s health 197-201
TextScale variable 198
ThirdPersonCam class 72
third person camera
about 72
creating 72-74
Tick() function 159
top-down camera
about 81
creating 82-87
Touched() function 186, 188
TripleA games 189
Tut_AmmoPickup class 95, 99
Tut_HealthPickup class 100
Free download pdf