Home   Help Search Login Register  

Author Topic: Dialog (menus) generator tool  (Read 8831 times)

0 Members and 1 Guest are viewing this topic.

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Dialog (menus) generator tool
« on: 23 Mar 2004, 11:09:48 »
Is there such a thing as a visual "Dialog generator for description.ext" tool? I couldn't find one.

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:Dialog (menus) generator tool
« Reply #1 on: 23 Mar 2004, 13:11:29 »
i dont know of any but there is a great tut by Vektorboson just do a google search

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Dialog (menus) generator tool
« Reply #2 on: 23 Mar 2004, 19:08:19 »
Or just look in the Editors Depot.
Plenty of reviewed ArmA missions for you to play

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Re:Dialog (menus) generator tool
« Reply #3 on: 24 Mar 2004, 08:15:57 »
Thanks to both of you for your replies. Actually, I've been working on a tool that does exactly that (WYSIWYGish dialog generator), but I wanted to make sure nothing better existed, since there's not much point in uploading something that someone else has already done better.
Sorry I missled you. Here's a screenshot showing what it can do in less than 30 seconds  ;D .

« Last Edit: 24 Mar 2004, 08:17:43 by Razorwings18 »

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Dialog (menus) generator tool
« Reply #4 on: 24 Mar 2004, 16:35:54 »
looks promissing - lookin forward for that

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

vektorboson

  • Guest
Re:Dialog (menus) generator tool
« Reply #5 on: 24 Mar 2004, 19:50:29 »
Very nice  :)

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Dialog (menus) generator tool
« Reply #6 on: 31 Mar 2004, 05:51:00 »
Ohhhhhhhhhh............ SO many people are going to love you when you release that thing!

There are a lot of people out there who don't know how to make dialogs, and haven't learned because they seem too complicated, but would love to make them. I recently started figuring out dialogs, but I would much rather make them using a tool like that. It would save SO much time!

I remember a tool came out on the official forums that was supposed to do very limited dialog creation, like just showing you the size of rectangles or something, but not making complete dialogs. I never figure out how to use it. The guy never fully completed it, but there was so much interest in the thing. When you finish this, be sure to post it on the official forums; it will be of great service to the community :)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Re:Dialog (menus) generator tool
« Reply #7 on: 31 Mar 2004, 06:18:34 »
Yep. I've just uploaded it, so check the pending submissions in the Editor's Depot if you're aching for it  :P .
Thanks for the advise on letting people on the official forums know; I'll do so once I've sorted out whatever bugs may get reported. Right now it's an open beta, which means just a couple of my friends and I tested it.

Quote
There are a lot of people out there who don't know how to make dialogs, and haven't learned because they seem too complicated, but would love to make them.

Indeed; I was one of them. That was until I started the scriptset I'm working on right now, which requires some HEAVY dialog-making. I figured it'd take me about the same time to develop this tool and have it make the dialog for me, than to fiddle with control and dialog classes manually. So here I am, releasing a tool that does something I never have!  ;D

EDIT: EEEKKKKK... I almost forgot. Vektorboson, thanks for your excellent tute. About 40% of OFPDM is there thanks to you. Thought I'd tell you "personally" rather than just in the "Acknowledgements".

Cheers.
« Last Edit: 31 Mar 2004, 06:24:03 by Razorwings18 »

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Dialog (menus) generator tool
« Reply #8 on: 31 Mar 2004, 06:50:30 »
Alright! This tool is awesome!!!
Haven't used it much yet, but it looks great. Here are a few little nit-picky comments though (should be easy fixes):

It would be nice to have the "ok" button as the default so I can just press 'enter' after editing those controls.

The static/active text controls are kinda annoying how they act in some ways like a textbox. Either their text property should be editable by editing the text in the box (without double-clicking on the control), or you shouldn't be able to highlight text and there shouldn't be the blinking cursor.

Since the text doesn't resize itself in the textbox, which seems like it would be hard to do, it would still be nice to have some kind of visual representation of how tall the text will be. An easy solution may be to just have a colored rectangle representing the height of the text, and possibly even the width. Something like that would be very useful.

Just some little suggestions for an already great tool  ;D :o 8)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

PsyWarrior

  • Guest
Re:Dialog (menus) generator tool
« Reply #9 on: 31 Mar 2004, 13:50:13 »
Greetings,

All Hail Razorwings!

I have been learning how to create dialogs, but I find it to be a tedious and frustrating process...

-Type for hours to get the code down
-load Mission
-preview
-dialog is crap.
-Edit position of all controls, without really knowing where they'll end up.
-load mission
-preview
-dialog is worse
-edit size, font, position and colour of all controls
-load mission
-OFP crashes with "found 'c' expected';'"
-Tear hair out...

Razorwings18, you may have just saved my life (or at least my hair). I heard about a dialog editor that was in progress over at Flashpoint1985.com, but it seemed to disappear.

I can now finish several of my missions-in-progress in a tenth of the time it would have taken otherwise.

Thankyou! :thumbsup:  ;D

-Supreme Commander PsyWarrior
-Psychic Productions Studios.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Dialog (menus) generator tool
« Reply #10 on: 01 Apr 2004, 00:30:58 »
OK Razorwings

I have also downloaded your tool, I haven't tried it yet as I had a few problems with installation, story as follows.

I am using Windows Me.

Installation reported that it couldn't proceed because some system files needed updating........Press OK to allow Setup to update the files......Press Cancel to quit Setup.

I pressed Cancel.

I might add that my Windows Me is fully up to dat as far as Windows Updates go.

I unzipped the CAB file and had a look to see which system files it meant, some of the DLL's and ActiveX controls were older than the ones on my system.

OK........So I took a backup copy of the relevant files on my system then told Setup to go ahead and update my system files.

Rebooted......Tried installation again..........same thing happened.

Then I remembered.....Windows Me will let you quite happily delete or replace system files.......it doesn't complain at all.
It just politely replaces the originals immediately afterwards.

In the end I just extracted OFPDialogueMaker.exe and the readme.txt into their own folder and ran it from there.

The tool opened, but I haven't played with it yet.

I will let you know how it goes.


Planck
I know a little about a lot, and a lot about a little.

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Re:Dialog (menus) generator tool
« Reply #11 on: 01 Apr 2004, 01:12:11 »
Thank you for your comments. I'm glad you found the tool useful, and even got to save parts of your anatomy just by using it!  ;D

Quote
It would be nice to have the "ok" button as the default so I can just press 'enter' after editing those controls.

The static/active text controls are kinda annoying how they act in some ways like a textbox. Either their text property should be editable by editing the text in the box (without double-clicking on the control), or you shouldn't be able to highlight text and there shouldn't be the blinking cursor.

Since the text doesn't resize itself in the textbox, which seems like it would be hard to do, it would still be nice to have some kind of visual representation of how tall the text will be. An easy solution may be to just have a colored rectangle representing the height of the text, and possibly even the width. Something like that would be very useful.
The ENTER for OK (and ESC to cancel) part was already in the plans and completely doable.

Text and Active text don't look like textboxes; they are textboxes. I had to use them instead of label controls since the latter lack some events I needed. I'll see if I can find a way to help having the text selected when you drag the mouse over it. Avoiding the textbox's standard common dialog is also in the plans (that is particulary annoying to me).

As for the font sizes, I'll see what I can do. I know the font's height -since it's a control property-, but in order to know the width I'd have to study how each font's size works and hardcode a height-to-width ratio for all of them.


Quote
I can now finish several of my missions-in-progress in a tenth of the time it would have taken otherwise
I hope this tool will let us see an increase in missions that ship with dialogs. Dialogs are quite versatile, and can be used for way more than just menus if you use your imagination.

Quote
OK Razorwings

I have also downloaded your tool, I haven't tried it yet as I had a few problems with installation, story as follows.

I am using Windows Me.

Installation reported that it couldn't proceed because some system files needed updating........Press OK to allow Setup to update the files......Press Cancel to quit Setup.

I pressed Cancel.

I might add that my Windows Me is fully up to dat as far as Windows Updates go.

I unzipped the CAB file and had a look to see which system files it meant, some of the DLL's and ActiveX controls were older than the ones on my system.

OK........So I took a backup copy of the relevant files on my system then told Setup to go ahead and update my system files.

Rebooted......Tried installation again..........same thing happened.

Then I remembered.....Windows Me will let you quite happily delete or replace system files.......it doesn't complain at all.
It just politely replaces the originals immediately afterwards.

In the end I just extracted OFPDialogueMaker.exe and the readme.txt into their own folder and ran it from there.

The tool opened, but I haven't played with it yet.

I will let you know how it goes.
One of my concerns when releasing this beta was particularly how OFPDM would behave under different OSes. I think the sensible thing to do would be to put a DLL-free non-installing version up for download, since modern MS OSes already come with VB6 DLLs. Whatsmore, the download would be in the 300KB in that case. Thanks for the heads-up; let me know how it works.

PsyWarrior

  • Guest
Re:Dialog (menus) generator tool
« Reply #12 on: 01 Apr 2004, 12:07:42 »
Greetings,

For the record, I had exactly the same problem as Planck, under Win2k with a 1.5Ghz AMD Athalon and a GeForce 4 Ti4800 SE. The installer always reports that system files need to be updated.

After updating the files and restarting, I get the same message.

Strangely, after extracting the CAB, I can run the application without any problems, without resolving the system files problem, possibly without installing at all.

After this, I was fairly impressed. It's not exactly MS Visual Studio (but then I never expected it to be), but it does make dialog editing several thousand times easier. The best thing is that it allows you to position your dialogs and controls visually, eliminating the trial and error, and error, and error...
[ some time later ]... and error nature of convential dialog editing. :thumbsup:

One question: do all the pictures and listboxes/ comboboxes have to be configured in .sqs?

-Supr. Cmdr. PsyWarrior
-Psychic Productions

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Re:Dialog (menus) generator tool
« Reply #13 on: 02 Apr 2004, 10:38:11 »
OK, I've put a non-installing DLL-free version for download along with the other one, so that should more or less solve the problem.

Quote
One question: do all the pictures and listboxes/ comboboxes have to be configured in .sqs?
Depends on what you mean by "configure". For pictures, certainly not; just type the name of your image in the "Text" property of the picture control and you're done. Just make sure your picture file's height and width are a number corresponding to a power of 2 (2, 4, 8, 16, 32, 64...).
For listboxes and comboboxes, if you mean if they must be filled from your SQS, that's mostly correct. Of course you could fill them from anywhere else, including through button or active text's actions, but the bottom line is that the only way to fill them is through scripting commands. Personally, I wouldn't have it any other way.

Quote
It's not exactly MS Visual Studio
Tell you what: give me the kind of budget the MS VS team was granted, and I'll give you effin Dreamweaver  ;D

PsyWarrior

  • Guest
Re:Dialog (menus) generator tool
« Reply #14 on: 02 Apr 2004, 16:11:35 »
Depends on what you mean by "configure". For pictures, certainly not; just type the name of your image in the "Text" property of the picture control and you're done. Just make sure your picture file's height and width are a number corresponding to a power of 2 (2, 4, 8, 16, 32, 64...).
For listboxes and comboboxes, if you mean if they must be filled from your SQS, that's mostly correct.

Understood. I agree that that's the best way. I'm fluent in .sqs, so it isn't a problem for me - just checking that I wasn't missing anything...

Who needs MS Visual Studio anyway? This ingenious little app has allowed me to accomplish more in a day of editing than I could have done in a week!

One thing that would be really nice (although probably very hard to implement) would be a grid to 'snap' objects to, to assist with lining up controls. However, I could live without this. The only modification I'd really like to see at some point is the inclusion of more fonts - It's really not that difficult for me to change the fonts once OFPDM has generated the code, but it would still be nice to eliminate this extra step as well.

-Supr. Cmdr. PsyWarrior
-Psychic Productions
« Last Edit: 02 Apr 2004, 16:15:53 by PsyWarrior »