Changing Island MMO demo

valrik
edited February 2015 in DotNet
So, i've started using photon NOT PUN.

I downloaded the actual server so i can take advantage of the MMO functions like areas of interest etc.

I started by looking at the island demo. I'm going through the code and i found the settings in which seems to define the world size

public static Settings GetDefaultSettings()
{
// terrain is 2000x2000
const int BoxesVertical = 20;
const int BoxesHorizontal = 20;
const int EdgeLengthVertical = 1000;
const int EdgeLengthHorizontal = 1000;
..................

so this appears to set the world size.

I am going to be using a world 40,000 x 40,000. If someone is in the know about this, can you advise on the settings for this. The boxes part, does this say 'how many' boxes to split the world into?

Also i want to change the info that the players send to each other, including actions and such. How would i do this?

Comments

  • World size question answered: viewtopic.php?f=6&t=5748&p=22029#p22029

    To modify or extend demo functionality, use existing 'generic' operations like OperationCode.RaiseGenericEvent or OperationCode.SetProperties or add new operations which better fit your needs.