Advanced Search

Author Topic: Rippers, How do they work?  (Read 993 times)

0 Members and 1 Guest are viewing this topic.

October 21, 2011, 05:38:46 PM
Read 993 times

Offline SaviorSword

  • Standard Member

  • Yar har, fiddle dee dee...
  • Date Registered: January 01, 2011, 02:13:30 AM

    • View Profile
Rippers, How do they work?
« on: October 21, 2011, 05:38:46 PM »
It's been a long time since I've had this question, but due to bein' quite lazy, I've never have found the answer at the moment.
Let's take Metal Blade and Ice Slasher for a moment.

Metal Blade:
Code: [Select]
actor MetalBlade
{
PROJECTILE
scale 2.5
+RIPPER
+DONTBLAST
Speed 40
Radius 3
Height 4
Damage (14)
States
{
Spawn:
METL AB 3
loop
}
}

Ice Slasher:
Code: [Select]
actor IceSlasher
{
PROJECTILE
Radius 5
Height 5
scale 2.5
damagetype "Ice2"
damage (11)
+RIPPER
speed 22
States
{
Spawn:
ICES AB 3
loop
}
}

A player is 16 in radius and 52? in height. For each tic, when the porjectile is in the target's body it deals damage. My problem is how much damage is calculated when the projectile is half-way into the target's body.
For instance, If an attacker is 40 units away from a dummy and threw a Metal Blade and in 1 tic the Metal Blade would have 3 of its radius inside the target and the other stickin' out. Now how much damage would that be?

October 21, 2011, 06:49:11 PM
Reply #1

Offline Korby

  • Global Moderator

  • Benvenuto nella room italiana!
  • *************
  • Date Registered: March 04, 2010, 03:36:02 AM

    • View Profile
    • Korby Games
Re: Rippers, How do they work?
« Reply #1 on: October 21, 2011, 06:49:11 PM »
14 damage. If any part of the radius enters an actor, full damage is dealt.