• Welcome to Vice City Multiplayer.
 

Script Vcmp.data - Area

Started by Chezor, September 08, 2008, 05:42:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chezor

If i want a particular sqaure to be named as some property name, then how can i add it. Like when i type !area it shows the area in which im standing at. so how to make like that.

like if i want to make any part of land to be named as per my wish.
I tried co-ordinates but i dunno what to put there actually..

Example:
-213.73,1243.47,163.656,1243.47,163.656,797.605,-213.73,797.605=Prawn-Island
-213.73,797.605,163.656,797.605,163.656,-241.429,-213.73,-241.429=Leaf Links

what are those co-ordinates above ?  x y and z or ?
example: if i want to put area name to a heli-pad as landing spot (just example). which co-ordinates i should put ? The co-ords of corners ? please answer

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

Chezor

uh sorry for double post but please answer

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

szostol

Yes, I think coords of corrners should be enaguh, you can add hight coord too.

Chezor

Quote from: szostol on September 08, 2008, 07:44:10 PM
Yes, I think coords of corrners should be enaguh, you can add hight coord too.
umm i cant get it to work though..
Suppose :
corner 1 = x, y, z
corner 2 = x, y, z
corner 3 = x, y, z
corner 4 = x, y, z

then what should i add in vcmp data
x, y, z, x, y, z, x, y, z, x, y, z=location  ???

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

AdTec_224

This is how to do it if i remember it right: get bottom left corner coords and top right corner coords:



Sorry about the pic :d

then its:

X1,Y2,X2,Y2,X2,Y1,X1,Y1=location

Hard to remember now but i think thats how i did it :P

-AdTec_224

Chezor


Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

Chezor


Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

AdTec_224

Just tested the way i said and it works fine for me:

Quote<KFJBot> [1] [KFJ]AdTec_224: !loc
<KFJBot> Your Location: Bank

and my coords and code:

-901.4593 -352.2603 13.3802 = XY1 (Z not used)
-966.5250 -328.1825 15.5918 = XY2 (Z not used)

-901.4593,-328.1825,-966.5250,-328.1825,-966.5250,-352.2603,-901.4593,-352.2603=Bank

remember to add the new location at the top of your location file.

-AdTec_224

Chezor

Quote from: AdTec_224 on September 09, 2008, 05:50:06 PM
Just tested the way i said and it works fine for me:

Quote<KFJBot> [1] [KFJ]AdTec_224: !loc
<KFJBot> Your Location: Bank

and my coords and code:

-901.4593 -352.2603 13.3802 = XY1 (Z not used)
-966.5250 -328.1825 15.5918 = XY2 (Z not used)

-901.4593,-328.1825,-966.5250,-328.1825,-966.5250,-352.2603,-901.4593,-352.2603=Bank

remember to add the new location at the top of your location file.

-AdTec_224

hey i forgot to post here that it worked when i added it to top :p
lol thanx for suggesting to add it to top of ini file. But i already experimented it  ;D

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

Chezor

but hmm guys if i want 4 or 5 corners then ? or more than 2 corners

if i want to script irregular shaped area.. ?

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..