Skip to content

Getting Started

Mateusz "Emu" Uczciwek edited this page Nov 6, 2024 · 6 revisions

This is a guide to help you setup zMultilogue plugin in your Gothic mod.

Installation

You have to have Union installed to use zMultilogue.

Global

  1. Download the zMultilogue-<version>.vdf form latest release.
  2. Place the file inside <GOTHIC_ROOT>/Data with to automatically load the plugin at the start of the game.

Mod

  1. Download the zMultilogue-<version>.vdf form latest release.
  2. Rename the file to zMultilogue.mod, place it inside <GOTHIC_ROOT>/Data/ModVDF.
  3. In YourMod.ini add the file into [FILES].VDF key:
[FILES]
; NOTICE DOUBLE SPACE!
; If you use multiple VDF files, 
; you have to separate them with TWO spaces
VDF=YourMod.mod  zMultilogue.mod

Setup

To make the plugin work you have to add the ZS_MULTILOGUE routine to your scripts.

func void ZS_MULTILOGUE() {
};

func int ZS_MULTILOGUE_LOOP() {
    if (InfoManager_hasFinished()) {
        return LOOP_END;
    } else {
        return LOOP_CONTINUE;
    };
};

func void ZS_MULTILOGUE_END() {
};

The best way to do it is to create a new file, for example ZS_MULTILOGUE.d and place it among other routines.

MAKE SURE THAT THIS FILE IS INCLUDED IN GOTHIC.SRC

Clone this wiki locally