PDA

View Full Version : [HR/SR:FS] Top view


Correlli
16/11/2009, 08:58 PM
Ovo sam napravio jer mi je bilo dosadno i zato jer sam vidio ovaj (http://forum.sa-mp.com/index.php?topic=114016.0) topik.
Ovo je slićno pogledu kojeg možete vidjeti u GTA2 i GTA3, brže što vozite, viši će biti vaš pogleda na igraća.
Nije baš korisno ali je lijepo ako se želite sjetiti kako izgleda pogled u starog GTA2 i GTA3.

Koristio sam Donny-evu ideju, tako da kamera nebi lagga:

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.


Komande:
/viewon - upali pogled.
/viewoff - ugasi pogled.

Slike:
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

Zasluge:
DracoBlue (http://forum.sa-mp.com/index.php?action=profile;u=467) za DCMD. (http://forum.sa-mp.com/index.php?topic=70925.0)
Donny (http://forum.sa-mp.com/index.php?action=profile;u=1694) za njegovu ideju.
Tko god je napravio IsPlayerInCube funkciju (zaboravio sam tko ju je napravio :/).

Skini skriptu:
Ovdje! (http://solidfiles.com/d/uXvk)

Baff
16/11/2009, 09:10 PM
mocno je hebote :D

znaci ovo NE PRATI igraca nego tek kad on izadje iz 'kadra' tek tada se kamera 'update'-a?

Correlli
16/11/2009, 09:12 PM
-MrBaff-|| ]
znaci ovo NE PRATI igraca nego tek kad on izadje iz 'kadra' tek tada se kamera 'update'-a?


Da, ako bi ga stalno pratilo onda bi stvaralo lag.