Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: IvanSantos96 on August 04, 2010, 11:02:16 PM

Title: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 04, 2010, 11:02:16 PM
Please anyone can tell me a program that edit and convert maps from VC and LC to pawn???
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 04, 2010, 11:08:38 PM
I guess there is nothing for now.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 05, 2010, 12:38:20 AM
why? i already do this in SAMP with Delux GTA Map Converter but i tried to convert the VC's Map files and appears the wrong codes.
must have a way to do this :'(
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: Relax on August 05, 2010, 12:58:46 AM
If you want convert to pawn vc-mp, it is not possible, because VC-MP Pawno does not support the creation of objects. Or did you mean something else?
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 05, 2010, 11:05:15 AM
Ok thanks anyway :S
But if I edit the map in the game it stays with that format for me in server without crash? If yes I will post a client for my server in my website.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 05, 2010, 01:59:44 PM
First of all what do you mean by "map". Objects like Relax said? Or maybe cars position on server?

Because in VCMP R2 you can't add your own maps, like new islands.


And cool website btw. ;o.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 05, 2010, 02:11:52 PM
its for add objects  :'(
I'm moding my map and vehicles of Vice City to see if the mods still working on the server.

anyway, how to add vehicles to that position ???
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: Tonys on August 05, 2010, 03:58:24 PM
Objects currently not available on VC:MP.
Vehicles - download client version 0.3x as it's the only one that has a working build mode.  Search the forum on how to get build mode working in 0.3x as there is a few topics on the subject.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 05, 2010, 08:34:45 PM
ok. I have released a Patch for my server for the people who play in my server play with Stunt maps and IT WORKS!!! It doesn't crash the game  ;D

Someone can tellme how to know the coordinates to put the vehicles?
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: 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
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: OLvidO on August 06, 2010, 01:03:47 AM
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
Yeah, but you need to enter to the vehicle first, so it will save as a vehicle coordinate :)
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 06, 2010, 01:10:18 AM
Btw. be sure that the vehicle is on a flat ground, otherwise it may look weird :).
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: Relax on August 06, 2010, 01:24:07 AM
Quote from: OLvidO on August 06, 2010, 01:03:47 AM
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
Yeah, but you need to enter to the vehicle first, so it will save as a vehicle coordinate :)
It is obvious, but if you save when you is not in the car, but where vehicle should be, it does not change the final result. You get the same result as when you save in the car. But it is better to do only if there is no time to find a car :D
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: YmOn on August 06, 2010, 01:41:34 AM
LOLZ? :D
You may crate object in vcmp using CreatePickup
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: Relax on August 06, 2010, 01:43:56 AM
ahaha, pickups is not objects
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 06, 2010, 11:37:46 AM
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  ;)
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 06, 2010, 11:48:11 AM
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).
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 06, 2010, 11:49:33 AM
So, now how to create the vehicle? CreateVehiclePos maybe?
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [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.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 06, 2010, 05:43:12 PM
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?
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: StriKe on August 06, 2010, 06:28:37 PM
Co-ordinates will be saved in a file which can be located @ vice city directory.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 06, 2010, 07:47:50 PM
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 :(
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 06, 2010, 09:19:28 PM
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 :/.
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: IvanSantos96 on August 07, 2010, 02:02:23 PM
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
Title: Re: VCMP & LCMP Map Editor - HELP
Post by: [AoD]NC on August 07, 2010, 03:48:17 PM
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 :).