Author Topic: NWN Lexicon  (Read 5947 times)

Legacy_KooKoo88

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +0/-0
NWN Lexicon
« on: July 16, 2010, 04:36:32 pm »


               Hello All.  I just wanted to make sure that the information for the Lexicon is available on the new forums.  (moderator, can we make this a sticky?)

The Lexicon is a resource for builders using the NWN.  It is geared toward scripting information and advice. 
This is the html help file:  http://nwvault.ign.c....Detail&id=1340 it is udated to use all of the 1.69 content. 
There is a Lexicon website: http://www.nwnlexicon.com It is only updated to the 1.68 version.  I have not been able to successfully contact the owner to update it further yet. 
This is the old 2004 version from the original team: http://nwvault.ign.c...r.Detail&id=736
For more general NWN information you can also access the very useful NWNWiki; http://nwn.wikia.com/wiki/Main_Page The main difference is that the Lexicon is geared more specifically towards scripting '<img'>

Summary of Major Changes in the 1.69 version:
- Updated and added to the constants pages to reflect the new 1.69 content. This includes screenshots of the new visual effects.
- Updated function pages to reflect new parameters added in 1.69 content.
- Added pages for the new functions added in 1.69 content.
- Added page for new event added in 1.69 content.
Populated the index tab that went missing in the 1.68 update.
- Re-enabled search capability that ran off the with index tab in the 1.68 update.
- Updated the table of contents with the new pages.
- Limited updates to all the library file pages.
- Added numerous new library file pages and new pages for the functions contained within them.
- New tutorials for color charts, compiler errors, custom tokens, factions, lag reduction, and number conversion. As well as massive updates to the script caching tutorial.
- Added Proleric’s horse and scaling tutorial.
- Updated the resource pages for creatures, items, sounds and placeables to include the new 1.69 content.
               
               

               
            

Legacy_ElgarL

  • Full Member
  • ***
  • Posts: 128
  • Karma: +0/-0
NWN Lexicon
« Reply #1 on: July 16, 2010, 09:28:30 pm »


               I have the 1.69 version hosted @ http://palmergames.c...xicon_1_69.html
               
               

               
            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
NWN Lexicon
« Reply #2 on: July 17, 2010, 12:00:49 am »


               Lexicon Rocks.
               
               

               
            

Legacy_Sharona Curves

  • Full Member
  • ***
  • Posts: 115
  • Karma: +0/-0
NWN Lexicon
« Reply #3 on: July 19, 2010, 01:07:01 am »


               

Baragg wrote...

Lexicon Rocks.

 
I'll second that opinion. '<img'>

Thanks to everyone past and present for keeping this resource alive, updated,
and helping countless of us scripters out there.
               
               

               
            

Legacy_Genisys

  • Hero Member
  • *****
  • Posts: 961
  • Karma: +0/-0
NWN Lexicon
« Reply #4 on: July 22, 2010, 01:28:20 am »


               I downloaded the 1.69 Lexicon from the vault, works just fine offline, because that's when I'm doing my coding, when me wife jacks my internet.. XD
               
               

               


                     Modifié par Genisys, 30 juillet 2010 - 03:35 .
                     
                  


            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
NWN Lexicon
« Reply #5 on: July 22, 2010, 05:46:49 pm »


               

Genisys wrote...

I downloaded the 1.69 Lexicon from the vault, works just fine offline, cuase that's when I'm doing my coding, when me wife jacks my internet XD


Lol, bet you still love her.
               
               

               
            

Legacy_the.gray.fox

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
NWN Lexicon
« Reply #6 on: July 26, 2010, 02:01:00 am »


               If it was not for the Lexicon I would never have gained interest in modding Neverwinter Nights.

Blessings to all who contributed to it.



-fox
               
               

               
            

Legacy_Genisys

  • Hero Member
  • *****
  • Posts: 961
  • Karma: +0/-0
NWN Lexicon
« Reply #7 on: July 30, 2010, 04:34:15 pm »


               

the.gray.fox wrote...

If it was not for the Lexicon I would never have gained interest in modding Neverwinter Nights.
Blessings to all who contributed to it.

-fox


I'll add to that, if it wasn't for the Lexicon, none of us would have been able to script well in nwn, it would have been a nightmare trying to figure out how to do many things in the toolset, and we owe the Lexicon team much appreciation for this...

Thank you Very Much Lexicon Team!!!  A true needed blessing for all in the NWN Community... '<img'>
               
               

               


                     Modifié par Genisys, 30 juillet 2010 - 03:34 .
                     
                  


            

Legacy_Guest_invisig0th_*

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +0/-0
NWN Lexicon
« Reply #8 on: July 31, 2010, 01:53:24 pm »


               Thanks to all involved with the 1.69 Lexicon update. That said, please do try to get all the 1.69 stuff up at www.nwnlexicon.com. That's the place where most people go to access the Lexicon's information.
               
               

               


                     Modifié par invisig0th, 31 juillet 2010 - 12:53 .
                     
                  


            

Legacy_Xovian

  • Full Member
  • ***
  • Posts: 158
  • Karma: +0/-0
NWN Lexicon
« Reply #9 on: August 27, 2010, 07:15:31 am »


               

the.gray.fox wrote...

If it was not for the Lexicon I would never have gained interest in modding Neverwinter Nights.
Blessings to all who contributed to it.

-fox


I don't think wiser words have been said.

Easily one of the top3 utilities for the game.
Though I couldn't say which of those top 3 are in what order.
Which one of the 3 do ya need at the time...thats how it becomes number 1.
Lexicon has done it plenty of times and will still do so to be sure.

My thanks for the people that it put it together, some things I'd have never managed with out it.
               
               

               
            

Legacy_TheSpiritedLass

  • Hero Member
  • *****
  • Posts: 1118
  • Karma: +0/-0
NWN Lexicon
« Reply #10 on: September 01, 2010, 02:55:09 pm »


               

invisig0th wrote...

Thanks to all involved with the 1.69 Lexicon update. That said, please do try to get all the 1.69 stuff up at www.nwnlexicon.com. That's the place where most people go to access the Lexicon's information.



Believe me, we have tried.  The owner of the website has apparently taken a journey to the edge of the Earth and decided that he really likes it there.  *grins*  We will keep trying, but at this point, I wouldn't hold your breath. =(
 
Danke for all the kudos.  *sleepy happy smile*
               
               

               
            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
NWN Lexicon
« Reply #11 on: January 31, 2011, 07:42:05 pm »


               I found a error, in the lexicon you gave a example of code to find if bludge wepon but used invalid function.
EXAMPLE:

// Return TRUE if weapon does bludgeoning damage
// Uses Get2DAString

int GetDoesBludgeoningDamage(object oWeapon)
{
   int nBaseType = GetBaseType(oWeapon);
   return (StringToInt(Get2DAString("baseitems","WeaponType",nBaseType) == 2);
   // 2 = bludgeoning
}

I made the function staded so it will return a valid 2da int for pierce,bludge,slash,slash/pirce,bludge/pirce etc

here is full example of script:

//  lexi_2da_t1
//#include "x2_inc_itemprop"
// Return TRUE if weapon does bludgeoning damage
// Uses Get2DAString


//void GetBaseType(object oWeapon);
int GetBaseType(object oWeapon);

//void GetBaseType(object oWeapon);
int GetBaseType(object oWeapon)
{
int nBaseType=StringToInt(Get2DAString("baseitems","WeaponType",nBaseType));
return nBaseType;
/*
1=pierceing
2=bludgeoning
3=slashing
4=slashing/pierceing
5=bludgeoning/pierceing
*/

}


//----------------------------------------------
int GetDoesBludgeoningDamage(object oWeapon);

int GetDoesBludgeoningDamage(object oWeapon)
{
object oWeapon;
   int nBaseType = GetBaseType(oWeapon);
   if ( StringToInt(Get2DAString("baseitems","WeaponType",nBaseType)) == 2)
   {
   return TRUE;
   }

   return FALSE;
   //return (StringToInt(Get2DAString("baseitems","WeaponType",nBaseType) == 2);
   // 2 = bludgeoning
}

//
//void main()
//{

//}

the // uncomented lines were just used for compiling and the include uncomented above was just put there for ease of possibly needing to use a function from there but i didn't have to

Hey Spirited Lass I thought you can fix that in the update lexicon version for give my messy scripting perhaps you can whip me into shape...'<img'>

God bless Lexi con team

Thankyou for all your work
               
               

               


                     Modifié par Greyfort, 31 janvier 2011 - 07:45 .
                     
                  


            

Legacy_Heclar

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
NWN Lexicon
« Reply #12 on: March 15, 2011, 10:08:56 pm »


               I would just like to say, that NWN Lexicon is frickin' awesome. Thank you.
               
               

               
            

Legacy_KooKoo88

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +0/-0
NWN Lexicon
« Reply #13 on: March 16, 2011, 02:22:46 pm »


               

Heclar wrote...

I would just like to say, that NWN Lexicon is frickin' awesome. Thank you.


I believe I speak for all of us who have worked on this wonderful tool when I say:  You're welcome.

Good gaming.  'Posted
               
               

               
            

Legacy_Darth Shiv

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
NWN Lexicon
« Reply #14 on: June 12, 2011, 12:40:35 pm »


               Absolutely... thanks all involved!