FPS Engine Library v2.0

Details

  • Filename
    FPS_Engine_v2.0.SC2Lib
  • Uploaded by
  • Uploaded
    Sep 4, 2010
  • Size
    825.84 KB
  • Downloads
    1,080
  • MD5
    f3c0a31428a44ff736d89eeb608ca6e2

Changelog

This is the trigger library. After you create a map using the data mod as the primary custom dependency, you import this library. Create a camera with the following properties:

Field of View - 27 Distance - 1 Pitch - 0 Z Offset - .65

Now, find the global variable named 'Camera'. It is a Camera Object type variable, and it's located in the folder named 'Camera'. It will have no initial default value. Click the 'no camera object' text to edit the value of the variable. Navigate the the 'value' tab, and your new camera will be listed. Select it. Hit OK, and the value of the global variable should now be your camera. That's it! You now have a working FPS map!

[CHANGELOG]

V2.0 1. There's now ammunition items to add to the number of ammo clips you have. 2. The weapon system now has an associated ammo system. When your clip is empty, hit R to reload. 3. There's now true combat, meaning the enemies will fight back. 4. There's now an HP bar. If it drops to 0 you will die and the map will be over! 5. The AoEConstant weapon operator and the LinearConstant weapon operator have been fixed. No more bugs.

If you accidentally use the mouse scroll wheel to zoom out, the view will zoom way, way out. Hitting the right mouse button should restore the view because it will reset the distance and field of view to the 'zoomed in' values which the right mouse button enables. Then when the button releases, it will set the distance and field of view to their default values again. In the next release I gotta find a way to disable mouse scroll wheel zooming.