A few airfist tweaks

This commit is contained in:
Finny Merrill 2003-11-28 03:52:00 +00:00
parent 57485d53e3
commit fdfe205c63
2 changed files with 11 additions and 5 deletions

View File

@ -295,10 +295,16 @@ void() launch_horn =
}
if (e.classname == "player" && e.cutf_items & CUTF_HWGUY)
if (e.classname == "player") {
if (e.cutf_items & CUTF_HWGUY)
delta *= 0.3;
if (e.classname == "player" && e.cutf_items & CUTF_GYMNAST)
if (e.cutf_items & CUTF_GYMNAST)
delta *= 2;
}
else if (e.classname == "monster_wizard" || e.classname == "detpack")
delta *= 3;
else if (!IsMonster(e))
delta *= 5;
// calculate the velocity adjustment.
delta = normalize(delta);

View File

@ -90,4 +90,4 @@
#define HUNTED_YELLOWTEAM_FACTOR 0.5 // this multiplied to current red players is max for yellow team on huntedr
#define SENSOR_MINSPEED 100 // minimum speed someone has to be moving to be picked up by sense.
#define AIRGUN_STRENGTH 500 // strength of airfist (was 1000), same as recoil.
#define AIRGUN_STRENGTH 300 // strength of airfist (was 1000), same as recoil.