Commit graph

1070 commits

Author SHA1 Message Date
smallmodel
c7c8d4580d
Added missed archived variables and using a ScriptThreadLabel instead of an event for the killed handler 2023-11-27 20:07:57 +01:00
smallmodel
2cc47e10f9
Added missing iNextLandTime archived variable 2023-11-27 20:06:19 +01:00
smallmodel
8fc5dacebf
Removed bBindChilds unused variable + added more variables to archive 2023-11-27 20:06:05 +01:00
smallmodel
cb23f3bb70
Added missing weapon_class archived variable 2023-11-27 20:05:36 +01:00
smallmodel
d7350d8629
Added Clear() method in ScriptThreadLabel 2023-11-27 20:05:21 +01:00
smallmodel
7fdd26c59e
Added m_fHealRate archived variable 2023-11-27 19:37:26 +01:00
smallmodel
fad555308b
Archive ScriptVM and ScriptThread appropriately 2023-11-27 19:30:40 +01:00
smallmodel
433305617c
IsAlive: check if the given listener is an actual entity 2023-11-26 20:38:14 +01:00
smallmodel
5418d84c7e
Fixed m_fpsTiki being uninitialized when archiving 2023-11-26 20:36:23 +01:00
smallmodel
0e9d83ee14
Added a check to debug the total of archived items 2023-11-26 20:31:58 +01:00
smallmodel
ecbf7f6caa
Fixed Archive method not calling parent class archive method 2023-11-26 20:00:12 +01:00
smallmodel
5a3638fa68
Better for loop clarity 2023-11-26 19:55:07 +01:00
smallmodel
111088b540
Formatted document 2023-11-26 19:54:07 +01:00
smallmodel
ba1703ebf0
When loading an entity from archive, set the model only if the entity allows model to be archived 2023-11-26 19:49:51 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
ce0e9fe77e
Added portable turret anim blends + fixed anim blends 2023-11-16 23:03:04 +01:00
smallmodel
1146c834fb
Fixed bad bullet coords being sent 2023-11-15 21:02:23 +01:00
smallmodel
9068264132
Make sure to remove the view model and detach the player when the turret gun is being removed 2023-11-15 20:42:16 +01:00
smallmodel
59ac8ea437
Clear the partial immobile flag when initializing the player's physics 2023-11-15 20:41:41 +01:00
smallmodel
baf451d2a2
Cleaned up bg_public 2023-11-15 20:39:09 +01:00
smallmodel
d588012168
Don't use ANIM_MASK 2023-11-15 19:45:58 +01:00
smallmodel
a3ed25cb2e
Use WEAPON_CLASS_ITEM1 instead of raw 256 constant value 2023-11-15 19:36:29 +01:00
smallmodel
c399f45841
Weapon::SetItemSlot() fixed missing bitwise negate 2023-11-15 19:36:09 +01:00
smallmodel
b852980842
Fixed bullet tracer speed 2023-11-14 17:55:08 +01:00
smallmodel
14f9acdb57
Fixed "spin" event name 2023-11-14 14:09:52 +01:00
smallmodel
8c64b7aa89
Clear charge start time on respawn 2023-11-14 14:06:39 +01:00
smallmodel
8d49f8935c
Added mode parm for IS_WEAPONCLASS_READY_TO_FIRE
This fixes issues with animation being stuck on secondary grenade charge
2023-11-14 14:04:37 +01:00
smallmodel
ff8ec63e95
Call IsRepeatType() instead of checking the animFlags 2023-11-14 14:03:23 +01:00
smallmodel
096692fec8
Fixed usage of 2D vector array 2023-11-14 01:07:23 +01:00
smallmodel
30a1ccb2e2
Made stateString const char* 2023-11-14 01:04:22 +01:00
smallmodel
7794ee8aea
Mark Archive() method 'override' 2023-11-14 00:54:20 +01:00
smallmodel
99a9022b53
Fixed Italian player not switching to the Breda weapon after spawning 2023-11-14 00:50:35 +01:00
smallmodel
1255964e6b
Added a fix that prevent players from equipping weapons from the other team 2023-11-14 00:49:32 +01:00
smallmodel
990aa5cdb2
Initialize m_iBadPlaceIndex to 0 2023-11-14 00:06:26 +01:00
smallmodel
0662359776
Implemented DamageEvent() / EventGetActivator()
For example, the script in the training map waittill damage on the crate's trigger for bullets, DamageEvent() will unregister the damage event
2023-11-13 22:20:16 +01:00
smallmodel
defa297a56
Fixed debug lines being always drawn 2023-11-13 20:39:03 +01:00
smallmodel
6f03c88ad5
Formatted playerbot source file 2023-11-13 20:33:06 +01:00
smallmodel
3ec980c8ec
Fixed bots being blocked 2023-11-13 20:31:50 +01:00
smallmodel
c0a50eb2ff
Fixed infinite spectator switch loop 2023-11-13 20:31:41 +01:00
smallmodel
f73e4b6f22
Check if the turret is valid before detaching remote owner 2023-11-13 20:30:51 +01:00
smallmodel
096972827e
Fixed half of archived entities being deleted during restart 2023-11-13 19:35:46 +01:00
smallmodel
08c040d4ea
Reset smoke sprites during restart 2023-11-13 19:34:13 +01:00
smallmodel
410f1c0ed8
Only include listener.h when compiling C++ 2023-11-13 18:36:20 +01:00
smallmodel
cb73cfd57b
Fixed "unknown game mode" error 2023-11-13 18:23:26 +01:00
smallmodel
8cb8a7f370
Fixed objectives being wrong 2023-11-13 18:23:15 +01:00
smallmodel
8c893acfff
Don't spawn the initial player if the game isn't single-player 2023-11-13 18:23:01 +01:00
smallmodel
e453d1fa17
Added "none" for teamwin argument 2023-11-13 18:22:35 +01:00
smallmodel
a7301ed7b6
Fixed teamwin not working on TOW and Liberation 2023-11-13 18:21:08 +01:00
smallmodel
42ebfd5394
Added ScriptSimpleStrafingGunfire and ScriptAimedStrafingGunfire from moh 2.0 and above 2023-11-13 17:46:33 +01:00
smallmodel
cdf2f84b14
Added ScriptModelRealDamage class 2023-11-13 16:33:11 +01:00