The online racing simulator
Coordinates
(9 posts, started )
Coordinates
Hello, I am ma again .....
need your help again I am sorry if I am so silly instead.

and

coordinaten how do I get out?
sample: here is the pit and that what should have been out house
or so.
but now I am missing the coordinaten you can see anywhere?
Thank you
Do you ever read the documentation? It's right there.
^^ ?:jawdrop:
#4 - gru
insim.txt -> IS_MCI
for pits create rectangle or polygon
okay thanx.....
// If ISF_MCI flag is set, a set of IS_MCI packets is sent...

struct CompCar // Car info in 28 bytes - there is an array of these in the MCI (below)
{
word Node; // current path node
word Lap; // current lap
byte PLID; // player's unique id
byte Position; // current race position : 0 = unknown, 1 = leader, etc...
byte Info; // flags and other info - see below
byte Sp3;
int X; // X map (65536 = 1 metre)
int Y; // Y map (65536 = 1 metre)
int Z; // Z alt (65536 = 1 metre)
word Speed; // speed (32768 = 100 m/s)
word Direction; // direction of car's motion : 0 = world y direction, 32768 = 180 deg
word Heading; // direction of forward axis : 0 = world y direction, 32768 = 180 deg
short AngVel; // signed, rate of change of heading : (16384 = 360 deg/s)
};

// NOTE 1) Info byte - the bits in this byte have the following meanings :

^^Thats must all in my insim script ? under ?
sry i dont know
when i add this .... is here an problem :( with word ?
// If ISF_MCI flag is set, a set of IS_MCI packets is sent...

struct CompCar // Car info in 28 bytes - there is an array of these in the MCI (below)
{
word Node; // current path node
word Lap; // current lap
byte PLID; // player's unique id
byte Position; // current race position : 0 = unknown, 1 = leader, etc...
byte Info; // flags and other info - see below
byte Sp3;
int X; // X map (65536 = 1 metre)
int Y; // Y map (65536 = 1 metre)
int Z; // Z alt (65536 = 1 metre)
word Speed; // speed (32768 = 100 m/s)
word Direction; // direction of car's motion : 0 = word y direction, 32768 = 180 deg
word Heading; // direction of forward axis : 0 = word y direction, 32768 = 180 deg
short AngVel; // signed, rate of change of heading : (16384 = 360 deg/s)
};


you only need these

int X; // X map (65536 = 1 metre)
int Y; // Y map (65536 = 1 metre)

MCI.Info[i].X / 65536
MCI.Info[i].Y / 65536

put them in a button and it will show u the X , Y co-ordinates for that place you are at.
Wowow
THX ROBBO01 & ALL IS IT WORK !!!



------------------CLOSED------------------

Coordinates
(9 posts, started )
FGED GREDG RDFGDR GSFDG