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  Charlie's Scripter Starter Kit
Author  Charlie Vale
Submitted / Updated  01-24-2007 / 01-28-2007
Category  Toolset
Short Description  Sample starter scripts for new scripters and module builders.
Description

Sample starter scripts for new scripters and module builders.

Motivation

This module was built in response to frequent requests for simple scripts to provide functionality needed for most modules and persistent worlds. These scripts and the demo module should help new module builders and scripters get started with Neverwinter Nights 2 scripting.

Contents

Currently this includes a respawn script and a script to set starting gold and xp. I expect to add to these over time.

I have added a token trader for therealkid, but it is not a generic thing and I may remove it latter.

The download includes a demo module and an .erf file with the scripts and suporting items, as well as these instructions.

The .erf comprises:

  • starter_kill_pc.nss - Slays the PC to test the respawn.
  • starter_on_player_respawn.nss - Sample respawn script.
  • starter_pc_first_time.nss - Sets the starting golg and xp for PCs.
  • starter_csf_component (placeable) - Links the sample scripts to events via the Common Scripting Framework.
  • starter_wp_respawn (waypoint) - Marks the respawn location.

All scripts begin with 'starter_' and all items are categorized under 'starter'.

Installation

You can just load the provided module and talk to Aldanon. He will tell you how to test out the scripts. Open the module in the Toolset to have a look at them. Or you can import the erf file into your own module.

This module uses the Common Scripting Framework. This is a tool to help you add scripted systems made by other module builders without having to merge their starting event scripts manually.

If you have CSF:

  1. Import the .erf.
  2. Place the 'Placeable->starter->CSF Component - Starter Scripts' in an inaccessible area.
  3. Place the 'Waypoint->starter->Respawn Waypoint' where you want PCs to respawn (e.g. a temple).

If you don'thave CSF:

  1. Import the .erf.
  2. Place the 'Waypoint->starter->Respawn Waypoint' where you want PCs to respawn (e.g. a temple).
  3. Rename the script 'starter_on_player_respawn' to 'gui_death_respawn_self'.
  4. Open your starting area. Go to properties and set the script 'OnClientEnter' to 'starter_pc_first_time'.

Changelog

  • 1.01 - Added the Token Trader for therealkid as discussed the forum.
  • 1.00 - Respawn and starting gold/xp scripts.

Maintained by Daniel Vale aka GreenDragon5000 and Charlie Vale.


Files

NameTypeSizeDownloads
StarterScripts101.zipStarterScripts101.zip
Submitted: 01-24-2007 / Last Updated: 01-28-2007
zip500.63Kb853
Scripter Starter Kit
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 (6):

Posted by charlievale at 2008-10-04 14:47:15    
The csf scripts have not changed since release, although I did add some optional extras for dealing with creatures. If you want to use those with this module:
1. open this module in the toolset
2. import the csf_extension_dan.erf
3. compile all scripts

cheers
_________________________
Charlie's Pages | Fournoi Forum | Charlie's UI | Charlie's Item Modifier | Charlie's Item Appearance Changer

Posted by PoeticDreamer at 2008-10-01 00:19:23    
could you update the csf please in the module, i would like to use this as a base module.

Posted by charlievale at 2007-11-03 16:43:48    
MotB finally hit Australia, and so now I am back.
_________________________
Charlie's Pages | Fournoi Forum | Charlie's UI | Charlie's Item Modifier | Charlie's Item Appearance Changer

Posted by charlievale at 2007-10-31 01:00:55    
I am moving on to other projects and will no longer be making updates here. Thanks to all of you who have supported these projects with testing and feedback. Should anyone wish to take over one or more of my projects, contact charlievale at gmail dot com and I will have the project transfered to your vault account.

All the best.
_________________________
Charlie's Pages | Fournoi Forum | Charlie's UI | Charlie's Item Modifier | Charlie's Item Appearance Changer

Posted by charlievale at 2007-03-02 01:36:37    
dj1 - Don't mess with it. :)
Really, I don't know what would happen. Even if it worked the way you want, I see potential for side-effects that may break the campaign for you.

That said the first step I would try if I were interested in this would be to comment out lines 21 and 24, compile the script and place a copy of the .ncs in the override folder. I would really expect that to break something, I just don't know what exactly.

Please post any follow up to the scripting forum. If you have anything off topic for me, send me e-mail by my profile.
_________________________
Charlie's Pages | Fournoi Forum | Charlie's UI | Charlie's Item Modifier | Charlie's Item Appearance Changer

Posted by dj1 at 2007-02-28 18:36:08    
I'm new at scripting so I'd like to run an idea by you. Languard tried a fix for the conversation pause with a plugin that sets all the convo multiplayer cutscene settings to false but apparently it breaks after every update. I was nosing through the scripts myself until I found the ga_party_freeze (normally for cutscenes, but I believe this is what's being used for convos). It appears that rather than alter all the convos, it would be easier to "pull its fangs". After looking at it, I'm thinking lines 17 thru 24 (I'm not certain of the syntax) could be erased and when the script was executed, it wouldn't affect anything. If you have time, look at the script and let me know what you think (beyond the generic "don't mess with it").

D
PS- I'd have posted to a forum but I like your work and wanted your input.
_________________________
"In life, one and one don't make two. One and one make one."
-The Who "Bargain"

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