- Home /
Export map data for server usage
We are going to make a MMORPG game using Unity. That is in C/S mode, not normal p2p mode Unity supports. We will use our own server developed in C/C++. There are lot of map information needed in server side, such as monster spawn points, ground regions, navMesh(I know Unity does not support navMesh so far, maybe support it in the future.), NPC, teleport points, waypoints and path, etc. Our server does not depend on Unity and can not read Unity binary data. So is there a way to retrieve and export the above informations to disk files in the Unity Editor? And how to make it?
Answer by StephanK · Apr 15, 2011 at 12:43 PM
You'd have to roll your own. You'll have to come up with a file format (binary or text) and write an editor script that creates such a file from your scene data in Unity. Although this might be tedious work, it's straight forward.
On the other hand if you need all that information on your external server, wouldn't it be better to use unity as a server? You don't have to rely on p2p connection you could also use an authoritative server approach for this.
Your answer
Follow this Question
Related Questions
Are all ScriptableObject assets included in the build? 4 Answers
I need a map/level editor! 0 Answers
Unity Animation isn't working in built version 0 Answers
Editor split scene 1 Answer