VCMPConverters!

Started by ysc3839, May 02, 2015, 05:57 AM

Previous topic - Next topic

ysc3839

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)

Sebastian

This is for sure something I need. :)
I will test it as soon as I fix an annoying .txd file of a custom object.

DizzasTeR

This tool is just amazing, I forgot to respond on this cuz I read it from phone back then.

ysc3839

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/

Sebastian

* sseebbyy 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)

rObInX

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.

ysc3839

Quote from: sseebbyy on May 10, 2015, 09:39 AM
* sseebbyy 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.

ysc3839

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!

Sebastian

#8
Quote from: ysc3839 on May 16, 2015, 06:11 AM
Quote from: sseebbyy on May 10, 2015, 09:39 AM
* sseebbyy 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. :)

ysc3839

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
* sseebbyy 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

rObInX

Where do I find a .ide to .xml converter?

Stormeus

IDEs have no position data for objects and can't be converted to an XML object map.

ysc3839


KAKAN

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
oh no

rww

Sorry for bump, u can do ide converter to xml
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X