ommmmmmm / keeperfx

Automatically exported from code.google.com/p/keeperfx
0 stars 1 forks source link

CHANGE_SLAB_OWNER Level script command #384

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I know it has already been suggested before, but there is no issue listed:

It would be a nice addition for map makers to be able a slab change owner. This 
enables the possibility to easily expand the region of the map the player has 
access to when a certain goal is reached.

It also helps in making maps where you have to earn your dungeon special - like 
for instance Transfer creature. This is a very powerful bonus, but in the 
current game you can take your time and get to all the levels specials after 
you have beaten the level.

With the CHANGE_SLAB_OWNER command you can place the special in a permanently 
inaccessible neutral slab, which changes owner when a special condition is 
met,... like winning the level with 0 creatures lost, or within a certain time 
frame.

This could result in far more intresting levels/campaings.

Original issue reported on code.google.com by Loobinex on 12 Sep 2014 at 12:17

GoogleCodeExporter commented 9 years ago
#---#
##^##
##a##
##d##
#####

IF(conditions met)
ADD_CREATURE_TO_LEVEL(PLAYER_GOOD,TUNNELLER,1,1,10,0)
ENDIF

If you're trying to get something like this done in a map of your own, there 
are ways to do it although I had been wondering if there was a command like 
that. Spent a while trying to think up a 'checkpoint' system for maps that play 
similar to map00104.

Original comment by Wo...@hotmail.com.au on 12 Sep 2014 at 2:50