Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Magicbullets and Radius Damages
#1
Hello

Another tutorial of a very asked question:

MagicBullets and Radius Damages

To play a magicbullet just use this:

Code:
MagicBullet( weapon of the magicbullet, where does it appear, where does the magicbullet ends, self );

An example, this will make a stinger rocket that goes from my origin to my origin(top)

Code:
MagicBullet( "stinger_mp", self.origin, self.origin+(0,0,100), self );

A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink
Reply

#2
(07-27-2011, 11:41)Yamato Wrote: A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink

Does RadiusDamage work for bo?
Reply

#3
(07-27-2011, 16:30)Lemon Wrote:
(07-27-2011, 11:41)Yamato Wrote: Hello

Another tutorial of a very asked question:

MagicBullets and Radius Damages

To play a magicbullet just use this:

Code:
MagicBullet( weapon of the magicbullet, where does it appear, where does the magicbullet ends, self );

An example, this will make a stinger rocket that goes from my origin to my origin(top)

Code:
MagicBullet( "stinger_mp", self.origin, self.origin+(0,0,100), self );

A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink

Does RadiusDamage work for bo?

Yes, Smile
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] Trigger Radius, Pingplayer and Ambient Sounds Yamato 0 3,101 07-27-2011, 18:15
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.