Commit graph

22 commits

Author SHA1 Message Date
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
db4e96e70a Engineer tweaks:
1) added checkmove forward so it's easier to build against walls
2) Can't build sentries on top of forcefields anymore (they get bounced off)
3) fieldgens are now one unit taller than their fields, so you CAN build on the gen
4) forcefields bounce everything (including buildings) away now.
5) added #ifdef DISALLOW_BLOCKED_TELE around tele block checks. didn't get the point

Debug tweaks:
1) added #ifdef DEBUG, which enables RPrint(), dremove(), and printtrace(), as well
   as the warlock cheat and origin reporting.
2) replaced EVERY dprint with RPrint.
3) changed makefile so that all = no DEBUG and no .sym
2003-11-27 07:07:26 +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
26f0820d04 fix the movement after customizing bug 2002-09-07 06:40:02 +00:00
Bill Currie
83a23905f9 hopefully fix the custom speed bug 2002-09-07 03:25:00 +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
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
d2f77c5cca - fix that hover boots money cheat
- re-comment the ARMY_TEST define and friends.  don't want that on
  normally :)
2001-10-02 09:06:20 +00:00
Adam Olsen
c3ccddb39f - BUGS
- make soldiers sometimes retreat when low on health
- make "static" mode soldiers work.  more or less.
- Massive cleanup of obituary.qc.  I'd be surprised if there isn't a
  bug or two.
2001-10-01 11:37:02 +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
8eff682b52 One more of the same.
Boy, doing foo = foo + bar is REALLY lame, when foo = foo & bar works
just as well, but without rick of affecting other bits.
2001-08-10 10:06:35 +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
Bill Currie
7498c71ee5 fix the field stuck test and rename CONTENT_* to CONTENTS_* to match the
server source.
2001-07-31 17:08:59 +00:00
Zephaniah E. Hull
b54ea79f70 The death of #ifdef QUAKE_WORLD!! 2001-07-25 21:10:26 +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
94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +00:00
Adam Olsen
30ab9edcf3 Fix the teamkills when teamplay == 0 bug 2001-07-19 12:27:22 +00:00
Adam Olsen
1d4aa3b4eb Make sure netname is set to match the name infokey each frame 2001-07-19 11:56:52 +00:00
Bill Currie
64ecb99bfc Initial revision 2001-07-17 05:58:10 +00:00