NoOdle Posted December 6, 2009 Share Posted December 6, 2009 I am writing an editor for a project I'm working on, I started and finished it today in VB 6.0 as I legally own it and have always intended to learn but have never got around to it. The editor allows me to create and edit conversational dialogue between NPC's and a player character quickly and easily. It all works rather well but I will need to improve its funcionality and visual design to allow for increased workflow when creating conversations. Each conversation node has an action script, set of conditions and condition scripts and the text for the dialog. A node also has other information relating to the way that it fires, and the camera and delay and a few other pieces of information. At the moment I have the dialog text in the tree view and then some input boxes and check boxes underneath that are used to display the other data once a node has been clicked from the tree. Obviously this isn't very good as you can only see one nodes script info at a time. I did think about creating multiple tree views side by side, mimicking the functionality across all of them but that would be such a horrible hack that I cant bring myself to do it. I also thought about displaying all of the important information in the tree view with tab spacings but this is also less than ideal. What I would ideally like to know is.. does Visual C++ or C or C# have the capability to create a multi column tree view? How difficult is it for a begginer? More importantly are there any good tutorials on forms that I could follow? Oh I would also need a multi column list box for setting up visual multiple conditions for 'And', 'Or' and 'Not' to create more complex scenarios. Below is a pic for anyone interested. Save, load and everything else all works... annoying that it lacks the multi column. Quote Link to comment Share on other sites More sharing options...
Qbound Posted December 6, 2009 Share Posted December 6, 2009 Hi NoOdle, looks good so far. The fastest and easiest way to create editors or small tools are when you use c#. There are plenty of tutorials out there. Search sites like http://www.codeguru.com/ where youll find much of what you need And btw. here are a lot of c sharp guys cu Oliver Quote Windows Vista 64 / Win7 64 | 12GB DDR3 1600 | I7 965 | 2 * 280GTX sli | 2 * 300GB Raptor | 2 * 1.5TB Link to comment Share on other sites More sharing options...
Scott Richmond Posted December 6, 2009 Share Posted December 6, 2009 While C++ can, by nature, do everything under the sun, GUIs aren't the easiest things to code up from scratch. I'd strongly recommend one of the many free widget libraries for whatever programming language you choose. For example I've had great success with wxWidgets. Its very well documented so you should find out pretty quickly how to do what you want. 1 1 Quote Programmer, Modeller Intel Core i7 930 @ 3.5GHz | GeForce 480 GTX | 6GB DDR3 RAM | Windows 7 Premium x64 Visual Studio 2008 | Photoshop CS3 | Maya 2009 Website: http://srichnet.info Link to comment Share on other sites More sharing options...
NoOdle Posted December 6, 2009 Author Share Posted December 6, 2009 Ok thanx, I will do some research into wxWidgets, at first glance it looks very powerful Quote Link to comment Share on other sites More sharing options...
Laurens Posted December 10, 2009 Share Posted December 10, 2009 While I have never used wxWidgets, as a C# programmer I can recommend this control: http://www.codeproject.com/KB/tree/treeviewadv.aspx. I have used it in several projects and looks like exactly what you need. Cheers! Quote Link to comment Share on other sites More sharing options...
TheoLogic Posted December 11, 2009 Share Posted December 11, 2009 @ Laurens: .Net has these build-in. No use for external libraries... For tools like this it's a must to use C#. You don't need C++ power and you don't have the time to create this in C++. This really is a marvelous example when to use which language. Quote Follow me Link to comment Share on other sites More sharing options...
Laurens Posted December 11, 2009 Share Posted December 11, 2009 So C#'s TreeView now supports multiple columns? To be quite frank, I havn't used C# for several years. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.