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 TUTORIALS

- Jump to comments -
Name  Scripting For Noobs
Author  Knightmare
Submitted / Updated  07-31-2009 / 09-12-2010
Category  Toolset
Short Description  Teach yourself to script - Scripting for Noobs
NWN2Game  All
Description
Most recent update - Sept. 12, 2010

I started writing this for somebody, figured I may as well post it for others. It is incomplete (ie. hopefully more to come) and I'll add to it as I have the time and willpower. If I have any major things wrong, please let me know.

This guide is meant for the total scripting noob. Someone who does not know a single thing about creating a script. Hell, it�s for the person who doesn�t even know where the Script Editor is in the toolset. While written with NWN2 in mind, the majority of this tutorial should still apply to NWN1 as well.

I�m not a scripting guru by any means. In fact, I�m perhaps only an advanced noob myself. But, what I do know is mostly self-taught in the toolset and through the help on the Bioware forums from those who are the gurus (thank you all). I�ll probably make a lot of mistakes in what I call this and that, but this guide is not really about learning all the technical stuff, more it�s me trying to teach you how to teach yourself and learn this scripting (based solely off my own scripting ventures). I�m not going to discuss the intricate details of how to do a lot of stuff with scripting, there plenty of other great guides already available for that � but many of them are written in such a way the author assumes you know at least something about scripting (I know, I tried a bunch of them), even the �basic� ones. Hopefully this will help you to make some sense of those other excellent guides.

Current topics covered within this tutorial:

- Script Assist
- "Reading" a Script
- Combining Scripts
- Conditionals
- Variables
- Prefab/Template Scripts
- Conversation Starting Conditionals
- Include Scripts/Custom Functions
- Looping Through Objects ("while" command)
- Looping Through Objects ("for" command)
- Switch/Case Command
- Equivalency Tests
- Saving Your Script/Common Errors
- Where to Place Your Script

For those who can't view PDF format Adobe Reader is a free download from their website - Link

Files

NameTypeSizeDownloads
Scripting_For_Noobs_091210.pdfScripting_For_Noobs_091210.pdf
Submitted: 07-31-2009 / Last Updated: 09-12-2010
pdf193.28Kb3855
PDF format - updated 09/12/10
SCORE OUT OF 10
9.84
31 votes
View Stats
Cast Your Vote!
Voting FAQ

AWARDS



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 (30):

1 2 3

Posted by Morbane_Unhinged at on05/28/10
Always digging for new approaches - this is a great way to do it. btw: the intro page doesn't load properly in this version? _________________________ |Morbane| Tintable Arcane Circles Tomb of Horrors PnP Conversion

Posted by Knightmare at 2010-05-0805:37:54    
Thank you Elrawkum, comment/vote appreciated. - KM

Posted by Elrawkum at on05/07/10
Great introductory guide for a noob scripter.

Posted by Knightmare at 2010-05-0308:05:37    
Tutorial updated. - KM

Posted by Knightmare at 2010-05-0305:07:58    
Hmmm - SPAM attack (next posting below).

Posted by Knightmare at 2010-04-1206:01:36    
Thank you for the vote tr0j - though admittedly I don't understand what the comment mean lol! - KM

Posted by tr0j at on04/12/10
thnurfl

Posted by Magnus at on03/29/10
Noted. :) All in good time though, thanks alot for the tip.

Posted by Knightmare at 2010-03-3010:29:35    
Thanks Magnus Pym. And if I may say so - if you have any hope of building the PW you are after, you should definately learn the basics of script writing. Even if you are not the team scripter, you will at least have a better idea of what is doable and what is not. - KM

Posted by Magnus at on03/29/10
Hey KM, Maybe someday I'll pick up scripting... but that's only when computer's will read human minds. Haha! Nah if I ever want to pick it up I now know where I can get started. Thanks, Tom

1 2 3

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