Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: ysc3839 on May 02, 2015, 05:57 AM

Title: VCMPConverters!
Post by: ysc3839 on May 02, 2015, 05:57 AM
VCMPConverters

These are html applications which help you convert Vice-City map file to VCMP xml file.

Currently finished MapHider(HideMapObject Converter)!

Website: https://ysc3839.github.io/vcmpconv/
Source: https://github.com/ysc3839/vcmpconv/

How to use?
1. Find the map object in .ipl files, such as441, veg_treea1, 0, -631.9671021, -465.7115479, 9.247497559, 1, 1, 1, 0, 0, 0, 12. Copy it to the left text box, then click Convert.
3. Done! Result:HideMapObject(441, -631.9671021, -465.7115479, 9.247497559)
Title: Re: VCMPConverters!
Post by: Sebastian on May 04, 2015, 01:32 PM
This is for sure something I need. :)
I will test it as soon as I fix an annoying .txd file of a custom object.
Title: Re: VCMPConverters!
Post by: DizzasTeR on May 04, 2015, 02:10 PM
This tool is just amazing, I forgot to respond on this cuz I read it from phone back then.
Title: Re: VCMPConverters!
Post by: ysc3839 on May 10, 2015, 09:32 AM
Update! Added IPLConverter.

Input map objects, such as
441, veg_treea1, 0, -631.9671021, -465.7115479, 9.247497559, 1, 1, 1, 0, 0, 0, 1Then click "Convert and save", will save "IPL.xml" file. (File saving tested on Chrome and IE, supports old IE version)
File content:
<?xml version="1.0" encoding="UTF-8"?>
<itemlist>
<item model="441" name="veg_treea1">
<position x="-631.9671021" y="-465.7115479" z="9.247497559" />
<rotation format="axisangle" x="0" y="0" z="0" angle="1" />
</item>
</itemlist>

Website https://ysc3839.github.io/vcmpconv/
Title: Re: VCMPConverters!
Post by: Sebastian on May 10, 2015, 09:39 AM
/me waits for the .ipl to CreateObject converter. 8)
Pay Big atention on it, because the angles can be wrong sometimes. (depends on position on map - N S E W - I guess)
Title: Re: VCMPConverters!
Post by: rObInX on May 10, 2015, 01:39 PM
It would be great if it give us an option to change the first item model id and then automatically increases the rest.

Thanks! You rock.
Title: Re: VCMPConverters!
Post by: ysc3839 on May 16, 2015, 06:11 AM
Quote from: sseebbyy on May 10, 2015, 09:39 AM/me waits for the .ipl to CreateObject converter. 8)
Pay Big atention on it, because the angles can be wrong sometimes. (depends on position on map - N S E W - I guess)
I made it for you!
https://ysc3839.github.io/vcmpconv/ipl2code.html
Input:
441, veg_treea1, 0, -631.9671021, -465.7115479, 9.247497559, 1, 1, 1, 0, 0, 0, 1Output:
CreateObject(441, 1, -631.9671021, -465.7115479, 9.247497559, 255).RotateTo(Quaternion(0, 0, 0, 1), 0);I haven't tested it.
Title: Re: VCMPConverters!
Post by: ysc3839 on May 16, 2015, 06:33 AM
Quote from: rObInX on May 10, 2015, 01:39 PMIt would be great if it give us an option to change the first item model id and then automatically increases the rest.

Thanks! You rock.
Added object id override!
Title: Re: VCMPConverters!
Post by: Sebastian on May 16, 2015, 08:07 AM
Quote from: ysc3839 on May 16, 2015, 06:11 AM
Quote from: sseebbyy on May 10, 2015, 09:39 AM/me waits for the .ipl to CreateObject converter. 8)
Pay Big atention on it, because the angles can be wrong sometimes. (depends on position on map - N S E W - I guess)
I made it for you!
https://ysc3839.github.io/vcmpconv/ipl2code.html

You should try it with rotated objects. (in different ways)
It doesn't work properly.

Also, I suggest you to set the default world to be 0. :)
Title: Re: VCMPConverters!
Post by: ysc3839 on May 16, 2015, 10:48 AM
Quote from: sseebbyy on May 16, 2015, 08:07 AM
Quote from: ysc3839 on May 16, 2015, 06:11 AM
Quote from: sseebbyy on May 10, 2015, 09:39 AM/me waits for the .ipl to CreateObject converter. 8)
Pay Big atention on it, because the angles can be wrong sometimes. (depends on position on map - N S E W - I guess)
I made it for you!
https://ysc3839.github.io/vcmpconv/ipl2code.html

You should try it with rotated objects. (in different ways)
It doesn't work properly.

Also, I suggest you to set the default world to be 0. :)
I don't know "the different way", could you tell me how to do?
Also, world id starts with 1
Title: Re: VCMPConverters!
Post by: rObInX on May 20, 2015, 03:16 PM
Where do I find a .ide to .xml converter?
Title: Re: VCMPConverters!
Post by: Stormeus on May 20, 2015, 04:55 PM
IDEs have no position data for objects and can't be converted to an XML object map.
Title: Re: VCMPConverters!
Post by: ysc3839 on Mar 26, 2016, 10:16 AM
Added MapHiderXML! :)
Title: Re: VCMPConverters!
Post by: KAKAN on Mar 26, 2016, 10:19 AM
Quote from: ysc3839 on Mar 26, 2016, 10:16 AMAdded MapHiderXML! :)
Haha! Awesome! Love that :P It would help removing the whole VC and making your own map :D
Title: Re: VCMPConverters!
Post by: rww on May 02, 2016, 06:42 PM
Sorry for bump, u can do ide converter to xml
Title: Re: VCMPConverters!
Post by: EightyVice on May 02, 2016, 06:50 PM
You are awesome @ysc3839
Good work
And good luck
Title: Re: VCMPConverters!
Post by: RW on May 08, 2016, 03:25 AM
YSC你好6! Handsome!lol
Title: Re: VCMPConverters!
Post by: PunkNoodle on Jun 13, 2017, 04:52 AM
Quote from: rObInX on May 20, 2015, 03:16 PMWhere do I find a .ide to .xml converter?
Quote from: rww on May 02, 2016, 06:42 PMSorry for bump, u can do ide converter to xml
Bump... but for a good cause, there is no way to convert a big map without an IDE to XML converter, it would just take too long to write by hand. If anyone out there could realise a tool or site that does such a conversion, I'd be very very very grateful :)
Title: Re: VCMPConverters!
Post by: KAKAN on Jun 13, 2017, 07:05 AM
http://thijn.minelord.com/vcmp/iplConvert/
Its for .ipl however. .ide might just be the same.