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

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.

Download

*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

Reply
#2
I've updated the script!
There was a small typo in event onCommand which cause any command to toggle between free camera mode.
Reply
#3
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 0.1.5.3).
The more detailed explanation is in script.
Anyways, scripts now works as before this change Wink.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Client] Version check Quarchodron 2 1,345 25.08.2019, 13:06
Last Post: Quarchodron
  [Client] GUI Creator Quarchodron 6 2,436 12.08.2019, 22:05
Last Post: Arkhan
  [New G2O][Shared] OOP Area Manager Patrix 4 3,971 21.02.2019, 08:35
Last Post: Patrix
  [New G2O][Client-Side] bindKey Patrix 6 3,979 14.11.2018, 01:32
Last Post: Patrix
  [New G2O][Client-Side] OOP Camera Movement Patrix 1 1,796 20.10.2018, 13:22
Last Post: Patrix
  [New G2O][Shared] Command Handler Patrix 3 2,733 05.09.2018, 14:42
Last Post: Patrix
  [New G2O][Shared] packetListener Patrix 3 2,951 20.06.2018, 17:43
Last Post: Tommy
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 4,174 20.03.2018, 18:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 11,383 08.02.2018, 21:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 2,268 27.01.2018, 13:03
Last Post: HammelGammel

Forum Jump:


Users browsing this thread: 1 Guest(s)