Originally I wanted to call this g-craft but the name has been taken by several other attempts so I went for the second most original name: Sourcecraft. The plan for this project so far is to create a block world in Garry’s mod with the intention of an open world PvP/PvE experience.
Sourcecraft is an infinite randomly generated world of 16x16x16 chunks, most of the world generation and storage is handled by a C++ module with a modified simplex being used to generate the heightmap, biomes, caves and tunnels. The chunks are created using the build from triangles function and physics meshes are built around players as they move. This has been a hugely fun project to work on, especially with a friend and I can’t wait to finish and release it to see what everyone makes it.
Infinite Map - Done
Caves - Done
Chunk Handling - Done
Snow Biome - Done
Forest Biome - Done
Desert Biome - Done
Grassland Biome - Done
Ocean Biome / Water - Not yet started
Lava - Not yet started
Mountain Biome - WIP
Lighting - WIP
Inventory - Done
Crafting - WIP
Block Removal / Placement - Done
AI and Mobs - Not yet started
New texture pack - Not yet started
Railcarts / railtracks - Not yet started
Day / Night cycle - Almost Finished
Torches - WIP
Weapons and Tools - WIP
Fudsine and RaZoR
Sphax for temporarily using their textures ( We intend to create our own textures, with support for texture packs )
The common question I expect to see is will we release the source for this, the answer is: most likely yes but we wont include any of the gameplay logic only the framework for world generation this way we hope to see a bit more innovation and different gamemodes spawn from this.
How do you overcome the limitations presented by the map size limit
We use what I can only really describe as instancing where we have split the world up into sectors and each chunk is offset from the sector, when you cross into the next sector everything is then calculated from the origin of the new sector you are in. ( Including physics and meshes )
How is the performance?
There is a slight performance hit but it should go completely unnoticed.
How many players can it support?
We are guessing about 16-20 at the moment but we hope to speed up the physics calculations to allow 26-32 players.
Will there be sandbox features?
Unlikely, due to the speed the physics from mesh runs at creating collisions for each object will slow down the server significantly. Hopefully garry will optimise this function but I doubt it.
Is there an issue with entity limits?
No, because the only custom entity being used is one for the player physics and an additional one to render the map.
I will add info to this thread based on the questions people ask, I didn’t really know what to talk about :downs:[HR][/HR]
I have a first and final release for you. We didn’t manage to finish this project but there’s easily enough here for anyone with a little bit of know how to get finished. As much as me and RaZoR have enjoyed working on this, we have other commitments, primarily to our game on steam greenlight. Thank you for everyone who has helped test this along the way and to those who donated to keep it going.
I have included some instructions in the folder on how to setup the gamemode with a few tips for anyone who wants to carry this project on. But if you have any further questions I’l try to answer them here.
Without further ado the link: http://www.mediafire.com/download/p7.../minecraft.rar
And for those who are wondering this is our Greenlight project: http://steamcommunity.com/sharedfile.../?id=276596261 if you feel like voting we’d appreciate it. ( Remember its a WIP be gentle )
Have fun guys!