How do i make an effect similar to the Arc of Death?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

How do i make an effect similar to the Arc of Death?

#1

Post by Lord_of_D: » Thu Jan 30, 2014 12:35 am

i wanna make a projectile which acts similar to the arc of death, but instead of doing constant damage to the target, it will spawn a falling projectile from the roof once it hits it target, but im not sure how to, would somebody please explain me or help? :3
Image

User avatar
CloudFlash
Zandrone
Posts: 1074
Joined: Mon Jun 04, 2012 5:35 pm
Location: Wonderland (except not really)

RE: How do i make an effect similar to the Arc of Death?

#2

Post by CloudFlash » Thu Jan 30, 2014 8:33 am

invisible floorhugger that will spawn thing in death state? I'm not entirely sure what do you mean by that.
https://i.imgflip.com/i5tpe.jpg
*Hey, who wants to hear my solution to the modern world's problems? ^Me! %Me! @Me! #Me! *WELL TOO BAD @Did he just stab himself with this butcher knife? %Looks like it ^Hey, the pizza guy arrived! %Pizza! Yey

User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

RE: How do i make an effect similar to the Arc of Death?

#3

Post by Lord_of_D: » Thu Jan 30, 2014 2:54 pm

CloudFlash wrote: invisible floorhugger that will spawn thing in death state? I'm not entirely sure what do you mean by that.
i wanna make a "death state", kinda like the way the Arc of Death lightings act, i mean that they stick on their target while doing constant damage, but instead of this, i want a ceillinghugger to spawn missiles which will fall to the ground
Image

User avatar
CloudFlash
Zandrone
Posts: 1074
Joined: Mon Jun 04, 2012 5:35 pm
Location: Wonderland (except not really)

RE: How do i make an effect similar to the Arc of Death?

#4

Post by CloudFlash » Thu Jan 30, 2014 4:05 pm

Then maybe make floorhugger spawn the ceiling hugger, which will then spawn items?
https://i.imgflip.com/i5tpe.jpg
*Hey, who wants to hear my solution to the modern world's problems? ^Me! %Me! @Me! #Me! *WELL TOO BAD @Did he just stab himself with this butcher knife? %Looks like it ^Hey, the pizza guy arrived! %Pizza! Yey

User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

RE: How do i make an effect similar to the Arc of Death?

#5

Post by Lord_of_D: » Thu Jan 30, 2014 9:47 pm

CloudFlash wrote: Then maybe make floorhugger spawn the ceiling hugger, which will then spawn items?
but that still lacks the effect of sticking onto the target D:
Image

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: How do i make an effect similar to the Arc of Death?

#6

Post by Klofkac » Thu Jan 30, 2014 10:00 pm

Ripper homing projectile?
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

RE: How do i make an effect similar to the Arc of Death?

#7

Post by Lord_of_D: » Fri Jan 31, 2014 8:16 pm

Klofkac wrote: Ripper homing projectile?
doubt that would work, cause in case of a ripper projectile, it would get past throug the target, not stick on it
Image

User avatar
Popsoap
 
Posts: 86
Joined: Mon Jun 04, 2012 2:38 pm
Location: Inside a wall

RE: How do i make an effect similar to the Arc of Death?

#8

Post by Popsoap » Fri Jan 31, 2014 11:55 pm

You're gonna have to inherit from the LightningFloor and LightningCeiling actors and set the damage they do to 0. Then make whatever inherits from LightningCeiling spawn what you want to drop on the target. Then replace the LightningZap actor with a completely empty actor to prevent the native functions from spawning it.

User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

RE: How do i make an effect similar to the Arc of Death?

#9

Post by Lord_of_D: » Sat Feb 01, 2014 3:51 am

Popsoap wrote: You're gonna have to inherit from the LightningFloor and LightningCeiling actors and set the damage they do to 0. Then make whatever inherits from LightningCeiling spawn what you want to drop on the target. Then replace the LightningZap actor with a completely empty actor to prevent the native functions from spawning it.
I see...yeah that may work, thanks. btw, i took a deep look onto the code and they mention something of "lastenemy", is there a way to apply that property whitow inheriting?
Last edited by Lord_of_D: on Sat Feb 01, 2014 4:05 am, edited 1 time in total.
Image

Post Reply