Commit Graph

15 Commits

Author SHA1 Message Date
9cc0e64b46 Fix spectator map click not changing cam pos
Fix #3842
PFEH FUNC(handleCamera) will set camera position using GVAR(camPos)
2016-07-23 14:07:03 -05:00
4079ca354e Update spectator function headers 2015-10-04 18:30:07 +01:00
77c2b99ee5 Change spectator external camera behaviour
Using the "external" view is limited by the server difficulty setting. Instead the spectator external camera has been replaced with an oribtal camera as was originally planned to be added alongside the default views.
2015-09-11 14:46:21 +01:00
be7b156c49 Add "focus on unit" to spectator free camera
Pressing F will move the free camera to a position viewing the unit currently selected in the list. Fixes map teleporting functionality also.
2015-08-08 15:49:07 +01:00
7e9500f2ca Enable ace_spectator respawn framework integration
Seamlessly integrates the spectator system with the vanilla respawn framework when the onDeath setting is enabled. This commit makes a lot of changes:
- Edit BI functions used by the vanilla respawn framework to enable support for ace_spectator.
- Set spectator state is now tracked using a GVAR for the local player since using a unit won't be reliable all of the time. However unit is still marked for any filtering purposes.
- Instead of NV being used based on the sun to moon transition state by default, that functionality only takes place in the integrated system so that custom frameworks can do what they want.
- Seagull units are hidden when using framework integration since they're spawned by the engine with respawn type 1 and they just hang around undesirably
2015-08-04 22:03:46 +01:00
5cfe180d3b Fix camPan normalization 2015-07-26 02:17:09 +01:00
2f1639822c Fix incorrect variable 2015-07-25 13:24:50 +01:00
5ac77fa996 Corrected default param value 2015-07-24 22:31:51 +01:00
c9750919a4 PFHs only as needed 2015-07-24 20:29:43 +01:00
766b1e1dcd Retain current settings when invalid settings given 2015-07-22 15:21:32 +01:00
0d798264b0 Enforcing the speed limit 2015-07-21 19:43:03 +01:00
7234c928bc setCameraAttributes should use ATL 2015-07-21 18:17:29 +01:00
dcea8f4929 Adding vision to setCameraAttributes 2015-07-21 15:44:11 +01:00
005b2ad406 camTilt should persist 2015-07-20 23:25:05 +01:00
c3329ca8fc Set camera attributes 2015-07-20 23:17:03 +01:00