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 
 
Idea: Object Templates

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Valgav



Joined: 28 Aug 2010
Posts: 53

PostPosted: Mon Apr 20, 2015 1:57    Post subject: Idea: Object Templates Reply with quote

I'm thinking of system of templates of objects for DMs.

I want to store main data of object like appearance, tag, properties etc. in database then using dm's wand create object from that data.

My idea is to upload erf then unpack and parse it with some tools (probably nwn-lib) then place it to database. Of course i could use denrys or ResMan but i will lose data of objects and i want to by able to view and edit this templates via some web interface after upload of file.

So i thought about force nwn to load and parse uti file to object and place it to database in row with data parsed with nwn-lib so I don't have to create some sophisticated algorithm to create item just to maybe add changes.

But I'm still thinking about how to get data from uti to database. Any idea how to do it easy and how to force server to run some script(for loading uti) from external source? (Maybe void StartNetworkBridge( int nPort )?)
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1014
Location: Russia

PostPosted: Mon Apr 25, 2016 12:15    Post subject: Reply with quote

You can just use SCO/RCO from the odbc plugin to create any object from GFF data in the database.
_________________
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 -> Database related 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