Getting view names from AGSEditor

Started by lemmy101, Sun 21/05/2006 22:04:29

Previous topic - Next topic

lemmy101

Hi CJ,

When defining characters poses/gestures in my conversation editor, the user specifies views, along with start/end frame for the animation. At the moment I can only reference these by the view's ID number, but I was wondering if there was any way I could grab hold of the view names defined in AGS, either through the plug-in editor interface, or possibly reading directly from the main AGS project file?

Simply to avoid the user having to maintain the view names in the conversation editor seperately from within AGS, or to have to use a load of fiddly numbers?

If you had any ideas it would be much appreciated!

thanks!

lemmy

Akumayo

I'm not sure exactly of what you're asking, but I'm quite positive that you can pass the view name in place of the number, like:
Code: ags

player.ChangeView(NORMAL);
"Power is not a means - it is an end."

lemmy101

#2
Hi

I actually want to get the name of the view from our coversation editor which is running alongside AGS, not from in ags script itself. Thanks for your suggestion though :)

Cheers, lemmy

Pumaman

How does your editor function -- is it an editor plugin, or is it a separate standalone application?

CaptainBinky

Hi,

Sorry, posting on Lemmy's behalf since he hasn't replied :p

Our conversation editor is a completely seperate application that interfaces with AGS rather than being a plugin. I'll give Lemmy a kick up the arse next time I see him, and get him to post in more detail :)

Cap'n Binky

A Lemmy & Binky Production

lemmy101

#5
Quote from: Pumaman on Mon 22/05/2006 20:18:59
How does your editor function -- is it an editor plugin, or is it a separate standalone application?


Doh, sorry CJ I forgot to set notify on this thread! And cheers Binky for the kick up the arse (ouch)

It is an MFC stand-alone app. My preference would be to have the whole thing as an editor plug-in to make it more integrated, so will look into that, but that would depend on whether thr MFC libraries will sit with AGS alright (if you don't mind me asking, did you use MFC, Win32 or something else for AGS?). Either way I would be planning on having an editor plug-in, whether that interfaced with the standalone app or was the entire editor.

Cheers,

lemmy

Pumaman

It would certainly be possible to add support for the view names to the COM Plugin API, however as it's quite a specialized request I can't promise that it will be done as a matter of priority.

lemmy101

#7
Thanks Pumaman! I understand that. If you do manage to find time then that'd be great but I appreciate it's quite a specialized request.

Cheers!

lemmy


SMF spam blocked by CleanTalk