smallmodel
d6d40975e5
Add more file debug print
2024-08-23 23:32:46 +02:00
smallmodel
8832fbe55d
Fix entities loopsound incorrectly having the streamed value at the end of the name, causing some sounds unable to load
2024-08-23 21:03:02 +02:00
smallmodel
f84ed6b794
Fix crash when loading from save, caused by incorrect client-game state size
...
Closes #343
2024-08-23 11:48:50 +02:00
Trung Lê
3b2e4ff9c1
Revert to original code
2024-08-21 00:18:38 +10:00
Trung Lê
1f4b7718e8
Refactoring gameExport_s::ReadLevel() and gameExport_s::WriteLevel()
2024-08-20 23:41:43 +10:00
smallmodel
377b0896c2
Fix drivable vehicle not having the death
waittill after loading from save
...
This caused some vehicles to be destroyed immediately after being handled from script (like the halftrack in t2l1)
2024-08-18 12:03:01 +02:00
smallmodel
6b3402c631
Fix actor accuracy being crazy, killing the player easily
2024-08-05 18:43:56 +02:00
smallmodel
d5da32b8a9
Fix AI damage
2024-08-05 18:43:40 +02:00
smallmodel
39b3ed3d44
Fix part blend mult being incorrectly archived
...
This may have been the cause of animations not properly playing and the player being unable to climb on ladders
2024-08-03 18:40:27 +02:00
smallmodel
6b89ec615a
Set damage angles only for mohaa 1.0-1.11
2024-07-27 19:45:18 +02:00
smallmodel
af432e6d3f
Allow pain if the current time is above the allowed next pain time
2024-07-27 19:37:05 +02:00
smallmodel
44c17409a7
Allow pain if the player dies
2024-07-27 19:33:39 +02:00
smallmodel
0f48c39bc1
Add more resilience against null entity in G_FixEntityPosition
2024-07-27 19:05:45 +02:00
smallmodel
572e6652cc
Fix followpath
not working under special circumstances
...
This fixes an issue where some planes (like the final bomber plane in t3l2) would not fly and look stuck
2024-07-27 19:05:05 +02:00
smallmodel
fecb601fc4
Clear velocity only if it's not ignored
2024-07-27 18:17:10 +02:00
smallmodel
7b238e9d34
Set new orders appropriately
2024-07-27 18:13:31 +02:00
smallmodel
73c8ff11b3
Call CurrentScriptThread() to get the current script, so it can throw an exception if the current thread is NULL
2024-07-27 18:03:41 +02:00
smallmodel
682dc89067
Add ignorevelocity argument for followpath
2024-07-27 17:54:48 +02:00
smallmodel
81df55310b
Fix medals always being awarded
...
This fixes #316
2024-07-23 19:53:40 +02:00
smallmodel
422bf647a7
Save the client-game state into the archive file (feature from moh spearhead 2.0)
...
This saves cgame data such as emitters and vss sources
2024-07-15 23:45:32 +02:00
smallmodel
81b86d61da
Fix read-only cvar being improperly archived
...
This caused cvars like `paused` being wrongly restored. If the `paused` value is 1 or above, like when saving from the menu, the game would get stuck loading the level because it's paused, no frame could be executed.
It also fixes cvars like `sv_fps`, `g_playermodel` not being archived when they should.
Fixes #326
2024-07-15 20:39:22 +02:00
smallmodel
5317b8424f
Prevents the player from walking
...
This fixes #275
2024-07-02 22:16:13 +02:00
smallmodel
040f8db0ef
Fixes wrong sound volume and pitch
2024-07-02 19:10:48 +02:00
smallmodel
dca9709b12
Fixes MASK_PLAYERSOLID
incorrectly using CONTENTS_WEAPONCLIP
instead of CONTENTS_PLAYERCLIP
for invisible player collision
...
This fixes #317 , fixes #319 and fixes #320 where the player would bypass clip/playerclip
2024-07-02 18:51:53 +02:00
smallmodel
408c901342
Fixes skyboxSpeed using an integer rather than a float
...
This fixes #313 where the skybox would be misplaced
2024-07-01 00:19:50 +02:00
smallmodel
9d654faa3d
As m_BlockedPaths
is an array of pathway_ref
, the proper delete
call must be used
2024-06-23 00:24:20 +02:00
smallmodel
1f0f5764a8
Added PathInfo() constructor initialization
2024-06-22 21:41:28 +02:00
smallmodel
01d938b5ba
Fixes some variables being uninitialized
2024-06-22 19:03:04 +02:00
smallmodel
5192d36f81
Fixes gametype incorrectly checked in G_InitWorldSession
2024-06-22 16:43:03 +02:00
smallmodel
e4d20c3fa1
Initialize explosion flash
2024-06-22 16:39:08 +02:00
smallmodel
e207715b5e
Initialize m_iLastTiresUpdate
2024-06-22 16:12:29 +02:00
smallmodel
bef1b456e1
Initialize all Ammo members
2024-06-22 16:11:03 +02:00
smallmodel
a5691d7779
Allows clients to join a single-player game
2024-06-16 20:48:34 +02:00
smallmodel
d1ecd4a3c8
Don't initialize client persistant data during autosave
2024-06-16 18:19:11 +02:00
smallmodel
5482b31c66
Reads the sv_privatePassword
value
2024-06-16 18:18:14 +02:00
smallmodel
15f2f6c798
Renamed g_session functions
2024-06-16 18:16:14 +02:00
smallmodel
46b3f4eb5e
Adds differentMap
parameter for G_ClientConnect, it clears the selected DM weapon.
...
On each map change, the player gets asked for the primary weapon like in 2.0 and above
2024-06-16 18:14:26 +02:00
smallmodel
bbb54ea36d
Uses LoopSounds() parameters instead of just the alias
2024-06-15 16:33:02 +02:00
smallmodel
cc716c3fa4
Don't process loopsound yet when spawning
2024-06-15 16:22:34 +02:00
smallmodel
40e3977664
Continue using entities even when attached to a turret, in 1.11 and below for backwards compatibility!
...
Fixes #140 where the MG42 objective in m1l1 would not trigger
2024-06-15 00:16:29 +02:00
smallmodel
91497d8fa7
Implements Player::EventTestAnim()
2024-06-14 21:20:15 +02:00
smallmodel
85bf56ae03
Call SetWeight() rather than setting it manually
2024-06-14 21:19:04 +02:00
smallmodel
84d702838d
Implemented Player::MeasureLandmineDistances()
...
This makes minedetector actually detect mines, especially on `e1l2`
2024-06-13 23:58:31 +02:00
smallmodel
fd3a36f162
Fixed melee sometimes not making the hit sound
2024-06-13 23:30:19 +02:00
smallmodel
10e3192f85
Fixed MASK_PLAYERSOLID being wrong
2024-06-13 23:24:11 +02:00
smallmodel
de02c868a2
Fixed bullet tracers being incorrect
...
This should fix almost immobile bullet tracers on t1l1
2024-06-11 23:46:50 +02:00
smallmodel
a74b966b7c
Update fog when changing whether or not the terrain must be rendered
2024-06-11 23:44:02 +02:00
smallmodel
8b16e94829
Fixed grenade bounce sound overly playing
2024-06-09 19:56:41 +02:00
smallmodel
618223f01b
Ignore NumShaders in protocol version 8 and below
2024-06-09 19:32:15 +02:00
smallmodel
2b01f092b3
Fixed german model always being set to german_wehrmacht_soldier
2024-06-09 18:23:06 +02:00