SiK Speed is King
Multi Theft Auto => Multi Theft Auto Discussion => Topic started by: MegasXLR on September 27, 2017, 10:34:00 AM
-
Hey guys,
Recently I started making a resource which would allow us to spectate the ghost vehicle on maps that have it. But I need your opinions on which camera looks the best. Below are 3 1-minute videos showing each camera mode. Would appreciate it if you reply with your choice here.
First Mode:
Second Mode:
Third Mode:
Fourth Mode:
-
None of them.
A player should be able to move his camera (just like you can do when spectating another player).
-
None of them.
A player should be able to move his camera (just like you can do when spectating another player).
Well I'm still looking for ways to enable mouse movement. But if it can't be done it's gonna be one of those so better say which you most likely wanna see ^^
-
None of them.
A player should be able to move his camera (just like you can do when spectating another player).
Well I'm still looking for ways to enable mouse movement. But if it can't be done it's gonna be one of those so better say which you most likely wanna see ^^
Ability to move your camera would be awesome... but if it can't be done then my favourite point of view is #3. I hope you can improve it because the camera is shaking too much.
Still, better than nothing. Good job.
EDIT: #4 is the best
-
UPDATE: A version with moving camera is done. There is just one problem - the camera does not follow the ghost car. This means that when the ghost makes a turn the camera will not stay behind the car: it has to be moved manually. Check OP for video. I'm still looking for a way to have both the free camera movement and to also keep the focus behind the ghost car when mouse is not touched (just like it is in normal spectate mode). Let me know here or on Skype if you want to see #4 instead of an option you've already voted for.
-
yeah 4th mode looks the best
-
Hey guys, got some updates on this:
Improvements:
1. Since pretty much everybody who I asked said that #4 is the best I'll release only one version of the resource (it's not ready yet, hold your horses) with camera #4.
2. Camera can be moved freely around the vehicle just like in normal spectating.
3. If you've moved the camera and don't move your mouse for 1500ms (1.5seconds) the camera goes back to the vehicle's rear. Just like in normal spectating mode.
4. You can press Q to look to the left side of the vehicle, E to look to the right side of it and both Q+E - to look at it's front...just like in normal spectating :)
5. When you have a cursor on the screen, a chatbox is open (doesn't matter if it's main, team or admin chat), the console (F8) is open, you're in the main menu (ESC) or the download dialog is shown - the camera won't move around the ghost. It works only when there is nothing from the things I mentioned on your screen.
Bugs:
1. The camera never changes it's Z position. This means that while on a straight road it will look perfect, but if the vehicle goes up or down a hill the camera does not go up or down with it and most times you either see the car's roof or below the GTA textures depending if it's going down or uphill.
2. When you minimize your game and maximize it again the camera is moved and most times shows the ghost car from underneath it, also being underneath the GTA textures.
3. If you move your mouse and then press Q, E or Q+E, when you release whichever combination you've pressed the camera will not go back to the car's rear immediatly like it is in normal spectating but will have a delay of 1500ms (1.5seconds). If you only press Q, E or Q+E it works perfect though. It's a very insignificant bug and I'm not thinking of fixing it, atleast at this point.
That's all, stay tuned and feel free to ask questions if you have any.
-
Fixed bug #2 and also added new features as follows:
1. I made race checkpoint markers show infront of the ghost just like it is in normal spectating.
2. I added ghost info at the bottom center of the screen which shows the ghost name (color coded) as well as the ghost's current checkpoint.
3. I added radar blips to the above mentioned ghost checkpoint markers.
4. Ghost checkpoint markers have the arrow inside of them that points to the next marker.
5. If map has corona checkpoints, ghost cp markers will also be coronas, etc.
6. The last cp blip/marker shows as a normal finish icon, as it should be.
7. When the ghost hits the last cp the player spectating it automatically gets put into "spectating" state.
8. I added 3D lines on the surface which highlight the road where the ghost will go a few meters ahead of the ghost vehicle.
9. All checkpoint blips, markers and the route highlights are in white color (you know, ghost - white, heh) so it's more distinct compared to normal ones.
10. All of the things: ghost info, ghost checkpoint markers, ghost checkpoint blips and ghost route highlight can be turned off via commands which get saved into a .xml file so they're saved on reconnect or quit.
-
Just fixed bug #3 and also made it so that when you start spectating the ghost vehicle all default checkpoint blips and markers become invisible. When you stop spectating the ghost they return back to normal.
The only thing left to fix is bug #1 and I've got a friend who's looking into it. When that gets done it will be ready for release. :)
-
Oh my friggin God, you'll create a gamemode out of that xd
-
Oh my friggin God, you'll create a gamemode out of that xd
1205 lines of code until now :D
-
New update out: https://community.multitheftauto.com/index.php?p=resources&s=details&id=15011 (https://community.multitheftauto.com/index.php?p=resources&s=details&id=15011)
MTA finally lets us use setCameraTarget() on 'ped' and 'vehicle' objects as well as 'player' objects. See changelog for details.