Commit Graph
7015 Commits
Author SHA1 Message Date
fgsfds a1af5b655a Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-28 18:46:13 +01:00
fgsfds 33cc89e8fd Merge pull request #371 from Calinou/add-crosshair-health-option
Add an option to color crosshair according to player health + shield
2024-01-28 18:39:05 +01:00
Hugo Locurcio 02d7efb87f Add an option to color crosshair according to player health + shield
Shield is taken into account and is added to health for the calculation,
as the vast majority of damage types are fully blocked by a shield.

3 modes are available:

- Off (default)
- On (Green): Goes through a red-yellow-green-cyan gradient,
  closer to vanilla.
- On (White): Goes through a red-yellow-white-green gradient,
  closer to games like Xonotic.

When set to either of the On modes, the crosshair color setting
is ignored but the crosshair alpha setting is still used.
2024-01-27 19:21:05 +01:00
Hugo Locurcio 1f4d9c8cdc Always hide crosshair when dead
Previously, the crosshair would show up during the death animation
if Always Show Target is enabled or if aiming just before dying.
2024-01-27 19:19:06 +01:00
Adriano Bini b954e3ce80 Changed server footer color to more readable green 2024-01-27 02:17:48 -03:00
fgsfds 35be4d589e Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-16 01:57:15 +01:00
fgsfds 474a6df3d4 port: add spawn with weapon mp option
unfortunately it does not fit in the save buffer and won't save
2024-01-16 01:56:30 +01:00
fgsfds 7288947390 port: net: handle UCMD_ACTIVATE as a press 2024-01-16 01:27:03 +01:00
fgsfds c444e76ecb port: net: skip intro cutscene if netgame requested on command line 2024-01-15 13:10:57 +01:00
fgsfds c5a088e7b8 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-15 11:40:30 +01:00
fgsfds e53f26f3eb port: fix #347
patch submitted by Ryan Dwyer

The patch allows all humans/bots to be selected regardless of team. It also adds a check to make sure a bot is not given a command to attack itself.
2024-01-15 09:47:52 +01:00
fgsfds 81313f0c4e port: ifdef around sight scale changes 2024-01-14 21:21:19 +01:00
fgsfds cf5588478b Merge pull request #332 from Calinou/add-crosshair-size-option
Add a crosshair size option
2024-01-14 21:21:03 +01:00
fgsfds d9cb850848 Merge pull request #333 from AXDOOMER/port
Always use high detail weapon models
2024-01-14 21:20:36 +01:00
fgsfds 8e443d4830 port: ifdef around sight scale changes 2024-01-14 21:13:31 +01:00
fgsfds de14f90daf Merge branch 'port-net' into add-crosshair-size-option 2024-01-14 21:11:44 +01:00
fgsfds 9afc7e113e Merge pull request #333 from AXDOOMER/port
Always use high detail weapon models
2024-01-14 20:49:20 +01:00
fgsfds fbfe4b4564 port: net: allow up to 120fps in netgames 2024-01-14 20:48:22 +01:00
fgsfds 7ec54e6d0b port: net: fix team/handicap menus with 5+ players 2024-01-14 17:54:16 +01:00
fgsfds e688a1c6e6 port: net: do not assume contiguous player slots 2024-01-14 17:36:19 +01:00
fgsfds e44298d0c2 port: net: fix player options not working in SP 2024-01-14 17:15:43 +01:00
fgsfds 31cd8fc28a port: net: fix #328 2024-01-14 15:49:18 +01:00
fgsfds 511d6ca299 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2024-01-07 22:06:47 +01:00
fgsfds b9db86f89b port: add command line parameter to select player file 2024-01-07 22:05:31 +01:00
fgsfds 33f6d643be port: net: add command line arguments for quick hosting and joining 2024-01-07 22:01:20 +01:00
fgsfds 9f6b21e870 port: net: fix main menu lockup after playing a 5+ player game 2024-01-07 20:52:31 +01:00
fgsfds 4eca4a1f07 port: net: fix a bunch of access violations 2024-01-07 19:54:27 +01:00
Alexandre-Xavier Labonté-Lamoureux f4ec781b8e port: always use high detail weapon models 2024-01-06 02:58:54 -05:00
Hugo Locurcio 5e256ea406 Add a crosshair size option
5 sizes are available (from 0 to 4), with 2 being the default vanilla-like
value.

Size 0 is a dot with alpha adjusted to match the crosshair color
settings.
2024-01-05 20:21:44 +01:00
fgsfds 0737c688d7 port: net: don't explode in menu code with > 4 players 2024-01-04 00:00:14 +01:00
fgsfds 36a692991f port: net: transmit more player options; allow headroll death in netgames 2024-01-02 00:44:08 +01:00
fgsfds ca0e3c3060 port: net: disable headroll in netgames 2024-01-01 21:25:36 +01:00
fgsfds b74cd095a1 port: net: better gun and crosshair position sync; fix zooming guns 2024-01-01 20:18:32 +01:00
fgsfds 2c0a0a1337 port: net: don't play death music, pain and pickup sounds from other players 2023-12-30 14:32:35 +01:00
fgsfds 7f92551d5a port: net: don't create hudmsgs for other players 2023-12-30 13:21:36 +01:00
fgsfds f54dbb596e Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2023-12-30 12:20:03 +01:00
fgsfds 49f607dd79 port: fix pal and jpn builds 2023-12-30 12:19:36 +01:00
fgsfds f46e112c3d port: net: fix dualwielding, probably; bump protocol version 2023-12-29 02:06:12 +01:00
fgsfds 65589e2fd2 port: net: sort of sync lifts; bump protocol version 2023-12-28 22:43:27 +01:00
fgsfds 53fbbb8a10 port: net: fix teams in netgames 2023-12-28 21:38:17 +01:00
fgsfds 7bee9cdcfc port: net: sync instant environmental death 2023-12-28 12:45:18 +01:00
fgsfds 312c752205 port: net: set client rng at the same time the server sends it 2023-12-28 12:10:43 +01:00
fgsfds 7abebe7405 port: net: don't end match locally on the client 2023-12-28 11:58:38 +01:00
fgsfds ebc126f837 port: net: disable pause in netgames 2023-12-27 19:30:29 +01:00
fgsfds 67bc9c4858 port: net: ignore handicap in netgames 2023-12-27 16:08:49 +01:00
fgsfds c4a3c18208 port: net: clarify chrslots 2023-12-27 16:08:41 +01:00
fgsfds fe4d86fae1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2023-12-26 22:58:20 +01:00
fgsfds 3c62a967a2 port: display branch name in legal screen 2023-12-26 22:58:08 +01:00
fgsfds 04f95ed1d1 port: net: experimental 8 player support 2023-12-26 22:48:28 +01:00
fgsfds e85cc3b309 port: net: hardcap fps to 60 if in network game 2023-12-24 17:14:19 +01:00