Commit graph

43 commits

Author SHA1 Message Date
Finny Merrill
75d68b9b6d Preliminary new conc stuff
EMP grenade bug fixed
2004-01-06 02:47:24 +00:00
Finny Merrill
6e03505c11 Sniper rifle tweaks: removed "new" autorifle, added a #define NO_AUTORIFLE
(which is going to be the default, don't whine). Old autorifle still there
and working as it was.

Sniper rifle now takes 5 shells per shot, OTR or not.
W_FireSniperRifle fixed so it's not squaring the damage (ARGH)
Added a damage cap on legshots.
Sniper rifle reload time lengthened.
2003-12-02 03:20:33 +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
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
a9251b65b3 more patches from Griever: among other things, lets you select the old
autorifle with a serverinfo
2003-11-16 00:43:31 +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
e8bb47a3e4 nuke the admin guff 2002-10-10 00:43:28 +00:00
Timothy C. McGrath
87898fc903 Narrowed cone of the light assault, and gave rockets slightly more bang for the buck.
Tim McGrath
2002-10-06 04:09:01 +00:00
Timothy C. McGrath
14edab67df Super shotgun looks better with two randomly placed shots. 2002-10-06 03:54:50 +00:00
Timothy C. McGrath
87a96d06c8 Lowered shotcount for ssgun to 12 because that's what it used to be :)
tim mcgrath
2002-10-06 03:22:15 +00:00
Timothy C. McGrath
540cc6c66d White space, indenting, reverted RNG for firebullets. Shotgun, supershotgun, and light assault had spread adjusted. Judokaers no longer get a free ride when they steal assault cannon. Yes, you now need to have enough ammo to use it. Damage and cell use adjusted for the lightning gun. (Causes more damage over a shorter period of time now) Lots and LOTS of old commented out code dropped. 2002-10-05 08:03:57 +00:00
Bill Currie
6e377365b9 increase excess cell costs and lots of whitespace 2002-09-09 17:08:38 +00:00
Bill Currie
4e75f3c83e some cleanups 2002-09-08 01:44:11 +00:00
Timothy C. McGrath
1e27af318b A person who wishes to remain anonymous contributed this. It's a tweak for
the discharge on the lightning gun. If you read the code it's fairly obvious
what it does - sustains a sane amount of damage over a longer period of time,
you won't discharge the entire amount over 100 all at once anymore. Makes it
impossible to do instant kills obviously, but makes it better IMHO.

Tim McGrath (Hikaru/Misty)
2002-09-02 02:28:32 +00:00
Timothy C. McGrath
c8157f4105 Fixed the lightning gun 'target bounces' bug. This was in the original quakec for customtf, but apparently never was being evaluated correctly
before someone fixed it for quakeforge aaaaandd.... IMHO, people shouldn't bounce into the air like they're on trampolines when you hit them
with the lightning gun :)

Also edited the way excess cells are discharged. No longer is there a cap on the minimum amount of cells that can be evaluted.
Original code made it so that if you had 101 cells and discharged it was the same as if you had 175... IMHO, not funny :)

Also, the excess cells output power is no longer dropped by a third of normal - I may change this back if there are problems with the lg
being too easy to kill people with excess cells... But then again, by nature excess cells are a one time shot - if you miss, they're gone.

Tim McGrath (Misty)
2002-05-13 16:12:26 +00:00
Bill Currie
5a29efb8e2 fix some var shadow bugs 2002-02-23 18:12:21 +00:00
Adam Olsen
1e8575dbf7 - fix the "flying tesla" bug (and a little whitespace beside it)
I compiled it, but I'm too lazy to test it.
2001-11-22 17:31:11 +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
23d81b1e8c fix some uninitialized variables that qfcc has so far detected 2001-10-18 20:10:39 +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
d9a3e54a66 - make medic axes trigger buttons 2001-10-13 01:33:54 +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
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
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
Bill Currie
0c44060141 clean up all the unused local vars found by qfcc 2001-09-23 04:25: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
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
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
Adam Olsen
8429a59e80 - reenable all those aura sounds, since we have them now
- change mass cure range to 1000 (from 600), since I like it better that way :)
2001-07-30 20:44:34 +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
94baf9dbcb dist qfpreqcc for cpp. much faster compilation. seems to work, too. 2001-07-23 20:52:47 +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