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  



NWN SCRIPTS

- Jump to comments -
Title  Mister_Leebo's PW Encounters
Author  Mister_Leebo (AKA Bent_Spear)
Submitted / Updated  08-14-2006 / 11-22-2006
Category  Creature Related
Expansions  Works on all versions
View Code  

Select All Text | View Code in separate window
Format  Module and Code
Type  Type - Combat
Includes  Custom
Description
I intended to write a clean yet dynamic scripting solution that is easy to use and fun to master.

This is a no-scripting, no-triggers, variable and 2da-based Encounter system intended for persistent worlds. Its variable-based structure allows scripters to change the spawns dynamically for things like quest-related spawning or night-time encounters.

No scripting skills are necessary whatsoever for basic use. Included is a tutorial for builders who have never used 2DAs before.

Some features:
Variables to let builder customize how far apart creatures spawn and how long they take to return after dying (see code box). Form clusters in alleys or fill a massive valley with just one Spawner object.

High Level players can not ruin the game for lower levels because encounters do not cater to player level.

2da-based creature lists allows for easy adding and modifying of creatures without touching the toolset.

Build two groups of opposing factions to set up battlefields quickly and eaily.

ResRefs are selected using a formula to reduce the number of 2da calls and prioritize which resrefs are selected.

If you run a large PW that's been using encounter triggers up until now you should notice a MAJOR drop in file size after converting to this system.


This is the first version of this code and I am accepting requests and suggestions on how to improve it so that it is more appealing to PWs. Please contact me at my e-mail [email protected] with ideas, troubleshooting, or if you come across any bugs in the code.

Thank you and have a wonderful day!

Files

NameTypeSizeDownloads
PersistentWorldEncounters.zipPersistentWorldEncounters.zip
Submitted: 08-14-2006 / Last Updated: 08-14-2006
zip32.14Kb202
Version 1.0 of the Persistent World Encounters System by Mister_Leebo. Contains 1 demo module, 1 erf, 1 2da, and 2 help files.
SCORE OUT OF 10
10
1 votes
View Stats
Cast Your Vote!

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 Nailius at 2006-08-27 19:02:36    Voted 10.00 on 08/27/06
This is really easy to use a lot less complicated than using triggers or scripting, espcially for people like me who like an MMO type spawning system with a rare chance to special monsters to spawn, and the equasion can be used to make a loot system similar to this.

Posted by Mister_Leebo at 2006-08-16 13:29:23    
Good thing there aren't frequent calls to the 2DA then, huh? This script uses a formula to determine which monsters to spawn instead of a builder-given probability chart like most 2DA encounter systems. There are only 2 2DA calls when the script spawns a creature. The first is to see how many resrefs are in the column and the second is to fetch the resref in the row the formula chose. Assuming the 2da is cached most of the time, the CPU efficiency should be comparable to using local variables.

Posted by Tichondrius at 2006-08-16 13:02:57    
It's 2DA driven, doesn't it make too much lag? It is said, that frequent using of 2DAs is quite CPU expensive... Just a first thought, I will be checking it out anyway.. ;)

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

 
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 Visual Effects


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