FlashHit / MapEditor

A realtime map editor mod for Venice Unleashed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vext-MapEditor

A realtime map editor for Venice Unleashed

IMPORTANT NOTE:

This is currently a WIP, it's not intended to be used yet. If you want to mess around go ahead, but expect crashes and bugs. It's not recommended to start any project yet, but if you still want to set up a server and try it out you need to follow the steps in the next section. Public releases will have the compiled UI available for download.

Developer set-up

  • Install nodejs.
  • Install yarn.
  • Place the UI compiler (vuicc.exe) in .../Server/Admin/ folder.
  • Download MapEditor files and place them in .../Server/Admin/Mods. Path should look like .../Server/Admin/Mods/MapEditor.
  • Add mapeditor to your modlist.txt file.
  • Open cmd, cd to .../Server/Admin/Mods/MapEditor/WebUI and run yarn.
  • After all the dependencies are installed run yarn build.

Controls:

F1 to enable freecam.

Once in freecam, hold right click and:

  • F1 to disable freecam and take control of your character again
  • WASD to move camera
  • Mouse to rotate camera
  • Q to move down
  • E to move up
  • Shift to move camera faster
  • Scrollwheel to change camera speed
  • Page up/down to change rotation speed
  • Arrow up/down to change FOV

In freecam, without holding right click:

  • ALT+Right click to orbit-rotate camera
  • Middle mouse click to truck
  • CTRL while moving gizmo to snap to grid
  • F to focus the camera on the selected object
  • Q to hide gizmo
  • W to change gizmo mode to translate
  • E to change gizmo mode to rotate
  • R to change gizmo mode to scale
  • X to toggle world/local coordinates
  • F3 to reset the camera
  • P to select parent
  • CTRL+D to clone selected entity to the same directory
  • CTRL+SHIFT+D to clone selected entity to the root directory
  • CTRL+C to copy selected entity
  • CTRL+V to paste saved entity to the selected group
  • CTRL+Z to undo
  • CTRL+SHIFT+Z to redo
  • DEL to delete selected object
  • F5 to reload UI
  • ESC to clear selection

Mod Dependencies

MapEditor requires other mods to work fully:

  • NoHavok. (Not publicly available yet). This mod transforms Havok objects into Frosbite objects, allowing their manipulation. MapEditor works without this mod, but not all vanilla objects will be available for editing.

Running saves for playing

If your project is ready to be used for playing, export your project's save from MapEditor and load it with MapLoader. The save can be loaded from an external mod (you can find an example here: CustomLevel) or MapLoader can be modified to include and load the save.

Used libraries and tools

This project is using:

About

A realtime map editor mod for Venice Unleashed

License:GNU General Public License v3.0


Languages

Language:TypeScript 90.7%Language:Lua 5.1%Language:Vue 2.5%Language:CSS 1.3%Language:JavaScript 0.2%Language:SCSS 0.1%Language:HTML 0.0%