Name | Type | is_array | initial_value |
CameraRestore | timer | No | |
FP_Camera | unit | Yes | |
I_AM_A_REGION | location | Yes | |
TurnyTimer | timer | Yes |
If you want to use this in your map, please give credits to Modo from The Hive Workshop. You can modify
it to suit your needs but I would still like credits.
This is a First Person Perspective System. It is designed with my map, Defenguin the Penguin, in mind. It is
quite simple to implement and quite effective.
Currently at Version 1:
-Able to turn left and right pressing the left and right keys.
-Need to use the mouse to move.
-Need to enter region for system to activate. If you want it to trigger some other way, simply change the triggers.
-Currenly set to heroes only, again, easily modified.
Copy the folder labelled "System" and modify the integers to suit your needs. You should have "create unknown
variables on copy", or whatever it is called, seleced in the World Editor
preferences (main page (as in main editor page) -> file -> preferences)
Changing the Angel of Attack will change the angle at which you face. It takes trial and error to get the
perfect angle. I use this angle as it lets me see short enemies near me. I could just lower the
height offset, but then i get a face full of, well, face. I dont want to see the unit so I set the height
above the unit.
I have not found a way to make this multi-instanceable, so you will need to make a series of triggers
for each player. I will look into this.
I don't think this system cleans up its leaks, and may be quite slow.
Unit - Move FP_Camera[1] instantly to I_AM_A_REGION[1], facing ((Facing of FP_Camera[1]) + 1.00) degrees
To increase the speed of turning, change the value of the "1.00" to something higher.
This works the same in the right turn.
Lets you face backwards instantly