Jump to content
ollem

Modified Kegety's spectator script for A3 - v 1.0

Recommended Posts

While I was really missing the functionality of the great Kegetys' Spectator Script in ArmA 3 and the updated versions around didn't match my expectations, I decided to bit the bullet and made some major updates which do (/should) work in A3.

Download: Kegetys' Spectator Script for A3 v3.7.zip

spectator_4.jpg

QGFunBnwhXU

Auto Action Focus (raw video, vehicle support after 02:00)

8iy_XfqcsKw

Feedback appreciated

Changes:

V3.7

- Added first person camera

- space bar toggles weapons sight in first person view

- Auto Action Focus / Lazy combat observer mode enabled for first person view too

V3.6

- Fixed occasional client crash due to spectator script

- Smoother camera handling

- improved visibility for 'unit locator' color

- Leader identified by slightly larger and lighter 'color tag'

- code optimization

previous versions:

V3.5

- added Auto Action Focus / Lazy combat observer mode

- Code optimization

- Bug fixes

V3.2

- Added 'AI combat awareness status' visual info option ( Crtl - t )

- Improved map zoom and map click

- Fixed: Arma 3 client crash while watching a player getting killed in combination with BTC-Revive

- Code optimization

- Bug-fixes

v3.1:

- All camera modes linked to same location/target

- v-key for temporary view distance increase (4x) during spectator mode (v-key in combination with alt-key will increase vd up to 12km)

- Code improvements for large amount of AI (faster)

- Chase camera is now first/default camera mode

- Re-added toggle dead/unknown filter

- Fixed update of unit name in chase/lock-on mode when changed using a- and/or d-key

- Multiple bug-fixes

- New version-numbering to align with ArmA3

V1.0

- Removed a few camera features (e.g missile cam, 1st person cam - they may return in the future)

- Added a new 'free camera' to replace the hard to handle butterfly camera

- Added NVG and thermal (white and black) night vision modes (toggle using n key)

- Map Marker Updates are enabled by default (toggle using h key)

- Unit Tags are enabled by default (toggle using t key)

Usage:

- unzip file in spectator sub dir of mission folder

- add the following to 'description.ext' file:

#include "spectator\spectating.hpp"

- for manual start call spectator script with:

[player] execVM "spectator\specta.sqf";

- copy 'onPlayerRespawn.sqf' file to mission root folder to overrule seagull and start spectator script

There are 4 camera view modes, which can be cycled by mouse menu or c (camera) key

- chase: will chase the selected unit - zoom in/out using mouse wheel

- lock-on: will allow you to focus on a unit and circle around by pressing right mouse button and zoom using mouse wheel

- first-person: obviously 1st person view - use space bar to switch between weapon sight

- free: travel camera around using w,s,a,d,q,z keys and mouse scroll wheel, right mouse to circle, and press Alt key to speed up, and use ctrl key for turbo mode

Click near a unit/vehicle on map or minimap to focus on this unit in chase and lock-on mode.

In free cam mode the camera is moved to that location.

m key - toggle map - mini map - no map

h key - while on map stop updating markers in case of low perf

n key - toggle night vision and thermal modes

t key - toggle unit side identification

y key - toggle unit combat awareness status identification

h key - toggle map marker update

v key - toggle (temporary 4x) viewdistance

ctrl + v-key - increase viewdistance up to 12km

c key - cycle camera mode

a/d key - select previous/next unit in lock-on and chase mode

1,2,3 key - direct cam switch

f1 - help

esc - close spectator mode

tab - hide hud

w,s,a,d,q,z key or mouse wheel - move camera in free mode (use alt or ctrl key to speed up camera movement)

alt + right mouse button - change FOV zoom

ctrl + alt + right mouse button - reset FOV zoom

Edited by Ollem
update v3.7

Share this post


Link to post
Share on other sites
Kegetys', not Kegety's.

You're right :D - modified it

Share this post


Link to post
Share on other sites
Guest

Release frontpaged on the Armaholic homepage.

=================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and

explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Have been waiting for such a script - thanks

Share this post


Link to post
Share on other sites

Updated to version 3.1 - see start post

Edited by Ollem

Share this post


Link to post
Share on other sites

Updated to verison 3.2 - see start post

New (a.o. things): AI combat awareness status.

- Red: combat

- Cyan: Stealth

- Green: default

- Yellow: aware

- Blue: careless

spectator2_small.jpg

Edited by Ollem

Share this post


Link to post
Share on other sites
Guest

Thanks for taking the time to inform us of the updated version :cool:

Release frontpaged on the Armaholic homepage.

=================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Thank you very much!

Hmm, when I use this script in my coop tvt mission after character death it constantly blinks changing from seagull into spectator. So it doesnt works.

rpt file:

{_x camSetFov szoom} foreach KEGs_cameras>
 Error position: <_x camSetFov szoom} foreach KEGs_cameras>
 Error Undefined variable in expression: _x
File C:\Users\Igor\Documents\Arma 3 - Other Profiles\[sTELS]Zealot\mpmissions\wog_122_Hydrae_13.Altis\spectator\specta.sqf, line 581
Error in expression <kon camSetTarget KEGscam_target; 

Edited by zealot111
add

Share this post


Link to post
Share on other sites

How do you start the spectator script? (what line of code and where?)

Share this post


Link to post
Share on other sites

Updated to version 3.5

Added Auto Action focus - see start post

Share this post


Link to post
Share on other sites
Guest

Thanks for informing us about the update :cool:

Release frontpaged on the Armaholic homepage.

=================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Updated to version 3.6 - see start post

Changes:

V3.6

- Fixed occasional client crash due to spectator script

- Smoother camera handling

- improved visibility for 'unit locator' color

- Leader identified by slightly larger and lighter 'color tag'

- code optimization

Share this post


Link to post
Share on other sites
Guest

Thanks for informing us of the updated version mate and sorry for the delay, I was testing wine............... :811:

Release frontpaged on the Armaholic homepage.

=================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

=================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Do the embedded videos work for someone else?

Share this post


Link to post
Share on other sites
;2665528']Do the embedded videos work for someone else?

On the 1st page .kju? they do for me.

Share this post


Link to post
Share on other sites

Is there a way, to make it work without adding it to every mission, I mean to install it on dedicated server side and set it to always launch that script after death?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×