Commit graph

101 commits

Author SHA1 Message Date
smallmodel
45c8c704af
Fixed ai_debugpath having an infinite line 2023-10-23 18:58:16 +02:00
smallmodel
86e9ae343a
Don't move to patorl current node with m_bPatrolWaitTrigger 2023-10-23 15:55:58 +02:00
smallmodel
e850dd1963
Make sure to prevent to transition to curious if curious isn't enabled (moh 2.30 feature) 2023-10-23 11:59:06 +02:00
smallmodel
5cffe3fb05
Fixed infinite loop with ai_debugpath 2023-10-22 21:15:58 +02:00
smallmodel
34a4a0c892
HandleKilled() didn't handle the last param 2023-10-22 20:16:36 +02:00
smallmodel
f82b6b75ff
Fixed DetectSmokeGrenades and LookAt crash 2023-10-18 20:00:32 +02:00
smallmodel
4daff05142
Fixed some methods not working as intended 2023-10-18 19:45:31 +02:00
smallmodel
6f03e388bf
Finished actor source file implementation from moh 2.0 and above 2023-10-18 19:23:55 +02:00
smallmodel
d5b61fe5cc
Pathing fixes, leash fixes 2023-10-17 23:38:33 +02:00
smallmodel
5b46e48a17
Fixed grenade code (path, give), path leash, gun target 2023-10-17 20:38:58 +02:00
smallmodel
cd2fea5262
Implemented some but not all features from mohaas and mohaab + lighter implementations + fixed implementations 2023-10-16 23:42:30 +02:00
smallmodel
daab5b9238
Fixed compile error 2023-10-16 00:31:50 +02:00
smallmodel
ce59e5e6a7
Fixed mismatched anim methods up to Actor::EventSetSayAnim 2023-10-16 00:29:41 +02:00
smallmodel
101894be37
Renamed THINKLEVEL_NORMAL to THINKLEVEL_IDLE 2023-10-15 20:52:06 +02:00
smallmodel
c7c3fcd0e0
Use a const float* for PathDelta() 2023-10-15 17:50:28 +02:00
smallmodel
8d1b1410cd
Fixed EventSetAimTarget, MoveXX methods and implemented DetectSmokeGrenades 2023-10-15 15:08:01 +02:00
smallmodel
df9aead324
In EventSetMood, check for Bored/Nervous/Curious/Alert 2023-10-15 14:03:44 +02:00
smallmodel
851fd240d3
Fixed StartAnimation() constant value 2023-10-15 14:01:48 +02:00
smallmodel
2da03c89d1
Fixed MovePath/MovePathGoal 2023-10-15 14:01:13 +02:00
smallmodel
e21d2a0adb
Fixed compile errors 2023-10-14 21:53:17 +02:00
smallmodel
2fad64b08a
Reimplemented some methods, added some flags and moved methods to the correct source file 2023-10-14 21:21:45 +02:00
smallmodel
0f01f6af11
Reimplemented actor CanSee/CanShoot/EnemyInFOV 2023-10-14 20:33:50 +02:00
smallmodel
0a7c324d48
setOriginEvent: clear 4th origin history and update bad places. + handle ANIM_MODE_ATTACHED when moving 2023-10-14 18:59:35 +02:00
smallmodel
c81d247fbb
Reimplemented Actor::UpdateBoneControllers 2023-10-14 18:40:53 +02:00
smallmodel
82294b7b2e
Correctly implemented GetMoveInfo 2023-10-14 15:02:07 +02:00
smallmodel
7930cda277
Added and use eAnimMode enum 2023-10-14 14:18:56 +02:00
smallmodel
7870db7202
Made m_groundPlaneNormal a vec3_t 2023-10-14 14:08:52 +02:00
smallmodel
407538fd85
Moved MINS/MAXS to bg_pmove 2023-10-14 13:31:19 +02:00
smallmodel
1a293420c0
Fixed voicetype event 2023-10-14 13:30:35 +02:00
smallmodel
1e94cdd8ca
Added AI_EVENT_BADPLACE 2023-10-14 01:16:50 +02:00
smallmodel
7a2311d6e6
Added BadPlace and RunAndShoot state initialization 2023-10-14 01:06:47 +02:00
smallmodel
56e52fda80
Implemented Actor::Landed 2023-10-14 00:44:59 +02:00
smallmodel
85a6c1d145
Implemented Get/SetNationality, IsOnFloor, EventAnimScript_Attached, VirtualEyePosition and FriendlyInLineOfFire 2023-10-12 23:20:57 +02:00
smallmodel
82b5468fb4
Implemented Actor destructor 2023-10-12 21:31:22 +02:00
smallmodel
c55a78b8b4
Moved location of actor methods 2023-10-12 20:17:18 +02:00
smallmodel
0d6847c76c
Initialize new member fields 2023-10-12 19:42:20 +02:00
smallmodel
7b721c7849
Added fields and methods from mohaas and mohaab 2023-10-12 19:21:41 +02:00
smallmodel
57422ce793
Formatted actor source files 2023-10-12 18:19:22 +02:00
smallmodel
ba855cd064
Added events moved actor methods to the correct source files 2023-10-11 22:49:06 +02:00
smallmodel
e1093d0c0c
Using vec3_t instead of Vector for Weapon::GetMuzzlePosition() 2023-09-18 21:19:08 +02:00
smallmodel
b29f62ddd4
Fixed EventSetTurret crashing when the listener is NULL 2023-09-09 20:58:58 +02:00
smallmodel
03ff158e76
Fixed crash when setting actor's patrol node 2023-09-09 20:02:02 +02:00
smallmodel
296249b203
Fixed wrong SVF flags 2023-08-28 22:13:16 +02:00
smallmodel
7ca532f0e4
FL_ANIMATE is 0x100000 2023-08-19 01:38:25 +02:00
smallmodel
77a9cd5a9a
Call Director.Unpause() to execute running scripts 2023-08-12 03:04:31 +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
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
1ee8463ff5 Arithmetic operations fixes 2023-06-22 18:32:15 +02:00
OM
3cc1e89b45 Tiny fixes related to bad printf formatting and sizes 2023-06-21 21:01:37 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00