Positions For Race System

Started by Saiyan Attack, Sep 14, 2017, 06:19 PM

Previous topic - Next topic

Saiyan Attack

Hello everyone !!

I need help for making position system in race i saw in gta vice city RC bandit Race that player can seen their position when someone left back .... is that possible that we can make the same position system in vcmp ?? if yes then how ?

sorry for my bad english :'(

Saiyan Attack


Mahmoud Tornado

Quote from: Saiyan Attack on Sep 14, 2017, 06:19 PMHello everyone !!

I need help for making position system in race i saw in gta vice city RC bandit Race that player can seen their position when someone left back .... is that possible that we can make the same position system in vcmp ?? if yes then how ?

sorry for my bad english :'(
you wanna Vectors ?
X=
Y=
Z=
??

Saiyan Attack

#3
no buddy i want position system for racers which show you, your position from your opponents. and i only know that distance are require for this but i don't know how it works ! i try it but failed cause i don't know how to run distance minus direction
here is an example of positions ....



Shadow

Here is how I do it in my plugin. Check out this function.

The most important lines are this and this
QuotePS:is trash is ur home language??

Mahmoud Tornado

Quote from: Saiyan Attack on Sep 16, 2017, 05:23 PMno buddy i want position system for racers which show you, your position from your opponents. and i only know that distance are require for this but i don't know how it works ! i try it but failed cause i don't know how to run distance minus direction
here is an example of positions ....


sry i don't know how :( i am sry :(

Saiyan Attack

Quote from: Shadow on Sep 16, 2017, 10:43 PMHere is how I do it in my plugin. Check out this function.

The most important lines are this and this
Thanks @Shadow sir but will you explain me little bit about leftgap, heading, Vector3 ?
Quote from: Mahmoud Tornado on Sep 17, 2017, 10:09 AM
Quote from: Saiyan Attack on Sep 16, 2017, 05:23 PMno buddy i want position system for racers which show you, your position from your opponents. and i only know that distance are require for this but i don't know how it works ! i try it but failed cause i don't know how to run distance minus direction
here is an example of positions ....


sry i don't know how :( i am sry :(
It's okay friend don't you worry about it !!

KAKAN

Quote from: Saiyan Attack on Sep 17, 2017, 11:27 AM
Quote from: Shadow on Sep 16, 2017, 10:43 PMHere is how I do it in my plugin. Check out this function.

The most important lines are this and this
Thanks @Shadow sir but will you explain me little bit about leftgap, heading, Vector3 ?
Shadow( to himself ): I shouldn't have said that, I shouldn't have said that.
oh no

Shadow

leftgap is a constant that acts as the distance between the left and the right columns of cars. heading is the vehicle angle by which you spawn the grid (the orientation of the first checkpoint is what I choose as heading for the generation) and I'll let you guess what Vector3 could be..

@KAKAN perhaps
QuotePS:is trash is ur home language??

Saiyan Attack

Thanks @Shadow I understand !!
topic locked !!