Creating Maps With New Actors

From ECWolf Wiki
Revision as of 12:01, 17 December 2013 by Marrub (talk | contribs) (Created page with "Sometimes you might want to add new enemies or objects instead of replacing old ones in maps, this tutorial explains how to do exactly that. == Requirements == You'll need to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sometimes you might want to add new enemies or objects instead of replacing old ones in maps, this tutorial explains how to do exactly that.

Requirements

You'll need to add a DoomEdNum/Tag ID for your actor first. Look for one that isn't used.

(You can check the current game's DECORATE or XLAT files from ecwolf.pk3 to make sure that it isn't being used.)

For this example, we'll be using this actor:

actor NewSSGuy : WolfensteinSS 666 {}

You will also need a MAPINFO lump to define what file your map translator is. Write down a cluster, episode, gameinfo or map block depending on what levels you want to affect.

Again, for this example, we'll be using this:

gameinfo {translator = "XLAT"}

Replace XLAT with the name of your map translator file.

Next, we'll need the map translator itself.

Find an empty object number, you can, again, check ecwolf.pk3 for reference.

We'll be adding object 100 here and including the base game's xlat file, since we're just adding something.

include "$base"
things
{
	// oldnum, newnum, angles, patrol, minskill
	{100, 666, 4, HOLOWALL, 1}
}

Mapping it out

Here's the tricky part. Adding this stuff to your map.

I've taken an empty GAMEMAPS.WL6 and renamed it to "GAMEMAPS.ECW" so HWE will ask us to make a new configuration.

Mapdef1.png

Click Yes.

Mapdef2.png

You'll see this thing. Set the settings to these and click OK.

Make a basic map with a player start and all that jazz.

Mapdef3.png

Go down to Map > Map Symbols and then to Plane 2. Add a new map symbol and put its ID to the ID you added earlier in the map translator file.

Mapdef4.png

Click OK. Then give it a name and all that. A direction isn't needed unless it's patrolling. Give it an icon, too.

It'll give you a warning message, just click OK.


Now, place some in your map.

Mapdef5.png

And you're done. Export your map and put it in your wad/pk3.


I hope this tutorial helps at least someone! --Marrub (talk) 12:01, 17 December 2013 (UTC)