SPONSORED LINKS

DK2Mapper Tutorial

9/7/99 - Version 1.01 for DKMAPPER 1.1 by Mark Kinkead

PART TWO:
HERO BANDS, TRIGGERS AND ACTIONS

The following parameters are purely optional. Not all Skirmish and MultiPlayer maps need these advanced features, but they sure can make a map much more interesting if applied intelligently. Most of this section of the map file describes using an area of the map to trigger an event, in this case Hero Bands coming through the Hero Gate.

11. HERO BANDS
HERO_BANDS
2

We will designate two Hero Bands for Tinymap.
HEROES 3 P1 1

The first Band will have 3 Heroes who favor attacking Player 1, and is labeled Band 1.
KNIGHT L1
GIANT L1
ELVEN_ARCHER L1

We have listed each Hero creature, and made them all Level 1.
HEROES 3 P2 2

The second Band will have 3 Heroes who favor attacking Player 2, and is labeled Band 2.
WIZARD L1
GUARD L1
DWARF L1

Again we have three Level 1 creatures, of a few different types.

TIP: The following are the Common Heroes that should be used for Hero Bands, as they are considered "good" and therefore make the best enemies for a Dungeon Keeper:

And, don't forget the Noble Heroes who should be used sparingly; only one should ever be on any map (but of course, you can try using whatever you like):

12. AREAS
AREAS
2

We will define 2 areas that will act as triggers for the Hero Gate.
1 11 4 11 4
2 11 4 11 4

Both Area 1 and 2 are identical, and are located exactly where our door is: at the entrance to the Heroes' room. Even though our Areas are only one tile, the coordinates are entered twice; the first set is the upper left corner of an area, the second set is the lower right corner. Of course with a one-tile Area, they are the same coordinates.

TIP: Why would we have two Areas in the same location? Because we need to Trigger two different events for the same place on the map. See TRIGGERS, below.

13. HERO GATES
HERO_GATES
1
1 11 11

Yes, we already mapped the Hero Gate - but that was only the graphic. DK2 needs to know where the upper left corner coordinates are for each Gate that will be Triggered. If you place a Gate on the map and don't want it to let Heroes into your Keepers' Dungeons, then you do not need to define it here. Note that if it is not defined here, if imps Claim all the tile around it, it will not collapse.

14. TRIGGERS
TRIGGERS
2

We will have 2 Triggers on our map.
TRIGGER_CONTROL_AREA P1 1

The first Trigger occurs when an Area is Claimed by Player 1; that is Area 1.
1
ACTION_HERO_RELEASE 1 G 1

The 1 Action that is Triggered is to release Hero Band 1 through Hero Gate 1.
TRIGGER_CONTROL_AREA P2 2
1
ACTION_HERO_RELEASE 2 G 1

The second Trigger occurs when an Area is Claimed by Player 2; that is Area 2.

The 1 Action that is Triggered is to release Hero Band 2 through Hero Gate 1.

TIP: Only one Trigger may be assigned to an Area. This is why we must use two Areas for these two events, even though they are the same location.

15. SCENARIO DESCRIPTION
SCENARIO_DESCRIPTION
CREATURE_COUNT P1 FIREFLY 0
CREATURE_COUNT P2 FIREFLY 0

For Tinymap we have decided to only limit the number of Fireflies for both Players to zero. Since it is such a small map, Fireflies are of little use in exploration here.

16. END OF FILE
EOF

That's All Folks!

You may compile and play Tinymap to see the effects described above. The easiest way to do this is to put TINY.TXT and DK2MAPPER.EXE in your DK2\data\editor\maps directory and while in that directory run this command at a DOS Prompt:

DK2MAPPER TINY.TXT

Then fire up DK2 and play Single Player Skirmish, then Change Map to Tinymap, and play!

TIP: Novice map authors may find it useful to create a map template by using DK2MakeMap (see downloads page). You can input any size map; if you reduce Water, Gold, Lava and other features to zero, you get a nice blank slate to build your map from.

Return to Part One


Return to the Dungeon Constructor

Designed and Maintained by Wydraz
©1999 Anthony Affrunti
Some images derived from Bullfrog's Dungeon Keeper 2 ©1999 Bullfrog Entertainment and Electronic Arts
This site is not supported by or affiliated with Bullfrog Entertainment or EA