FANDOM


OSRS build 0 is the first prototype release of the Open Source Rule Set (OSRS), providing basic feature management of scripts. This build primarily deals with event handling.

Current statusEdit

OSRS build 0 has been released (on 28 January 2006) as a module for testing and feedback: OSRS_000_09.mod (387KB, not compressed).

Features Edit

This OSRS build includes the following (completed) OSRS features.

Event partitioning 
This feature partitions all module events into three time phases — pre-event, during-event, and post-event.
Feature management 
This feature manages all other features in OSRS.
NWN basic creature scripts 
This feature causes creatures to act as they did in the original NWN release (with no expansion packs installed).
NWN X2 creature scripts 
This feature causes creatures to act as they did after Hordes of the Underdark was released.
NWN X2 door scripts 
This feature causes doors to use the death script that came with Hordes of the Underdark.
Total event control 
This feature captures and controls all module events.

Installing Edit

The module gets placed in the modules directory so that it can be opened in the Toolset. From within the Toolset, it is possible to export all the scripts to an .erf file, which then gets imported into whatever module is being modified to make use of OSRS. Alternately, if a new module is being created, the OSRS_000_09 module can be used as a starting point.

Using Edit

The first step in using OSRS is to modify all the objects in a module so that they use the OSRS scripts. This can involve editing a large number of objects in an existing module. For new modules, it would be best to create blueprints for creatures, placeables, traps, and triggers with the OSRS scripts, then create all instances from those custom blueprints.

Module: In the module's properties, set the event handlers (the "Events" tab) to the OSRS scripts:

OSRS Module Event Scripts

Areas: In each area's properties, set the event handlers (the "Events" tab) to the OSRS scripts:

OSRS Area Event Scripts

Triggers: In each trigger's properties, set the event handlers (the "Scripts" tab) to the OSRS scripts:

OSRS Trigger Event Scripts

Placeables: In each placeable's properties, set the event handlers (the "Scripts" tab) to the OSRS scripts:

OSRS Placeable Event Scripts

Traps: In each trap's properties, set the event handlers (the "Trap" tab) to the OSRS scripts:

OSRS Trap Event Scripts

Creatures: In each creature's properties, set the event handlers (the "Scripts" tab) to the OSRS scripts:

OSRS Creature Event Scripts

The next step is to save the module, preferably under a new name so the original version can be restored if needed. Finally, the module should be rebuilt.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.