Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: LappySheep on August 21, 2017, 06:21:57 PM

Title: Shield image
Post by: LappySheep on August 21, 2017, 06:21:57 PM
Is there a way I can recreate a "shield" effect around a crpl core?

Essentially, I want to have the field image caused by a powered shield to be set as the same radius/range as my damaging CRPL core.
Title: Re: Shield image
Post by: GoodMorning on August 21, 2017, 07:47:21 PM
Just to be clear, did you want the repulsion effect as well?

The image is straightforward, there's one in the Sleeper template as well as in a few other maps. The pulsing ring is a little more effort.


Self "shield" "Custom99" SetImage #Change depending upon which slot the shield image goes into.
Self "shield" <-Range 4 mul dup SetImageScale
Self "shield" -0.1 SetImagePositionZ
Title: Re: Shield image
Post by: LappySheep on August 22, 2017, 08:14:31 AM
No, just the image was the original idea.

In the code it says "Change depending upon which slot the shield image goes into."

Does this mean I need a custom image? Is there a way for me to "rip" the original shield image?
Title: Re: Shield image
Post by: FOXX on August 22, 2017, 11:55:45 AM

CW3 Shield Images [64x64]


      \           /
        \       /
          \   /
            v
Title: Re: Shield image
Post by: GoodMorning on August 22, 2017, 09:00:46 PM
You will need a custom image. This is if you are looking for the "umbrella" rather than the unit.
Title: Re: Shield image
Post by: LappySheep on August 24, 2017, 10:24:05 AM
Thanks :)