Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[New G2O][Client] Free Camera

NOTE! This script requires math package to work
NOTE! You have to enable event onRender via enableEvent_Render function

Info: This script is stable and propably doesn't have any bugs.

This simple script allows to move around the camera just like in many other games like: Half-Life (spectator mode).
It can be used to many things, administration purposes, creating some editor or just playing around.
Feel free to use it.


*Video presentation:

*List of functions:

void enableFreeCam(bool toggle) //switching between free camera mode / normal mode
bool isFreeCamEnabled() //checks if free camera mode is currently enabled

I've updated the script!
There was a small typo in event onCommand which cause any command to toggle between free camera mode.
Script has been updated.

After one of the updates, script wasn't working correctly.
The cause of the problem was change in Camera.getRotation function (that was changed in Version
The more detailed explanation is in script.
Anyways, scripts now works as before this change Wink.

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Client] Version check Quarchodron 2 2,034 25.08.2019, 14:06
Last Post: Quarchodron
  [Client] GUI Creator Quarchodron 6 3,946 12.08.2019, 23:05
Last Post: Arkhan
  [New G2O][Shared] OOP Area Manager Patrix 4 5,238 21.02.2019, 09:35
Last Post: Patrix
  [New G2O][Client-Side] bindKey Patrix 6 5,351 14.11.2018, 02:32
Last Post: Patrix
  [New G2O][Client-Side] OOP Camera Movement Patrix 1 2,493 20.10.2018, 14:22
Last Post: Patrix
  [New G2O][Shared] Command Handler Patrix 3 3,779 05.09.2018, 15:42
Last Post: Patrix
  [New G2O][Shared] packetListener Patrix 3 4,058 20.06.2018, 18:43
Last Post: Tommy
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 5,890 20.03.2018, 19:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 15,239 08.02.2018, 22:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 3,369 27.01.2018, 14:03
Last Post: HammelGammel

Forum Jump:

Users browsing this thread: 1 Guest(s)