Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: lemmy101 on Sun 21/05/2006 22:04:29

Title: Getting view names from AGSEditor
Post by: lemmy101 on Sun 21/05/2006 22:04:29
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
Title: Re: Getting view names from AGSEditor
Post by: Akumayo on Sun 21/05/2006 22:32:35
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:

player.ChangeView(NORMAL);
Title: Re: Getting view names from AGSEditor
Post by: lemmy101 on Mon 22/05/2006 01:05:08
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
Title: Re: Getting view names from AGSEditor
Post by: 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?
Title: Re: Getting view names from AGSEditor
Post by: CaptainBinky on Tue 23/05/2006 21:01:51
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
Title: Re: Getting view names from AGSEditor
Post by: lemmy101 on Wed 24/05/2006 11:23:15
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
Title: Re: Getting view names from AGSEditor
Post by: Pumaman on Wed 24/05/2006 21:55:27
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.
Title: Re: Getting view names from AGSEditor
Post by: lemmy101 on Thu 25/05/2006 10:40:51
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
Title: Re: Getting view names from AGSEditor
Post by: strazer on Mon 29/05/2006 22:48:43
Tracker'd: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=576