UnrealScript Game Programming Cookbook

(Chris Devlin) #1
Chapter 1

31

You'll notice that when firing our weapon, the locations where the
projectiles and beam start no longer line up with our weapon. That's
because we haven't changed those values.
I also can't tell you the exact values to change, as the appearance of the
weapon in the game will depend largely on the resolution with which you
are running.


  1. From here you'll want to scroll down to the Weapon tab and look for Fire Offset.
    These values will allow you to adjust how the projectiles will appear to fire from
    your weapon.


There's more...


You can also call objects and actors by their names using the command line. Hitting the Tab
key during gameplay and typing EditObject during play will allow you
to create an instance of most objects.

Free download pdf