mabako Posted May 12, 2008 Share Posted May 12, 2008 (edited) Work of two days, I might improve it later if I see a lot of people use it... It's pretty easy, since it's only 4 keys and some mouse buttons. To get an object, simply press F2 and click at some place at the screen, the model-menu will pop up, select a model and double-click. Features: complete ingame editing using 1+ key on your keyboard, the mouse buttons + the scrollwheel loading of objects and vehicles from all (not running) resources creating, teleporting, rotating, model-changing of entities GUI-based selection menus, object/vehicle-selection, information about current object etc. time is always around 12:00 to 13:00 you can't take any damage every entity is processed client-side and regulary updated to the server, so everyone should have the same map Please make sure you read the included 'README'. Thanks to arc_ for providing his freeroam GUI-script, of which the 'gui.lua' and 'utils.lua' have been used (and partially extended). I'm not aware of anyone's other work used here. The objects.xml contains all elements with IDs and IDE names, based on the categories chosen in MTA:Race (which I converted myself) Never forget to make backups, It's not my fault if you ruin your maps. Some screenshots: Viewing an object in editor mode Changing model (or if none selected, create one) community.multitheftauto.com download Loading/Saving the map Edited May 12, 2008 by Guest Link to comment
mabako Posted May 12, 2008 Author Share Posted May 12, 2008 (edited) Work of two days, I might improve it later if I see a lot of people use it... It's pretty easy, since it's only 4 keys and some mouse buttons. To get an object, simply press F2 and click at some place at the screen, the model-menu will pop up, select a model and double-click. Features: complete ingame editing using 1+ key on your keyboard, the mouse buttons + the scrollwheel loading of objects and vehicles from all (not running) resources creating, teleporting, rotating, model-changing of entities GUI-based selection menus, object/vehicle-selection, information about current object etc. time is always around 12:00 to 13:00 you can't take any damage every entity is processed client-side and regulary updated to the server, so everyone should have the same map Please make sure you read the included 'README'. Thanks to arc_ for providing his freeroam GUI-script, of which the 'gui.lua' and 'utils.lua' have been used (and partially extended). I'm not aware of anyone's other work used here. The objects.xml contains all elements with IDs and IDE names, based on the categories chosen in MTA:Race (which I converted myself) Never forget to make backups, It's not my fault if you ruin your maps. Some screenshots: Viewing an object in editor mode Changing model (or if none selected, create one) community.multitheftauto.com download Loading/Saving the map Edited May 12, 2008 by Guest Link to comment
DiSaMe Posted May 12, 2008 Share Posted May 12, 2008 It looks nice. It looks like that in my map editor it's easier to move around because it has moving camera. But my editor has very big disadvantage - I didn't make objects groups, so you have to cycle through objects and search for one. And in my editor when you want to load a map, you have to write its name and you can't choose directory. I think your map editor is much better Link to comment
DiSaMe Posted May 12, 2008 Share Posted May 12, 2008 It looks nice. It looks like that in my map editor it's easier to move around because it has moving camera. But my editor has very big disadvantage - I didn't make objects groups, so you have to cycle through objects and search for one. And in my editor when you want to load a map, you have to write its name and you can't choose directory. I think your map editor is much better Link to comment
[DooD]Heavyair Posted May 13, 2008 Share Posted May 13, 2008 (edited) hope i dont sound to stupid but i cant seem to get it working properly i put the MEDIT entry in the ACL.XML if i start MEDIT on its own i just get black screen with mapeditor logo at bottom i then tried to load a map ( press f2 then . ) but screen stays black if i load another resource ( just freeroam ) the objects list doesnt work i know i must be doin something wrong just not sure what any help really appreciated screenshots look awesome EDIT : sorry it was just me being dumb Amazing script THANX LOADS MABAKO Edited May 13, 2008 by Guest Link to comment
[DooD]Heavyair Posted May 13, 2008 Share Posted May 13, 2008 (edited) hope i dont sound to stupid but i cant seem to get it working properly i put the MEDIT entry in the ACL.XML if i start MEDIT on its own i just get black screen with mapeditor logo at bottom i then tried to load a map ( press f2 then . ) but screen stays black if i load another resource ( just freeroam ) the objects list doesnt work i know i must be doin something wrong just not sure what any help really appreciated screenshots look awesome EDIT : sorry it was just me being dumb Amazing script THANX LOADS MABAKO Edited May 13, 2008 by Guest Link to comment
Stevvo Posted May 13, 2008 Share Posted May 13, 2008 Nice work, best DM map editor script i have used yet. Link to comment
Stevvo Posted May 13, 2008 Share Posted May 13, 2008 Nice work, best DM map editor script i have used yet. Link to comment
Mr.Hankey Posted May 14, 2008 Share Posted May 14, 2008 Nice work, best DM map editor script i have used yet. Agreed. But i'm still waiting for an editor that moves objects by tracking the x and y movement of the mouse =) Link to comment
Mr.Hankey Posted May 14, 2008 Share Posted May 14, 2008 Nice work, best DM map editor script i have used yet. Agreed. But i'm still waiting for an editor that moves objects by tracking the x and y movement of the mouse =) Link to comment
SATAN Posted June 9, 2008 Share Posted June 9, 2008 hope i dont sound to stupid but i cant seem to get it working properlyi put the MEDIT entry in the ACL.XML if i start MEDIT on its own i just get black screen with mapeditor logo at bottom i then tried to load a map ( press f2 then . ) but screen stays black if i load another resource ( just freeroam ) the objects list doesnt work i know i must be doin something wrong just not sure what any help really appreciated screenshots look awesome EDIT : sorry it was just me being dumb Amazing script THANX LOADS MABAKO and how did you fixed it? Link to comment
[DooD]Heavyair Posted June 9, 2008 Share Posted June 9, 2008 to be honest cant remember what the problem was now but i use something called DSM map editor now it doesnt seem to be on the resource page though i will have a look again tomorrow see what was wrong with mabako Link to comment
Evilman926 Posted June 9, 2008 Share Posted June 9, 2008 Why dont the list work it only says objects & vehicles Any Help Link to comment
SATAN Posted June 9, 2008 Share Posted June 9, 2008 login in on your server, then press p to open the admin panel, click on the "resources" tab and select "medit" then klick "restart". done. now it works for me ps. medit + sa camhack FTW!!!! Link to comment
[DooD]Heavyair Posted June 10, 2008 Share Posted June 10, 2008 Why dont the list work it only says objects & vehiclesAny Help still cant remember what i did last time but if you start BROPH resource and then start MEDIT join the game then login and restart MEDIT it seems to work fine then <group name="MapEditor"> <acl name="MapEditor" /> <object name="resource.medit" /> <object name="resource.editor_main" /> <object name="resource.edf" /> </group> also check to see if u have this in ACL.XML file in MTA SERVER install directory\mods\deathmatch hope that helps Link to comment
DakiLLa Posted June 10, 2008 Share Posted June 10, 2008 Why my map not saves when i click on "Save" ? Link to comment
[DooD]Heavyair Posted June 10, 2008 Share Posted June 10, 2008 not sure about not saving ( just gave it a quick try but wont save on mine either ) i cant remember if i ever used it properly before so long as u have the entry in ACL.XML it should save but u probaly need to ask mabako i have been using other map editors myself. i dont think i ever got past this problem now that im looking at it again SORRY bout that i will keep trying though as it is a brilliant bit of scripting. hope to post result for u soon EDIT :: just cant seem to get it to save tried with a few different resources running and saving in 3 different maps but no joy. pretty sure this is why i gave up last time but if anyone has an answer it would be great as this is the best map editor ive seen so far. Link to comment
robhol Posted June 10, 2008 Share Posted June 10, 2008 I can't expand the menu items. I only get to the Objects and Vehicles menu and can't go further without manually entering the ID. Saving doesn't work. Link to comment
[DooD]Heavyair Posted June 10, 2008 Share Posted June 10, 2008 ran into the problem with the menu straight away only way i found past that was to restart MEDIT form within the game login as admin and type restart medit in console and seemed to work then but still couldnt save anything the way im running it is to start BROPH resource then start MEDIT join the game and restart MEDIT but like i said still no save ability even though it says it has saved the file saying that about save maps im not sure exactly where they end up. have an idea am trying it now hopefully wont be long EDIT :: seems to be workin now to find the map u have saved go into install directory for MTA SERVER \mods\deathmatch\ whatever resource u saved the map to and it should be there only problem i noticed was u cant save to the resource your running at the time there is a list on left side of window telling you what resources u have and which are running so as long as u save to one that isnt running and has a map file in it you should be fine from the top what i did is start MEDIT then start your game resource ( i use BROPH as its just a freeroam ) then restart MEDIT from the game console ( F8 ) and that should get the menus workin. put what u want in place ( i used a few bikes right next to spawnpoint for a quick tester as you can easily identify if the right things are in place ) then press "." on the NUMPAD select the resource u want to save the items into select the map it finds in the resource and then save. it took me a while to realise the reason it wouldnt save was that i was using BROPH resource and trying to save to it as well. hope that makes some sort of sense but if not i will try to explain a bit better if u need EDIT 2 :: one more little thing is that there is a resource called AIRBRAKE that gives you NO-CLIP so u can fly around easier. i havent tested it with MABAKO MAP EDITOR yet but will let you know soon Link to comment
Guest Posted June 11, 2008 Share Posted June 11, 2008 This is best map editor ive EVER used.. but 1 thing i cant move it up or down. because i own a laptop... and i dont have a mouse for it.. so, can I change the "mousewheel click" to like some letter? if i can please tell me how Link to comment
[DooD]Heavyair Posted June 11, 2008 Share Posted June 11, 2008 can I change the "mousewheel click" to like some letter? if i can please tell me how if u look in MEDIT resource find file called MEDIT_CLIENT.LUA open it up and look for this bindKey( 'f2', 'down', toggleEditing ) bindKey( 'd', 'down', sendDestroyInfoToServer ) bindKey( 'mouse_wheel_up', 'down', rotateElement ) ::: you need to change this bindKey( 'mouse_wheel_down', 'down', rotateElement ) ::: and this to keys you want to use bindKey( 'f3', 'down', function() i think that should do it sorry now that i look again this hasnt got the key you need but i cant seem to find it in the resource. i will keep looking but if u want to try yourself you just need to find the BINDKEY for mouse_wheel_click i think Link to comment
Guest Posted June 11, 2008 Share Posted June 11, 2008 ok, thanks =P EDIT it might be this one? elseif button == 'middle' then if _editing_mode ~= MODE_NONE then _scroll_mode = ( _scroll_mode % 6 ) + 1 updateScrollEditingLabel( _scroll_mode ) return true so i would change 'middle' to (Example): 'end'? Link to comment
[DooD]Heavyair Posted June 11, 2008 Share Posted June 11, 2008 EDIT it might be this one?Line number On/Off | Expand/Contract | Select all 1. elseif button == 'middle' then 2. if _editing_mode ~= MODE_NONE then 3. _scroll_mode = ( _scroll_mode % 6 ) + 1 4. updateScrollEditingLabel( _scroll_mode ) 5. return true so i would change 'middle' to (Example): 'end'? yes i think that should do it Link to comment
Guest Posted June 11, 2008 Share Posted June 11, 2008 Does this work with FREEROAM? for me it doesnt. i spawn few objects then when i try to spawn comes red text saying something: user data 000000 thingy...dont remember what excactly. And there is some error message at that server runner... something about freeroam and (a nil value).. could anyone help? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now