User:Erorr404/Editor/design: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
=Map Editor Files=


==Map editor resource==
===elements_server.lua (server)===
Manages which elements can be moved by clients (to avoid conflicts).
===files_server.lua (server)===
Handles requests to load files from clients, possibly based on admin level of the client that requested it, to prevent conflicts. If permission is granted, deletes existing elements and creates new elements based on the file.
===elements.lua (client)===
Manages selecting/deselecting elements based on mouse clicks and GUI requests.
===files.lua (client)===
Creates a new MAP file, saves elements to MAP file. Loads an existing .map file if allowed by files_server.lua.
===GUI.lua (client)===
Creates an interface to allow element creation, browsing, and deletion, file save/load requests, and map testing.
==Freecam resource==
===main.lua (client)===
Allows user to control camera from mouse and kb input.
===element_drag.lua (client)===
Mounts an element to cameras position (the element to mount is passed through an event).

Latest revision as of 18:29, 16 June 2007