x


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?

more ▼

asked Apr 15 '11 at 06:41 AM

Zhang Kun gravatar image

Zhang Kun
100 7 7 11

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Apr 15 '11 at 12:43 PM

StephanK gravatar image

StephanK
6k 39 53 93

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1672
x349
x199
x150
x58

asked: Apr 15 '11 at 06:41 AM

Seen: 1185 times

Last Updated: Apr 15 '11 at 07:32 AM