Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: Xalos on March 04, 2015, 11:08:37 PM

Title: Does Anyone Know the Image Slots for an Emitter?
Post by: Xalos on March 04, 2015, 11:08:37 PM
Pretty much what it says on the tin; does anyone know the names of the image slots for emitters?
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: warren on March 05, 2015, 01:21:12 AM
I just assumed that the images for builtin units was immutable.
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: pawel345 on March 05, 2015, 04:23:14 AM
you can't change the image of a regular emitter. You can put a CRPL core above it and change it's image, then change the z position to make it above the emitter. Or you can just make a CRPL emitter with a custom image. The code for CRPL emitter is rather simple and used in many custom maps, Pass the map 3 for example.
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: Xalos on March 05, 2015, 01:27:32 PM
CRPL emitters may be easy to make, but I don't have the images necessary to perfectly replicate the double-layered oscillation that default emitters have.
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: warren on March 05, 2015, 05:56:59 PM
It is actually the same image rotated 45 degrees. I think the idea is that Virgil does not want CRPL towers to ever look exactly like emitters. The default image has eight branching arms. The images in the built in emitter have four. In theory, you could erase four of the arms in a paint program.
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: Karsten75 on March 05, 2015, 06:39:17 PM
Quote from: Xalos on March 05, 2015, 01:27:32 PM
CRPL emitters may be easy to make, but I don't have the images necessary to perfectly replicate the double-layered oscillation that default emitters have.

It's probably an oversight (and no-one aske before). If you ask Virgil, I'm sure he'll upload them with the other unit images in the wiki, here:

http://knucklecracker.com/wiki/doku.php?id=crpl:custom_image_repository
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: knucracker on March 05, 2015, 07:24:58 PM
Added the two emitter images to the bottom of the page here:
http://knucklecracker.com/wiki/doku.php?id=crpl:custom_image_repository
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: Xalos on March 05, 2015, 08:54:41 PM
Cool, thanks!
Title: Re: Does Anyone Know the Image Slots for an Emitter?
Post by: TheDutcher on March 18, 2015, 07:23:03 PM
May I ask how exactly you can replicate the pulsating animation of the original emitters?
Just keep fiddling with how to size each layer and how much the opacity has to be for each frame?