Commit graph

111 commits

Author SHA1 Message Date
Zack Middleton
08872e95e0 Fix func_breakable being destroyed with one shot
A use function was added to func_breakable so it can be destroyed when
triggered by an entity but it stopped using health when shot.

Issue introduced in e0418bd2d4.
2023-06-06 03:40:34 -05:00
Zack Middleton
ed6fbd1796 Fix players in race spawning with invisible gauntlet 2023-06-06 02:44:53 -05:00
Zack Middleton
c37b8b8f52 Restore machinegun in non-race gametypes
The change to have gauntlet in race had no effect as gauntlet is
removed a few lines below.

See commit b9c6fc91af.
2023-06-06 02:41:22 -05:00
Zack Middleton
51578c980c Fix bots going in reverse for no reason in races
On some maps bots went in reverse right away or got (almost to?) the
first checkpoint and then went in reverse forever. Race movement uses
derivatives on a curve but they seem to be invalid at fraction 0 and 1
so limit it to 0.05 to 0.95 (arbitrary).

This change fixes bots being stuck near the beginning of q3r_nightcity,
q3r_ridgeracer, and q3r_valley. The bots can complete the maps now.
2023-06-04 19:10:52 -05:00
Zack Middleton
43101bf2f8 Fix out of range death events
Event EV_DEATH1 + sv_maxclients was sent when a player dies. This
is the wrong event. For sv_maxclients 10, CGame errors out because
EV_BREAK_GLASS isn't implemented.

EV_DEATH1 to 3 exist for different animations/sounds in Q3.
Specifically EV_DEATH1 + i is used. "i" for this was removed in
Q3Rally but "i" exists at a higher scope for iterating through
clients.
2023-06-04 14:29:22 -05:00
Zack Middleton
5da196639f Fix event names for debug messages 2023-06-04 14:28:17 -05:00
Zack Middleton
22a0949a26 ioquake3 resync to commit 4610a240 from bc8737d7
Upgrade to build and run from VS2019
Upgrades to Xcode project and Apple Silicon support
Update SDL2 to 2.0.14
Updated SDL2 include files to fix Mac build in GitHub Actions
Added another mention of arm64 to command line help
Restored original opus sse files, excluded from Xcode
Added arm64 to the post-build symlinking step
Merge branch 'main' into xcode
Merge branch 'main' into vs2019
Added shell script to compile Universal 2 binary (x86_64+arm64)
Reverting alert style to deprecated methods
Upgrades to Xcode project and Apple Silicon support
Update SDL2 to 2.0.14
Added another mention of arm64 to command line help
Restored original opus sse files, excluded from Xcode
Added arm64 to the post-build symlinking step
Added shell script to compile Universal 2 binary (x86_64+arm64)
Reverting alert style to deprecated methods
Merge branch 'xcode' of https://github.com/tomkidd/ioq3 into xcode
Removed signature from SDL dylib, enabled dark mode on macOS.
spaces > tabs
Ad-hoc signed libSDL2-2.0.0.dylib
Fix compiling against SDL 2.0.17
UB2 now signs and notarizes, upgraded to SDL 2.0.16
Architectures in libSDL2 restored for ppc and i386
Merge remote-tracking branch 'upstream/main' into vs2019
Update SDL2 to 2.0.16
Added rudimentary support for automatically finding Microsoft Store version of Quake 3
GHA deprecated Ubuntu 16.04 - update to 18.04
qsort cannot be called with NULL
Merge remote-tracking branch 'upstream/main' into vs2019
Addressed string concatenation issue and added dummy method for Mac/Linux
Added missing variable.
Merge remote-tracking branch 'upstream/main' into xcode
Updated SDL 2.0.16 headers and Mac version of libraries to fix GitHub actions
Addressed PR suggestions
Modified MS Store path handling to better follow the pattern of Steam/GOG
Merge pull request #481 from tomkidd/xcode
Merge pull request #482 from tomkidd/vs2019
OpenGL2: Fix r_grayscale 1 making everything solid black
Print full GL_EXTENSIONS list for OpenGL contexts before 3.0
Fix being unable to enter Team Arena CD key
OpenGL2: GL_DEPTH_TEXTURE_MODE was removed from OpenGL 3.0/Core
Improve setting Microsoft Store path
Update building for macOS in README
Make macOS arm64 default to target macOS 11 in Makefile
Fix error when cross-compiling for macOS arm64 using Makefile
Fix passing arguments to VM dylib on Apple M1
Fix compiling on older macOS
Fix memory corruption in S_TransferPaintBuffer
Fix memset
Fix hex digit
Fix uninitialized variable
some old URL and doc updates
Update README.md
Update FUNDING.yml
code/curl: update ifdef condition for MCST-LCC compiler in mcst-lcc compiler => 1.25 added a new macro definition to determine compiler
Revert "code/curl: update ifdef condition for MCST-LCC compiler"
Revert "E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option"
More predictable mesh normals generation
vm_x86.c: Add `defined(_M_IX86) || defined(_M_X64)` (fix for VS2019)
Add keys for SDL 2.0.14's new gamepad buttons
Fix in_availableJoysticks cvar not updating
Fix (disabled) Wavelet sound decompression
Update to SDL 2.24.0 and add separate macOS UB2 dylib
Update macOS UB1 to SDL 2.0.22
Fix running make-macosx{,-ub2}.sh on Linux
Update MSVC .lib files to SDL 2.24.0
2023-03-02 23:13:18 -06:00
perle
b9c6fc91af new roadmap 2023-03-02 21:44:38 +01:00
P3rlE
e0418bd2d4 Added more options to func_breakable
!!! use the new entities.def !!!
2022-03-19 21:49:08 +01:00
P3rlE
286579e497 Normalize all the line endings 2022-03-03 21:58:53 +01:00
insellium
aff6156a3f Changes for upcoming 0.4
Added new car - Lotus
Disabled sv_pure for reflect & plate fix
Changed default settings in code
2022-03-02 14:38:24 +05:00
P3rlE
738bc1b80c make quad glow purple
quad purple glow
some preparations for 0.5
2022-03-02 05:55:45 +01:00
P3rlE
fc96a4a2ca Some changed stuff 2022-02-14 19:19:42 +01:00
P3rlE
aa25dbacbc - fixed (hopefully) railgun bug
- added medal for telefrag
2022-02-05 21:49:34 +01:00
P3rlE
97c4bd4295 Impressive Medal now given by frag, not by hit 2022-02-02 23:59:26 +01:00
zturtleman
6f468b0443 Fix auto added third sigil when only two sigil exist in the map.
If the item that is converted to the third sigil had "count" set on the entity in the map, it would be impossible to pick up.
2022-01-15 03:01:05 +00:00
zturtleman
755736061c Only show as many Domination sigils on the HUD as exist in the map. 2022-01-15 02:56:10 +00:00
zturtleman
7edcfd0e0a Fix Domination sigil HUD status icons at the top of the screen. 2022-01-15 01:46:02 +00:00
zturtleman
146f909848 Fixes for Domination found when looking at the code. Whether they were causing noticeable issues is unknown. This breaks network compatibility with past release's QVMs (this is handled by GAME_VERSION).
- CS_SIGILSTATUS used the same configstring index as a G_ModelIndex(); CS_MODELS to CS_MODELS + MAX_MODELS
- PW_SIGILWHITE, etc powerups were out of bounds for ps.powerups[] (see MAX_POWERUPS) and read ammo values
2022-01-02 19:58:57 +00:00
q3rally
7c932fe29a lowered the frag bonus from 5 seconds to 0.5 seconds
version upcount
2021-11-11 18:04:58 +00:00
q3rally
24b46797a3 new health box fits now into the hud
tweaked the fpsmax in rearview mirror
version upcount
2021-09-26 20:53:21 +00:00
q3rally
865ce7e554 railgun bug should be fixed now 2021-09-21 17:03:15 +00:00
q3rally
84d8c60a4e changed "SIGIL" to "Control Point"
changed "Regenaration" to "Auto Repair"
Modified the Chat position
2021-09-21 12:46:07 +00:00
q3rally
8be1b5b71d added aas file for battlecanyon
fixed bug #39 (plasmagun alt fire)
2021-07-27 20:57:01 +00:00
q3rally
d4d94bd63d Added the new sigils and icons from insellium codewise
version upcount
2021-07-08 09:31:01 +00:00
q3rally
6c8224cce7 homing rockets now shootable
adjusted rocket speed
2021-06-24 20:34:54 +00:00
q3rally
64ee3a5374 power of the homing rockets decreased
version upcount to v0.3c
2021-06-15 16:15:53 +00:00
zturtleman
62467f97b9 Fix losing race rank after finishing if following other player
If you finish the race and then follow another player (fire and then
rear fire to switch to SPECTATOR_FOLLOW) and then after other player
finishes and there is no one else to follow the game switches you
to SPECTATOR_FREE. This calls ClientBegin() which clears most of the
game client data, including the finishRaceTime. This puts the player
in last place on the scoreboard.
2021-06-15 10:30:30 +00:00
q3rally
cad778cadc Added 4-Team-Domination
Added default bots to arena files
2021-06-11 04:29:41 +00:00
zturtleman
1568196e27 ioquake3 resync to revision 6920 from 6893.
Updated to latest recommended build settings, increased deployment target to 10.7
Further tweaks to Xcode project
Now works as well as possible in Xcode 11
Figured out method of referencing GLSL generated C files outside of code directory
Update README.md
Add C syntax highlighting to readme
Simplify glsl -> C stringification
Make LCC path resolution more robust
GitHub Actions setup
Remove old CI system configurations
Add status badge to README
Fix shader stringify
Run apt-get update before installing deps
Avoid platform sed differences
Run actions on pull request too
Use `r_texturemode GL_LINEAR_MIPMAP_LINEAR` by default
[sdl] Turn tentative definition into actual definition.
Add TOOLS_CFLAGS to build preamble
Fix use of TOOLS_CC being reported as CC
Use the correct compiler for tools when cross building under cygwin
Allow using pulseaudio for SDL audio capture
Restore bots crushing unseen player on q3tourney6 in non-CTF
Fix the number of weights in the IQM model calculation
Fixes a crash when compiling the project on windows in 64 bit mode.
2021-06-07 09:11:19 +00:00
q3rally
ae3c64ee50 commit for 0.0.3.0 release (code freeze)
tweaked telefrag gun
updated roadmap
updated discord logo in main menu
version upcount
2021-05-13 16:02:43 +00:00
q3rally
521d68adc2 finished the alt fire for railgun (telefrag gun) 2021-05-11 11:02:37 +00:00
q3rally
c16d8e6e49 fixed bug in bot path creation system (thx zturtleman)
added discordlogo.tga
added reflect image for babel (by insellium)
2021-05-05 18:38:41 +00:00
q3rally
65ffc81230 2021-04-11 09:51:15 +00:00
q3rally
4f04a97fdf worked out the surfaceparms stuff
added visual effect for SURF_SNOW (needs fixing)
deleted useless surfaceparms files
2021-04-03 23:31:23 +00:00
q3rally
62c09831da Changed years in file headers 2021-03-24 20:13:01 +00:00
q3rally
d4f45f9e60 added new/tweaked headmodels by insellium
changed gauntlet to chainsaw
code changes for chainsaw
fixed q3r_david4 map
tweaked flag models again
new unknownmap image
2021-03-14 22:13:21 +00:00
q3rally
57d3c2b6b2 did a little workaround for the grenade launcher
still wip
2021-02-23 22:02:53 +00:00
q3rally
931f952063 fixed grenade launcher physics 2021-02-19 22:13:57 +00:00
q3rally
58ba3168dd lowered the power of the railgun 2021-02-18 11:46:04 +00:00
zturtleman
0a5535d81a Fix team ranks and ScoreIsTied() in Game VM
There was an off-by-one when checking team scores array. Red checked FFA
team, blue checked red team, and so on for green and yellow teams.

So when blue was winning the game thought score was tied (FFA and red
scores at 0) and did not check if blue reached the capture limit.
2020-07-12 00:01:32 +00:00
q3rally
277ac2f654 reworked shaders and ammo boxes 2020-07-04 20:40:00 +00:00
zturtleman
9b86138351 ioquake3 resync to revision 3550 from 3534.
Fix IQM quat normalize fail case
Remove erroneous newlines from Com_Error in sdl_glimp.c
Restore OpenGL 1.1 support (GL_CLAMP)
q3rcc: Allow to override build date
Fix lightning gun handling for corpses and single player podiums
Fix for macOS Catalina screen resolution issue
Fix team orders menu not listing clients with lower clientnums
Fix duplicate team join center print for bots and g_teamAutoJoin
E2K: fixed build by MCST lcc compiler when using USE_CURL=1 option
2020-03-15 19:40:23 +00:00
zturtleman
d1c5c322ed Don't add points in domination after intermission starts. 2019-05-22 00:13:39 +00:00
zturtleman
b053cc7144 Count down health to 100 in DM/CTF/DOM too. 2019-05-21 05:02:07 +00:00
zturtleman
ee81ee56d9 Fix crash starting domination gamemode and misc issues
Fix warning not being printed when there are no domination sigil entities.
Fix out-of-bounds crash at map load due to setting negative status for all sigil at once.
Fix setting pointers to teamgame.sigil[].entity (entity name check was case sensitive and test map is different).
Fix ignoring third sigil and later spawning an extra one later.
Fix check for modified status in Team_SetSigilStatus().
Fix null pointer crash if domination map doesn't have at least two sigil entities.
2019-05-21 04:24:24 +00:00
zturtleman
dd1c25ea9e Fix flame thrower model (Linux), flash, ammo, and explosion
Convert TGA to tga in flamethrower.md3 so it works on Linux (case sensitive) when data is not zipped.
Add flame thrower muzzel flash shader to it doesn't have a black background (copied machine gun's flash shader).
Fix flame thrower using BFG ammo model name in code/game/bg_misc.c.
Fix flame thrower ammo shader (filename typo).
Fix flame explosion in code/cgame/cg_weapons.c.
Rename gfx/color/black.tga to gfx/colors/black.tga like explosion (and other) shaders expect.
2019-05-16 23:11:02 +00:00
q3rally
e8d2946d6c New gametype - Domination
*** still needs some fixes ***
2019-04-26 08:33:54 +00:00
zturtleman
6bc3b33eab ioquake3 resync to revision 3522 from 3511.
Fix axis returned by IQM's LerpTag
Calculate bounds for unanimated IQM models
Fix loading favorites as initial source in server browser
Improve finding obelisk entitynum for bot AI
Fix SDL audio playback with surround sound
Fix predicting entity origin on rotating mover
Allow binds to use hex values for all key codes
Disable pulseaudio capture regardless of SDL version
Fix SDL audio playback with 16-bit stereo sound
Make s_info command display channels instead of stereo
Fix cross-compiling using mingw-w64 on Ubuntu 18.04
2018-10-16 17:48:51 +00:00
q3rally
d0f6099cc1 not changed anything, just some tryouts 2018-09-07 23:39:04 +00:00