Game Development Reference
In-Depth Information
Check that you cannot select the Bio-Rifle weapon using the mouse wheel
Check that the aiming reticle in the center of the screen has not changed
Next add the text for the GetGun event and GunEffects action along flow 12:
Find an unloaded Bio-Rifle hovering above the floor of the arena and walk into it.
Check that the Bio-Rifle sound is made
Check that the game temporarily displays “You got the Bio-Rifle�? in white text
above the gun icons at the bottom of the screen
Check that the game simultaneously displays “Bio-Rifle�? temporarily in blue
text above the “You got the Bio-Rifle�? message
Check that all temporary text on the display fades out slowly
Then paste the definition of the HaveGunHaveAmmo state:
Check that the Bio-Rifle icon is present in the graphical weapon inventory at
the bottom of the screen
Check that the Bio-Rifle barrel is rendered in front of your character
Check that you can select the Bio-Rifle weapon using the mouse wheel
Check that the Bio-Rifle aiming reticle appears as a small blue broken triangle
in the center of the screen
Check that the ammunition count in the right-hand corner of the screen is 40
Flow 13 is the last flow on the path. It is the Exit flow, which goes to OUT_GunAmmo .
Complete the test case by adding the text for these two elements:
Hit the ESC key and exit the match.
At the main menu, click “EXIT UT2004�? to exit the game.
That's it! Here's how all of the steps look when they're put together:
Launch Unreal Tournament 2004 on the test PC.
Select a match and click the FIRE button to start the match.
Check that the Bio-Rifle icon is empty in the graphical weapon inventory at
the bottom of the screen
Check that the Bio-Rifle barrel is not rendered in front of your character
Check that you cannot select the Bio-Rifle weapon using the mouse wheel
Search WWH ::




Custom Search