Difference between revisions of "Creating Maps With New Actors"

From ECWolf Wiki
m (collapsed images)
m (I think this might add it to this category)
Line 82: Line 82:
  
 
----
 
----
I hope this tutorial helps at least someone! --[[User:Marrub|Marrub]] ([[User talk:Marrub|talk]]) 12:01, 17 December 2013 (UTC)
+
I hope this tutorial helps at least someone! --[[User:Marrub|Marrub]] ([[User talk:Marrub|talk]]) 12:27, 17 December 2013 (UTC)
 +
 
 +
[[Category:Guides]]

Revision as of 12:27, 17 December 2013

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.

Image
Mapdef1.png

Click Yes.

Image
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.

Image
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.

Image
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.

Image
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:27, 17 December 2013 (UTC)