It is currently Tue Sep 07, 2010 9:47 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Newbie question...
PostPosted: Fri Mar 06, 2009 1:07 pm 
Offline
User avatar

Joined: Sat Feb 28, 2009 2:18 am
Posts: 5
Location: Not in Chicago, Illinois
For the most part...can scripts that run in NWN1 be rewritten to run in NWN2? I have found some NWN1 scripts that do exactally what I want to do in part of my module for NWN2. Can I use these as a template, I doubt I can use them outright.

Thanks.

Rat

_________________
Until next time America...

Rat


Top
 Profile  
 
 Post subject: Re: Newbie question...
PostPosted: Sat Mar 07, 2009 1:13 pm 
Offline
Site Admin

Joined: Sun Mar 23, 2008 3:07 pm
Posts: 229
There is suppose to be support for NWN1 scripts, I don't know how well it works. But you should be able to import them to have a look at them. Perhaps you'll be lucky :)


Top
 Profile  
 
 Post subject: Re: Newbie question...
PostPosted: Tue Mar 31, 2009 1:47 am 
Offline
Moderator

Joined: Wed Apr 02, 2008 2:59 am
Posts: 156
For the most part it works... some references and things don't work.. but like they said.. just erf in your script and see if it works.

_________________
Check out the Neverwinter Nights Podcast
or maybe my blog Davesnot


Top
 Profile  
 
 Post subject: Re: Newbie question...
PostPosted: Fri Apr 24, 2009 3:19 pm 
Offline
User avatar

Joined: Sun Apr 20, 2008 12:12 am
Posts: 37
The key is to make sure you recompile all your scripts that you decide to import. Every patch that comes out you will have to do the same. When in doubt recompile. If you use #includes, make sure you go to the original script that CALLS the include to verify that all the scripts compile. If you alter ANY original OEI (nw_) style of script do NOT import them in the same group, make a separate group for that and make sure the CORE compiles first than add your custom work in.

Have fun with it, and don't let it frustrate you... It will work with a majority of scripts not all, such as copyitem() and activateportal() as of 1.22 patch.

Kres

_________________
Kreszantas (Kres)
Kingdom of Winterhaven
http://www.nwncoa.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© 2008 phpbbstylists.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group