logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Dynamic Dialogues

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Thu Oct 29, 2009 16:41    Post subject: Dynamic Dialogues Reply with quote

Today I finished first tests of this system.
It allows an admin/DM to edit NPC dialogues using web-based editor (featured in PW Toolkit) and apply these changes on-line without updating the module or restarting the server.
It features caching and link nodes support.
At some point in the future I'll also use conditional/action scripts written in Ruby (using NWNX Ruby).

http://data.virusman.ru/nwn/pwtoolkit/pwt_conv.png
http://data.virusman.ru/nwn/pwtoolkit/vir_dd_screen1.jpg
http://data.virusman.ru/nwn/pwtoolkit/vir_dd_screen2.jpg
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Thu Oct 29, 2009 21:03    Post subject: Reply with quote

Awesome! I can see all those problems with module worked multiple peoples at one moment solved by this.
_________________
Community Patch / NWNX Patch / NWNX Files / NWNX Connect
Back to top
View user's profile Send private message
kuscotopia



Joined: 10 Aug 2009
Posts: 11

PostPosted: Tue Apr 06, 2010 14:53    Post subject: Reply with quote

Virusman, brilliant work!

I realize this post is dated but I figured I would try and bring it back from the dead.

I started working towards database driven conversations with NWNx4 and have hit a road block. Would you be willing to share some of your implementation or be able to point me towards some further reading?

I am most interested in how you were able to compile the conversation script into a format usable by the server. Is there an external binary that allows for this? As in...Process dynamically generates conversation script then calls said binary to compile it?
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Tue Apr 06, 2010 20:29    Post subject: Reply with quote

kuscotopia wrote:
Virusman, brilliant work!

I realize this post is dated but I figured I would try and bring it back from the dead.

I started working towards database driven conversations with NWNx4 and have hit a road block. Would you be willing to share some of your implementation or be able to point me towards some further reading?

I am most interested in how you were able to compile the conversation script into a format usable by the server. Is there an external binary that allows for this? As in...Process dynamically generates conversation script then calls said binary to compile it?
No, the scripts are written in NWRuby - a Ruby programming language with all NWScript functions imported into it.
Since it's an interpreted language, no compilation is necessary.
Here is the link to NWNX4 Ruby plugin:
http://www.nwnx.org/phpBB2/viewtopic.php?t=1494
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group