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  Moongate Example
Author  driller
Submitted / Updated  09-29-2007 / 09-29-2007
Category  Scripting routines
Type  Type - Portals
Format  Module and Code
Patch  1.10
Description
This is an example moongate system.
Just attach your jump script or conversation to the portals.

This was made to work with JasonNH's moongate models, but it is not required.

Link to models ->
Link

Files

NameTypeSizeDownloads
moongates.7zmoongates.7z
Submitted: 09-29-2007 / Last Updated: 09-29-2007
7z634.12Kb121
Moongate script example.
SCORE OUT OF 10
9.75
1 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
No Images




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

Posted by MokahTGS at 2007-10-01 12:34:40    Voted 9.75 on 09/30/07
Ok, I have things figured out now, and should have a system uploaded tonight as a prefab.
_________________________
Mokah - The Grumpy Strumpet
|| Dear Strumpet Letters || Jabberwocky Development Blog || Vertex I - The State of the Union ||

Posted by driller at 2007-10-01 11:31:22    
Yes, you could copy the default script and rename it to match the tag of each stone.


_________________________
Blackstone Keep PW

Posted by MokahTGS at 2007-10-01 08:45:00    Voted 9.75 on 09/30/07
Can't I just use the tag based scripting stuff and have a separate script for each stone?
_________________________
Mokah - The Grumpy Strumpet
|| Dear Strumpet Letters || Jabberwocky Development Blog || Vertex I - The State of the Union ||

Posted by MokahTGS at 2007-10-01 08:00:47    Voted 9.75 on 09/30/07
I don't understand what this bit of code does then:

//Look for the color in the name of the item so we know which moongate to create

if(FindSubString(sName,"Black") != -1)
AssignCommand(oPC,ActionDoCommand(ActionCreateGate("blackmoongate0",lLoc)));

Is there another way of doing this without modifying the default systems?
_________________________
Mokah - The Grumpy Strumpet
|| Dear Strumpet Letters || Jabberwocky Development Blog || Vertex I - The State of the Union ||

Posted by driller at 2007-10-01 03:24:18    
There reason it is not working is because I used one script for all the stones. It is tag based, all stones have to have the tag "moonstone".

But doing this will break your inventory check. So the solution is to copy the i_moonstone_ac code and put it in your module on activate item script.

By default the module script is called: "x2_mod_def_act".

_________________________
Blackstone Keep PW

Posted by driller at 2007-09-30 15:58:36    
Open the script i_moonstone_ac and find the line that says:
DestroyObject(oGate,120.0);
Change the 120.0 to whatever time you want.
_________________________
Blackstone Keep PW

Posted by MokahTGS at 2007-09-30 15:01:34    Voted 9.75 on 09/30/07
Excellent! Thanks does exactly what I need. Now, how to I edit it. I was thinking the despawn timer should be shortened a bit. Seems to hang around for longer then it should.
_________________________
Mokah - The Grumpy Strumpet
|| Dear Strumpet Letters || Jabberwocky Development Blog || Vertex I - The State of the Union ||

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 UI


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