• Welcome to Vice City Multiplayer.
 

VCMP & LCMP Map Editor - HELP

Started by IvanSantos96, August 04, 2010, 11:02:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IvanSantos96

Quote from: Relax on August 06, 2010, 12:54:02 AM
Start vc-mp and in the right place for you type /save [comment]
then you see in your game folder vc-mp_saved_coords.txt
I used
/c saveloc teste
but thanks  :D

Quote from: YmOn on August 06, 2010, 01:41:34 AM
LOLZ? :D
You may crate object in vcmp using CreatePickup
I think this is only for Pickups  ;)

[AoD]NC

QuoteI used
/c saveloc teste
but thanks

You can use /c commands only when you have scripts. But yes, you can script your own command, that saves the vehicle pos (and modifies it).

IvanSantos96

#17
So, now how to create the vehicle? CreateVehiclePos maybe?

[AoD]NC

Ye, you are right.

native CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2);

Example:
CreateVehicle(130, 0, 0, 0, 180, -1, -1);

This should create a Landstalker at a well-known point 0, 0, 0 :). With angle -180 (faced to south) and random colors.

IvanSantos96

Quote from: [AoD]NC on August 06, 2010, 12:23:28 PM
Ye, you are right.

native CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2);

Example:
CreateVehicle(130, 0, 0, 0, 180, -1, -1);

This should create a Landstalker at a well-known point 0, 0, 0 :). With angle -180 (faced to south) and random colors.

I'm using GUPS 1.16a and I put the car in scriptfiles\Vehicles\list.ini with the line
153=130 1173.10388183 -929.64703369 14.64182567 -1 -1 90
and it appears in the water very far away of the airport and it must be placed in the airport park :S
If I do /save I don't know where is the coordinates saved?

StriKe

Co-ordinates will be saved in a file which can be located @ vice city directory.

IvanSantos96

Quote from: StriKe on August 06, 2010, 06:28:37 PM
Co-ordinates will be saved in a file which can be located @ vice city directory.

sh*t doesn't appears nothing :(

[AoD]NC

It must! Make sure you type /s on server and there will be a message. Then just VC folder -> vc-mp_saved-coords.txt or something similar. It must! It works even without admin rights :/.

IvanSantos96

Quote from: Relax on August 06, 2010, 12:54:02 AM
Start vc-mp and in the right place for you type /save [comment]
then you see in your game folder vc-mp_saved_coords.txt

You said /save but only works with /s or /c saveloc [name]
The car appears in the water because I put 1173.10388183 -929.64703369 14.64182567 instead of -1173.10388183 -929.64703369 14.64182567
Ty

[AoD]NC

You forgot the "-" at the beginning, happens to me often too :p.

And you don't need so many numbers after ",". I cut them to 2 places after the comma.

You: -1173.10388183 -929.64703369 14.64182567
Me: -1173.10 -929.64 14.64

In game it will give you the same results, but the file size will be smaller and it's better to reading for eyes :).