Mark Damon Hughes  | Hephaestus Adventure Tutorial 1

I'm going to take you step-by-step through making an adventure here. I assume you know how to use a text editor and how to use a command-line shell; you don't need to know any more than that at this point.

Hephaestus uses Java as a scripting language. There are two ways to create maps and items: 1) You can construct your entire world in the adventure script, or 2) you can use the map editor to build each map and all of the items and creatures on it, and use a single command in the adventure to load the map. We're going for the simple case, so we'll edit and load a map.

First, make a directory - call it "mytest" or whatever you want.

________

Start the map editor:

Unix/MacOS X
Run ./hephmap.sh
Windows
Run hephmap.bat

I'm just going to show how to make a bare-minimum map, an enemy, and a weapon. You can make almost anything if you play around with the editor.

________

Hephaestus uses a very tiny ".adv" file to point to the Java class. Start your editor and type:

Save it as "mytest.adv".

________

Create "MyTestAdv.java", containing the following Java code, and customize it if you want (change MYNAME, give the player a new name, etc.):

________

Open a shell window, change to the Hephaestus directory, and type:

Unix/MacOS X
./compile.sh mytest/MyTestAdv.java
Windows
compile.bat mytest/MyTestAdv.java

If all went well, you'll see the message "Compiled!"

________

Now you can start Hephaestus, open the adventure, and fight to the death!

iOS Games & Utilities: [Brigand] [Perilar] [Castles] [DungeonDice] [UnixTime] [Notecraft] Computer Games: [Dormanica] [Aiee] [GameScroll] [Hephaestus] [JPerilar] [Umbra] Utilities: [JICB] [Javascript]
Copyright © 2007 by Mark Damon Hughes  |  email