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

- Jump to comments -
Name  SnippetPlugin
Author  EPOlson
Submitted / Updated  10-11-2006 / 02-09-2007
Category  Toolset
SourceIncluded  NA
Patch  1.00
Description
The SnippetsPlugin lets you paste snippets of C# code (or VB code) into a window and execute it in the NWN2 toolset. It also allows you to load/save snippets to a library, so you can build up a small library of toolset functions. You can also test little bits of code without having to restart the toolset.

When you press "Execute", the SnippetsPlugin will create a tiny wrapper around your snippet, complies it, and executes it. The executed code includes ALL Snippets in the "include" library plus the text in the snippet window. (the include library would be all files in the Snippets directory that begin with "include__")
It comes with one example snippet:
Renumber Area Tags - it assigns unique, sequential tags to all areas in the module.
(this makes it possible to easily enumerate through your areas in NWscript & makes locations stored as text in a database unique.)

Files

NameTypeSizeDownloads
SnippetsPlugin_1_04.zipSnippetsPlugin_1_04.zip
Submitted: 10-11-2006 / Last Updated: 02-01-2007
zip13.06Kb115
update for 1.04
SnippetsPlugin_1_04_870.zipSnippetsPlugin_1_04_870.zip
Submitted: 10-11-2006 / Last Updated: 02-09-2007
zip13.06Kb121
update for patch
SnippetsPlugin_1_03_840.zipSnippetsPlugin_1_03_840.zip
Submitted: 10-11-2006 / Last Updated: 12-08-2006
zip13.06Kb162
plugin updated for NWN2 1.03 (840)
SCORE OUT OF 10
N/A
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 RyuuKage at 2007-02-16 20:15:36    
This sounds pretty cool, but it doesn't work in my Toolset...is it updated as recently as the 1.04 hotfix?

Posted by EPOlson at 2006-12-09 05:18:25    
Yes, you have exactly the same access. I did not put "using " statement for every thing you needs, so you might need to be explicit with the names.

Posted by GrinningFool at 2006-12-08 16:07:16    
I just reread this, potentially extremely useful especially for plugin development -- do I have access to all the same libraries, etc, as I would in a normal nwn2-plugin project?

I'll check it out and vote after...
_________________________
The Grinning Fool
The World of Khalidine, a unique RP PW.

Help Wanted

Please remember that I vote according to the published scale.

Posted by Seed at 2006-12-05 13:42:57    
sounds extremely useful and I am looking forward to the update to the latest version of the toolset.

Posted by EPOlson at 2006-10-13 06:54:39    
Adding VB support was pretty easy. But may have messed something up or left something out (never coded in vb before). "Hello World" works, but that is all I really knew how to test. I didn't test any NWN2 functions or start a VB library.

For both languages, I "used" a few common NWN2 namespaces (Data, TypedCollections, & Blueprints) If there are a few more that people want in the default wrapper, let me know and I can add them to the next version.

Posted by EPOlson at 2006-10-13 04:07:47    
C# is a .net language. It does however look like there is a "VBCodeProvider" in c#, so I should be able to evaluate vb snippets as well. I will have to experiment a little. (and then filter by filename extension)

My other plan is to add the ability to download snippets directly from somethingn like the nww2forge site.

Posted by spider661 at 2006-10-12 20:35:21    
I Love this ideal. Sadly I code in vb and .net not c# so it would be no use to me for that point without taking the time to learn to code in c# (im doing it but slowly).. Would it be possible to set this to run .net or even remake it to .net?

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