Map Editor - Vice City Multiplayer
Hello gentlemen ( or ladies if any ), its finally done! What you have been waiting for is finally to be experienced by you, I present you my map editor. Since
@DeViL_JiN started mapping for Empire Gaming, it was really hard as the software introduced to map for Vice City were kinda not compatible with VCMP as they would throw wrong rotation values. So I started my work to built an ingame map editor so its easier to map and test at the same time! Mapping together and backup your maps and edit them later whenever you want!
This map editor will also print a complete fine CreateObject statement with rotation in vector as well as a complete XML & .nut file with all the code written in them so you can easily copy and paste them into your script!
Interaction with Editor
Its easy make sure you read this carefully, the editor is really user-friendly and takes you no time to learn.
If you keep holding an arrow key the object will be continuously in motion, you don't need to tap keys to rotate or move them, just hold the key ;)Maps Management:-- newmap [ Name ] - Creates a new map with the name provided { Name is always converted to lower case! }
- savemap - Saves the currently opened map.
- loadmap [ Name ] - Loads a map { Keep case sensitivity in your mind! }
- exportmap - Export the map, outputs CreateObject statements on the console of the map currently opened.
- closemap - Close any opened map { Unsaved changes may be lost! }
- map - Tells you which map is currently being worked on.
Objects Management:-- addobject [ ID ] - Creates an object of the ID provided { Wrong ID may corrupt data! }
- desall - Deletes all the objects created in the map which is currently opened.
- delobj - Toggle on or off, when on touching objects deletes them.
Player Management:-- car [ Name/ID ] - Spawn a vehicle.
- gotoloc/saveloc - Teleportation.
Player Keys:-- Arrow LEFT | RIGHT | UP | DOWN - Basic movements or rotation.
- PAGE UP | PAGE DOWN - Z Movement/Rotation
- CTRL + C - Clone object { The object you clone will have the exact rotation as the parent object, very useful for quick placements! }
- R - Resets object rotation.
- Delete - Deletes an object selected.
- 1 - Switch between Rotation & Position Mode.
- 2 - Speed variation.
- Backspace - Stop controlling an object.
- Object can be selected by shooting it once.
Objects Menu:-- You can enter the map selection menu by typing /addobject without any ID.
- You can change the objects by tapping/holding arrow left/right keys
- You can create the previewed object by pressing CTRL key.
Outputs:-Once finished creating a map and its time for you to use it. You can use the export command as mentioned above. After you see the message that the map has been outputted successfully, you can go into
/scripts/Maps/ and here you will find a
.nut and .xml file with
the same name as your map with all the codes inside.
Credits:-(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F4bxgeVr.png&hash=e96bcab67f19d45236dc336f5be384f85e0ee2fb)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fm7hTYgE.png&hash=98ddca3a3c06c4abfe06c76959f9660dee7f39dd)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FniVxBX6.png&hash=3cd5110d8dc985d20ed87ff3e557b56388d6b7bc)
- Video by
@KAKAN https://www.youtube.com/watch?v=e2UdmTlEYM8&feature=youtu.be#
Map Editor v1.3.3 BETA (https://mega.nz/folder/VVgWBJYb#lWofY-NUoxvJbB8VROcu_A)
[Spoiler=ARCHIVE - OLD VERSIONS]
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F3b7e33f82d08c785280003e001444629%2FMap_Editor_v1.3.2.zip&hash=7d3b932c57bb2d8ee359a36d18a68c14035db22d) (http://files.thijn.ovh/download/3b7e33f82d08c785280003e001444629/Map_Editor_v1.3.2.zip)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F1af590e2bdde733bb63a1f35bae69d6e%2FMap-Editor-1.3.7z&hash=77074b79884bb5a2a7ff845fab442c148d7f03bd) (http://files.thijn.ovh/download/1af590e2bdde733bb63a1f35bae69d6e/Map-Editor-1.3.7z)
Download: Editor v1.2.9 (http://files.thijn.ovh/download/d31c9a1e5c068f5293116bb0ee7398d3/Editor%20v1.2.9.zip)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fd31c9a1e5c068f5293116bb0ee7398d3%2FEditor%2520v1.2.9.zip&hash=f5c3e3d823f0ed4cbed988e4290de8c71363a908)
Download: Editor v1.2.8 (http://files.thijn.ovh/download/e0fb38c137eef4f195f29ccaee823e1f/Editor-v1.2.8.zip)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fe0fb38c137eef4f195f29ccaee823e1f%2FEditor-v1.2.8.zip&hash=35549bcb6734edbfa726af530910e5af9b3f34c7)
Download: Editor v1.2.7 (http://files.thijn.ovh/download/e0fb38c137eef4f195f29ccaee823e1f/Editor-v1.2.7.zip)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fd3e56847ca9c27a72072a70b04648cda%2FEditor-v1.2.7.zip&hash=03a8f84e4526899ff4a9102a71b846439cb9a739)
Download: Map_Editor_v1.2.6.zip (http://files.thijn.ovh/download/e55636574f343ba08910237d7a257d3a/%5BVCMP)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fe55636574f343ba08910237d7a257d3a%2F%255BVCMP%255DMap_Editor_v1.2.6.zip&hash=3ea6467bdc31ac90315fd3af32d491d2e112ff99)
Download: (https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2Fcd432ccfba76b5955537338364141480%2FMap-Editor-v1.2.5.zip&hash=eb87e3b6c7dc3424b66b166aee3c6b7f6bd7dfd0) (http://files.thijn.ovh/download/cd432ccfba76b5955537338364141480/Map-Editor-v1.2.5.zip)
Download: Map Editor v1.2.4.rar (http://files.thijn.ovh/download/27d8805c8e59c1e2456edcb10638ed83/%5BVCMP)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F27d8805c8e59c1e2456edcb10638ed83%2F%255BVCMP%255D%2520Map%2520Editor%2520v1.2.4.rar&hash=2dfa401d79f7febb26b4336503e889c3885d466e)
[/Spoiler]
Changelog:-All changelogs are available in Editor.nut to reduce material from this post
~ Happy mapping!
~ 300th post!
~ Regards, Doom_Killer!
First of all, nice work :)
Like pretty much every release here, I always have some things to point out :P
I'm not sure if I like your map saving system. Why not create 2 tables: maps and objects.
Quote- Maps
ID
Name
- Objects
ID
MapId
Model
x
y
z
rotx
roty
rotz
Another thing I like to point out, why save rotations as VARCHAR when you have the FLOAT datatype?
Quote from: Thijn on Aug 16, 2015, 11:37 AMFirst of all, nice work :)
Thanks :)
Quote from: Thijn on Aug 16, 2015, 11:37 AMLike pretty much every release here, I always have some things to point out :P
You are definitely welcomed to point out things which can be improved.
Quote from: Thijn on Aug 16, 2015, 11:37 AMI'm not sure if I like your map saving system. Why not create 2 tables: maps and objects.
Quote- Maps
ID
Name
- Objects
ID
MapId
Model
x
y
z
rotx
roty
rotz
Uh, I don't like it that way, I preferred this way because all I have to deal with is to be able to save and load maps for later editings and other stuff.
Quote from: Thijn on Aug 16, 2015, 11:37 AMAnother thing I like to point out, why save rotations as VARCHAR when you have the FLOAT datatype?
Woops, my bad, I'll change them and update it ;)
Edit:
@Thijn, done.
Nice Work Bhai ( Brother ) But Can You give link of SLC Sqlite Plugin?
Quote from: FinchDon on Aug 16, 2015, 12:09 PMCan You give link of SLC Sqlite Plugin?
===>>> (http://forum.vc-mp.org/?topic=420.0)
Quick suggestions.
- Use SQLite_Exec(...) when you don't expect a result from a query such as INSERT, UPDATE, DROP etc.
- User SQLite_Query(...) only when you expect a value to be returned such as a SELECT
- No need to include the SQLite wrapper utility Database.nut and Message.nut when you don't use it and work directly with the functions.
- Optional: Include a link in the script file to where people can download the plugin. As encountered above.
One more very important suggestion is to use SQLite_Release(...) on the values returned by SQLite_Query(...). Otherwise you introduce a memory leak.
Since its v1.0, I'll keep updating it to make it better and better, thanks for suggesting those, i'll get into it as soon as possible.
bro i checkout it its quit good but how i set it z coords up and down
Quote from: FinchDon on Aug 16, 2015, 02:46 PMbro i checkout it its quit good but how i set it z coords up and down
Page up and Page down, forgot to mention that.
Thanks
Update - v1.2
- A silent update to v1.1 but after SLC's suggestions, improved the queries to free results and using SQLite_Exec for UPDATE, DROP, INSERT, using SQLite_Query for SELECT, releasing data after using a SELECT query.
- Added Page UP | DOWN to keys list.
- Changelog - v1.1
- ► Changed datatype for rotations x, y, z to FLOAT.
-
- Changelog - v1.2
- ► Improved queries to reduce memory leakage.
- ► Added Page UP | DOWN key in keys list.
First post links updated.
Nice job man :)
Nice JOB!
not working error is excepted "=" line 391, line 391 = if( Location ) return { SQLite_Release( Location ); return true }
Quote from: kokia on Aug 22, 2015, 07:17 AMnot working error is excepted "=" line 391, line 391 = if( Location ) return { SQLite_Release( Location ); return true }
Yes ofcourse, I've mistakenly repeated return, I've pushed an update, should be fixed now, first post link updated to v1.2.1. Thanks for reporting.
Just a small suggestion, here it is :-
Whenever the map editor is closed or a command is written, the objects are saved into a .ini with CreateObject and XML statements, this might help people who don't have much time.
Anyway, Good job, It's better than using KEd for me :)
/loadmap crashes server without any error message
some more errors
AN ERROR HAS OCCURED [the index 'check_map' does not exist]
CALLSTACK
*FUNCTION [onPlayerCommand()] scripts/Editor.nut line [139]
LOCALS
[text] "lmao2"
[cmd] "newmap"
[player] INSTANCE
[this] TABLE
AN ERROR HAS OCCURED [parameter 1 has an invalid type 'null' ; expected: 'string']
CALLSTACK
*FUNCTION [onPlayerCommand()] scripts/Editor.nut line [150]
LOCALS
[text] NULL
[cmd] "addobject"
[player] INSTANCE
[this] TABLE
line 150 = else if( text != "" && IsNum( text ) )
Just tested, no errors, nothing wrong, I have never came across those errors and I bet you have done something wrong.
i didnt even edited a single alphabet
Quote from: kokia on Aug 22, 2015, 11:51 AMi didnt even edited a single alphabet
Change that line to
else if( text && text != "" && IsNum( text ) )
lmao i test my senior system no doubt there is error nothing work Perfect
Update - v1.2.3
- Changelog - v1.2.3
- ► Fixed errors.
- ► Fixed crash on loading map.
- ► Fixed some other things regarding errors and crashes.
Since I updated to v 1.2.2 I accidentally did a minor mistake leading the whole editor to not work and end up giving errors and crashes, these are all fixed now and fully working.
@kokia.
@Doom_Killer thanks if any error comes again, i will tell you :)
and how to edit "Z" courd.
Quote from: kokia on Aug 23, 2015, 04:05 AM@Doom_Killer thanks if any error comes again, i will tell you :)
and how to edit "Z" courd.
As mention in the first post, with page up and down ;)
I recently uploaded a video about an object placer which was supposed to be included in VCMP 0.2. Maybe it can somehow help you as a reference or something else
https://www.youtube.com/watch?v=RzSV80Ip1FU
Kokia for z Coords You need to first press 1 to turn rotation off then page up and page down ;)
Update - v1.2.4
- Changelog - v1.2.4
- ► Now with free camera view! /cam to toggle!
I think this is going to be a great advantage for things like this, and I also believe this will push the level of Editor to a better standard, Since thanks to
@Juppi for his freeview script, I took some time to adjust it and make it compatible with the Editor itself, You can now easily view your maps from different angles, as well as use it as a teleporting tool as well.
Since
@Thijn came out with that pretty clean mirror and download image facility, I also used it for purpose to download the next update.
Cheers!
Regards,
Doom_Kill3R!
Nice work you did! This is gonna help us!
Thanks to
@Juppi, and
@Thijn too
here a bug i loaded this and open i try to create a object but it can't
/addobject <id>
What a script.
Can you give me that plugins
@Doom_Killer
I have no words and neither do I have more strength to handle people like wolf now. I'm warning you
@Wolf, don't post on any of my topics again.
@Thijn, please remove the useless posts I request you.
Why i post what you do i ask you for help in scripting and you ask me this
@Stormeus please ban
@Doom_Killer i ask him for help me in scripting and he ask me that i warn you
@Wolf
Quote from: Wolf on Sep 29, 2015, 03:42 PMWhy i post what you do i ask you for help in scripting and you ask me this
@Stormeus please ban @Doom_Killer i ask him for help me in scripting and he ask me that i warn you @Wolf
What the ...fuck?
Quote from: Wolf on Sep 29, 2015, 03:08 PMCan you give me that plugins @Doom_Killer
Can't you download Squirrel Plugin?
And if you have eyes, then read the 1st page of this topic, you'll surely find the sqlite plugin,
@Wolf
Quote from: KAKAN on Sep 29, 2015, 05:38 PMQuote from: Wolf on Sep 29, 2015, 03:08 PMCan you give me that plugins @Doom_Killer
Can't you download Squirrel Plugin?
And if you have eyes, then read the 1st page of this topic, you'll surely find the sqlite plugin, @Wolf
I see I have eyes
@KAKAN I dwonload that plugins but they can't work.
@Wolf, are you on Linux? Have you downloaded the wrong version?
For your info:-
x64 for 64-bit computers
x86 for 32-bit computers
However on x64 systems running x32 server, you need x32 plugin
[spoiler]Don't annoy me that it's x86, I like x32 better.[/spoiler]
I have bit 32 linxer server
@NE.CrystalBlue or
@KAKAN
I'm done, I requested the forum moderator to wipe out these useless posts but no actions were taken yet and this guy keeps taking his bulls*t higher and higher, I don't want to but I have to lock this topic myself in order to keep it safe from further being rubbed with people like @Wolf.
If anyone has any problem regarding Editor, you can consult me on my IRC channel when I'm available and I will assist you or send me a PM at forums. I will post further updates but the topic is mainly going to be closed as long as there is no way for me to stop such people from entering the topics.Topic unlocked, thanks to Thijn for banning that annoying guy.
Update - v1.2.5
- Changelog - v1.2.5
- ► Added text for Currently Holding Object Name and Model.
- ► Added Auto Saving for maps, default auto save every minute.
- ► Added autosave command! /autosave to toggle.
50+ Downloads, that's incredible! Nice to see that this tool is being helpful to people and now VC:MP servers will have more unique maps rather than downloading ready-made ones from websites which are being used in most servers.
- First post links updated!
- Suggestions & Bugs are welcomed!
~ Regards,
~ Doom_Kill3R!
Nice.
I'll too use it once I get at home.
For sure, I'll try to make a my very unique map
i having this problem please tell how i solve this........................................................
Vice City Multiplayer Server
-------------------------------
v0.4, (c) 2007-2014 VC:MP Team
Loaded plugin: squirrel04rel32
Loaded plugin: xmlconf04rel32
Loaded plugin: announce04rel32
[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
announcer: master.vc-mp.org timed out while trying to reach your server; are your ports forwarded?
[MODULE] Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
AN ERROR HAS OCCURED [the index 'SQLite_Open' does not exist]
CALLSTACK
*FUNCTION [onScriptLoad()] scripts/main.nut line [89]
LOCALS
[txdCurrentMap] NULL
[txdTotalObjects] NULL
[this] TABLE
[WARNING] onScriptLoad failed to execute -- check the console for more details.
Quote from: Doom_Kill3R on Aug 16, 2015, 11:24 AMNeeded stuff:-
- SLC's SQLite plugin (http://forum.vc-mp.org/?topic=420.0).< Click to go there
* Kusanagi Slaped
@Doom_Kill3R For Not Mentioning SLC SQLite plugin thread
@HaCkeR0o1, download SLC's sqLite plugin, you can go to the topic by clicking the link in above post or in the first post under the 'Needed Stuff' section.
@Kusanagi, I didn't expect someone to even fail to read those important informations on the first post.
Update - v1.2.6
- Changelog - v1.2.6
- ► Map menu is now available! use /addobject without any id to enter map menu and select map while previewing!
- ► Press CTRL to select & create the object.
I guess this is going to help you guys
alot because, just by holding an arrow key, you can
simultaneously go through all the objects! This can also be helpful if anyone wants to create a list of objects, all in all I guess this can be pretty useful. Just use the
addobject command
without any text/parameters and you will enter the map preview menu.
-
Arrow Right : Get the next object for preview.
-
Arrow Right : Get the previous object for preview.
-
Enter : Create the previewing object.
Sorry no screenies, my game is a little messed up and its stuck at 640x480 resolution which looks kinda ugly, so I thought its better to not post any screenshot at all instead of that rip off quality one. Why don't you try it yourself by downloading the editor ;)
~ Regards,
~ Doom_Kill3R!
WOw! Great work mate!!
Will try it out soon!
So, here's a video of how it is looking:-
https://www.youtube.com/watch?v=e2UdmTlEYM8&feature=youtu.be
I couldn't record more since I didn't had any space left :D
Nice work dude.
Hello, this is a nice work, but I have some questions.
My server is all right, but he can't save Object correctly, he shows the 301\302\369 in the database, and so on.
Quote from: Beary on Dec 21, 2015, 03:16 AMHello, this is a nice work, but I have some questions.
My server is all right, but he can't save Object correctly, he shows the 301\302\369 in the database, and so on.
When I read it again, he will not be able to display
Same as
@Beary . Dunno what causes the problem.
Quote from: Xmair on Dec 21, 2015, 04:16 AMSame as @Beary . Dunno what causes the problem.
Can you explain it? I can't get to what he said.
I tried it, and it works all right.
Sometimes the objects ids in the db changes to 301,302 or 303.
Quote from: Xmair on Dec 21, 2015, 09:37 AMSometimes the objects ids in the db changes to 301,302 or 303.
Since I haven't came across any of this, I'll spend a few time with the editor and see if I can reproduce it, although if you are somehow getting it produced too much then you can always download an older version from the archives in the first post.
Major Update - v1.2.7
- Changelog - v1.2.7
- ► Exports are now exported in a text file without any [SCRIPT] Tags, easy to add objects in script now!
-
So guys this is going to make you extremely happy to know that now when you export
any map, it gets exported to the
/scripts/Maps/ folder.
A new .nut with the mapname will be created containing all the CreateObject statements in a neat way!Important Note: If you are going to replace the files except for Maps.sqlite database for keeping your maps make sure to you create a folder inside 'scripts/' called 'Maps'.
The whole directory should look as follow:-
- Editor
- scripts
- Maps
Maps.sqlite
locations.sqlite
FileHandler.addon
Freeview.addon
@KAKAN,
@Castiel :)
~ Regards,
~ Doom_Kill3R!
Hello Doom, I was trying to use the saveloc/gotoloc thing.
THe 'saveloc' thing doesn't work for me in this new and teh previous version.
I can't exactly look at the error cause I don't have the map editor in my laptop.
Yet, I fixed it I think, you should push a update for that too.
Major Update - v1.2.8
- Changelog - v1.2.8
- ► Fixed locations as the database was bugged
- ► Added /settime [hour] [minute] and /setweather [id] to set weather & time.
- ► Added object control in object selection menu, use page up/down to move object higher/lower and arrow up/down to bring it near or far.
- ► Added commands to get a list of all maps & locations. /getmaps & /getlocs
- ► Changed the location of object selection menu
- ► Added /view command to switch immediately to any object ID supplied when in object selection menu
- ► Added commands /deletemap [name] and /deleteloc [name] to delete any map or location from database
Check out the changelog above, too tired to write anything now, everything is fixed and now working, enjoy the complete control over everything now! ;)
Special thanks to
@Castiel for PMing me alot of suggestions and reporting a few issues!
Do not forget to report any bugs/suggestions.
~ Regards,
~ Doom_Kill3R!
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
Regards*
Quote from: Xmair on Feb 08, 2016, 03:09 PMRegards*
Would have been better to find a more reasonable mistake :D
Quote from: Doom_Kill3R on Feb 08, 2016, 03:11 PMQuote 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!
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?
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
Awesome Work i was really waiting for this.
Thanks Alot Both of you :D
(https://i.imgsafe.org/f87a63a.png)
I am having this problem.
Line -121 is:
[spoiler]
// =========================================== DATABASE ============================================
Maps <- SQLite_Open( "scripts/Maps.sqlite" );
db <- SQLite_Open( "scripts/locations.sqlite" );
[/spoiler]
Quote from: Buddy on Feb 21, 2016, 05:38 AM(https://i.imgsafe.org/f87a63a.png)
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.
Thanks working :D
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????
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.
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/mapsThere's an other way too, but it's not for you
Quote from: KAKAN on Feb 21, 2016, 08:30 AMQuote 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 :(
Quote from: Buddy on Feb 21, 2016, 11:27 AMQuote from: KAKAN on Feb 21, 2016, 08:30 AMQuote 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
can i have Another link of download please
The link is still working. Hopefully another user will create a mirror for you.
Quote from: ProToza_RD on Mar 24, 2016, 10:46 AMcan i have Another link of download please
There you go:
Mirror #1( Mediafire ) : http://www.mediafire.com/download/6q3cdksm6by33b5/Editor_v1.2.9.zip
Mirror #2( Dropbox ) : https://www.dropbox.com/s/3y3tg5rs7gocg0z/Editor%20v1.2.9.zip?dl=0
Quote from: KAKAN on Mar 24, 2016, 02:21 PMQuote from: ProToza_RD on Mar 24, 2016, 10:46 AMcan i have Another link of download please
There you go:
Mirror #1( Mediafire ) : http://www.mediafire.com/download/6q3cdksm6by33b5/Editor_v1.2.9.zip
Mirror #2( Dropbox ) : https://www.dropbox.com/s/3y3tg5rs7gocg0z/Editor%20v1.2.9.zip?dl=0
Thank You
I'm getting Plugin error
>> 'plugins/sqlite-win64.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Update your plugins.
Im using 64 bit plugins of this http://forum.vc-mp.org/?topic=33.0 . All those seem updated .
DoomKiller gave this link http://forum.vc-mp.org/?topic=420.0 in needed stuff . That plugin not working.
Quote from: King on Jun 12, 2016, 09:40 AMDoomKiller gave this link http://forum.vc-mp.org/?topic=420.0 in needed stuff . That plugin not working.
Look again.
Quote from: Thijn on Jun 12, 2016, 09:01 AMUpdate your plugins.
What about the textdraws? They're still server-side,
Quote from: . on Jun 12, 2016, 09:41 AMQuote from: King on Jun 12, 2016, 09:40 AMDoomKiller gave this link http://forum.vc-mp.org/?topic=420.0 in needed stuff . That plugin not working.
Look again.
Not Noticed new one , Script loading but with no print statements which means script not working.
My file (https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F6657030e7b2866d18d9ecca1614d63cf%2FEditor.7z&hash=a36b4da0001b558949d9d37fd59c5c38283c4819) (http://files.thijn.ovh/download/6657030e7b2866d18d9ecca1614d63cf/Editor.7z)
SLC doesn't want to update his SQLite module with the latest server version so use the server version 04rel003 to use the editor.
Quote from: Doom_Kill3R on Jun 12, 2016, 11:49 AMSLC doesn't want to update his SQLite module with the latest server version...
As I said. Check again.
Quote from: . on Jun 12, 2016, 09:41 AMLook again.
Im getting this can anyone say where wrong it went? i can fix it myself
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fs33.postimg.org%2Frrcykb3rf%2FNew_Bitmap_Image.jpg&hash=0cb878579975424b97601179b8e1812f15df02c6) (http://postimg.org/image/rrcykb3rf/)
Quote from: King on Jun 12, 2016, 01:45 PMIm getting this can anyone say where wrong it went? i can fix it myself
Download the new binaries when made available http://forum.vc-mp.org/?topic=420.msg22919#msg22919
Update - v1.3
- Changelog - v1.3
- ► Updated to latest server version
- ► Fixed a few very minor bugs
- ► Added client-sided gui labels
Well, nothing much to say, enjoy ;)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FrWeK7rU.jpg&hash=30ddfe324b85c454c36ba7fe9de9a89de7f95aa3)
~ Regards,
~ Doom_Kill3R!
Fixed a few very minor bugs
Can you tell me what were the bugs? Just curious to know as I myself didn't have any bugs.
Quote from: KAKAN on Jun 12, 2016, 06:24 PMCan you tell me what were the bugs? Just curious to know as I myself didn't have any bugs.
Compare the files and see the differences (http://lmgtfy.com/?q=file+diff). Some changes are simply too small and too many to keep track of. And simply can't be explained. For example, you add an extra if statement to check if you received the correct type. That's a fix/improvement where that's not worthy to be documented. And you can always compare files to see the difference.
Quote from: . on Jun 12, 2016, 06:26 PMQuote from: KAKAN on Jun 12, 2016, 06:24 PMCan you tell me what were the bugs? Just curious to know as I myself didn't have any bugs.
Compare the files and see the differences (http://lmgtfy.com/?q=file+diff). Some changes are simply too small and too many to keep track of. And simply can't be explained. For example, you add an extra if statement to check if you received the correct type. That's a fix/improvement where that's not worthy to be documented. And you can always compare files to see the difference.
Hahahhaha
Quote from: Doom_Kill3R on Jun 12, 2016, 06:11 PMUpdate - v1.3
- Changelog - v1.3
- ► Updated to latest server version
- ► Fixed a few very minor bugs
- ► Added client-sided gui labels
Well, nothing much to say, enjoy ;)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FrWeK7rU.jpg&hash=30ddfe324b85c454c36ba7fe9de9a89de7f95aa3)
~ Regards,
~ Doom_Kill3R!
Cool job once again @Doom
Nice, but you can't select objects without collision so I added this cmds)))
else if( cmd == "allobjects" || cmd == "objects" || cmd == "getobjects" )
{
for( local i = 0; i < objCreated; i++ )
{
local obj = FindObject(i);
if( obj ) MessagePlayer( "[#00CC00][OBJECT]: [#ffffff]Object model: " + obj.Model + " Object ID: "+ obj.ID , player );
}
}
else if( cmd == "selectobject" )
{
if(text)
{
local obj = FindObject( text.tointeger() );
local plr = FindPlayer( player.ID );
Object[ plr.ID ] = obj;
pData[ player.ID ].Editing = true;
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]Selected object " + text.tointeger() , player );
return 1;
}
else
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]/selectobject [ID] ", player );
}
For map with small count of objects)))
Nice addition, I'll surely keep that in the future versions with your credits! ;)
I think you should getplayeraimpos and then find the closest object
@Doom_Kill3R
Quote from: ext-d.CrystalBlue on Jul 07, 2016, 03:51 PMI think you should getplayeraimpos and then find the closest object @Doom_Kill3R
Some of the bigger objects are not having collisions and thus camera mode (freeview script) gets in handy to stay at the top, in that case you are not aiming so your idea won't work.
Quote from: Doom_Kill3R on Jul 07, 2016, 03:15 PMNice addition, I'll surely keep that in the future versions with your credits! ;)
You know, i can add more helping commands or bind keys like this, but i started learning the Squirrel and SQLiteDB 4 days ago)
And that's some easy for me because i have some experience from HTML, C++, C, Pascalshit))) If you need some help or just wanna play together text me)))
And yeah, your Editor it's a good thing, it makes so easy to add objects on the map, thank you:D :D ;)
Quote from: [Serious]Sam on Jul 07, 2016, 01:06 PMNice, but you can't select objects without collision so I added this cmds)))
else if( cmd == "allobjects" || cmd == "objects" || cmd == "getobjects" )
{
for( local i = 0; i < objCreated; i++ )
{
local obj = FindObject(i);
if( obj ) MessagePlayer( "[#00CC00][OBJECT]: [#ffffff]Object model: " + obj.Model + " Object ID: "+ obj.ID , player );
}
}
else if( cmd == "selectobject" )
{
if(text)
{
local obj = FindObject( text.tointeger() );
local plr = FindPlayer( player.ID );
Object[ plr.ID ] = obj;
pData[ player.ID ].Editing = true;
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]Selected object " + text.tointeger() , player );
return 1;
}
else
MessagePlayer( "[#00CC00][SELECT]: [#ffffff]/selectobject [ID] ", player );
}
For map with small count of objects)))
OMG dude I came here to suggest that and you did it! Thank you very much. Waiting for this to be in the official script :D :D :D.
At line 725 you forgot "local i = ......." so it outputs an error. I fixed it myself but I'm posting to inform :D
Update - v1.3.2
- Changelog - v1.3.2
- ► Fixed /desall @ Thanks to Omar for pointint it out!
- ► Fixed /closemap working as savemap; Note that if you map but didn't save and did closemap, changes will be lost!
- ► Added /selectobject || /editobject to edito the object ID specified; Useful for objects which can't be shot/collided @ Idea by [Serious]Sam.
- ► Added /objects || /allobjects to get a list of every object created with its ID and model @ Idea by [Serious]Sam.
Oh damn another update.... oops :D
Well, another step to improve this resource, hope you guys take the most advantage of it and enjoy mapping!
First post link updated!
~ Regards,
~ Doom_Kill3R!
This updated version is for 04rel04 or 03?
Quote from: Doom_Kill3R on Jun 12, 2016, 06:11 PMUpdate - v1.3
- Changelog - v1.3
- ► Updated to latest server version
- ► Fixed a few very minor bugs
- ► Added client-sided gui labels
Does that question make sense? Anyway, yes the editor works with the latest server version that is 04rel004.
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FDKGAIZY.png&hash=36591a0cfe243afa69db53efcbc049aafd045a63)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FfjWStPH.png&hash=b0a72cd7f50a60bb5af4f3bae5a32427e7153e4d)
error in?
I don't understand why you're loading 2 SQLite plugins? Stick to one.
SLC updated his SQLite plugin to make it compatible with the official plugin. However, in the process, it became incompatible with the previous plugin versions.
Oh it's working perfectly recommendation:
It is necessary that when you begin to decorate, you freeze. To move the object better. And when you ctrl the object is placed and you thaw
Tutorial on how to install?
I install it the way it says in .txt and it does not work.....
Quote from: AdrenAline on Mar 16, 2017, 02:57 AMTutorial on how to install?
I install it the way it says in .txt and it does not work.....
Can you describe what's the problem and upto where it works. Have you placed the files correctly and the required plugins.
Quote from: AdrenAline on Mar 16, 2017, 02:57 AMTutorial on how to install?
I install it the way it says in .txt and it does not work.....
How Install (https://youtu.be/LXBoy2CBJ44)
I followed the steps of his tutorial :/
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F1efe218a24a44e70882b8176d6944858.png&hash=b17d8a3aca3c028d1c4991f136c09a563e689a67)
Download the SQLite plugin, add it in server.cfg and then run the editor.
You won't be given support in this topic on how to add plugins since that's irrelevant to the topic and it already got to 8 pages.
Paste in you server.cfg
gamemode DM
plugins announce04rel32 xmlconf04rel32 squirrel04rel32 sqlite04rel32 sockets04rel32 ini04rel32 hashing04rel32
port 8192
sqgamemode scripts/main.nut
you use system 64 ? here
gamemode DM
plugins announce04rel64 xmlconf04rel64squirrel04rel64 sqlite04rel64 sockets04rel64 ini04rel64 hashing04rel64
port 8192
sqgamemode scripts/main.nut
help pls
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F7113e260196c455e9f985268996840a6.png&hash=c4ae71333c6461583582c870091eab86ba011f7c)
Quote from: AdrenAline on Mar 31, 2017, 12:30 AMhelp pls
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F7113e260196c455e9f985268996840a6.png&hash=c4ae71333c6461583582c870091eab86ba011f7c)
usage /loadmap [Name Map]
/loadmap test
error map no exist
Quote from: AdrenAline on Mar 31, 2017, 01:18 AM/loadmap test
error map no exist
usage /newmap test
Works :D
I can't use /exportmap command,it isn't work.If i type this command,nothing happens.Please help me.
Quote from: Yankee on Aug 08, 2017, 01:14 PMI can't use /exportmap command,it isn't work.If i type this command,nothing happens.Please help me.
Make a new topic, but take note of this, place the IMPACT font underline it and then change its layout to the maximum. So that people can see more, even a blind man. You already know how to do it
Quote from: kennedyarz on Aug 09, 2017, 03:21 PMQuote from: Yankee on Aug 08, 2017, 01:14 PMI can't use /exportmap command,it isn't work.If i type this command,nothing happens.Please help me.
Make a new topic, but take note of this, place the IMPACT font underline it and then change its layout to the maximum. So that people can see more, even a blind man. You already know how to do it
We used same size layout.What is your problem ?Did I do something wrong ?
Make sure you have your map opened and there is something actually mapped. Afterwards make sure that when you type the exportmap command you wait for a success message. Then you can take the resulted outputs from the Maps/MapName folder.
Quote from: Doom_Kill3R on Aug 10, 2017, 10:05 AMMake sure you have your map opened and there is something actually mapped. Afterwards make sure that when you type the exportmap command you wait for a success message. Then you can take the resulted outputs from the Maps/MapName folder.
Problem is solved,thanks.
@Doom_Kill3RIn the "allmaps" and "alllocs" command, the first map/loc won't be listed. To fix this, use:
else if( cmd == "allmaps" || cmd == "maps" || cmd == "getmaps" )
{
local listQuery = QuerySQL( Maps, "SELECT * FROM sqlite_master WHERE type='table'" );
local count = 0;
while ( GetSQLColumnData( listQuery, 0 ) ) {
count++;
MessagePlayer( "[#00CC00][MAP#" + count + "]: [#FFFFFF]" + GetSQLColumnData( listQuery, 1 ), player );
GetSQLNextRow( listQuery );
}
if( count == 0 ) return MessagePlayer( "[#00CC00][ERROR]: [#FFFFFF]No maps to list!", player );
}
else if( cmd == "alllocs" || cmd == "locs" || cmd == "getlocs" )
{
local listQuery = QuerySQL( db, "SELECT * FROM `Gotoloc`" );
local count = 0;
while ( GetSQLColumnData( listQuery, 0 ) ) {
count++;
MessagePlayer( "[#00CC00][LOC#" + count + "]: [#FFFFFF]" + GetSQLColumnData( listQuery, 0 ), player );
GetSQLNextRow( listQuery );
}
FreeSQLQuery( listQuery );
if( count == 0 ) return MessagePlayer( "[#00CC00][ERROR]: [#FFFFFF]No locations to list!", player );
}
The problem was caused because you were using
while ( GetSQLNextRow( listQuery ) )
which would go to the next row without printing the first one.
No need to do such a big change, it can be simply fixed with a do statement.
else if( cmd == "alllocs" || cmd == "locs" || cmd == "getlocs" )
{
local listQuery = QuerySQL( db, "SELECT * FROM `Gotoloc`" );
local count = 0;
do {
count++;
MessagePlayer( "[#00CC00][LOC#" + count + "]: [#FFFFFF]" + GetSQLColumnData( listQuery, 0 ), player );
}
while ( GetSQLNextRow( listQuery ) )
FreeSQLQuery( listQuery );
if( count == 0 ) return MessagePlayer( "[#00CC00][ERROR]: [#FFFFFF]No locations to list!", player );
}
@Doom_Killer There is a bug, when i added object and trying to select it it shows Invaild id, its true ID of that,
[#00CC00][MAP]: [#ffffff]Created object 535
[#00CC00][ERROR]: [#FFFFFF]Invalid object ID!
Update - v1.3.3
- Changelog - v1.3.3
- ► Added /accuracy (/acc) and /speedfactor commands (Custom speed mode now available)
- ► CRITICAL:: Attempted to fix objects "not saving" or "disappearing" (I'M NOT SURE IF THIS FUCKS IT UP EVEN MORE OR FIXES IT, JUST USE THIS VERSION FOR TESTING AND HELPING)
- (I did have some guys test it and they said its working better)
Download first post.
Finally.
Good job doom
Quote from: DizzasTeR on Nov 26, 2020, 11:17 AMUpdate - v1.3.3
- Changelog - v1.3.3
- ► Added /accuracy (/acc) and /speedfactor commands (Custom speed mode now available)
- ► CRITICAL:: Attempted to fix objects "not saving" or "disappearing" (I'M NOT SURE IF THIS FUCKS IT UP EVEN MORE OR FIXES IT, JUST USE THIS VERSION FOR TESTING AND HELPING)
- (I did have some guys test it and they said its working better)
Download first post.
I am going to use it. I will let you know if I find any issues.
Hello, I noticed the autosave (in the latest update) was turned off and I had to manually turn it on every time I started mapping, which I found annoying and forgot sometimes, being used to the old script in which the autosaver was on as soon as I launched the server. I changed in the local autoSave = false; to true in Editor.nut (in the LOCALS section) and now it turns on automatically.
Skipping the useless details, I am curious why was it turned off by default? Is there a problem with it?
There used to be a problem about saving maps (according to the users, I've never encountered it) which I attempted a fix in v1.3.3 mentioned in the CRITICAL section of the changelog. Before that the autosave was disabled but then I forgot to re-enable it, so it should be fine to use, it will be re-enabled in later versions.