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  AD Resting Script
Author  AnDenix
Submitted / Updated  01-22-2005 / 11-22-2006
Category  Creature Related
Expansions  NWN-1.65
Format  Module and Code
Type  Type - Resting
Includes  BioWare Standard
Description
The idea was to create builder friendly HCR-like resting script, free of common bugs. This script is designed to be a base for creating custom PW worlds. I tired of watching hundreds of PW worlds using buggy resting scripts, wich make character blind (sometimes forever), and leaves bedrolls here and there untill server crushes, thats why I decided to release my version.
Main features include:

  • Doesn't use blindness for sleep blackout effect.
  • Configurable to use food and bedroll.
  • Reduced traffic and server load.
  • Easy to add to your module.

I hope this package will prove usefull.
If you have any suggestions, please mail me or leave a comment.

Files

NameTypeSizeDownloads
adrest1.1c.zipadrest1.1c.zip
Submitted: 01-22-2005 / Last Updated: 01-24-2005
zip18.54Kb679
--
SCORE OUT OF 10
9.58
3 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





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

Posted by friendlyfire at 2007-04-15 12:05:00    Voted 8.75 on 04/15/07
I think there is a small bug in the time function: (my comments and correction)

int ReadGameClockMinutes()
{
// Get total gameworld hours
int nElapsed = (8064 * GetCalendarYear()) + (672 * GetCalendarMonth()) + (24 * GetCalendarDay()) + GetTimeHour();

// Get total REAL world seconds
nElapsed = FloatToInt(HoursToSeconds(1))*nElapsed;


// Possible fix, add this line
nElapsed = nElapsed/60;

// bug
// Total REAL world seconds + current REAL world minute (as fraction of hour, default allows 0 or 1)
nElapsed += GetTimeMinute();

return nElapsed;
}

There is another minor bug in the "you need to wait X hours" bit - it says hours, but means minutes, you just need to add a conversion to that line to take it back from real world minutes to game hours, depending on the module setting. Anyway, nice work, I pinched a few bits :D

Posted by 060782 at 2006-02-13 03:47:33    
I'm having the same problem as Rush, IE an insanely high amount of hours required to rest. I'm using the script unedited, with the exeption of two added lines;
int iLevelAffected = 3;
if (GetHitDice (oPC) >= iLevelAffected)

Just trying to have it only apply to characters level 3 and up.

Posted by Lanessar at 2006-02-12 01:53:34    
Aha, another feature. Safe Rest Triggers.
_________________________
Lan's Placeable Groups v1.5

Posted by Lanessar at 2006-01-23 14:37:18    
Looks pretty good. I'll be testing it for Myth Drannor pretty soon. I hope you made use of FadeScreenToBlack function (or similar wording).

I appreciate the ability to customize the script. I'd add a level-based length option if you have not done so already, and I think you will have covered pretty much anything I could come up with.
_________________________
Lan's Placeable Groups v1.5

Posted by Sayatrist at 2005-10-08 13:29:57    Voted 10.00 on 10/08/05
Very Good

Posted by Sayatrist at 2005-10-08 13:28:50    Voted 10.00 on 10/08/05
Very good script.

Posted by andenix at 2005-03-07 19:22:00    Voted 10.00 on 01/24/05
Could you please mail me the details when whis happened? I will review the script (and the whole package) ASAP.
Kind Regards

Posted by Rush ( 81.10.xxx.xxx ) at 2005-03-01 05:49:00    
I downloaded the script a while ago and when I first used it, it worked well.

But now it seems I can never rest because it always tells me "xyz is not tired, try again in 32546436 (insert insanely high number) hours". Any hint on what may have caused it? I didn't change anything in the script.

Posted by andenix at 2005-02-17 21:06:00    Voted 10.00 on 01/24/05
Let’s say blindness effect doesn't make much sense, since people do not actually go blind while sleeping.

Posted by andenix at 2005-02-17 21:03:00    Voted 10.00 on 01/24/05
If you dislike the blackout due to *sleepiness*, it is possible to turn it off by setting DARK_REST to FALSE. Be sure to preserver case since eScript is case sensitive.

Posted by andenix at 2005-02-17 20:59:00    Voted 10.00 on 01/24/05
I encourage everyone, who posts technical questions to be as specific as possible.
Thank you.

Posted by Anonymous ( 24.166.xxx.xxx ) at 2005-02-17 11:18:00    
Dude this script is butt! Whats wrong with the blindness effect did someone on a server with it rape you when you was sleeping?

Posted by andenix at 2005-01-24 11:17:00    Voted 10.00 on 01/24/05
By some reason the first version did not work properly, so I posted updated script.

Posted by andenix at 2005-01-24 11:05:08    Voted 10.00 on 01/24/05

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 Scripts


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