[ #D~ Tools ] Map Editor

Started by DizzasTeR, Aug 16, 2015, 11:24 AM

Previous topic - Next topic

DizzasTeR

#60
Major Update - v1.2.9
- Changelog - v1.2.9
- ► Now supports XML outputs!
- ► Fixed /desall, not removing all objects.

Tadah! Is there even something to explain? Nope! Now you guys can not only have CreateObject outputs but also XML outputs! Just finish off your map and use /exportmap then head over to /scripts/Maps/XML_[your_map_name].xml, copy and paste it right into /store/maps/ and DONE!

@Xmair suggested this long ago and now its finally here. I would like to specially thank @Thijn for helping me out in testing and debugging as we both failed to calculate the rotations perfectly for XML from Quaternion and Eulers but in the end success achieved. Download link updated on first post.

~ Regards
Doom_Kill3R

Xmair


Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

DizzasTeR

Quote from: Xmair on Feb 08, 2016, 03:09 PMRegards*

Would have been better to find a more reasonable mistake :D

KAKAN

Quote from: Doom_Kill3R on Feb 08, 2016, 03:11 PM
Quote from: Xmair on Feb 08, 2016, 03:09 PMRegards*

Would have been better to find a more reasonable mistake :D
Hehe

Anyways, nice work! I wanted that XML thing :) Awesome work mate!
oh no

Xmair

AN ERROR HAS OCCURED [cannot open file]

CALLSTACK
*FUNCTION [WriteTextToFile()] FileHandler.addon line [28]
*FUNCTION [setXMLBase()] FileHandler.addon line [55]
*FUNCTION [onPlayerCommand()] Editor.nut line [382]

LOCALS
[text] "<?xml version="1.0" encoding="ASCII" ?>
<itemlist>
"
[path] "scripts/Maps/XML_xdd.xml"
[this] TABLE
[mapFile] "xdd"
[this] TABLE
[C_VIEWLOC] INSTANCE
[C_PLOC] INSTANCE
[autoSave] true
[mapData] ""
[text] NULL
[cmd] "exportmap"
[player] INSTANCE
[this] TABLE
Do we need to make all the files manually?

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

DizzasTeR

You don't need to make files, you must have a folder inside 'scripts' and name it 'Maps'. Your directory should be like this:
- Root Directory
    - scripts
        - Maps
    - Editor.nut
    - FileHandler.addon
    - Freeview.addon
    - locations.sqlite
    - Maps.sqlite

[Elv]Woodland

Awesome Work i was really waiting for this.
Thanks Alot Both of you :D

Buddy


I am having this problem.
Line -121 is:
[spoiler]
// =========================================== DATABASE ============================================
   Maps <- SQLite_Open( "scripts/Maps.sqlite" );
   db <- SQLite_Open( "scripts/locations.sqlite" );
[/spoiler]
Buddy

KAKAN

Quote from: Buddy on Feb 21, 2016, 05:38 AM
I am having this problem.
Line -121 is:
[spoiler]
// =========================================== DATABASE ============================================
   Maps <- SQLite_Open( "scripts/Maps.sqlite" );
   db <- SQLite_Open( "scripts/locations.sqlite" );
[/spoiler]
See the starting of the topic. You forgot the required plugins.
oh no

Buddy

Buddy

Buddy

I need some help!
I have create some fight areas but i  can't add them in my other server can  @Doom_killr can you tell me how i add????
Buddy

DizzasTeR

Quote from: Buddy on Feb 21, 2016, 08:13 AMI need some help!
I have create some fight areas but i  can't add them in my other server can  @Doom_killr can you tell me how i add????

Sorry I can't help you.

KAKAN

Quote from: Buddy on Feb 21, 2016, 08:13 AMI need some help!
I have create some fight areas but i  can't add them in my other server can  @Doom_killr can you tell me how i add????
Head to the Maps folder which is inside script folder of the editor, there should be an XML file. Put that in your server's map's folder. The map folder should be located at: your_serv_dir/store/maps

There's an other way too, but it's not for you
oh no

Buddy

Quote from: KAKAN on Feb 21, 2016, 08:30 AM
Quote from: Buddy on Feb 21, 2016, 08:13 AMI need some help!
I have create some fight areas but i  can't add them in my other server can  @Doom_killr can you tell me how i add????
Head to the Maps folder which is inside script folder of the editor, there should be an XML file. Put that in your server's map's folder. The map folder should be located at: your_serv_dir/store/maps

There's an other way too, but it's not for you
Its not showing me any XML file :(
Buddy

Anik

Quote from: Buddy on Feb 21, 2016, 11:27 AM
Quote from: KAKAN on Feb 21, 2016, 08:30 AM
Quote from: Buddy on Feb 21, 2016, 08:13 AMI need some help!
I have create some fight areas but i  can't add them in my other server can  @Doom_killr can you tell me how i add????
after creating the objects do /exportmap
Head to the Maps folder which is inside script folder of the editor, there should be an XML file. Put that in your server's map's folder. The map folder should be located at: your_serv_dir/store/maps

There's an other way too, but it's not for you
Its not showing me any XML file :(
do /exportmap after creating the objects