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  Abyssya Weather System
Author  Zweiander
Submitted / Updated  06-17-2009 / 07-12-2010
Category  Scripting routines
Forum Thread  Link
Type  Type - Multiple Effects
Format  Module and Code
Patch  1.01
NWN2Game  All
Description
I've always wanted to sit down and create a dynamic weather system for our Persistent World, since there are very few out there (and NWN2 doesn't really have a decent system in place, like NWN1). This is the weather system in use on the Abyssya Campaign Persistent World and built completely from scratch, featuring sound effects, lightning effects, change of ambient noise, multi-regional weather (linking areas together), and three different intensity levels.

The test module includes the ability to automatically change weather at specific intervals (we use the HCR Timer system for this, part of which is included as an example).

The script can also be used in a conversation or executed from a widget (for DMs). An example conversation is included.

No haks required!

UPDATE 7/12/10 -- Added readme instructions for integrating the Abyssya Weather System into HCR2 1.05.

UPDATE 6/27/09 -- Added snow effects. This is experimental and may work better with a effects hak due to the wonky nature of the snowfall effect in NWN2.

UPDATE 6/18/09 -- Added AmbientSound.htm reference file. This can be used to match up the default ambient sound tracks of your areas so they can be properly reverted when the weather clears.

Files

NameTypeSizeDownloads
ab_weather.rarab_weather.rar
Submitted: 06-17-2009 / Last Updated: 06-27-2009
rar21.2Mb315
The Abyssya Weather System. Includes 2 sets of scripts for integration and 1 example module for your testing pleasure.
ambientsounds.rarambientsounds.rar
Submitted: 06-17-2009 / Last Updated: 06-18-2009
rar5.89Kb197
Use this HTML reference sheet to determine the proper default ambient sound tracks for the areas in which you use the Abyssya Weather System. These values are used to return the ambient sound to the proper track once the weather clears.
ab_weather_hcr2_105_readme.txtab_weather_hcr2_105_readme.txt
Submitted: 06-17-2009 / Last Updated: 07-12-2010
txt1.57Kb172
Supplemental instructions for integrating the Abyssya Weather System into HCR2 1.05.
SCORE OUT OF 10
9.5
6 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

Lightning Flashes!


Raining Steadily...





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

Posted by Lance Botelle at 2012-10-08 04:22:03    Voted 7.00 on 10/08/12
Thanks for posting this ... :)
_________________________
World of Althéa Blog: Link

Posted by Lance Botelle at 2012-10-01 10:01:18    Voted 7.00 on 10/08/12
EDIT: I only changed the snow waypoints for collision boxes in my test.

Lance.
_________________________
World of Althéa Blog: Link

Posted by Lance Botelle at 2012-10-01 09:50:27    Voted 7.00 on 10/08/12
Fixed it!

Here is what needed to be done to make the snow work dynamically (with script):

1) ab_weather_c: const string AB_SNOW_EFFECT = "fx_snowfall"; (NO .SEF)

2) ab_weather_exe and ab_weather_manual: ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSnow, oSnow); (PERMANENT NOT INSTANT)

3) Change all the waypoints to invisible collision boxes. (Have not checked if this affected anything else, but should be easy to fix from here if need be.)

Now, I just need to pull the rest of the code apart to place what I need into my own campaign. :)

Cheers!

Lance.
_________________________
World of Althéa Blog: Link

Posted by Lance Botelle at 2012-10-01 09:03:02    Voted 7.00 on 10/08/12
Hi Again,

I just tried doing what I suggested above and it still does not work in your module, so I will takea bit of time to track the problem down and get back to you.

Cheers, Lance.
_________________________
World of Althéa Blog: Link

Posted by Lance Botelle at 2012-10-01 08:50:53    Voted 7.00 on 10/08/12
Hi Zweinder,

I just updated to a slightly lower score, as the NWN2 snow effect can be removed. (I just did a test on one of my own effects setup to do something else, and I managed to remove the snow effect without problem.)

So, while a slightly lower score, you may be pleased to know that the snow effect can be removed in code. I will have to look at what your code does different to my own, but at least you know it is possible. :) My own code applies to a placeable and not a waypoint, so that is probably the problem you are having. Therefore, simply replace your waypoints with either invisible placeables or (if possible) environmental objects that blend into the environment that can have the effects added/removed.

Cheers, Lance.
_________________________
World of Althéa Blog: Link

Posted by Lance Botelle at 2012-10-01 07:39:39    Voted 7.00 on 10/08/12
Hi Zweiander,

This looks like the best of the weather systems I can find and is one I am going to work with to incorporate into my own campaign. Saves me having to do the work, although I may make a few changes to fit with my code. :)

Thanks for this.

Lance.
_________________________
World of Althéa Blog: Link

Posted by Quilistan at 2010-07-13 08:56:50    Voted 9.50 on 10/27/09
Thank you Z
_________________________
Quilistan
PW: Balarand, Frontiers of the Horde Lands
Link

Posted by Zweiander at 2010-07-12 23:41:04    
I've added some supplemental instructions on how to integrate the engine with HCR2 1.05. Check it out and let me know if you have any problems. I was able to get it to work in the HCR2 Core module using that method.

Posted by Quilistan at 2010-07-09 09:48:48    Voted 9.50 on 10/27/09
Any chance we can get a version of this system that is compatable with the new HCR2 v1.05 ?
_________________________
Quilistan
PW: Balarand, Frontiers of the Horde Lands
Link

Posted by alupinu at 2010-07-03 11:30:30    Voted 9.75 on 07/03/10
A very nice system, particularly liked the thunder and lightning. A must have for anybody building a PW.
_________________________
Murder in Dunlop
Fanglewood
My Class is Rogue ... "You look surprised to see me. If you'd been paying attention, you might still be alive."

Posted by Zweiander at 2010-03-16 14:56:47    
The snow issue is caused by the default effect in NWN2 -- the NWN2 version doesn't have a fade option. If you replace the snow effect with a HAK version (there are several good ones), it shouldn't happen.

Posted by luckybastardo at 2010-03-13 05:45:00    Voted 10.00 on 03/13/10
Great indeed. Snow keeps falling, dont dissapear, have any idea how to fix it?

One of the best works¡

Posted by Quilistan at 2009-10-27 13:54:32    Voted 9.50 on 10/27/09
Very nice system!
_________________________
Quilistan
PW: Balarand, Frontiers of the Horde Lands
Link

Posted by loki12345 at 2009-07-28 06:52:14    Voted 9.00 on 06/18/09
ah ok, thanks for your help. I try to do it about fog color.
_________________________
GER] Zauberwald: the ultimate german persistent world for NWN1
Feline Fuelled Games: The best Place for German Singleplayer Adventures with NWN2. New: The Shaper of dreams in english. Check it out!
LOWKEY-MUSIC: Music for Film, TV, games and more.


Posted by Zweiander at 2009-07-27 13:17:18    
You're correct -- there are no functions to set or get the area lighting, so your idea is not possible as far as I can tell.

Posted by loki12345 at 2009-07-25 15:52:03    Voted 9.00 on 06/18/09
Zweiander, perhaps you can help me.
Currently i'm trying to modify your great system with my Area Light Idea. But I dont find any script command to set the area light. What command do i need to use for it?
_________________________
GER] Zauberwald: the ultimate german persistent world for NWN1
Feline Fuelled Games: The best Place for German Singleplayer Adventures with NWN2. New: The Shaper of dreams in english. Check it out!
LOWKEY-MUSIC: Music for Film, TV, games and more.


Posted by Zweiander at 2009-06-27 02:00:04    
I've added snow events. However, the default visual effect for snowfall in NWN2 is buggy and goes away when you leave an area and doesn't dissipate when the weather changes while you are in the area. This is most likely due to the nature of the effect -- it might work better with a hak visual effect, for which there is the ability to modify. Have fun!

Posted by [MD]Sephiroth at 2009-06-25 05:13:52    
Would you improve your system with snow events please? :)

_________________________
Serveur Action/Rôle persistant : FR] Les Terres dechirees
Electro-pop Music : Shed

Posted by Zweiander at 2009-06-24 13:55:07    
Currently, it uses the SetWeather function carried over from NWN1. However, there is no weather effect for Snow in NWN2 -- snow is only available through placed effects in NWN2, which means you would have to physically place them around an area and activate them when the script runs. It wouldn't be hard to modify this system to do it, however.

Posted by [MD]Sephiroth at 2009-06-24 10:33:02    
Good system
Could you add snow event?
_________________________
Serveur Action/Rôle persistant : FR] Les Terres dechirees
Electro-pop Music : Shed

Posted by NeVerSun at 2009-06-19 15:01:38    Voted 9.75 on 06/19/09
Tested just the "feeling". And it feels good :>
_________________________
My NWVault-Prefabs

Posted by Zweiander at 2009-06-18 23:09:57    
Yes, you could add the ability to also change the light color of the area, depending on the phase of the day. You could revert the values using the engine already established, but it would take a lot of work for every single area. There's no built-in methods of gathering that information from the area properties in NWN2, unfortunately, so everything needs to be stored ahead of time.

Posted by loki12345 at 2009-06-18 17:28:24    Voted 9.00 on 06/18/09
Great to see someone is doing this.

Just one Question: Is is possible to change the Sky (e.g. darker Clouds for Rain or something) done by scripting? Currently I have some troubles starting the toolset, so i cannot take a look.
_________________________
GER] Zauberwald: the ultimate german persistent world for NWN1
Feline Fuelled Games: The best Place for German Singleplayer Adventures with NWN2. New: The Shaper of dreams in english. Check it out!
LOWKEY-MUSIC: Music for Film, TV, games and more.


Posted by Dragonsbane777 at 2009-06-18 14:01:19    
Looks really cool. I made a system using Ashura's VFX pack, but it never linked areas and did not have sounds, I will tear this apart at once and vote ASAP. If it is easy to integrate you will get a 10!
_________________________
Talernon3 - Age of Dragons Link
Talernon Team Submissions: Link
3C Music Compilation: Link

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 Modules


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