Commit graph

1183 commits

Author SHA1 Message Date
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
dac5279a59
Archive is_paused and angular_delta 2023-08-12 00:47:39 +02:00
smallmodel
a175ea27d7
Cleanup weapon class
Added ShowInfo, SetItemSlot and SetIdleState
2023-08-12 00:10:47 +02:00
smallmodel
ddac42e21e
Call Weapon::GetZoom() instead 2023-08-11 23:54:43 +02:00
smallmodel
34535ad415
Moved AnimationEvent from Animate to a separate source file 2023-08-11 21:48:25 +02:00
smallmodel
c0597e441c
Moved AnimationEvent from Animate to a separate source file
Implemented whole animate class from mohaas/mohaab
2023-08-11 21:30:47 +02:00
smallmodel
04b66684dd
Added a function to get an animation's angular delta over time 2023-08-11 21:11:16 +02:00
smallmodel
244a2e66f9
Added TIKI_Anim_DeltaOverTime 2023-08-11 21:10:29 +02:00
smallmodel
55b737e730
Set global channel from local to -1 2023-08-11 21:10:14 +02:00
smallmodel
059dacf2a7
Added GetAngularDeltaOverTime() to return the animation's angular delta over time 2023-08-11 21:09:47 +02:00
smallmodel
41f7003747
Fixed SetPlayerView, SetupView, PlayerAngles
UpdateStats changes:
- Added support for allied and axis objective locations
- Vehicle health
- Healrate
- Secondary ammo
2023-08-11 03:13:36 +02:00
smallmodel
64ba900511
Use GetRemoteOwner() properly 2023-08-11 03:09:33 +02:00
smallmodel
e371b4bbd3
Replaced unused stats 2023-08-11 03:09:19 +02:00
smallmodel
aa44150525
Added some mohaas/mohaab methods (stubs) 2023-08-11 03:09:10 +02:00
smallmodel
3572be718a
Use usercmd_s instead of usercmd_t 2023-08-11 03:08:56 +02:00
smallmodel
a56d74814b
Try to play pain animation in DamageFeedback 2023-08-11 01:58:22 +02:00
smallmodel
8d41b58635
Using hitloc enum instead of macros 2023-08-11 01:34:21 +02:00
smallmodel
e80f326ee6
Proper implementation of DamageFeedback 2023-08-11 01:21:50 +02:00
smallmodel
c5bd64912a
Added MOVETYPE_PORTABLE_TURRET 2023-08-11 01:21:29 +02:00
smallmodel
8a808b616e
Apply fall damage differently on mohaas/mohaab
Ignore world effects if no-cliping
2023-08-11 00:54:15 +02:00
smallmodel
91bb2f2e0b
Enable god mode for the vehicle the player is in 2023-08-11 00:48:09 +02:00
smallmodel
aa4e6a0651
Removed SpawnDamageEffect
DoUse: Call RemoveFromVehiclesAndTurretsInternal() directly
Use G_PMDrawTrace if sv_drawtrace is above 1
Set allow lean while moving
Disable movement prediction if player is glued onto something
Multiply the speed by the weapon movement speed
Added Teamkill warn and kick
Added support for invulnerability, sprint and team spawn
Added support for heal rate
Added talk icon
2023-08-11 00:43:40 +02:00
smallmodel
8e9ff2b289
Added G_PMDrawTrace 2023-08-11 00:13:29 +02:00
smallmodel
d53ab8540e
Fixed Unix compilation warnings/errors 2023-08-10 23:06:03 +02:00
smallmodel
7b133e5b2f
Fixed const param 2023-08-10 23:04:47 +02:00
smallmodel
2b72959935
Call Obituary if there is also an inflictor
Clear pain animation when killed
Increment team kills count when a teammate was killed
2023-08-10 21:38:37 +02:00
smallmodel
82d0b62631
Implemented EndAnim_Pain 2023-08-10 21:37:53 +02:00
smallmodel
7205e27c8c
Using death messages implementation from mohaas/mohaab 2023-08-10 21:26:28 +02:00
smallmodel
c8d1248d86
Added MOD_MINE means of death 2023-08-10 21:26:07 +02:00
smallmodel
845e4556ef
Added g_obituarylocation (openmohaa-specific parameter) 2023-08-10 21:23:10 +02:00
smallmodel
a92bfbde40
Fixed variable names 2023-08-10 21:22:50 +02:00
smallmodel
999b6409b3
Fixed InitEdict, InitHealth
InitModel: IT/SC skins support, and voiceType fix
Respawn: Set invulnerability
2023-08-10 20:14:34 +02:00
smallmodel
0ae0be4047
Added more ammo to initialize
Added stopwatch parameter for mohaas/mohaab
Initialize mine variables in InitState
2023-08-10 19:36:14 +02:00
smallmodel
fc7029c271
Added stopwatch type 2023-08-10 19:32:21 +02:00
smallmodel
307ee117bd
Initialize invulnerability
Set the player view accordingly when choosing a spawn point
Don't set m_fDamageMultipliers in realism mode
Score isn't processed in single-player anymore
2023-08-10 19:14:51 +02:00
smallmodel
087d28eb9a
Added GT_TOW and GT_LIBERATION for SelectSpawnPoint() 2023-08-10 19:11:39 +02:00
smallmodel
1deea345bc
Renamed team to teamnum 2023-08-10 18:49:57 +02:00
smallmodel
e0fa706f6c
Implemented EquipWeapons, Stats, TickTeamSpawn, UserSelectWeapon, AllowTeamRespawn and EventKillAxis 2023-08-10 18:48:46 +02:00
smallmodel
cf794d2b95
Added DF_OLD_SNIPER and DF_DISALLOW_KAR98_MORTAR 2023-08-10 18:42:13 +02:00
smallmodel
391e82bb92
Formatted source files 2023-08-10 18:41:49 +02:00
smallmodel
83a44b3158
Implemented RemoveFromVehiclesAndTurretsInternal 2023-08-10 17:01:55 +02:00
smallmodel
8cd0e6c5bf
Added FixedTurret, PortableTurret and CarryableTurret (unimplemented) 2023-08-10 17:01:43 +02:00
smallmodel
619ab00035
Added player-specific methods 2023-08-10 17:01:19 +02:00
smallmodel
4ded5c3380
Added EV_Weapon_SetAmmoClipSize declaration 2023-08-10 17:00:51 +02:00
smallmodel
85fa2185f8
Added DetachRemoteOwner 2023-08-10 17:00:38 +02:00
smallmodel
ab39259bbe
Moved vote options stuff to bg_voteoptions.h 2023-08-10 17:00:17 +02:00
smallmodel
9bf2065d18
Implemented battle language methods and GetTeamDialogPrefix/GetNationalityPrefix 2023-08-10 14:18:40 +02:00
smallmodel
ceb121d588
Added MASK_BATTLELANGUAGE 2023-08-10 14:14:50 +02:00
smallmodel
e7dbc25ca0
Made entity parameter a constant instance 2023-08-10 14:14:39 +02:00
smallmodel
7386784765
Renamed clientPersistant_t to client_persistant_t
Named client_peristant_t fields correctly
2023-08-10 13:34:04 +02:00