First, I’m a Modeller trying to push code, so you can probably guess how incompetent I am at this. It would be helpful if someone could point me in the right direction here. I have a large collection of assets and need to know how to make a library that is selectable by the player so that they can then arrange objects on the terrain mesh.
I figured that using a separate plane/mesh for mapping coordinates would work better than using the actual terrain, but the mind is growing a bit vacant when it comes to applying objects. It doesn’t need to be really fancy, like free movement. I would actually like it if the objects could only be placed or snapped to certain squares, because it would probably prevent future complications with game events.
Placing objects on a landscape is quite a complex problem. So break it down into smaller ones:
How do I get the user to select an object:
- This is an interface, have a look at BGUI
How do I place an object:
- What constraints are there to where an asset can be located? How can I find these
- How do I spawn them?
- How do I show the user where it will appear?
How to save this configuration?
- BGE logic dict, text files etc.
Yup, I recommend learning python. If you can, get another person to teach you. I’m sure other people can point you at tutorials and such, but I reckon that just experimentation is best. Read a bit from a tutorial and try and finish it without looking at the end. You’ll learn a lot more that way.