smallmodel
6fef42d6e0
Localize the jammed door message
2024-10-01 20:25:51 +02:00
smallmodel
d6a00a5984
Fix IsOpen event not being used
...
Some multiplayer and single-player scripts rely on it
2024-10-01 20:24:12 +02:00
smallmodel
6103efa8cc
Don't set the entity angles immediately during glue
...
The game expects objects to glue and keep their initial angles/origin
2024-10-01 19:03:17 +02:00
smallmodel
9a7ba0786c
Set the correct number of bits for the large bullet flag in 2.0 and above
...
This fixes the issue where there the client (in spearhead protocol mode) would read 2 bits instead of the 1 bit the server sent, which would cause a parse error
2024-10-01 18:52:39 +02:00
smallmodel
935efaeb3a
Fix sound event being posted with incorrect arguments
...
The argument wouldn't contain "wait" when necessary, which would cause scripts to be stuck forever waiting for sound to be done
2024-10-01 18:09:56 +02:00
smallmodel
3a7e249edf
Refactored svflags and use the correct entity server flags
2024-09-30 19:58:41 +02:00
smallmodel
c406aaf74f
Add a feature that prevents teams from being uneven
2024-09-29 19:00:19 +02:00
smallmodel
b9e9137f90
Fix the spelling for the default explosive sound
2024-09-29 13:03:10 +02:00
smallmodel
bee0bbbe90
Initialize the effect and destroyed model for the specific ThrobbingBox explosive classes
2024-09-29 13:02:56 +02:00
smallmodel
bf184fb719
Use #pragma once instead of #ifndef
2024-09-27 20:19:11 +02:00
smallmodel
bfa0ef64ec
Fix the letterbox not transitioning smoothly
...
This fixes the letterbox being shown immediately
2024-09-27 19:35:30 +02:00
smallmodel
e43f0a9285
Add a new feature to enable/disable instant messages and text chat with a variable to set the minimum delay between messages
2024-09-26 19:29:56 +02:00
smallmodel
dbc536c6c2
Fix voice chat time not working on FFA
2024-09-26 19:10:01 +02:00
smallmodel
97c9075503
Fix a small mistake in normal calculations for MM_ClipVelocity2D
...
Same error as commit c76dda1523
. This fixes an issue where AI would run too slowly, like the crate guy in the intro of e1l1, the crate guy was too slow that it ran through the intro vehicle
2024-09-26 18:20:25 +02:00
smallmodel
36208de902
Fix spawn time delta
2024-09-25 22:12:29 +02:00
smallmodel
5403577642
Fix the return value of FS_Seek
...
It returns a negative value on failure, so handle that properly
2024-09-25 21:04:55 +02:00
smallmodel
c76dda1523
Fix a small mistake in normal calculations for MM_ClipVelocity
...
This leaded to some occasional errors in AI movement, like in e3l2 where the medic gets stuck while going down the stairs
2024-09-25 20:22:42 +02:00
smallmodel
b5034e5b12
Fix the m_iSaySlot being mistakenly used for the weight cross blend, the specified slot parameter must be used instead
...
This fixes #266 where some AIs would lack speech animation
2024-09-25 20:04:58 +02:00
smallmodel
b039333922
Call AnimName() to get the current animation name
2024-09-25 19:48:06 +02:00
smallmodel
b504e0d109
Call CurrentAnim() to retrieve the animation index
2024-09-25 19:47:43 +02:00
smallmodel
639da1a4b8
Remove unused variables
2024-09-24 20:09:39 +02:00
smallmodel
c6675f2013
Remove special features code to avoid any confusion
2024-09-22 20:06:31 +02:00
smallmodel
764b95f617
Set a better name for binaries to properly distinguish the name of the architecture
2024-09-22 14:56:02 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
a69d9d4483
Fix compilation errors for MacOS, and add support for MacOS
2024-09-20 21:31:27 +02:00
smallmodel
17d623bf85
Add more clarity + check the length of the const_str enumeration and the length of the const string array to make sure they both match
2024-09-19 21:23:19 +02:00
smallmodel
20d11f5f97
Add max_amount parameter to the EV_Sentient_GiveAmmo documentation
2024-09-19 21:02:04 +02:00
smallmodel
52c79f7f77
Make crates correctly fall
2024-09-19 20:49:33 +02:00
smallmodel
c97bc2e977
Add more clarity in crateobject.cpp
2024-09-19 20:38:31 +02:00
smallmodel
78d564cc04
Fix CrateThink stopping when it shouldn't
2024-09-19 20:34:04 +02:00
Sébastien Noel
a010e648ee
Fix a few typos
2024-09-19 10:52:47 +02:00
smallmodel
2ab826268d
Clear the legs state during the torso evaluation when the movecontrol is not legs
...
The legs state won't be stuck anymore waiting for an empty animation. This could happen under special circumstances, when the torso evaluation sets the movecontrol to non-legs (clears the legs anim) and then back to legs in subsequent iterations.
Fixes #105 , the issue cannot be exploited anymore for land-sharking
2024-09-16 20:20:19 +02:00
smallmodel
f35582489d
Fix support for british, russian and italian voices in Spearhead and Breakthrough
2024-09-16 18:09:56 +02:00
smallmodel
77292fb9ab
First person spectator fix (not working yet)
2024-09-15 01:21:17 +02:00
smallmodel
46e9046629
Implement VehicleHalfTrack
2024-09-15 01:03:37 +02:00
smallmodel
e5af60787e
Partially implement GetZone/IsInZone
2024-09-15 00:42:35 +02:00
smallmodel
0840cdd83a
Restore the old behavior where the bullet would hit all entities in sight. Only works when targeting mohaa version 1.x
...
Fixes #348 . Since 2.0, bullet trace stops after the first hit entity even if it's a trigger, which can be an issue on some SP maps.
2024-09-10 19:01:34 +02:00
smallmodel
603444a69f
Fix an issue where the remaining time would reach 0:00 and the match would never end
...
See #287 , this occurred when the fraglimit was defined.
2024-09-09 22:25:54 +02:00
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters
2024-09-08 23:54:47 +02:00
smallmodel
7c57c4b131
Fix wrong secondary ammo type being picked up
2024-09-08 20:20:58 +02:00
smallmodel
58e39add5b
Implemented treadmarks update functions
2024-09-05 01:04:53 +02:00
smallmodel
61725c95df
Add MASK_TREADMARKS
2024-09-05 00:43:36 +02:00
smallmodel
b1e640ad1d
Implement CG_PermanentMark
2024-09-04 21:41:16 +02:00
smallmodel
3733761696
Fix the reloading sound in 2.0, the behavior is different in 2.0 and 2.30
2024-09-02 19:52:32 +02:00
smallmodel
cde7cbc3a3
Implement G_ClientDrawTags
2024-09-02 19:52:32 +02:00
smallmodel
e927da56cf
Fix GetTagPositionAndOrientation() returning wrong tag axis and position
2024-09-02 19:52:31 +02:00
smallmodel
3b8bffe39c
Fix variable misspelling
2024-09-02 19:52:31 +02:00
smallmodel
19da377064
Implement G_ObfuscationForSmokeSprites
...
This is used so the player can throw a smoke grenade and hide behind it for AI
2024-09-02 19:52:30 +02:00
smallmodel
4d1380b5c4
Implement G_ClientDoBlends and FindIntermissionPoint
2024-09-02 19:52:30 +02:00
smallmodel
53565663d9
Add old welcome code (commented out) for when a player becomes spectator
2024-09-02 01:01:55 +02:00