+ Glasses 606 Posted September 12, 2014 (edited) 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: Script: <Link: Github> Blog: <Link: On blog> Edited August 13, 2015 by Glasses 3 Share this post Link to post Share on other sites
TheoAllen 830 Posted September 12, 2014 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
+ Glasses 606 Posted September 12, 2014 Thanks for the input! Changed it. Only refreshes if it has to now. Share this post Link to post Share on other sites
+ TBWCS 953 Posted September 12, 2014 Amazing work, Mr. Trivel! Never thought of this! More scripts like this and thanks for sharing Share this post Link to post Share on other sites
+ Glasses 606 Posted September 13, 2014 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
+ DarthVollis 59 Posted September 13, 2014 Does this work in dialogue too? Share this post Link to post Share on other sites
+ Glasses 606 Posted September 13, 2014 No. Because it doesn't use draw_actor_face if I recall correctly. Share this post Link to post Share on other sites
+ DarthVollis 59 Posted September 13, 2014 Anyway that you can make it where it would or make another script that does that? Modern Algebra has one but his has too many conflicts with my system. Share this post Link to post Share on other sites
+ Glasses 606 Posted September 13, 2014 I'll keep this script as is. Share this post Link to post Share on other sites
-YS- 0 Posted July 27, 2015 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 : 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
+ Glasses 606 Posted July 27, 2015 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
-YS- 0 Posted July 27, 2015 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
+ Kizami 3 Posted July 30, 2015 (edited) Nevermind, Glasses helped me to fix the issue, and he updated the script as well. Thanks a lot! =) Edited August 13, 2015 by Kizami Share this post Link to post Share on other sites
+ Glasses 606 Posted August 13, 2015 Updated the script. Bugfixes, no more looping only through party. 2 Share this post Link to post Share on other sites
Fhizban 96 Posted August 13, 2015 Thats great because Im still using it (and lovin' it!) Share this post Link to post Share on other sites
Fhizban 96 Posted August 14, 2015 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
Tsarmina 2,612 Posted January 15, 2016 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
+ Glasses 606 Posted January 15, 2016 @Tsarmina, It shouldn't work with non-faces, since I only overwrote draw_face method. Unless menu changed draw_face to draw portraits. 1 Share this post Link to post Share on other sites
Tsarmina 2,612 Posted January 18, 2016 Oh, perfect! Thank you kindly ^^ Share this post Link to post Share on other sites