OpenXcom Forum

Modding => Work In Progress => Topic started by: Blank on May 05, 2016, 02:34:00 pm

Title: Drawing routine/animation help
Post by: Blank on May 05, 2016, 02:34:00 pm
I started off making a new set of sprites, using the tentaculat as a guide but those things animate even less than I remember! What I'm looking for is something like a simple four frame animation so I can make the critter bob up and down when idle (using constantAnimation: true?) And ideas what I should use?
Title: Re: Drawing routine/animation help
Post by: new_civilian on May 06, 2016, 12:07:06 am
My first idea would be the Silacoid, small number of sprites, constantly animated, 1x1 sized. Making it fly then is easy.
Second guess, the Celatid, but it maybe hasn't enough sprites.



Those graphics^ look interesting, can't wait to see what you make out of them.
Title: Re: Drawing routine/animation help
Post by: Warboy1982 on May 06, 2016, 05:06:31 pm
in general it's the large units that were animated while standing still, and they had no walking animations. the small units that constantly animate have no visible directionality.
Title: Re: Drawing routine/animation help
Post by: Solarius Scorch on May 06, 2016, 06:37:29 pm
Hmm... How hard would it be to code a new routine? :)
Title: Re: Drawing routine/animation help
Post by: Yankes on May 06, 2016, 06:48:19 pm
or use Extended, You can create your own drawing routine. :)
Title: Re: Drawing routine/animation help
Post by: Solarius Scorch on May 06, 2016, 07:10:24 pm
or use Extended, You can create your own drawing routine. :)

Yeah, and the documentation how to do it is where? :P
Title: Re: Drawing routine/animation help
Post by: Yankes on May 06, 2016, 10:42:05 pm
Yeah, and the documentation how to do it is where? :P
https://openxcom.org/forum/index.php/topic,2915.msg58514.html#msg58514 :P
Title: Re: Drawing routine/animation help
Post by: Solarius Scorch on May 06, 2016, 10:53:31 pm
https://openxcom.org/forum/index.php/topic,2915.msg58514.html#msg58514 :P

Thanks. :P
Do I have an old readme or something? Because I sure can't see anything about this.
Title: Re: Drawing routine/animation help
Post by: Blank on May 06, 2016, 11:16:45 pm
Well I found out I can use Xarquid's draw routine for what I want and leaving 3/4 of the frames empty, but it has no death animation. I'm going to have to check these custom draw routines though, especially for later projects
Title: Re: Drawing routine/animation help
Post by: Yankes on May 06, 2016, 11:26:14 pm
Thanks. :P
Do I have an old readme or something? Because I sure can't see anything about this.
Right now I'm working on full documentation. Overall I plan that exe will dump information to log file in debug mode.
Some outdated info: https://openxcom.org/forum/index.php/topic,2059.0.html (this is ancestor of scripts from 2.9)
Some basic info about 2.9 is in txt file: https://openxcom.org/forum/index.php/topic,2915.msg31641.html#msg31641

Overall I considered scripts in 2.9 as preview, because in 3.0 scripts have lot of breaking changes. I making final version that will be capable of handling all new functionality (like unit reaction) and have simpler usage.


Title: Re: Drawing routine/animation help
Post by: Blank on May 08, 2016, 09:01:58 am
So these draw routine scripts are going to be the only way to have both an animated idle animation and separate walk animations. That could be useful.
Title: Re: Drawing routine/animation help
Post by: Yankes on May 08, 2016, 12:57:44 pm
So these draw routine scripts are going to be the only way to have both an animated idle animation and separate walk animations. That could be useful.
Yes but you need remember that this need custom exe, I think you should check out Meridian exe used by xpitarez that is based on my brach.
Title: Re: Drawing routine/animation help
Post by: Blank on May 08, 2016, 03:04:23 pm
Yes but you need remember that this need custom exe, I think you should check out Meridian exe used by xpitarez that is based on my brach.
Already read the changelogs and seen what was used in X-com files ;)
Title: Re: Drawing routine/animation help
Post by: Blank on December 16, 2017, 03:37:06 pm
So, it turns out I've lost a number of my original files. I can release the oculat.png under creative commons since it is wholly my own work (sharknade is edited from the displacer launcher). Is that all I need to do to make sure it's a resource freely available to future modders?
Title: Re: Drawing routine/animation help
Post by: Warboy1982 on December 16, 2017, 04:41:39 pm
So, it turns out I've lost a number of my original files. I can release the oculat.png under creative commons since it is wholly my own work (sharknade is edited from the displacer launcher). Is that all I need to do to make sure it's a resource freely available to future modders?

pretty sure that counts, yeah.
Title: Re: Drawing routine/animation help
Post by: The Reaver of Darkness on December 16, 2017, 07:03:27 pm
Hallucinoid and Xarquid are both 2x2 constantly animated. Cyberdisc is 2x2 partially constantly animated. Biodrone is 1x1 partially constantly animated. Silacoid is 1x1 and constantly animated but has no difference in appearance depending what direction it is facing. I think Biodrone and Hallucinoid also look the same in all directions. Xarquid shows the direction it's facing.