Commit graph

2128 commits

Author SHA1 Message Date
smallmodel
43bb5ce653
Fixed BroadcastEvent not returning true with 1 processed listener + Fixed UnregisterTarget not removing the name 2023-10-27 21:03:07 +02:00
smallmodel
7e66483b1a
Added g_timescripts var 2023-10-27 21:02:25 +02:00
smallmodel
f96b606a1a
Fixed ScriptThread timing 2023-10-27 21:02:18 +02:00
smallmodel
30d26c3e44
Fixed register/unregistration 2023-10-27 20:42:01 +02:00
smallmodel
57e450a745
Thread state fix 2023-10-27 20:41:47 +02:00
smallmodel
24297bf396
Added timescript in ScriptMaster::ExecuteRunning() 2023-10-27 20:02:21 +02:00
smallmodel
481cd760a9
Added ScriptTrace/GetSourcePos 2023-10-27 20:00:48 +02:00
smallmodel
6d6043775e
Use const unsigned char* for sourcepos 2023-10-27 19:59:29 +02:00
smallmodel
bb97ec8933
Added GetSourceAt() with code pos 2023-10-27 19:59:15 +02:00
smallmodel
dc028b87e4
Added const unsigned char* hashcode 2023-10-27 19:58:38 +02:00
smallmodel
0d1b7a9c8a
Added int64 support 2023-10-27 19:58:29 +02:00
smallmodel
a6e602af1d
Renamed variables in ScriptClass::RemoveThread for more clarification 2023-10-26 20:18:50 +02:00
smallmodel
04a6012e5d
Renamed thread parameters 2023-10-26 20:17:53 +02:00
smallmodel
0f7691c722
Reordered NotifyDelete switch statement for more clarity 2023-10-26 20:17:42 +02:00
smallmodel
f01a0a17c1
Added script traces 2023-10-26 20:13:07 +02:00
smallmodel
b291ab92b6
Fixed script class being always created even when a thread was started in the same group 2023-10-26 20:08:09 +02:00
smallmodel
fb4bf4fcaa
Fixed wrong value() for GetGameScript in CreateScriptInternal() 2023-10-26 20:07:49 +02:00
smallmodel
98816156d7
Delete created scriptclass / thread when there is an exception, in ScriptThreadLabel::Create() 2023-10-26 19:58:26 +02:00
smallmodel
92bfb4c426
Fixed clarity of conditions in Animate::UseSyncTime() 2023-10-26 19:57:39 +02:00
smallmodel
cac883c4a0
Drop error to main menu if an hard script exception was encountered while executing running scripts 2023-10-24 23:18:44 +02:00
smallmodel
5a4fb90c96
Fixed THINKSTATE_ATTACK animation inside ChangeAnim() + weight should be 2.0 for ChangeMotionAnim() 2023-10-24 23:16:45 +02:00
smallmodel
c4f9eb65ae
Use SetWeight() and SetOnceType() instead of setting the frameinfo directly 2023-10-24 22:55:46 +02:00
smallmodel
9f5557b33c
Initialize bHasThrowTarget 2023-10-24 22:55:22 +02:00
smallmodel
4d876fdf5d
Fixed wrong state being ended in EndState() 2023-10-24 21:35:49 +02:00
smallmodel
978666c946
AssertValidSquad() in DisbandSquadMate() 2023-10-24 21:35:16 +02:00
smallmodel
9b9fa696e8
Added Waypoint and TempWaypoint constructor to set the SimpleEntity subclass type 2023-10-24 20:37:41 +02:00
smallmodel
088b22073c
Formatted document 2023-10-24 20:36:53 +02:00
smallmodel
4f9831faa4
Formatted document 2023-10-24 20:27:18 +02:00
smallmodel
3373caa939
DebugNearestStartNode() should return a node only if node_count is higher than 0 2023-10-24 19:37:48 +02:00
smallmodel
dc1be17b2a
Added badPlaceTeam 2023-10-24 19:35:42 +02:00
smallmodel
64a3b04181
Fixed CM_SightTraceThroughBrush() implementation 2023-10-24 19:29:38 +02:00
smallmodel
57e1920b9c
G_SightTrace: only return true if the result is true 2023-10-24 19:29:20 +02:00
smallmodel
ddb6236eb9
simplified delta subtraction 2023-10-23 22:55:35 +02:00
smallmodel
4e4af590e5
Added m_pAnimThread assertion check 2023-10-23 22:55:09 +02:00
smallmodel
a249f6b29b
Fixed parm.previousthread not being actually set to the previous executing thread 2023-10-23 19:31:01 +02:00
smallmodel
7787729b24
Fixed standidentify scr file 2023-10-23 19:26:57 +02:00
smallmodel
45c8c704af
Fixed ai_debugpath having an infinite line 2023-10-23 18:58:16 +02:00
smallmodel
31fde1ad94
Unreachable node fix 2023-10-23 18:57:56 +02:00
smallmodel
bfb0fbd656
Fixed vision_distance being used even if it's 0 2023-10-23 18:57:44 +02:00
smallmodel
8afb7457c2
Fixed FindPotentialCover never setting found nodes 2023-10-23 17:28:52 +02:00
smallmodel
0ae1c8f771
Fixed origin_ratio uninitialized 2023-10-23 17:28:36 +02:00
smallmodel
6ff046ae29
When spawning pathnodes, use archived instance of pathnodes 2023-10-23 17:17:56 +02:00
smallmodel
6f9f845bb2
Set m_LoadIndex to 0 when loading archived nodes 2023-10-23 17:16:54 +02:00
smallmodel
00033c3a70
SPAWNFLAG_DETAIL must be 0x1000 2023-10-23 15:56:27 +02:00
smallmodel
acf71610df
Don't inhibit pathnodes 2023-10-23 15:56:14 +02:00
smallmodel
86e9ae343a
Don't move to patorl current node with m_bPatrolWaitTrigger 2023-10-23 15:55:58 +02:00
smallmodel
9bbd546d4c
Replaced glbs with g_local 2023-10-23 15:54:48 +02:00
smallmodel
31f2573b28
Fixed animations not playing correctly 2023-10-23 14:46:44 +02:00
smallmodel
4d7fcb77c2
Use ANIM_WEIGHT_MOTION enum 2023-10-23 14:46:17 +02:00
smallmodel
da02a8c73a
Fixed frame delta being wrong 2023-10-23 14:46:01 +02:00