IVAN 3D

From IvanWiki
Jump to navigation Jump to search

Current patch release number: 10

The newest version of this variant features:

  • Based on the current version from IVAN CVS (as of Dec 2007), with a minor modifications which allow it to be compiled with MinGW (at least my MinGW).
  • A graphics mod which adds boundaries. If you prefer original graphics, replace three files from 'graphics' with files from 'graphics/orig'.
  • Sounds. The package contains only some example sounds, you have to provide good sounds yourself. (The config file format has been changed from the previous patch version.)
  • 3D mode. Press 'x' to activate.
  • Nicer interface when the player character dies.
  • Keyboard layout configurable via a file.
  • Several new configuration options regarding 3D mode and sounds.

The newest version, and also some older versions, can be downloaded here[1]. (The source is released as a patch to the CVS version (or 0.50 for the oldest patch version). You need the 'patch' utility (from diffutils) on the original source to obtain modified sources.)

How to add sound and music to IVAN

I will explain this with example. If you add the following two lines to sound/config.txt

.*Kenny.*bites.*
kennybites.wav bark.wav

it will randomly choose one of the two files kennybites.wav and bark.wav whenever a message is sent containing words "Kenny" and "bites" in this order (capitalization is important). (The pattern .* can replace any sequence of characters.) If multiple pairs of lines match the message, only the last one is used (so you should add more specific sound files to the end of the file). Additionally, you can add some music files, for example

music:Worldmap
world.mp3

will play the file world.mp3 whenever on the world map. You can do this for all locations (see the short names displayed on the screen while in given location), and for several other situations (see the example config file).

In general, the Perl Compatible Regular Expressions are used to match the pattern (e.g. .*Kenny.*bites.*) with messages, which gives quite powerful abilities. Read about them to use them. But for simple stuff you can just use .* to match any character, and remember that some characters like . have special meanings and you have to escape them, by e.g. "\.", to use them.

How to use 3D

The 3D mode is (de)activated by pressing 'x'. There are also some new options.

How to configure keys

See the file keys.cfg.

Known problems

  • Explosions are not drawn in 3D.
  • Some of the blood drops are not drawn in 3D.
  • Some monsters like spiders are supposed to be small, but they fill the whole corridor anyway.
  • The command 'reveal secret knowledge' is available not only in wizard mode. (Probably the devs made it available because they wanted to cheat. Cheaters!) Please don't use it.
  • I did not test it well, so there may be more bugs.

Screenshots