Commit Graph

36 Commits

Author SHA1 Message Date
Finny Merrill 31fe80774c Preliminary cmd support. cmd weapon added, with one parameter.
"cmd weapon reload" now reloads your weapon

This is really cool! :D
2003-12-09 03:27:26 +00:00
Finny Merrill cbbb790bb6 Removed lastframe_time because frametime does what I want (I hope). 2003-12-01 22:48:14 +00:00
Finny Merrill 57485d53e3 Some tweaks to make things more regular:
- Autorifle accuracy no longer affected by FPS (I hope)
- Hoverboots no longer affected by FPS (I hope)
2003-11-27 18:24:37 +00:00
Finny Merrill dcf26d4d2f - Added autouse, Hitting a build with a spanner will now automagically
do what you want! For unhacked enemy builds it will dismantle. For other
  builds it will first repair, then recharge/refill as appropriate.
  For dispensers it refills armor first, for sentries it refills shells first.

- There's now a cap on how much you can repair or recharge your builds each
  time (can be turned off with setinfo instant_repair/setinfo ir).

- Fixed some code which caused warnings, including putting coop.qc back into
  progs.src (because we need it for DoorShouldOpen)
2003-11-27 12:11:55 +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 59faa3569b make it so no_pogo_stick 1 doesn't cause the jump sound when the player
attempts to pogo stick
2002-09-10 04:46:51 +00:00
Timothy C. McGrath bde3685210 Reverted the name of petsdrown to allow_watermonsters, and switched the
simantics back as well. However, allow_watermonsters still defaults to 1 now.
Set to 0 to make monsters drown in water.

Tim McGrath
2002-09-08 02:12:15 +00:00
Bill Currie b3ba69216f fix the 'can't move after respawn' bug 2002-09-07 23:55:26 +00:00
Timothy C. McGrath 230ac4c9bf Shortened allow_watermonsters to petsdrown because it took up a lot of serverinfo space.
Also reversed the handling drowning pets - they no longer drown unless you specifically
set petsdrown to 1, and the default is 0.

Tim McGrath
2002-09-07 17:09:28 +00:00
Bill Currie f0a37abbd1 the server doesn't like think being NIL :/ 2001-11-10 06:35:43 +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 111cb080d8 the break builtin doesn't parse now that qfcc has break 2001-10-25 16:41:11 +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
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 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 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
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
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 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 7498c71ee5 fix the field stuck test and rename CONTENT_* to CONTENTS_* to match the
server source.
2001-07-31 17:08:59 +00:00
Bill Currie e8f26cda79 declare testentitypos and hullpointcontents 2001-07-27 23:07:55 +00:00
Bill Currie 0b26250285 use getboxbounds to calculate absmin and absmax of tfield 2001-07-27 06:39:42 +00:00
Adam Olsen e6c4475eb5 add .vector forcefield_offset, use it instead of .angles 2001-07-26 19:09:24 +00:00
Adam Olsen ba00cfd56c Allow unaligned forcefields. They mostly work, but there seems to
still be some issues with rotated bboxes in the engine.
2001-07-26 18:22:56 +00:00
Zephaniah E. Hull b743ed605b Uses PF_checkmove! 2001-07-25 22:15:15 +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 94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +00:00
Adam Olsen 1100082217 - added some items to BUGS and TODO
- reworked map cycler so that it saves the map number to
  cf/nextmapnum, and restores it in case of a crash
- add a cyclenow infokey, which causes the timelimit to be hit
  instantly.  needed because the map cycling doesn't kick in until the
  timelimit is reached
- add cf/mapcycle which contains the names of maps to be cycled
  (seperated by nuls).  it overwrites the normal "exec
  qwmcycle/map1.cfg" behavior.
- change the MOTD time to 15 seconds (from 24.2)
- make mapcfg.cfg exec'd if mapcfg is enabled (so you can reset the
  config vars
- add a thing to enable sv_gc if it's disabled.  (I'm using string
  appending now)
2001-07-23 15:08:39 +00:00
Bill Currie a1ee1acd9e heh, --no-cpp is no longer needed. a stray \ was causing the problem 2001-07-20 20:40:46 +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
Adam Olsen 2626a7830b change a couple fieldgen fields so they're unique instead of overloading. 2001-07-19 14:48:59 +00:00
Adam Olsen 376eba2f8d Various fixes to bring things "up to par". It should all work now :) 2001-07-19 05:46:41 +00:00
Bill Currie 64ecb99bfc Initial revision 2001-07-17 05:58:10 +00:00