View previous topic :: View next topic |
Author |
Message |
el sombrero
Joined: 03 Apr 2012 Posts: 12
|
Posted: Tue Jun 26, 2012 17:00 Post subject: newbie question. extracting data from a module |
|
|
Hi guys,
I'm starting here... trying to use neverwinter nights 2 at a college project.
I need to recover some data that will be stored on interger's. Is there anyway to do this using nwnx? Where can I learn how to do it?
What I need seems really simple to me... I just need to extract the data stored on the intergers (that will be stored on oPC) and plot them somewhere so I can analyse them (i could be notepad, excell, word etc).
thx! |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Wed Jun 27, 2012 17:01 Post subject: |
|
|
nwnx funcs - allows the nwscript to loop through all locally stored variables on an object.
This would be useful for instances where you do not know the name of the variables.
http://95.109.119.126/Terra/Sysdata/
SysData is a plugin made by Terra777
It has basic functions in it that allow you to write to a text file.
This way, you could create a csv file, that could then be imported into Excel.
Combine the functionality, so nwnx funcs reads the data, and sysdata writes the data to your text file. |
|
Back to top |
|
|
el sombrero
Joined: 03 Apr 2012 Posts: 12
|
Posted: Thu Jun 28, 2012 21:34 Post subject: |
|
|
Hey, thx!
I'm completly new to nwnx and database functions. Do you have any advice concerning what should I start studying to implement these functions? I dont really need to master nwnx, just be able to use the app and the pluggin you suggested :0)
I have notions of C programing and can edit neverwinter nights 2 scripts |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Fri Jun 29, 2012 11:02 Post subject: |
|
|
I've only realised that you are dealing with nwn2
My Mistake - I dont have any experience with nwnx4. |
|
Back to top |
|
|
elven
Joined: 28 Jul 2006 Posts: 259 Location: Germany
|
Posted: Fri Jun 29, 2012 14:03 Post subject: |
|
|
Alternatively, you could use something like kivinens perl tools, my ruby library or Skywings C++ datafile accessor library to read your save state data offline and parse it from there.
Personally though, I'd go with the previous recommendation and get nwnx4 up and running, and write the values you need to a SQL database. That would be much simpler design-wise, and setting up nwnx with a simple database isn't hard. |
|
Back to top |
|
|
el sombrero
Joined: 03 Apr 2012 Posts: 12
|
Posted: Wed Jul 04, 2012 0:55 Post subject: |
|
|
Could you direct me to some reading material that would show how to implement these? Right now I dont even know where to start.
Thx dudes! |
|
Back to top |
|
|
|