[FilterScript] [FS] Top view - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Top view (
/showthread.php?tid=89280)
[FS] Top view -
Correlli - 01.08.2009
What is this?
I've created this because i was bored and because i saw
this topic.
This is the similar view you can see in GTA2 and GTA3, the faster you drive, the higher you're view will be (if you're in vehicle).
It's not useful but it's nice if you want to remind yourself of good old GTA2 and GTA3 top view.
I've used Donny's idea, so the camera won't get laggy:
Quote:
Originally Posted by Donny
You could use area checks on a timer which when the player is in the area it puts the camera above him but at the areas center so the camera is still static (no lagg) then when he leaves this area and goes into the next it switches/updates the cams view point to the new areas center. The camera obviously wouldn't follow the player now though, he would be running about freely in the area and not at the center of the screen but the view which you get is the same it's just not stuck to the player.
|
Screens:
http://www.shrani.si/f/l/8w/2BcAvNLc/1/sa-mp-001.png
http://www.shrani.si/f/3r/Fa/3fzYox8X/sa-mp-002.png
http://www.shrani.si/f/1C/pk/4Y14ZxrU/sa-mp-003.png
Commands:
/viewon - turns the top view on
/viewoff - turns the top view off
Credits:
DracoBlue for
DCMD command processor,
****** for foreach function,
Donny for his idea,
whoever made the IsPlayerInCube function.
Download:
http://www.solidfiles.com/d/02508b6aa3
Re: [FS] Top view -
refshal - 01.08.2009
Yeah, it lags a bit. But it's actually cool. I just tested it, and it works. Good work! :P
Re: [FS] Top view -
Correlli - 01.08.2009
Quote:
Originally Posted by Seif_ [adream-rp.com
]
So the camera doesn't follow the player? If it does, you see some sort of cam lag.
|
Correct. It does follow him when he leaves the cube range (check Donny's idea).
Re: [FS] Top view -
DarkClone - 01.08.2009
Nice work, it's like Resident Evil sort of.
Re: [FS] Top view -
SpiderPork - 01.08.2009
Nice, not bad

.
Re: [FS] Top view -
Donny_k - 01.08.2009
I've not tested it dude but good job on putting it together and cheers for the credit.
Re: [FS] Top view -
Correlli - 01.08.2009
Thanks guys.
Re: [FS] Top view -
aspire5630 - 01.08.2009
Ooo nice, Could i have a screen,

i need somethng like this
Re: [FS] Top view -
Correlli - 01.08.2009
Quote:
Originally Posted by aspire5630
Ooo nice, Could i have a screen, 
i need somethng like this
|
Sure:
http://www.shrani.si/f/l/8w/2BcAvNLc/1/sa-mp-001.png
http://www.shrani.si/f/3r/Fa/3fzYox8X/sa-mp-002.png
http://www.shrani.si/f/1C/pk/4Y14ZxrU/sa-mp-003.png
Re: [FS] Top view -
Hiddos - 04.12.2010
Has anyone (Or Correlli himself) possibly got the source so I could compare it to mine?
Thanks in advance.