[FS]Flying Camera (Camhack) [V 2.0] -
Sandra18[NL] - 13.03.2009
[FS]Flying Camera (Camhack) [V 2.0]
Ok, i'm gonna be very short on this one:
What is is?
This Filterscript allows players to move/rotate their camera with their arrowkeys.
What is the diffence with the other camera-scripts: Well, unlike the others, this one moves the camera (forward/backward) to the point where you looking at.
Since V2.0 you can save the camerapostion too.
Test Server:
If you want to test this feature, you can join my test-server:
IP:
94.215.51.150:7777
[Note] This server not always online!
Commands & controlls:- /fc to enter/exit the Flying Camera Mode
- /camerahelp Opens helpmenu in chat.
- /lock (un)locks the camera, (un)freezes player.
- /follow Toggles camera-following-player-mode on/off
- /savecam [1-3] Saves current cameraview in one of the 3 available slots.
- /loadcam [1-3] Loads the cameraview which was saved in the entered slot
- /savecamtofile (or /sctf) Saves current cameraview into file (SavedCameraPositions.txt)
- /saveclassselection (or /scs) Saves a complete OnPlayerRequest-class callback into file (SavedClassSelections.txt)
- Arrow-keys: Move the camera forward/backward/left/right
- Walk-key + Arrow-keys: Moves the camera up/down
- Crouch-key + Arrow-keys: Rotates the camera up/down/left/right
- Sprint-key + Other combination: Speeds up the movement/rotation
Screens:
All in one example.
Or click these links for other gif-images:
Movement Forward/Backward
Movement Left/Right
Movement Up/Down
Rotating Left/Right
Rotating Up/Down
[Note]: There images here above are examples. The camera moves very smooth ingame!
Download:
How to install:- Download the FC.pwn file and put it in your filterscrips-folder
- Open it with your pawn-editor (and optional change the speed-values) and compile it.
- Open your server.cfg and add "FC" after the 'filterscripts'-line
- Save server.cfg and start your server
Credits:- Orb for GetCoordsOnLine3D-function.
- Fallout for GetAngle-function.
- Sandra for the rest of this filterscript.
Bugs:- In V2.0 i forgot to remove the /spawn command which sets the IsPlayerSpawned[playerid] to '1'
I hope you like it and please leave a comment! 
Re: [FS]Flying Camera (Camhack) -
lesley - 13.03.2009
Great idea sandra, nice script again youve got there
BTW: First poster
Re: [FS]Flying Camera (Camhack) -
tehcudguy - 13.03.2009
Awesome!, I will definitely give this a try
Re: [FS]Flying Camera (Camhack) -
[SK]Lee - 14.03.2009
Very Nice !!
Re: [FS]Flying Camera (Camhack) -
Norn - 14.03.2009
Does it allow us to tp to the cameras position/save the positions?
Re: [FS]Flying Camera (Camhack) -
Lazarus - 14.03.2009
The best PAWN Camhack yet

.
Re: [FS]Flying Camera (Camhack) -
elvago - 14.03.2009
Thanks Sandra, Good Work
PD: Sorry i don't speak much english
Re: [FS]Flying Camera (Camhack) -
mascii - 14.03.2009
sandra is the maddest
Re: [FS]Flying Camera (Camhack) -
[IB]Scorcher - 14.03.2009

Wow!
Re: [FS]Flying Camera (Camhack) -
RyDeR` - 14.03.2009
OMG... This is perfect
Re: [FS]Flying Camera (Camhack) -
SpiderPork - 14.03.2009
Awesome. This is better than the normal Camhack. You don't need to grant permissions for it and to use it, there's just a little command.
Nice idea + work.
Re: [FS]Flying Camera (Camhack) -
caribe88 - 14.03.2009
Nice I like it

I'm sure my players like it to, they make a lot of videos
Thx Sandra
Re: [FS]Flying Camera (Camhack) -
Weed_ - 14.03.2009
You are the best scripter ever, Sandra :O
Re: [FS]Flying Camera (Camhack) -
ICECOLDKILLAK8 - 14.03.2009
This is nice
Re: [FS]Flying Camera (Camhack) -
Think - 14.03.2009
awesome great for film servers.
Re: [FS]Flying Camera (Camhack) -
Burridge - 14.03.2009
just tried, this is AWESOME!!
Re: [FS]Flying Camera (Camhack) -
Sandra18[NL] - 14.03.2009
Thanks all.
Re: [FS]Flying Camera (Camhack) -
pspleo - 14.03.2009
It's really really nice
Leopard
Re: [FS]Flying Camera (Camhack) -
Sandra18[NL] - 14.03.2009
New Version!!
Whats new:
/savecam [1-3]
This command allows players to save their current view in one of the 3 slots. Note that saving the data in a slot, will overwrite the old data in that same slot!!
Every player has 3 slots available!
/loadcam [1-3]
This command loads the cameraposition that was saved in the entered slot.
You will get errormessage when entered a slot which is empty.
/savecamtofile or /sctf [Rcon Admin Only]
This command saves the current camerapostion and lookat in the file "SavedCameraPositions.txt" in this format:
Quote:
SetPlayerCameraPos(playerid, 1497.42, -716.50, 103.31);
SetPlayerCameraLookAt(playerid, 1497.38, -711.66, 102.0 ;
|
/saveclassselection or /scs [Rcon Admin Only]
This command saves a complete OnPlayerRequestClass-callback, including PlayerPosition, PlayerFacingAngle, Interior, CameraPosition and CameraLookAt:
Example:
Quote:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1837.12, -1435.42, 35.92);
SetPlayerFacingAngle(playerid, 234.02);
SetPlayerCameraPos(playerid, 1842.14, -1439.38, 35.49);
SetPlayerCameraLookAt(playerid, 1838.04, -1436.51, 36.85);
return 1;
}
|
Edit: 1000th post!
Re: [FS]Flying Camera (Camhack) [V 2.0] -
Mrkrabz - 14.03.2009
Hey and thanks, Is it possible to teleport to the Cameras Position? That would be cool