All Projects → Daztek → EventSystem

Daztek / EventSystem

Licence: MIT license
A modular Event System for Neverwinter Nights: Enhanced Edition using NWNX:EE.

Programming Languages

Roff
2310 projects
NWScript
4 projects

Projects that are alternatives of or similar to EventSystem

anphillia
NWN Scripts for the Anphillia PW
Stars: ✭ 17 (+6.25%)
Mutual labels:  neverwinter-nights, neverwinter-nights-enhanced-edition
SWLOR NWN
Star Wars: Legends of the Old Republic server code, a persistent world for Neverwinter Nights
Stars: ✭ 31 (+93.75%)
Mutual labels:  neverwinter-nights, nwnx
nwn-devbase
Command line tool used to version control NWN module development
Stars: ✭ 35 (+118.75%)
Mutual labels:  neverwinter-nights

EventSystem

This is an easy to use modular Event System for Neverwinter Nights using NWNX:EE. TODO: Write a better description.

Requirements for Core

  • NWNX:EE Plugins:
    • Object
    • Util
  • NWNX:EE Environment Variables:
    • NWNX_CORE_ALLOW_NWNX_FUNCTIONS_IN_EXECUTE_SCRIPT_CHUNK=true
    • NWNX_CORE_SHUTDOWN_SCRIPT=es_obj_e_3019
    • NWNX_UTIL_PRE_MODULE_START_SCRIPT_CHUNK="#include \"es_inc_core\" void main() { ES_Core_Init(); }"

Docker Setup

The only difference on setting up the system in Docker than in native Linux is on setting the NWNX_UTIL_PRE_MODULE_START_SCRIPT_CHUNK variable. It should be set up as follows:

  • NWNX_UTIL_PRE_MODULE_START_SCRIPT_CHUNK=#include "es_inc_core" void main() { ES_Core_Init(); }

How To Use

  1. Make sure you have enabled the required plugins and set the required environment variables listed above.
  2. Add the script files in the Core folder to your module.
  3. Add one or more Core Components, Services and Subsystems script files to your module.
  4. Start your server!

Want to write your own subsystem?

Have a look at heavily commented es_s_example.nss! (TODO)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].