Any way to change +Ripper to have different damage intervals?

Discuss all aspects related to modding Zandronum here.
Post Reply
shadowpikachu
New User
Posts: 2
Joined: Mon Mar 26, 2018 5:13 am

Any way to change +Ripper to have different damage intervals?

#1

Post by shadowpikachu » Mon Mar 26, 2018 5:17 am

I've heard this engine cannot do that, wondering if this is entirely true or i just am missing something.

If you can't, can it be added in a future version?

If you can, how exactly?

User avatar
Ænima
Addicted to Zandronum
Posts: 3523
Joined: Tue Jun 05, 2012 6:12 pm

Re: Any way to change +Ripper to have different damage intervals?

#2

Post by Ænima » Tue Mar 27, 2018 4:54 pm

What do you mean “intervals”? Like, do you want damage to decrease with distance? Or how many actors a ripper passes through?
­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
Doom64: Unabsolved: New weapons, monsters, and gameplay features for coop !


ZandroSkins
: a pack made by our community

User avatar
Empyre
Zandrone
Posts: 1316
Joined: Sun Jul 08, 2012 6:41 am
Location: Garland, TX, USA

Re: Any way to change +Ripper to have different damage intervals?

#3

Post by Empyre » Tue Mar 27, 2018 5:37 pm

As a ripping projectile is moving through an actor, it does damage repeatedly until it is no longer inside the actor. I don't believe you can change how often it does this, which I assume is 35 times a second because that is the clock rate of the game. You can control how much damage is done either by changing the damage of the projectile or by changing the speed to change how long the projectile takes to get through the actor.
"For the world is hollow, and I have touched the sky."

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 992
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

Re: Any way to change +Ripper to have different damage intervals?

#4

Post by fr blood » Tue Mar 27, 2018 6:19 pm

Or you can put the direct damages of the projectiles to 0, and then control your damages per second using A_Explode with the wanted amount of damages and a very small radius.

User avatar
Empyre
Zandrone
Posts: 1316
Joined: Sun Jul 08, 2012 6:41 am
Location: Garland, TX, USA

Re: Any way to change +Ripper to have different damage intervals?

#5

Post by Empyre » Tue Mar 27, 2018 7:06 pm

fr blood wrote:
Tue Mar 27, 2018 6:19 pm
Or you can put the direct damages of the projectiles to 0, and then control your damages per second using A_Explode with the wanted amount of damages and a very small radius.
Oh, that's a good idea. I have done that myself before. You might consider +NODAMAGETHRUST if you use this trick, so the enemy won't be pushed around by all the explosions.
"For the world is hollow, and I have touched the sky."

User avatar
Ænima
Addicted to Zandronum
Posts: 3523
Joined: Tue Jun 05, 2012 6:12 pm

Re: Any way to change +Ripper to have different damage intervals?

#6

Post by Ænima » Tue Mar 27, 2018 11:12 pm

fr blood wrote:
Tue Mar 27, 2018 6:19 pm
Or you can put the direct damages of the projectiles to 0, and then control your damages per second using A_Explode with the wanted amount of damages and a very small radius.
That’s how I do the taser in D64 Unabsolved. :p


But yeah, if that’s what you’re talking about, you’re out of luck because ripper damage calculations are hard-coded, IIRC. This results in mancubi, arachnotrons, and spider masterminds taking WAY MORE damage from ripper projectiles than other monsters, from what i’ve noticed. Especially if you hit them from a diagonal map coordinate.
­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­
Doom64: Unabsolved: New weapons, monsters, and gameplay features for coop !


ZandroSkins
: a pack made by our community

Post Reply