I would like to know if there is any way, either with scripts, or by modifying the properties of a map, to make the constructions can not be destroyed & dismantled by the players.
I mean, being able to build a "map" using walls, and prevent the player from being able to destroy & dismantle those walls or certain constructions, such as doors, machines.
In that way, it would be possible to construct "maps" of adventures, creating certain missions, tasks, puzzles or labyrinths, and the player or players have to cooperate to reach a goal.
RPG map creation
- GalactusX31
- Inserter
- Posts: 28
- Joined: Thu Jul 20, 2017 11:27 am
- Contact:
Re: RPG map creation
You can do this with scripts for sure since entities have flags minable and destructible. Setting both of those to false makes them invincible. I'm not sure if you can preset those in map editor (haven't used it at all).
Re: RPG map creation
You can create a scenario, where you have some map and scripts.
Re: RPG map creation
A more vrbose explanation by several people is in this thread, but making a scenario is almost the same as making any other mod.
I've also made a guide a while ago, which has a chapter on scenarios. I'm not currently capable of ensuring its complete compatibility to a current version, but from what I've seen in changelogs, the scripting part should be still relevant.
I've also made a guide a while ago, which has a chapter on scenarios. I'm not currently capable of ensuring its complete compatibility to a current version, but from what I've seen in changelogs, the scripting part should be still relevant.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.