RPG map creation

Post all other topics which do not belong to any other category.
User avatar
GalactusX31
Inserter
Inserter
Posts: 28
Joined: Thu Jul 20, 2017 11:27 am
Contact:

RPG map creation

Post by GalactusX31 »

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.
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: RPG map creation

Post by orzelek »

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).
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: RPG map creation

Post by darkfrei »

You can create a scenario, where you have some map and scripts.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: RPG map creation

Post by Adil »

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 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.
Post Reply

Return to “General discussion”