mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-04-01 15:31:00 +00:00
A few airfist tweaks
This commit is contained in:
parent
57485d53e3
commit
fdfe205c63
2 changed files with 11 additions and 5 deletions
14
airfist.qc
14
airfist.qc
|
@ -295,10 +295,16 @@ void() launch_horn =
|
|||
|
||||
}
|
||||
|
||||
if (e.classname == "player" && e.cutf_items & CUTF_HWGUY)
|
||||
delta *= 0.3;
|
||||
if (e.classname == "player" && e.cutf_items & CUTF_GYMNAST)
|
||||
delta *= 2;
|
||||
if (e.classname == "player") {
|
||||
if (e.cutf_items & CUTF_HWGUY)
|
||||
delta *= 0.3;
|
||||
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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue