Some nade questions.
1) What is the blast radius of a Hegrenade?
2) How can I manipulate the Blast Radius? 3) How can I determin if someone was hit by a nade? 4) Can i determin if the c4 was in the blast radius of the nade, and if so, make the c4 explode? |
Re: Some nade questions.
3)
Code:
|
Re: Some nade questions.
Here you find everything but the c4 thingy..:
http://forums.alliedmods.net/showthread.php?t=54988 Feel free to use what you need! ;) greetz regalis |
Re: Some nade questions.
ok I see how to make a he-explosion radius:
Code:
but what I want to do is catch when a he-gernade explodes, and increase the radius, so i need the defualt radius of an he-gernade. Can someone show me how to catch explosion, and get the origin of it, and tell me defualt blast radius, so i can do a check of everyone in range ofthe New Blast Radius, and do damage to them. Also how can I make the c4 explode. SO mainly the big questions are: How can I catch where an he-gernade explodes, and the origin of the explosion. AND How cna I make the c4 explode? |
Re: Some nade questions.
When I changed pev_dmg the blast radius increased also.
|
Re: Some nade questions.
1 Attachment(s)
Quote:
But with the radius damage... This message code is only the explosion EFFECT! ;) Look at the function giveDamage() Code:
//+++++ Explosion damage ++++++You want to change the standard HE explosion into a BIIIIGG explosion, right? Look at this plugin from Samuraii16, there you can see how he catches the explosion ;) The standard radius is afaik 300 units...but im not sure with that. greetz regalis |
Re: Some nade questions.
Use tracehull to see if the c4 is in the blast radius. Avalanche's weapon immunity plugin would be a good place to start looking..
|
Re: Some nade questions.
Quote:
Code:
#include <amxmodx> |
Re: Some nade questions.
Quote:
btw.: !contain <-- is this a typo!? looks strange..0o |
Re: Some nade questions.
Quote:
It returns 0 when a match is found and -1 when one isn't. People usually do it this way: Code:
if(contain(string, "findme") != -1) |
| All times are GMT -4. The time now is 10:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.