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  Time Stop with Local Area of Effect for Persistent Worlds v1.75
Author  Invizible420
Submitted / Updated  02-09-2004 / 11-22-2006
Category  Spells
Expansions  SOU-1.30
View Code  

Select All Text | View Code in separate window
Format  Code Only
Type  Type - New Spells
Includes  None
Description
This spell replaces the standard Bioware Time Stop which affects the entire module. This Time Stop will only affect a specified area around the caster in meters. Duration and Area of Affect are easily cusomizable within the script itself. I've included a test module so you can see how it works. Be sure to cast familiars, summons, etc. to get a good feel. Also the rar has an importable .erf file, as well as, the script itself and a readme file. This is the latest version of my popular Time Stop spell. This version is basically a bunch of bug fixes and a visual improvement. This Time Stop version will not affect the caster's summons, animal companions, familiars, or the first henchman. It also will stop creatures with Immunity to Mind affecting. Also changed the look of the spell so it looks nearly exactly like Bioware's with how the creatures look when stopped.

Files

NameTypeSizeDownloads
Time_Stop.rarTime_Stop.rar
Submitted: 02-09-2004 / Last Updated: 06-14-2004
rar45.59Kb1210
--
SCORE OUT OF 10
10
4 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 (15):

Posted by Hanzo666 at 2011-04-15 23:02:07    Voted 10.00 on 04/15/11
A little jewel! Even now in 2011.
However the visual effect no longer looks appropriate since nwn 1.69
Monsters just froze without any visual effects.

Also was missing the spell hook system, I re-added it.
I modified the visual effect to give monsters a blueish-green aura effect.

Here's my modified version:
//::////////////////////////////////////////////////////:://
//:: Invizible420's Alternate Time Stop Spell //:://
//:: //:://
//:: By: Invizible420 //:://
//:: (Created 12/20/02 updated 06/13/04 (v 1.75) //:://
//::////////////////////////////////////////////////////:://
//:: //:://
//:: Persistent World Workaround for Bioware's //:://
//:: Default Time Stop Spell. This will //:://
//:: CutSceneDominate creatures within a radius //:://
//:: of the caster. //:://
//:: //:://
//:: This version will not Time Stop the caster's //:://
//:: familiar, summons, animal companion, and only //:://
//:: the caster's first henchman (Does not support //:://
//:: multiple henchmens. Has been thoroughly tested //:://
//:: and will Time Stop creature's with Immunity to //:://
//:: Mind Affecting spells. //:://
//:: //:://
//:: Contact info/Bug Reports: [email protected] //:://
//::////////////////////////////////////////////////////:://
#include "NW_I0_GENERIC"
#include "x2_inc_spellhook"

// Customize User Defined Variables
//float fDur = 15.0; // Duration in seconds -- Change this to however long you want Time Stop to last Uncomment and Comment out 3rd ed duration

// This is the formula for accurate 3rd ed. Duration
float fDur = IntToFloat(d4(1)+1)*6.0; // Least duration is 12 seconds, maximum duration is 30 seconds

float fDist = 20.0; // Radius in meters -- for a wider area of affect increase this float

// Function to resume creature(s) previous actions wrapped for Delay
void ResumeLast(object oResumee, object oIntruder)
{
// Delay DetermineCombatRound
DelayCommand(fDur+0.25,AssignCommand(oResumee,DetermineCombatRound(oIntruder)));
}


// Function to control Time Stop effects
void TSEffects(object oEffector, object oCaster)
{
// Check if stopped creature is a hostile
if (GetIsReactionTypeHostile(oCaster,oEffector) == TRUE)
{
// Start the resume combat round after Time Stop
ResumeLast(oEffector, oCaster);
}

// Clear the creature(s) action que
AssignCommand(oEffector,ClearAllActions(TRUE));

// Make module dominate the creature(s) for fDur seconds & Freeze the Animation to look like time stopped
AssignCommand(GetModule()
,ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectCutsceneDominated()
,oEffector,fDur));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_AURA_PULS
E_CYAN_BLUE),oEffector,fDur);
}


// Function to get creature(s) within radius and apply the alternate Time Stop
void TimeStop(object oTarget)
{
object oNearestC; // Define nearest creature

// Begin loop to find all creatures within the fDist meter radius
oNearestC = GetFirstObjectInShape(SHAPE_SPHERE, fDist, GetSpellTargetLocation(), FALSE, OBJECT_TYPE_CREATURE);
while(GetIsObjectValid(oNearestC))
{

// To make sure it doesn't stop the caster or caster's familiar, first henchman, or summons
if ((oNearestC != oTarget) &&
(GetAssociate(ASSOCIATE_TYPE_ANIMALCOMPANION, oTarget) != oNearestC) &&
(GetAssociate(ASSOCIATE_TYPE_FAMILIAR, oTarget) != oNearestC) &&
(GetAssociate(ASSOCIATE_TYPE_HENCHMAN, oTarget) != oNearestC) &&
(GetAssociate(ASSOCIATE_TYPE_SUMMONED, oTarget) != oNearestC))
{
// Start the Time Stop effects
DelayCommand(0.75,TSEffects(oNearestC,oTarget));
}

// Get the next creature in the fDist meter radius and continue loop
oNearestC = GetNextObjectInShape(SHAPE_SPHERE, fDist, GetSpellTargetLocation(), FALSE, OBJECT_TYPE_CREATURE);
}
}


// Begin Main Function
void main()
{

/*
Spellcast Hook Code
Added 2003-06-20 by Georg
If you want to make changes to all spells,
check x2_inc_spellhook.nss to find out more
*/

if (!X2PreSpellCastCode())
{
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
return;
}

// End of Spell Cast Hook


//Signal event to start the Time Stop
SignalEvent(OBJECT_SELF, EventSpellCastAt(OBJECT_SELF, SPELL_TIME_STOP, FALSE));

// Begin custom Time Stop
TimeStop(OBJECT_SELF);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_TIME_STOP), GetSpellTargetLocation());
}

Posted by Shargast at 2008-05-24 07:55:54    Voted 10.00 on 05/24/08
Good script
Cheers
Shargast
_________________________
Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth

Posted by fenix_nl ( 194.247.xxx.xxx ) at 2005-09-22 05:10:16    
How about the situation where another enemie walks into the radius AFTER the effect has been applied?
In other words, any plans to make it a AoE effect in the future?

Posted by Inviz420 ( 24.196.xxx.xxx ) at 2004-11-28 03:21:00    
Did several tests with familiars and summons and server running. Scripts worked fine, no crashes. Scripts did not freeze the familiars as is intended, it only froze the enemies.

Was not able to reproduce your crash... I would check it again and perhaps tell me exactly what you are doing.

Posted by Longstar71 at 2004-09-14 17:23:00    
Nice script but it causes server to crash due to an issue with familiars

Posted by Harley_59 at 2004-09-06 18:38:00    Voted 10.00 on 09/06/04
Great script has help us a lot to allow time-stop in our world

Posted by Invizible420 at 2004-06-25 14:50:00    
The file has been updated. Now includes a test mod, importable erf, the script, & readme.

You can try the test mod and everything now works correctly.

_________________________
Enjoy.
- Invizible420

Posted by Inviz420 ( 204.95.xxx.xxx ) at 2004-06-12 13:25:00    
Sorry - been away from NWN for a while and am just getting back.
I just edditted the spell and made it much more efficien. I still have to run test on it tonight, hopefully will post new version Monday.

The new version will not stop Familiars, Animal Companions, 1 Hencman (not setup for multiple henchman), and summons. All other PC's and Monsters will be stopped.

Also - updated the animations - so the creatures won't just stand there like before - they will actually look like they were frozen in time (like how Bioware's Timestop looks).

Posted by Inviz420 ( 204.95.xxx.xxx ) at 2004-06-12 13:25:00    
Sorry - been away from NWN for a while and am just getting back.
I just edditted the spell and made it much more efficien. I still have to run test on it tonight, hopefully will post new version Monday.

The new version will not stop Familiars, Animal Companions, 1 Hencman (not setup for multiple henchman), and summons. All other PC's and Monsters will be stopped.

Also - updated the animations - so the creatures won't just stand there like before - they will actually look like they were frozen in time (like how Bioware's Timestop looks).

Posted by Tapek ( 138.130.xxx.xxx ) at 2004-05-09 05:02:00    
There are a couple of problems with this script. Creatures with immunity to mind spells are not affected by this. Additionally when the domination wears off, your character will do something random and stupid.

Posted by Old_Scores_Transfered at 2004-02-20 10:29:34    Voted 10.00 on 02/20/04
This is a compilation of the old system into a single score. There were 1 that made this score of 10 then rounded to 10.

Posted by neo_sck ( ..xxx.xxx ) at 2004-02-11 18:54:00    
This goes in the nw_s0_timestop script. You must replace all the text and paste this script.

Posted by Anonymous ( ..xxx.xxx ) at 2004-02-10 15:22:00    
Where does this go? Instead of the spells original script or somewhere in the new x2_inc_spellhook script?

Posted by Vashi at 2004-02-10 10:21:00    
Just a quick suggestion, you should post it as a file not a code or both so they have the option, erfs are easier to import and uncompress than the code, easier is better

Posted by Anonymous ( ..xxx.xxx ) at 2004-02-10 00:28:00    
Ha, I upped a timestop script same time you did. Now people will have a choice how they want their timestop to work.

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 Other


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