Commit graph

265 commits

Author SHA1 Message Date
Finny Merrill
6170af7519 Added debugging prints... 2003-12-09 20:16:51 +00:00
Finny Merrill
568c4e78f7 So THAT's why they use real_owner instead of owner!
This hopefully fixes shambler-goes-nonsolid bug.
2003-12-09 03:32:22 +00:00
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
46826ceba3 Tee hee, overflow 2003-12-06 04:14:18 +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
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
512ce1bc1b Oops! Flash grenades don't go through walls anymore! 2003-12-01 22:41:49 +00:00
Finny Merrill
0e1892532c More EMP tweaks. Now they blow up buildings' ammo too, but buildings are
20% resistant to EMP (50% if they have hacked armor).
2003-12-01 03:23:40 +00:00
Finny Merrill
78f0a0474e Dropitems works again! We thought the flag was in goal_result but it's in
goal_activation. Hahe.

Also, infokey "ad" or "always_drop" set to "yes" "on" or "1" makes dropitems
always work.
2003-11-30 01:06:48 +00:00
Finny Merrill
06921195fa A few debugging prints to help me with something... 2003-11-30 00:12:57 +00:00
Finny Merrill
aac67f34f0 Fixed bug in debug.qc which made non-debug releases stackfault. 2003-11-29 22:54:43 +00:00
Finny Merrill
5bfb4cb5aa fixed a bug where it "buzzed" h2ojump.wav if you touched ground underwater 2003-11-29 17:22:03 +00:00
Finny Merrill
085cf83564 More airfist tweaks 2003-11-29 15:45:56 +00:00
Finny Merrill
f9515fb630 Railgun back to original speed (whoops) and another tweak 2003-11-29 15:08:37 +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
2b4b5f3719 Turned off using boots in any direction, it was broken; people could
speed up a lot by sliding off the ceiling
2003-11-29 10:57:38 +00:00
Finny Merrill
da80934d1c Fiddled a bit with flash grenades. Now the effect is more realistic: anyone
who sees a flash gets a .1 second bright flash and then darkness for 60 seconds,
gradually lightening up.

I've noticed this doesn't work in water. Has flash always not worked in water?
2003-11-29 08:15:31 +00:00
Finny Merrill
fdfe205c63 A few airfist tweaks 2003-11-28 03:52:00 +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
f8e5f0ce58 added a new TODO item 2003-11-27 08:04:04 +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
9be57e3cd1 Forgot to comment out that line.. 2003-11-26 08:58:34 +00:00
Finny Merrill
19b51f1ced demoman gets a full 100 health now, in exchange for losing that mirv 2003-11-26 08:57:05 +00:00
Finny Merrill
d646013ec5 Can no longer judo invincible people. 2003-11-26 08:56:01 +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
f865e4e952 need --advanced now 2003-09-23 16:39:05 +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
bffdadb692 reflect the new meaning of no_pogo_stick 2002-09-14 03:33:18 +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
Bill Currie
1523cb0291 hopefully fix the teleporter spam making it impossible to customize 2002-09-10 02:19:36 +00:00
Bill Currie
6e377365b9 increase excess cell costs and lots of whitespace 2002-09-09 17:08:38 +00:00
Bill Currie
6cb0b290e8 turns out it was a case of mangled build. 2002-09-09 04:51:01 +00:00
Bill Currie
b6169b3113 revert my movement hack to prevent scouting as it's causing problems 2002-09-09 04:18:07 +00:00
Bill Currie
5bd65227de clear self.fire_held_down in PutClientInServer so fireing works if the
player dies while firing the autocannon
2002-09-08 02:24:03 +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
4e75f3c83e some cleanups 2002-09-08 01:44:11 +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
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
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