|
|
Home Forum Archives NwN2 - Pre-Release Archives NWN 2 General Discussion Data Capturing in NWN(2)
NWN 2 General Discussion
Serryth
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 NWN 2: MotB NWN 2: SoZ Mass Effect PC
Joined: 07 Oct 2005 |
Posted: Sunday, 09 April 2006 02:32AM |
I have landed a project (starting in June) to find a way to sample ("pull out") in-game variables/data and export them to an external file (textfile/database such as MySQL) and preferrably happening in realtime. I would also like to timestamp the "sampling," the time can be in game time or real world time. Is this technically possible?
May be these examples will help clarify: (1) How many potions/coins/weapons do I currently have in my inventory, when did I get them and from what quests? (2) What quests have I completed, who have I defeated and when did I do that? (3) Which direction did I move in a particular dungeon? e.g. N, S, S, SE, W, W... How long did I took to clear that dungeon?
Any suggestion on how to go about doing this? Do you think I will need other NWN extender utilities? I am hoping to begin this project in June, but have not much clue about where to begin. (if you think this is off-topic, pls PM me.)
Someone suggested I try C++ to make a custom include file to import functions from NWN in order to write them to a file, and then export that to XML. How and where can I get a list of the NWN functions? (the Lexicon?) This does sound like the "snoop" function that I need implemented... Other suggestion?
(I originally posted this elsewhere but now realize this is probably the right place for this request. Pls pardon the cross post... Newbie in Forum.)  |
|
Acrodania
Game Owner
NWN NWN: SoU NWN: HotU
Joined: 06 Jan 2003 |
Posted: Sunday, 09 April 2006 05:30AM |
Good Luck! Couple of comments....
Quote: Posted 04/09/06 02:32:13 (GMT) by Serryth
I have landed a project (starting in June) to find a way to sample ("pull out") in-game variables/data and export them to an external file (textfile/database such as MySQL) and preferrably happening in realtime. I would also like to timestamp the "sampling," the time can be in game time or real world time. Is this technically possible?
The official comment on external databasing for NWN2 is "Temper your expectations". Expect to not be able to unless the NWNX teams successfully ports NWNX2(4) to NWN2.
The only other potential you might have is to write it all to log files and then parse the logs....
Quote: May be these examples will help clarify: (1) How many potions/coins/weapons do I currently have in my inventory, when did I get them and from what quests?
You will have to write it yourself. The engine doesn't track such things.
Quote: (2) What quests have I completed, who have I defeated and when did I do that?
See comment above
Quote: (3) Which direction did I move in a particular dungeon? e.g. N, S, S, SE, W, W... How long did I took to clear that dungeon?
Not tracked in the engine, you will have to write it all yourself. Right now with NWN its clunky...
Quote: Any suggestion on how to go about doing this? Do you think I will need other NWN extender utilities? I am hoping to begin this project in June, but have not much clue about where to begin. (if you think this is off-topic, pls PM me.)
Someone suggested I try C++ to make a custom include file to import functions from NWN in order to write them to a file, and then export that to XML. How and where can I get a list of the NWN functions? (the Lexicon?) This does sound like the "snoop" function that I need implemented... Other suggestion?
Your only hope is for a port of NWNX to NWN2. The engine itself has almost no ability to interface with the outside world so no include file is going to help with anything you do. If you try making your own app then you are just duplicating NWNX's work, with considerably less experience in the NWN engine and much fewer people in development.
Luck! But as the devs have quoted on some things, temper your expectations  _________________ Maybe it IS spelled ROGUE, but some people NEED rouge to catch their Rogues  ------------------------------- |
|
|
Search Forums |
Forums FAQ |
Forum Archives
|
NeverWinter Nights 2, Forgotten Realms and the Forgotten Realms logo, Dungeons & Dragons, D&D, and the Dungeons & Dragons logo, and Wizards of the Coast and its logo are trademarks of Wizards of the Coast, Inc., in the U.S.A. and other countries, and are used with permission. © 2004 Wizards. Software © 2004 Atari Interactive, Inc. All rights reserved. HASBRO and its logo are trademarks of Hasbro and are used with permission. Windows is either a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries. Manufactured and marketed by Atari, Inc., New York, NY. All other trademarks are the property of their respective owners.
Powered by BioBoards Version 3.00.0 10.1.12.31
Web Site Help
Jobs | Website Terms of Use Agreement | Privacy Policy
Rules of Conduct | Copyright and Trademark Information
|
|