!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380
GTA V Spawn Camera
«  »Last edited
Spawn camera from Grand Theft Auto V created for Liberty Unleashed ported to Vice City Multiplayer
Source: Link



https://youtu.be/I8Im8rJtZho

(click to show/hide)
Quote
I got bored and decided to make a spawn camera like the one in Grand Theft Auto V.

You know ... the one where it goes into birds-eye view like the old GTA, then changes a couple of times, each getting closer to the player until finally showing the player and restoring control.

Usually a little dialog in there too, but I didn't recreate that lol.

So behold, the same spawn camera for Liberty Unleashed!
Just plug and play, pretty much. Script folder into server, add to content.xml, and so on.

A couple of things though:
The draw distance sucks for GTA III, so I had to bring the camera view way down. In GTA V they usually start with the whole city or an entire region of the rural area, before making their way down to the smaller area where the player is. This spawn camera I made starts in the small area, and works down from there. Not exactly the same but it's pretty neat though.

Second, normal spawn with the control key is blocked. Use the following snippet of code to use the new spawn camera:
Code: [Select]
GTAVSpawn ( Player pPlayer , Vector pVector );

Anyway, here's the link to the source. Available on GitHub.
https://github.com/VortrexFTW/lu_gtavspawncam

Discord: zeus#5155

MEGAMIND

  • Hero Member
  • Developer of "Web-Net" search engine
  • Posts: 698

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 447
Re: GTA V Spawn Camera
« Reply #2,  »
@zeus bro, i m added. this and on player spawn .

function onPlayerSpawn( player )
{
GTAVSpawn ( 84, -1167.65, -631.166, 11.8277 );
}

and dofile too .

not working bro :)
Try to UnderStand ME!

!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380
Re: GTA V Spawn Camera
« Reply #3,  »
Quote from =RK=MarineForce on September 5th, 2018, 12:34 PM
@zeus bro, i m added. this and on player spawn .

function onPlayerSpawn( player )
{
GTAVSpawn ( 84, -1167.65, -631.166, 11.8277 );
}

and dofile too .

not working bro :)
It was tested on a blank server before publish.

Discord: zeus#5155

Saiyan Attack

  • Jr. Member
  • [KoF]Killer
  • Posts: 69
Re: GTA V Spawn Camera
« Reply #4,  »
Quote from ! on September 5th, 2018, 05:52 PM
Quote from =RK=MarineForce on September 5th, 2018, 12:34 PM
@zeus bro, i m added. this and on player spawn .

function onPlayerSpawn( player )
{
GTAVSpawn ( 84, -1167.65, -631.166, 11.8277 );
}

and dofile too .

not working bro :)
It was tested on a blank server before publish.
then re-test the code becuz it has bug in timers ...

!

  • Sr. Member
  • Don't feel shy while zooming on h*r... >>zeus#5155
  • Posts: 380
Re: GTA V Spawn Camera
« Reply #5,  »Last edited
Quote from Saiyan Attack on September 5th, 2018, 10:48 PM
then re-test the code becuz it has bug in timers ...
Check if player exist in each function I would rather update the snippet.
It works on a blank server and it is supposed to work nothing is wrong in it.


:edit:
Quote from =RK=MarineForce on September 5th, 2018, 12:34 PM
@zeus bro, i m added. this and on player spawn .

function onPlayerSpawn( player )
{
GTAVSpawn ( 84, -1167.65, -631.166, 11.8277 );
}

and dofile too .

not working bro :)
Where dafaq I said to do it like this, the arguments in function
GTAVSpawn( instance player, vector Pos )
Code: [Select]
function onPlayerSpawn( player ) {
GTAVSpawn( player , Vector( -381.691, -538.03, 17.2833 ) );
}

Discord: zeus#5155

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 447
Re: GTA V Spawn Camera
« Reply #6,  »
Nice bro i got many idea's for my server from ur system :-* :-* :-*
Try to UnderStand ME!