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
|
25418b7857
|
Ammo name must be case-insensitive
This fixes some maps like t1l3 where the player would have a pistol with 6 bullets and no ammo
|
2024-03-06 23:49:37 +01:00 |
|
smallmodel
|
06d8ddbfc7
|
Fixed AI firing multiple bullets when it should fire one
This fixes AI killing the player almost instantly
|
2024-02-28 22:56:05 +01:00 |
|
smallmodel
|
d19a6160d2
|
Call SetWeaponAnim() instead of NewAnim() for weapon animation
|
2023-12-27 16:25:37 +01:00 |
|
smallmodel
|
cd773cf73f
|
Set last active weapon only if the weapon is not an inventory item
|
2023-12-27 16:13:12 +01:00 |
|
smallmodel
|
f3b9a10f7a
|
Detach weapons already attached to the attach tag only if the current weapon attach tag is valid
|
2023-12-27 15:54:55 +01:00 |
|
smallmodel
|
709283ff33
|
Fixed MAX_ACTIVE_WEAPONS check (out of bounds)
|
2023-12-27 15:49:33 +01:00 |
|
smallmodel
|
cbeaeba828
|
Use IsSubclassOfWeapon() and IsSubclassOfPlayer()
|
2023-12-27 14:06:22 +01:00 |
|
smallmodel
|
bfb0fbd656
|
Fixed vision_distance being used even if it's 0
|
2023-10-23 18:57:44 +02:00 |
|
smallmodel
|
d3d44001ef
|
Fixed CanSee implementation
|
2023-10-21 16:50:26 +02:00 |
|
smallmodel
|
77eb7a5259
|
Added position and forward parameters to Sentient::GunTarget()
|
2023-10-17 19:45:22 +02:00 |
|
smallmodel
|
96c9a014e6
|
When getting string from event, store it in an str to avoid potential undefined behavior due to str destruction
|
2023-10-06 20:13:31 +02:00 |
|
smallmodel
|
e1093d0c0c
|
Using vec3_t instead of Vector for Weapon::GetMuzzlePosition()
|
2023-09-18 21:19:08 +02:00 |
|
smallmodel
|
974e86b698
|
Fixed weapon being detached even if the holster tag is an empty string
|
2023-09-17 19:08:11 +02:00 |
|
smallmodel
|
571e48fecf
|
Call Weapon::Charge in Sentient::ChargeWeapon
Don't charge again if sentient is already charging weapon
|
2023-08-13 16:07:46 +02:00 |
|
smallmodel
|
c1a431f857
|
Added all mohaas/mohaab features (SetWeaponIdleState, PingForMines, ForceLandmineMeasure, ForceDropWeapon and ForceDropHealth)
Set m_fDamageMultipliers depending on whether or not g_realismmode is set
Minor fixes in the sentient constructor
|
2023-08-12 00:49:07 +02:00 |
|
smallmodel
|
ef18c389be
|
Cleanup entity class
Added new parameter for CanSee
Added Entity::SafeSolid and Entity::Sink
|
2023-08-09 23:09:09 +02:00 |
|
smallmodel
|
987af7eb81
|
Cleaned up Sentient class
Moved combat stuff to sentient_combat.cpp
Formatted source files
|
2023-08-09 19:45:39 +02:00 |
|