This is a simple console-RPG style conversation system (similar to dialogue seen in games like Final Fantasy VI or Knights of the Old Republic).
I have been putting this together over the last few days, and have gotten to a point where my desire to add features outweighs my desire to debug/troubleshoot. So, I am releasing what I have as of now in case others may be interested in using it to make missions, or even just to play around with how to make custom dialogs and onscreen resources. I am a complete novice when it comes to those topics, so it is likely some may find serious inadequacies in my code. Nevertheless, it seems to work pretty smoothly now, and I think I've worked out the major performance/initialization hiccups.
Just unzip the included .rar file into your editor missions directory (in My Documents\Arma 3\missions\ or My Documents\Arma 3 Other Profiles\profilename\missions\).
Essential elements of a mission:
Look in initDialogs.sqf for examples of what kind of dialogue scripting possibilities exist - I have provided macros to set the text, as well as to set responses and associated actions, and the best way to figure it out is just to see it. This part could probably use some work but it is relatively straightforward. Until such time as I can put together some kind of real documentation, the example mission will have to suffice. And I probably won't do that until I have improved some things.
Feedback/testing is greatly appreciated! Also, if anyone making a valiant effort to check this out finds themselves struggling, I'll be glad to help. As far as I know, the example mission should work out-of-the-box. If you follow the same patterns, you should be able to set up just about anything - the example is as barebones as it gets, so it would probably be fastest just to use it as a template.
Credits & Thanks:
Bioware - interface inspiration
Squaresoft - interface inspiration
Mandoble - scripting inspiration
Silola - scripting inspiration
You may freely use these files in your own missions, but only if public attribution of the source is included. You may freely modify the files under the same conditions. Do whatever you want for private use.
- first release
- BI Forums