This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TUTORIAL] [ArcEmu] Extended MoveMaps  (Read 2945 times)

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
[TUTORIAL] [ArcEmu] Extended MoveMaps
« on: May 27, 2012, 02:40:34 pm »
Hey Modcraft,

once again a tutorial for ArcEmu :p

Today I wanna show you, how to activate and create movemaps, and also what you can do with movemaps.


Tools

At first you need the tools to extract the maps:
LINK

Now you have the
ad.exe - for creating maps and the
MoveMapGen.exe - for creating the movemaps out of your maps


Creating and Activating

At first we have to activate the mmaps in your core source:
- Go to your ArcEmu Source folder
- Now go to your directory srcarcemu-world  and find the file stdafx.h
- Open it and remove the double slash:
PICTURE

Now that you have enabled the movemaps your NPCs cannot move until you have the mmaps files in your core directory.

So we now extract the map files just like always (or use the already generated ones)

if you want to extract only the maps for your own map you have to edit your patch-xxXX-3.MPQ in your language folder in your data folder. Extract the Map.dbc and delete all the entrys except the ones you want to create maps from and put the dbc back in (save your patch-xxXX-3.MPQ file before you do that! Or just name it patch-xxXX-4.MPQ) and put the MPQ file in your language folder.

When we have the maps folder we create a mmaps folder in the same directory.
After that we start the MoveMapGen.exe and let the movemaps generate.
When it's done we just need to put the maps and mmaps folders in our core folders and recompile our edited core.


Extended use of MoveMaps

Now to the more interessting part of this tutorial.
In this tutorial I use the example of a city.

In a city we want NPCs walk on the street without creating a site of waypoints.
With movemaps it's not hard at all.
All we have to do is, create two versions of the map:
- one for the player which looks just normal
- and another one for NPCs, in which we set walls around the streets so they can't walk through them and from this 2nd map we generate our movemaps from:


~Mordred
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen