Changing normal view animation frame for character during dialogue (SOLVED)

Started by poltergeist, Sat 01/01/2011 11:28:49

Previous topic - Next topic

poltergeist

The subject title probably is a bit long, but I'm not quite sure how to describe my problem.

My main, playable character is speaking with this VI character, which is basically just a screen. In normal view, this screen is turned off as the VI isn't in use. When I start a dialogue with the VI, the 'power on' animation plays - for this I used the standard LockView, Animate, UnlockView combination.

Now what I want to do is change the normal view animation frame by one so that the VI screen isn't black any more, but rather shows the VI character. I'm having trouble finding this in the manual, and searching the forum didn't help either. I'm hoping one of you might know what I'm talking about and how to help me out.

Currently, the screen stays black while I'm picking dialogue options and while the playable character speaks, which is just wrong. You can check out what I'm talking about by downloading the preview build.

Code: ags
http://www.mediafire.com/?j0qb435q4ndhdwq


I hope I was clear enough. Thanks in advance  ;D

EDIT #1: Added screenshots so those of you who don't feel like downloading the 'game' know what I'm talking about.

Screenshot #1
Screenshot #2
Screenshot #3

EDIT #2: For anyone who might stumble upon this topic in the future, the fix is here.

Dualnames

QuoteNow what I want to do is change the normal view animation frame by one so that the VI screen isn't black any more, but rather shows the VI character.
Code: ags

cVI.LockViewFrame(viewgoeshere, cVI.Loop, 1); 

//cVI.UnlockView();  Do that to revert back to default
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

poltergeist

Now I feel a bit silly for not noticing LockViewFrame sooner.

Thanks a bunch, Dualnames! It works perfectly!  :D

Khris

Just for reference, I'd handle the VI as a standard character and simply turn their transparency to 100 when the screen is off.

poltergeist

Makes sense, Khris. Didn't think of that... Thanks for the tip!

SMF spam blocked by CleanTalk