Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 SCRIPTS

- Jump to comments -
Name  Random Encounter Enabler (REE - A Random Spawn System)
Author  sidefx
Submitted / Updated  02-01-2007 / 02-01-2007
Category  Spawning
Type  Type - Combat
Format  Code Only
Patch  1.04
Description
This system allows you to get some randomness in your dungeons without too much effort. It also lets you keep using the basic NWN2 encounter scaling, etc.

NOTE: This was originally built for NWN1, so some of the stuff (like parent-child encounters) aren't as useful given the new features in NWN2. Still, I've left them in since there's no real harm to having them.

BASIC USAGE
-----------
* Lay down a group of encounters in the same place with the same trigger shape. You can put as many groups as you want in the dungeon. (may not need same encounter trigger shape, just start point?)

* Place the ree_randomise script either in the onenter event of the area that you want randomised, or on a trigger at the entrance (or some convenient point where PCs will trigger it) to the area.

* For each encounter "group" in the area, this script will randomly select one of them and enable it, while disabling the rest. A "group" of encounters is defined by the distance between them. It seems the position of a trigger is defined by either the starting point or centroid when you paint it down, so provided the ecounter trigger centroids are within GROUP_DISTANCE units of each other they will be considered a "group" and only one of them will be enabled each time.

* If you wish for the system to ignore an encounter in the area, set a variable on it called REE_IGNORE to TRUE. Also, set a variable called REE_DISABLED to FALSE on the area to disable completely - useful if you want to put it in all on enter's for area and then enable or disable by area.


ADVANCED CONCEPTS
-----------------

NOTE: none of these are required for the basic system to work.

* chance of no encounter - Just add a float variable to one of the encounters in a "group" called REE_BLANK_PROB and set it to the percentage probability of the group spawning nothing at all.

* encounter weighting - If you have a group of encounters (say 3) and want one of them to be more common than the others, use the encounter weigtings. On the encounter that should be more common set an int variable called REE_PROB to a value higher than 1. (say 2) The rest will default to a weighting of 1. Now, in the example above of 3 encounters with one having a REE_PROB weighting of 2 this one will be selected randomly every 2 of 4 times while the others will be selected every 1 of 4 times. Look mum, statistics!

* parent-child encounters - Allows you to define child encounter(s) of one of the encounters in the random encounter group. This is useful where you want to have, for example, a group of warriors and a couple of archers backing them up AND you want both the warriors and archers to scale without doing something stupid like replacing all your warriors with archers because the CRs happen to be values such that the current PCs level makes biowares scaling algorithm select all archers or all warriors. To do it, just put a variable on the encounter that should be the "child" named REE_CHILD_OF. This should be a string with the tag of the encounter that should be the parent encounter. Now this encounter will only be enabled when the nearest encounter that has the matching tag is enabled. Hey presto, you've now got archer/mage/cleric support for the parent encounter of meat shields.

Files

NameTypeSizeDownloads
ree2.erfree2.erf
Submitted: 02-01-2007 / Last Updated: 02-01-2007
erf21.17Kb347
The REE Scripts
SCORE OUT OF 10
8
1 votes
View Stats
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (3):

Posted by MyHouse at 2007-02-09 19:30:52    
Any way to add placeble spawns?

Posted by warpath98 at 2007-02-08 16:18:12    Voted 8.00 on 02/08/07
Good Spawning system. Won't work where I wanted to use it at, but it will come in handy for dungeon encounters.

Posted by mwatson8 at 2007-02-02 13:42:59    
i like this idea...i will check it out.

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Prefab Areas


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters