Jump to content

Recommended Posts

Author: Mr Trivel
Name: Animated Faces
Created: 2014-09-12
Version: 1.2
 
What does it do?
Allows you to have animated actor faces.
 
Requirements: None
 
Instructions:
Set everything in the Data module according to the comments.
 
Video:
 
Edited by Glasses

Share this post


Link to post
Share on other sites

Your windows is updated in every frame. It more likely will cause lag or framedrop when entering menu scene which has actor face.

How about only refresh the window if the face graphics changed?

Share this post


Link to post
Share on other sites

1.1 update

Changed from frame-based speed to time-based speed.

Now displays animation properly if there's more than one window in the scene that displays animated faces.

Share this post


Link to post
Share on other sites

Screenshot_6.png

 

Hai,

I use your script for my project and I got this.

This is work when I only have 1 actor in my party

But if I add another actor, I got this.

Can you please tell me how to fix this?

 

I only use zeuz resolution++ for now

this script is my 2nd after zeuz resolution

and this is my actor setup :

 

Screenshot_7.png

 

Thanks for making this script I hope this can be solved so I can finally use this nice one ^^

Share this post


Link to post
Share on other sites

You didn't add the 2nd actor to the array.

Correct way:

  DATA = {
  # )-- ACTOR_ID    Filename      Frame Sequence                  
          1 => [ "Suave.png", [0, 0, 1, 1, 4, 4, 5, 5] ],
          2 => [ "Adriano.png", [0, 0, 1, 1, 4, 4, 5, 5] ]
  
  }

Share this post


Link to post
Share on other sites

 

You didn't add the 2nd actor to the array.

Correct way:

  DATA = {
  # )-- ACTOR_ID    Filename      Frame Sequence                  
          1 => [ "Suave.png", [0, 0, 1, 1, 4, 4, 5, 5] ],
          2 => [ "Adriano.png", [0, 0, 1, 1, 4, 4, 5, 5] ]
  
  }

Wow thanks very much. It's working now ^^ Time to continue my project

Share this post


Link to post
Share on other sites

Nevermind, Glasses helped me to fix the issue, and he updated the script as well.

 

Thanks a lot! =)

Edited by Kizami

Share this post


Link to post
Share on other sites

Big fat feature request:

 

I use this also on the menu and HUD. Now, if an actor is dead or poisoned, it would be great if I could use another Face.

 

Can you add extra lines to the Actor Face definitions that are only active when a certain state is applied?

 

and maybe also a switch that stops the animated (when dead, paralyzed or stoned).

 

So the idea would be to increase the array by 2 more vars: 

 

1. State ID (0 = none, otherwise its only used when that state is applied to the actor)

 

2. Animated (0/1) to turn on/off animation on certain states. but thats not really required As i could just solve it by having a row of equally looking pictures in the face-set.

 

Would be GREAT!

Share this post


Link to post
Share on other sites

Quick question with a potentially nervous answer: Do you think this script would work with different menus? (e.g. if you had a menu that shows portraits for actors instead of faces) c: Tankyas~

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted