Commit graph

133 commits

Author SHA1 Message Date
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
0dc44cb1ac - comment out the double-remove check, since the engine should handle
that now
- add an ASSERT macro, not that it's used
- change the build placement distances from +30 - -20 to +50 - -40
- add DMSG_MARTYR handlers, which will hopefully make the BUG deaths
  stop
2001-10-17 03:28:37 +00:00
Adam Olsen
ac4e5a8adb - fix double-remove of exploding mines 2001-10-15 05:43:35 +00:00
Adam Olsen
1171a6ffe4 - make the grapple set the player's gravity to 0 when it's active,
then to 1 again when it's released.  stops that annoying bobbing
  effect.
- also reindent one of the functions, since it annoyed me so much
2001-10-14 00:57:50 +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
0cb97bdfbc - fix the "infinite sensors with aura of resistance" bug 2001-10-13 19:44:27 +00:00
Adam Olsen
d9a3e54a66 - make medic axes trigger buttons 2001-10-13 01:33:54 +00:00
Adam Olsen
63999de0a0 - don't recheck the placement location if trace_fraction == 1 2001-10-12 23:28:18 +00:00
Adam Olsen
81f9c7f253 - add a ALLOW_RCON_ABUSE define, so that stuffing commands to the
clients can be disabled (the default)
- fix teleporter space checking to only check the space a player would
  take up
- add a check so that teslas can't get negative health when hacking.
  (shouldn't happen?!)
- clean up building placement, so that anywhere from 20 below to 30
  above your feet is fair game.  it then checks for solid a second
  time if the top was solid
- add defines for checkmove (SV_Move wrapper)'s type field
  (MOVE_NORMAL, MOVE_NOMONSTER, MOVE_MISSILE)
- add a printtrace function, since I do it so often in debugging.
- BUGS, TODO
2001-10-12 06:10:59 +00:00
Adam Olsen
3d3c7170fc - reduce build drop distance from 128 to 64
- fix the "building in wall" tests when over a doorway
- change a message :)
- add the initial code for checking if a sentry is in a wall.  doesn't
  work yet though, so it's commented out.
2001-10-11 04:18:32 +00:00
Adam Olsen
1df4a0fd59 - return to old behavior of assault cannon has 2048 range, rest have
1024
- increase assault cannon damage from 5 to 8 (since it doesn't fire as
  much as it used to)
- reduce light assault damage from 4 to 3
- give light assault the same spread as an assault cannon
2001-10-09 12:25:52 +00:00
Adam Olsen
f7f447b6f0 - handle cases in Give_Frags_Out where atk or targ are world 2001-10-08 22:11:20 +00:00
Adam Olsen
5f966cf9a3 - fix timeleft so that it sets serverinfo, not localinfo. oops :)
- make it so spies remove their timer if they abort disguising
2001-10-08 19:13:33 +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
c04bac87f3 - gib people who leave the map :) 2001-10-07 22:47:59 +00:00
Adam Olsen
5ec3dff93e - totally disable TeamFortress_ChecKTeamCheats
- fix GetNoPlayers (didn't init num_players)
- overhaul the map cycler
  - automatically restart if a cyclenumber doesn't work
  - fix minp/maxp
  - exec mapcfg.cfg each map change  (affects minp/maxp)
  - exec mapcfg/MAP.cfg each map change.  (affects minp/maxp)
- fix a "rockets explode on observers" bug
- make it so colors aren't reset every time you respawn
2001-10-07 22:15:22 +00:00
Adam Olsen
a1ecc5dda3 - BUGS/TODO
- clean up GetNextMapNum, as well as handling an unset maxmapnum
- remove an extra obituary print (leftover from my cleanups)
- cleanup UserInfoCallback a bit
- little tweak to Multi_Finish
- make it so friends{1,2,3,4}_mask infokeys override the map values if
  set, so you can force friendly teams on broken maps
2001-10-05 23:05:28 +00:00
Adam Olsen
01a28bdf9d - a crusader aura robustness fix (shouldn't ever happen, but
apparantly does)
2001-10-05 22:58:43 +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
05c05180dc - rename ClientObituary to Obituary
- rename Obit_* to Obituary_*
- further cleanups of Obituary_Player.  This is about as clean and
  uniform as it's gonna get.
2001-10-02 01:24:28 +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
Adam Olsen
14651ae7ef - couple bugfixes related to assault cannons
- cleanup of FireBullets and friends
- changed how damage is handled with assault cannon.  probably alot
  more powerful now
2001-09-26 03:59:53 +00:00
Adam Olsen
747b0a4760 - fix a segfault due to uninited strings
- make concs not affect shamblers
- add a few items to BUGS and TODO
2001-09-23 21:31:06 +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
033b1f62fd - fix uninited variable 2001-09-23 01:58:13 +00:00
Adam Olsen
7c85b22fb1 - remove some unused local strings 2001-09-23 00:16:29 +00:00
Bill Currie
fe8bce0861 make self destructive goals work 2001-09-22 22:30:33 +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
3c8ef5221d - add a "improve_respawns" infokey, which improves the small or slow
respawns on mapload.  Doesn't work for maps which have several small
  items though.
2001-09-22 18:38:45 +00:00
Bill Currie
c136cf9787 or maybe not :( 2001-09-22 07:15:51 +00:00
Bill Currie
354669ad62 actually, I think Goal /is/ supposed to be removed, but remove it /after/ it's
no longer needed.
2001-09-22 07:11:29 +00:00
Bill Currie
6a0bd5c8d6 detpacks are meant to nuke the map, not the server. This is the correct fix
for the problem of detpacking a detpackable door resulting in the door not
opening and the next player connect crashing the server.
2001-09-22 06:53:00 +00:00
Adam Olsen
5300eb7a67 like duh :) 2001-09-22 03:13:49 +00:00
Adam Olsen
0c7ad5110b - foo 2001-09-21 15:28:24 +00:00
Adam Olsen
d607291546 - fix teleporters to not display if you don't have them
- disable topcolor change blocking for now
2001-09-21 14:13:52 +00:00
Adam Olsen
ad94b40139 - fix a soldier menu crash (doh!)
- remove the (long obsolete) sv_gc setting.
2001-09-15 23:54:08 +00:00
Adam Olsen
47c791ff19 - a few bugs I've had lying around locally 2001-09-15 23:31:34 +00:00
Adam Olsen
68424ae9b7 oops, don't want to display fieldgens on the build menu if you dont'
have them
2001-08-26 06:17:18 +00:00
Bill Currie
6debcdb4ed make all work 2001-08-24 23:34:42 +00:00
Adam Olsen
5e3fdef17b - remove some { from comments so it doesn't confuse vim
- make it print out the gamedir when it doesn't like it.
2001-08-24 05:48:29 +00:00
Adam Olsen
00e9ad1b99 oops, don't want that debugging print :) 2001-08-15 00:17:02 +00:00
Adam Olsen
3e8728a06c - cleanup the alias setting a bit. there's known problems, but I
think they're caused by something else
- fix how bubbles handle freeing.  (geeze, there's too many bubbles!)
2001-08-15 00:15:59 +00:00
Adam Olsen
ce66ef6e8e bleargh, revert all that :/ 2001-08-13 21:51:06 +00:00
Adam Olsen
89102c17c7 Start initializing things. Should work, but causes trouble, so the
offending code is commented out.
2001-08-13 21:25:26 +00:00
Adam Olsen
33ac007d15 - Fix printing of number of knife kills
- add a spawn wrapper, so we can guarantee certain fields are
  initialized.  (not that it initializes anything yet)
- removed some commenting that prevented GRUNTY_EXTRA_WEAPONS (a debug
  define) from working
- removed "hacked forcefield gets you teamkills" from BUGS list.
2001-08-13 15:39:14 +00:00
Adam Olsen
c662c418fe - fix the "teleporter causes 'sprint to non-client'" bug
- prevent building when a teleporter is too close to a wall
2001-08-13 13:02:54 +00:00
Adam Olsen
162a1e4caa - Rewrote the engie build menu
- made FFs so you can build them near eachother (or overlapping!)
- fix that annoying bug where people's colors kept going white
- I need to make the color defines (eg DARKBLUE) be the exact number,
  not number + 1.  (in the TODO now)
2001-08-13 12:20:39 +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
Bill Currie
8e2d5f66e6 back out the dynamic function changes. while a very neat idea, they're not
ready for production use as they break debugging (and traceon(?)/off).
2001-08-12 19:40:25 +00:00