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  Mannast's Scry and Teleport System v.0.9
Author  Mannast
Submitted / Updated  04-19-2011 / 04-09-2013
Category  Scripting routines
Expansions  Requires Both Expansions (SoU & HotU)
Format  Module and Code
Type  Type - Magic
Description
This system will allow characters to keep a list of locations and targets that they may then view remotely from a Scrying Device or Teleport to.
Please read the documentation for setup and usage. *.erf contains all the required scripts. Sample module shows how the system works.
System is flexible and allows the builder to designate objects that are scying devices with different levels of power - some may provide travel and might even be set to certain locations.
Character's use a widget called the "scrying journal" to select locations and targets they wish to record for scrying later on. Other objects may allow that character to "learn" about a distant target and record that to their journal.
When scrying, the character takes control of a "Sensor" at the viewing location. Their body is still back at the device and may be interacted with - usually resulting in the session ending.
-------------
v.0.5 is the first released version but should still be considered beta. I have tested it just about as much as one person can mess with it. It should work for multi-player games without trouble.
-------------
v.0.6 Adds immunities to the "Sensor" while scrying. Now the scrying PC won't (shouldn't) be triggering traps or hit by AOE spells.
-------------
v.0.7 Adds a number of inventory and item related modifications, improved conversation options, and the option to allow a certain amount of communication to the scry location
This system is fully functional. The persistence process I have added below is supplemental to the Scry System.
5/2012 0.7.1 fixed a couple of small bugs.
..........
v.0.8.2 Hides and protects associates. Teleportation options. Improved Device Items that can move from module to module. Hopefully fixed a few other annoying bugs.
-------------
0.9 Combined Teleport conversation into Scry Conversation.
Added conversation elements to check for needed items and allow creation of Written Accounts of already Recorded Objects or Locations.
Adding copies of Associates, gave them conversation options
-------------
"scry_data" update adds persistence to the system. It is pretty down and dirty, but it works! Recorded Target lists are restored after resets/restarts. If non-unique targets are to be stored, the reset may return another object with the same tag. If you see any glaring errors, let me know - this is my first stab at a persistence script of my own.
Thanks!

Files

NameTypeSizeDownloads
Scry_Teleport_System_v.0.9.rarScry_Teleport_System_v.0.9.rar
Submitted: 04-19-2011 / Last Updated: 04-09-2013
rar92.1Kb131
Scry and Teleport System v.0.9 contains *.erf, Documentation and sample module.
scry_data.erfscry_data.erf
Submitted: 04-19-2011 / Last Updated: 05-03-2011
erf15.11Kb62
Persistence Update. 5 scripts (3 edited, 2 new). To setup, wrap "scry_get_data" into your Module OnEnter event (or put it in a trigger or something so PCs will run the script). Add the variable INT "SCRY_PERSIST" = "1" to your module. This allows the persistence to be turned off if needed.
If you want the persistence to be campaign-wide (not tested) instead of module oriented, add the variable STR "Campaign" to your module with the name you want.
SCORE OUT OF 10
10
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

A view of the character's body while scrying.


The view from a "Sensor" looking at a location.


Locating an open Sensor.


A view of the character's just before using the travel function of a scrying deice.





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

1 2 3

Posted by Mannast at 2011-05-0607:30:56    
If I could find a way to save the journal item persistantly, I could make the persistence work much better - right now, non-unique items may return the wrong item on reload. However, I seem to be clueless on how to properly save the object - StoreCampaignObject and RetrieveCampaignObject seem to do nothing for me. The scripts claim to store the object, but nothing is there to be retrieved. It may be that I am missing a step, or missing the process by which PW are saving inventory across resets. (NWNx? maybe) Any suggestions would be helpful. Thanks for trying this out!

Posted by Mannast at 2011-05-0407:28:02    
lordofworms - I was re-reading your question and realized I didn't understand what you were asking about. My first shot at persistence is using a database write just after recording a new target. So every time one adds a new target, the script writes all of the targets recorded to the database. In your question, you talk about saving the recorded targets to the journal item - and that these keep the data even over resets - maybe skipping the need for database storage. I'm guess in your PW, the characters inventory is maintained across resets, and so the item would be - but variables on the PC are lost... Sorry I am just a bit slow on the uptake and went a different route... thinking... Let me look at how the information is stored and get back to you.

Posted by Mannast at 2011-05-0219:05:46    
I will see what I can do about the journal and database storage - It should be possible and strangely enough I was looking at persistance the other day. Glad you love the little touches!

Posted by lordofworms at on04/26/11
p.s. I enjoyed that extra touch of casting before kneeling when beginning a scry , heres to the little touches! _________________________ [Seasonal Forest Tileset] [Fantasy Dungeon Tileset][Scorched Earth Tileset] [Mirkwood Swamp Tileset] [Cypress Bayou Tileset] [Undersea Tileset] [Reworked Werewolf Model] [Helmet Pack] [Remodeled Night Hag][WoRm Head Hands Model][Goblins Override][Zombies Override][Ghouls Override] [Werewolves and Fire Giants remodels][Bugbears Facelifts][Minotaurs Facelift][Wagon Interiors][Arbor Falls~ Downloadable Persistant World]

Posted by lordofworms at on04/26/11
Yep me again. I love it. My only concern...my only one...is it doesn't look to be persistent? or is it and I am not utilizing it correctly. but in my PW setting when resetting server all my 'stored' locations are lost.. I havent looked too deeply into your code, but if your storing info on the PC how hard would it be to store it on the journal item itself? luckily items keep any stored data even across resets so its an easy solution for persistency.. just hoping, I wouldnt mind taking a crack at it but I thought to ask you since being the creator it might be easier to know where to start. still a 10 for me though. _________________________ [Seasonal Forest Tileset] [Fantasy Dungeon Tileset][Scorched Earth Tileset] [Mirkwood Swamp Tileset] [Cypress Bayou Tileset] [Undersea Tileset] [Reworked Werewolf Model] [Helmet Pack] [Remodeled Night Hag][WoRm Head Hands Model][Goblins Override][Zombies Override][Ghouls Override] [Werewolves and Fire Giants remodels][Bugbears Facelifts][Minotaurs Facelift][Wagon Interiors][Arbor Falls~ Downloadable Persistant World]

Posted by Mannast at 2011-04-2809:57:13    
Updated to v.0.7 - lordofworms, thanks for the spot in the documentation - I think that fix actually made it into this latest version. Version 7 includes: communication options - allowing for the character to send a "thought" to the scry location for a certain period of time; Scry Devices in character inventories; Options in the conversation to record the scry devices or learning objects as targets; and improved animations (at least added some animations... whether they improve...).

Posted by lordofworms at on04/26/11
excellent work in updating! I have since merged it with my own PW and it was pretty much plug and play after initial setup. one thing of note. in your README under setup you have something like "to make a placeable scryable set "SCRyING_DEVICE" as an INT to 1" this is wrong and should be.. "SCRY_DEVICE" INT set to 1 just FYI, in found it out by opening your module and looking since when I followed your steps in your README I was unable to converse with my 'scrying' placeable because of having the wrong variable INT name. other than that, docs were simple and well written. if I havent voted a 10 earlier, I have now. _________________________ [Seasonal Forest Tileset] [Fantasy Dungeon Tileset][Scorched Earth Tileset] [Mirkwood Swamp Tileset] [Cypress Bayou Tileset] [Undersea Tileset] [Reworked Werewolf Model] [Helmet Pack] [Remodeled Night Hag][WoRm Head Hands Model][Goblins Override][Zombies Override][Ghouls Override] [Werewolves and Fire Giants remodels][Bugbears Facelifts][Minotaurs Facelift][Wagon Interiors][Arbor Falls~ Downloadable Persistant World]

Posted by Mannast at 2011-04-2205:57:10    
Updated the scripts to v.0.6 today. When scrying, the "Sensor" (the actual PC) will have a number of immunities added to it. I guess the main issue is that if they have these immunities from some other source, those will be removed at the end of the process as well. I have been adding checks for removing only permanent duration effects, but that is not a complete solution. On the familiar suggestion by Sethan - I will look at that - but it would mean adding a familiar to the PC (even if they are of a class not using familiars), possessing them, making the familiar immune to effects and transporting them... it might be cleaner though.

Posted by Sethan at 2011-04-2120:14:23    
Perhaps use a possessed familiar as the sensor, instead of the actual PC? _________________________ PW Story server Narfell - Since 2002

Posted by Mannast at 2011-04-2112:20:01    
Thanks for the great comments! The primary issue is in the stage where a PC is working the main scry section. The Following script initiates the Cutscene concept lordofworms mentioned in the forum - which makes the PC "plot" and invulnerable. But when just scrying, currently the PC is just invisible and paralyzed. I am playing with adding Immunity to Spells and Immunity to Traps while scrying. This seems to work, but it may still be possible there are other forms of damage they may incur. I will post my current fix after a little more testing and continue playing with it.

1 2 3

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