Commit graph

1971 commits

Author SHA1 Message Date
smallmodel
e930768c67
Implemented OpenActorStats and WriteActorStats 2023-10-18 19:34:35 +02:00
smallmodel
6f03e388bf
Finished actor source file implementation from moh 2.0 and above 2023-10-18 19:23:55 +02:00
smallmodel
9b340e03c5
Added MASK_LOOK trace mask 2023-10-18 19:20:53 +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
585221f7cc
Added more eActorState_Turret values 2023-10-17 20:38:03 +02:00
smallmodel
77eb7a5259
Added position and forward parameters to Sentient::GunTarget() 2023-10-17 19:45:22 +02:00
smallmodel
77bfc4b599
Added bDesperate parameter to DecideToThrowGrenade 2023-10-17 19:44:48 +02:00
smallmodel
95bbfba1b8
Added MASK_GRENADEPATH 2023-10-17 18:03:29 +02:00
smallmodel
844a50dfd8
Added more comments in DoUse 2023-10-17 17:51:29 +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
79d8b4bb0b
Fixed wrong value for THINKSTATE_BADPLACE 2023-10-16 23:32:59 +02:00
smallmodel
531825545d
Added MASK_AI_CANSEE 2023-10-16 23:32:46 +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
ea0c4b5060
Implemented actor_runandshoot 2023-10-15 21:53:40 +02:00
smallmodel
9b9908b660
Formatted actor_badplace source file 2023-10-15 20:53:20 +02:00
smallmodel
101894be37
Renamed THINKLEVEL_NORMAL to THINKLEVEL_IDLE 2023-10-15 20:52:06 +02:00
smallmodel
3e314251f2
Implemented actor_badplace 2023-10-15 20:51:11 +02:00
smallmodel
1995c75006
Added eActorState with reserved enums for m_State values 2023-10-15 20:44:44 +02:00
pryon
ff85986c44
Fully implement UIList (#78) 2023-10-15 20:23:58 +02:00
smallmodel
9131297d43
Implemented Actor::Archive from mohaas/mohaab 2023-10-15 20:06:37 +02:00
smallmodel
301f3091d1
Fixed whole SimpleActor implementation 2023-10-15 19:52:19 +02:00
smallmodel
b59bd449d4
Removed useless Clear() in GetScriptValue() 2023-10-15 19:52:02 +02:00
smallmodel
5e510ef0e2
Fixed ActorPath algorithm 2023-10-15 17:52:00 +02:00
smallmodel
c7c3fcd0e0
Use a const float* for PathDelta() 2023-10-15 17:50:28 +02:00
smallmodel
a5532ad67b
Fixed Actor Enemy system 2023-10-15 17:11:20 +02:00
smallmodel
290cd5501c
Obfuscation should be 0 by default 2023-10-15 16:12:01 +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
89cd12d2c1
Fixed CurrentPathDir and CurrentPathGoal return value 2023-10-15 13:43:49 +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
97fd147fbe
Fixed SetDesiredYawDir/SetDesiredYawDest 2023-10-14 21:20:59 +02:00
smallmodel
0f01f6af11
Reimplemented actor CanSee/CanShoot/EnemyInFOV 2023-10-14 20:33:50 +02:00
smallmodel
a9892c88be
Fixed WithinDistance/DistanceTo const and implemented AreasConnected 2023-10-14 20:26:38 +02:00
smallmodel
f1d76a042d
Added WithinFarplaneDistance 2023-10-14 20:23:35 +02:00
smallmodel
77d4e5d051
Fixed MASK_CANSEE value 2023-10-14 20:23:24 +02:00
smallmodel
7041acfd51
Added visual obfuscation feature (not implemented yet) 2023-10-14 19:56:06 +02:00
smallmodel
b27bfbe189
Formatted g_public source file 2023-10-14 19:12:57 +02:00
smallmodel
1c10e7a63d
Fixed G_ObfuscationForSmokeSprites parameters 2023-10-14 19:11:48 +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
d80f55d5bf
Added MASK_MOVEINFO 2023-10-14 14:33:55 +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