GTA V Spawn Camera

Started by !, Aug 07, 2018, 05:22 PM

Previous topic - Next topic

!

Spawn camera from Grand Theft Auto V created for Liberty Unleashed ported to Vice City Multiplayer
Source: Link


https://youtu.be/I8Im8rJtZho

[spoiler=Topic_from_LU]
QuoteI 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:
GTAVSpawn ( Player pPlayer , Vector pVector );

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

Discord: zeus#5155

MEGAMIND


=RK=MarineForce

@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 :)

!

Quote from: =RK=MarineForce on Sep 05, 2018, 11:34 AM@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

Quote from: ! on Sep 05, 2018, 04:52 PM
Quote from: =RK=MarineForce on Sep 05, 2018, 11:34 AM@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 ...

!

#5
Quote from: Saiyan Attack on Sep 05, 2018, 09:48 PMthen 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 Sep 05, 2018, 11:34 AM@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 )
function onPlayerSpawn( player ) {
GTAVSpawn( player , Vector( -381.691, -538.03, 17.2833 ) );
}

Discord: zeus#5155

=RK=MarineForce

Nice bro i got many idea's for my server from ur system :-* :-* :-*