Commit Graph

33 Commits

Author SHA1 Message Date
Finny Merrill 83edfbc033 Fixing spy-related bugs,
1) invis only being set on first connect on first map, dur
2) double- or triple-remove in regeneratecells (shaka, I want to smack you).
2004-01-25 09:04:50 +00:00
Finny Merrill 841a2e09b3 Various glow stuff: People should now glow coloredly:
a) If they're holding an item belonging to a team, they get that team's glowcolor
b) If they're quad they get blue
c) If they're pent they get red.

Yellow and Green are both just DIMLIGHT for now, but I'll see if I can't
use QSG glow_color/glow_size
2003-12-03 02:43:02 +00:00
Finny Merrill e63ce1578a attempting to fix judo bug with aiming and grenades 2003-12-02 03:37:29 +00:00
Finny Merrill 92f5683426 Tweaks to the spawning process: You can now keep your soldier/mines/demon/builds
if you re-custom, as long as your new class has the requisite items bought. Eliminated
duplicated code in dropfromcustomclassgen and changeclass. Tell me if anything breaks.
You shouldn't be able to telefrag people during your customing now!

Also fixed a typo preventing compile.
2003-11-29 14:26:56 +00:00
Finny Merrill 8c2d5fdd12 1) Attempted to give players positive frags whenever possible. You now
should get frags for blowing people up with others' dispensers/mines/expbody,
airfisting rockets, etc.

2) Redid Give_Frags_Out

3) Changed many uses of pointcontents and ugly hacks to use hullpointcontents
and checkmove, now a lot cleaner and less buggy

4) You can grapple builds again. This caused really odd bugs.

5) You can now damage your own buildings again (gasp). Any time a tesla or sentry
is damaged it turns on its attacker, friendly or otherwise. This is both a counter-TK
and counter-spy mechanism.

6) Teslas are now entirely inside their bounding box

7) Now check every frame for players startsolid and for outside of the map cube.

8) #define WALL_HURT to make it hurt when you hit a wall

9) Used some cool ideas (aka laws of physics) to make the airfist a little less annoying

10) You now only get 1 mirv per slot without bandolier. Demoman and hwguy gain bandolier.
    demoman loses his extra mirv but gains an extra grenade and pair of detpacks. Hwguy
    gets extra grenade.

11) New and improved EMP grenade now does damage based on range. no longer blows up shells.
    Doesn't directly damage sentries anymore, but does significant damage to dispensers.
    EMP someone who's setting a det and it blows up in their face.

12) Players now do radius damage from getting EMPed (again)

13) EMPs now go through walls (again)

14) EMP number lowered by one (3 without, 4 with bandolier) and cost raised by $100

15) You can only have 2 frag grens, 3 with bandolier now.

16) Hover boots will now eat cells if they get low on charge. In addition, the silly bug
    where their charge wasn't restored when you die is fixed now.

17) EMPing a detpack now sets its timer to anywhere between 1 and 121 seconds from current time,
    with a logarithmic probability of it being lower. (random() * random() * 120 + 1). Also, probably
    more time the closer it is to the EMP.

18) Judo can now be blocked by people with close combat, knife or judo. Blocked judo means that the
    attacker loses 3 seconds of attack.

19) Judo missing now makes them unable to fire.

20) Shortened judo range (back to normal if w/ close combat)

21) Attempted to rework the railgun. Seems to be okay now.

Probably still a lot of bugs in here, but since this is the devel version I thought I would commit
all my changes so people could start testing it. I'll commit fixes as soon as I find the bugs.
2003-11-26 08:53:44 +00:00
Bill Currie a365e00b22 <Grievre> lemme see... fixes: stuck shamblers, cheat teslas, camming and
sensing
<Grievre> give mirvs the right death message, make them a little weaker and
more spread out
<Grievre> increased damage done by exp body... fixes not being able to use
airfist if you have daedalus or lg with no cells
<Grievre> made it so missing judo = you can't fire for 1.5 seconds, also
judo doesn't always work, less chance of it working a) if they're facing
you b) if they have knife, judo, or close combat
<Grievre> you lose speed the more armor you have (so upgraded people can
buy cougar and cheetah now)
<Grievre> attempted to fix the respawn guard not telefragging bug (if it
was still there)
<Grievre> made it so you can tell a shambler to come, stop, or patrol even
if it is fighting someone, doesn't really work most of the time but can
"wake up" your shambler if it's being screwy
<Grievre> (works for all demons)
<Grievre> made it so a monster goes back to what it was doing before
(following you, patrolling etc) once it's done with its enemy
<Grievre> made the sniper rifle less cheap (or tried to), charging now =
more accuracy, rather than more damage. OTR now does slightly less damage
than regular, but isn't blocked by armor as much.
<Grievre> autorifle now has half the rate of fire but does same damage as
sniper rifle, but less accurate
<Grievre> headshots always ignore armor if target has green armor, legshots
always ignore armor except for red
<Grievre> added bshams and shambler kings (can be disabled with infokeys)
<Grievre> increased max knife blood to 32
<Grievre> made it so airfist bounces gymnasts twice as much, and bounces
everyone a little more (I think), may cause stuck bugs but I think it
won't. airfist does half damage to gymnasts and slightly more to hwguys
<Grievre> made shamblers a little smarter and more powerful in general
<Grievre> they now attack buildings (only bshams/kings) if they are
attacked by them first
<Grievre> bsham/king fireball now sets things on fire
<Grievre> shamblers will generally attack the person who last hit them
<Grievre> shortened judoka range (they have the old range if they get close
combat
<Grievre> shamblers will cycle the left-right slash or fireball longer than
they did (but they won't keep doing it if their enemy is not visible)
<Grievre> fixed shambler fireball so it doesn't miss and hurt itself so
much
<Grievre> #define OLD_AUTORIFLE
<Grievre> will go to the old behavior of the auto rifle
<Grievre> I think that's it
<Grievre> oh, I changed the intro message and version string a little, you
might want to change that
2003-11-12 04:58:19 +00:00
Bill Currie 4e75f3c83e some cleanups 2002-09-08 01:44:11 +00:00
Bill Currie 26f0820d04 fix the movement after customizing bug 2002-09-07 06:40:02 +00:00
Bill Currie f0a37abbd1 the server doesn't like think being NIL :/ 2001-11-10 06:35:43 +00:00
Bill Currie b919c18ce1 remove the \n from the skin names. whos bright idea was that? 2001-11-07 05:05:14 +00:00
Bill Currie 99190cb79a world -> NIL for null entities. Seems to work (only issue would be borked
tests for foo == world -> !foo and for != world -> foo).
2001-11-02 17:00:52 +00:00
Bill Currie c01e44c7a4 fix some more uninitialized vars found by qfcc 2001-10-19 03:31:30 +00:00
Bill Currie 0ff237871e Cleanup after qfcc's typechecking changes. This includes the elimination of
SUB_Null.
2001-10-17 07:48:11 +00:00
Bill Currie 158baea0c1 TeamFortress_SetSpeed:
o lots of whitespace
  o optimise the NIT_SCUBA test
  o only change cl_*speed when maxspeed changes
  o set cl_*speed to maxspeed rather than 1000 so cl_movespeedkey 0.5
    actually works
2001-10-17 04:48:19 +00:00
Adam Olsen 55500b87d6 - change all usages of MSG_BROADCAST to MSG_MULTICAST, since that's
what quakeworld uses anyway
- when changing a player's team with the admin commands, change the
  player's color, not the admin's color :)
2001-10-13 23:02:22 +00:00
Adam Olsen 0c498dd760 - tweak a few things to use setorigin instead of self.origin =
- make sure telefrags happen even on your first spawn
- do a reverse telefrag if your target is invicible
2001-10-08 11:14:13 +00:00
Adam Olsen 1993bb348f - some BUGS items
- annihilate string_null (and empty_float and vector_null)
- remove self.netname = infokey(self, "name");, since the server
  should do that for us
- add a quotename function, to stick \xFF around a name
- add a few death messages
- set a "timeleft" serverinfo to be the number of minutes left in the
  game
2001-09-30 22:38:44 +00:00
Bill Currie 0c44060141 clean up all the unused local vars found by qfcc 2001-09-23 04:25:02 +00:00
Adam Olsen 66f50d2899 - reduce assaultcannon's movement limitation from 1/8th to 1/4th
- fix judo so your speed is returned after loosing an assault cannon
2001-09-22 19:23:24 +00:00
Adam Olsen 6fca29e666 - tweak assault cannon spread so it's only 80% as wide, and biased
towards the center
- allow (very slow, 1/8th) movement while firing assault cannon
- rewrite much of the soldier menus.  mostly the same except some
  colors are different, and added a menu item to switch between them.
2001-08-12 22:31:50 +00:00
Adam Olsen 6c46c123cf - fixed thief so you don't go fully hidden when glowing
- overhauled the alias setting stuff.  It now includes a version
  number to detect when aliases have changed, and self-regulates the
  speed at which it sends them.
2001-08-11 10:02:18 +00:00
Adam Olsen a9cf39a1cc Change a bunch of self.items = self.items - (self.items & IT_FOO)
lines to self.items = self.items & ~IT_FOO.  also changed some
self.items = self.items - IT_FOO lines, which were just Really Evil
(tm)
2001-08-10 10:03:36 +00:00
Adam Olsen 02b68ccc78 Make all the builtins (except checkfunction and getfunction) be
assigned at runtime.  Also killed the {s,b}print{2,3,4,5,6,7,8} functions.
2001-08-04 23:49:44 +00:00
Bill Currie 2f0c2eec2f rewrite crossproduct so it actually gives a cross product and fix the one
call of it so the end result is the same
2001-07-26 16:44:48 +00:00
Zephaniah E. Hull b54ea79f70 The death of #ifdef QUAKE_WORLD!! 2001-07-25 21:10:26 +00:00
Bill Currie cbe175461b remove some redundant logic 2001-07-25 00:16:56 +00:00
Adam Olsen b3078797aa - Clean up color changing a ton, it should all work perfectly now :)
- made soldier menus so it resets to first menu if you close from the second
- add a bug to BUGS :)
2001-07-24 20:54:19 +00:00
Bill Currie 3c837e0bc3 %s/TeamFortress_TeamGetColor/TeamGetColor/g 2001-07-24 16:03:08 +00:00
Bill Currie 6fda29570c fix some int / int problems caused by qfcc's integer support. 2001-07-24 04:37:00 +00:00
Bill Currie 94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +00:00
Bill Currie 847b1eb040 fix various return type errors flagged by qfcc's new return type checking 2001-07-23 05:33:21 +00:00
Adam Olsen 9977533035 Initial commit of UserInfoCallback and setinfokey stuff. color,
skin, and team are all set using setinfokey.  You are no longer
kicked for changing them.  And the callback happily rejects every
attempted change from the client (for skin and color atleast).
2001-07-20 08:38:54 +00:00
Bill Currie 64ecb99bfc Initial revision 2001-07-17 05:58:10 +00:00