Choose House And Build It in Developer Help
|
|
I want players in my game to be able to buy a plot, then choose a house plan, from a few pre-defined plans, then build that house. I was wondering how that would even be done. I know how to create an object that takes up more than one tile using New() and overlays, but I don't think that would work for here. Any ideas?
|
1. Find a way to save the objects and their locations and load it for the players
2. Designing the plot with DM code, not map editor, and call that code for the players
Of course, with either way you have to add the necessary x and y components to make everything appear on player's plot.
But if you want anything customized, I suggest looking at a 2D game called RPG World Online (http://www.rpgwo.com). If I remembered right, the orderly server is named "Lunatik", some other servers are very chaotic and disappointing.
A lot of people here probably know that game :-). Anyways, just in case you don't and you're not interesting in going there. I'll give you the gist of it:
Buildings are built with a few dozen types of tools and wood/ore, with the required skills. You make them tile by tile... (and yeah, that means you have to make the left side of the bookshelf, and then make the right side, and put them next to eachother so it looks right.)
Same applies with homes, you let the player select from a pop-up window containing tiles of different walls/windows (once they combine the right tools/material), then they can choose the piece and make that. This way you gotta code way more but the player feels good since they build their own house (perhaps with no doors and no windows), but hey, it's their own. :-)