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
smallmodel
cb59edc963
Handle script exceptions in G_ServerSpawned
2024-06-09 16:56:42 +02:00
smallmodel
0ce70b9f8f
Improved/fixed archive support for big-endian platforms
2024-06-09 16:53:50 +02:00
smallmodel
d3d2082e41
Removed useless print
2024-06-09 13:08:01 +02:00
smallmodel
ebd885f053
Fixed Subclient not having the correct client name
2024-06-07 20:36:55 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings
2024-06-07 20:34:13 +02:00
smallmodel
884a76db4c
Drop error instead of throwing an exception to meet non-throwing exception specification
2024-06-07 19:55:33 +02:00
smallmodel
18e5c6e714
Use unsigned format specifier to match MAX_VOTEOPTIONS_BUFFER_LENGTH
's type
2024-06-07 19:49:51 +02:00
smallmodel
468341b7d0
Explicitly mark as override
2024-06-07 19:49:29 +02:00
smallmodel
d64ef13b79
Fixed script_skyorigin never being sent to clients
2024-06-03 21:34:48 +02:00
smallmodel
911e87c6ec
physics_off
: Don't reset the physics in 1.0 in Single-player mode
...
This fixes #303 in m4l2 where the player doesn't have their gun holstered in the truck
2024-06-03 20:29:41 +02:00
smallmodel
b75c7b64f1
Still allow crouch when glued in 1.0 and in Single-player mode
...
This fixes #303 where the player is standing in the truck in m4l2
2024-06-03 20:28:39 +02:00
smallmodel
135b519dd8
Reduced actor's change of getting curious
2024-06-02 23:47:06 +02:00
smallmodel
b7a0607d52
Using parameters that take the entity rather than raw values
2024-06-02 19:55:42 +02:00
smallmodel
0a3a23af41
Using AI_EVENT_MAX to check for max ai events
2024-05-29 23:54:48 +02:00
smallmodel
a85694b548
Fixed incorrect method for EV_ScriptThread_Showmenu
.
...
This fixes #302 where screen text with the mission date would never be shown.
2024-05-28 20:49:09 +02:00
smallmodel
16464c5a68
Removed zone events from entity
...
This fixes a conflict where some scripts would store stuff in a variable named `zone` in an entity
2024-05-27 23:28:12 +02:00
smallmodel
98239050d8
Correctly archive the active weapon (safe pointer)
...
This fixes the player sometimes being holstered after loading from a save (closes #270 )
2024-05-12 23:55:11 +02:00
smallmodel
dc7caf04a8
Fixed MoveTo not working on waypoints.
...
This fixes an issue where objects using waypoint (like elevators) would move at `(0 0 0)`. Closes #298
2024-05-12 23:40:11 +02:00
smallmodel
170b4b0972
Fixed ScriptAimedStrafingGunfire aimTarget never set nor used
...
This fixes the gunfire incorrectly damaging things it shouldn't damage.
For example, the sniper3 balcony AI on e3l1:
The bomber caused this AI to fall before initialization (by damaging them when it shouldn't), the AI became nonsolid. After initialization, the AI had enemy enabled, however it remained nonsolid because of the balcony fall. It was constantly shooting at the player and it was unkillable because it was nonsolid.
The mission wasn't able to be completed because of this issue.
2024-05-01 20:18:52 +02:00
smallmodel
e5dbfba55e
Fixed an issue where scripts would get compiled every time they are executed, causing a performance issue
2024-05-01 17:54:45 +02:00
smallmodel
daa7aceecf
Fixed sighttrace not properly passing entities
...
This fixes the issue where some scripts (like e2l3's BattleHouse) expect sighttrace to ignore entities (fixes #202 )
2024-05-01 17:43:04 +02:00
smallmodel
35681e7a1f
Added MASK_IGNORE_ENTS
2024-05-01 17:42:02 +02:00
smallmodel
d4dfde3340
Trigger must not be effective when being damaged if it does not take damage
...
This fixes issue with vehicles damaging triggers by touching them (like the ClickItemTrigger on m5l3 with tanks)
2024-04-30 20:26:08 +02:00
smallmodel
16f775c78c
Fixed ScriptSlave path with 2 equal points
...
This fixes the script slave moving infinitely and not sending movedone notifications as it would never advance to the next path. e3l4's outro is now fixed because of that (was stuck).
2024-04-29 23:42:05 +02:00
smallmodel
af919dadca
Simplified code for g_showflypath
2024-04-29 20:04:21 +02:00
smallmodel
41c322ec81
Refactored ScriptSlave::FollowingPath and ScriptSlave::SetupPath with bugfixes
2024-04-29 19:59:16 +02:00
smallmodel
ac8c18250d
If the actor is an american, always call ThinkHoldGun_TurretGun() without checking for enemy
2024-04-28 20:39:54 +02:00
smallmodel
3cd5acf3aa
Fixed issue with case-sensitive variables.
...
normal/return commands are case-insensitive
getter/setter commands are case-sensitive
2024-04-22 20:10:01 +02:00
smallmodel
48fc5a72b8
Fixed some setters and getters being inverted
2024-04-22 19:59:20 +02:00
smallmodel
26c3375112
When there is no enter_boneindex for turret slot, use the boneindex instead
...
This fixes #208
2024-04-22 18:28:56 +02:00
smallmodel
e89543710c
Check for max use angle when using the vehicle
2024-04-22 18:04:14 +02:00
smallmodel
6d10ed27c5
Fixed preferred weapon not showing on stats screen
...
Fixes #271
2024-04-22 16:48:24 +02:00