- Joined
- Aug 3, 2004
- Messages
- 710
I've attached an example map that uses the latest unreleased SharpCraft 4.0(included) and the Lidgren Network Library to simulate a network game.
It's an example of a map that through scripting simulates multiplayer and allows active joining/leaving and an arbitrary number of players. The demo uses a centralized server hosted on Digital Ocean, which means you all play in one map together.
The map isn't particularly interesting, and has no gameplay, as it is only a tech-demo. You should really try to get some more people to join in when you try it, perhaps through the chat. If you don't, it's just a map where you can move around. Whohoo...
It showcases the following features:
* Joining/Leaving an "already running" game.
* Chatting with other players.
* More than 12 players.
* NoTarget and Point orders (target orders is possible of course, just not implemented).
How to use it?!
* Download the attached file and extract it anywhere, in a folder.
* Copy the included "EmeraldGardens(MultiCraft)" map to your Maps folder.
* Start SharpCraft using the included "Start game windowed.bat".
* Locate the map and hit start.
Issues:
The map menu might show the map as having errors, but this is just a side effect and should be ignored. Hitting start will work just fine.
If it crashes on startup, you may need to unblock the zip before extracting the files. Do this by right-clicking the zip, open properties and then hit the unblock button bottom right.
Anything else, just hit me up here, and I'll try to help as much as I can. I've tried to foolproof the launcher, but as I've seen before, there are always fools even I can't imagine.
Why?
This is just to show it is possible through clever scripting/coding to do some interesting things. I hope SharpCraft 4.0 will reach a stable point soon, and people can use these examples to make silly things.
Server Status: Running!
It's an example of a map that through scripting simulates multiplayer and allows active joining/leaving and an arbitrary number of players. The demo uses a centralized server hosted on Digital Ocean, which means you all play in one map together.
The map isn't particularly interesting, and has no gameplay, as it is only a tech-demo. You should really try to get some more people to join in when you try it, perhaps through the chat. If you don't, it's just a map where you can move around. Whohoo...
It showcases the following features:
* Joining/Leaving an "already running" game.
* Chatting with other players.
* More than 12 players.
* NoTarget and Point orders (target orders is possible of course, just not implemented).
How to use it?!
* Download the attached file and extract it anywhere, in a folder.
* Copy the included "EmeraldGardens(MultiCraft)" map to your Maps folder.
* Start SharpCraft using the included "Start game windowed.bat".
* Locate the map and hit start.
Issues:
The map menu might show the map as having errors, but this is just a side effect and should be ignored. Hitting start will work just fine.
If it crashes on startup, you may need to unblock the zip before extracting the files. Do this by right-clicking the zip, open properties and then hit the unblock button bottom right.
Anything else, just hit me up here, and I'll try to help as much as I can. I've tried to foolproof the launcher, but as I've seen before, there are always fools even I can't imagine.
Why?
This is just to show it is possible through clever scripting/coding to do some interesting things. I hope SharpCraft 4.0 will reach a stable point soon, and people can use these examples to make silly things.
Server Status: Running!