smallmodel
c5b46529b0
Check the client if it has a valid entity for MSG_SetBroadcastVisible()
2024-05-01 18:24:44 +02:00
smallmodel
e5dbfba55e
Fixed an issue where scripts would get compiled every time they are executed, causing a performance issue
2024-05-01 17:54:45 +02:00
smallmodel
daa7aceecf
Fixed sighttrace not properly passing entities
...
This fixes the issue where some scripts (like e2l3's BattleHouse) expect sighttrace to ignore entities (fixes #202 )
2024-05-01 17:43:04 +02:00
smallmodel
35681e7a1f
Added MASK_IGNORE_ENTS
2024-05-01 17:42:02 +02:00
smallmodel
d4dfde3340
Trigger must not be effective when being damaged if it does not take damage
...
This fixes issue with vehicles damaging triggers by touching them (like the ClickItemTrigger on m5l3 with tanks)
2024-04-30 20:26:08 +02:00
smallmodel
05a6b43e08
Check for __APPLE__ to detect MacOS
2024-04-30 19:25:02 +02:00
smallmodel
16f775c78c
Fixed ScriptSlave path with 2 equal points
...
This fixes the script slave moving infinitely and not sending movedone notifications as it would never advance to the next path. e3l4's outro is now fixed because of that (was stuck).
2024-04-29 23:42:05 +02:00
smallmodel
af919dadca
Simplified code for g_showflypath
2024-04-29 20:04:21 +02:00
smallmodel
41c322ec81
Refactored ScriptSlave::FollowingPath and ScriptSlave::SetupPath with bugfixes
2024-04-29 19:59:16 +02:00
smallmodel
ac8c18250d
If the actor is an american, always call ThinkHoldGun_TurretGun() without checking for enemy
2024-04-28 20:39:54 +02:00
smallmodel
4b05c400b2
Round to integer for vectoyaw()
...
This fixes Actor never finishing TurnTo as the DesiredYaw was set to a very precise value
2024-04-28 19:29:54 +02:00
smallmodel
cc85d0c100
Bumped version number
2024-04-22 23:40:00 +02:00
smallmodel
56dce21538
Fixed an invalid access to lighting sphere leaves
...
It was causing crashes on some occasions
2024-04-22 23:39:07 +02:00
smallmodel
3cd5acf3aa
Fixed issue with case-sensitive variables.
...
normal/return commands are case-insensitive
getter/setter commands are case-sensitive
2024-04-22 20:10:01 +02:00
smallmodel
48fc5a72b8
Fixed some setters and getters being inverted
2024-04-22 19:59:20 +02:00
smallmodel
26c3375112
When there is no enter_boneindex for turret slot, use the boneindex instead
...
This fixes #208
2024-04-22 18:28:56 +02:00
smallmodel
e89543710c
Check for max use angle when using the vehicle
2024-04-22 18:04:14 +02:00
smallmodel
ee48193f15
Added notagaxis
...
Fixes #222
2024-04-22 17:21:26 +02:00
smallmodel
6d10ed27c5
Fixed preferred weapon not showing on stats screen
...
Fixes #271
2024-04-22 16:48:24 +02:00
smallmodel
19c68aa25d
Ignore player collision if the actor is already nonsolid
...
This fixes #277 where the vehicle could get stuck due to the actor being solid afterwards
2024-04-21 20:33:31 +02:00
smallmodel
5ee7cb16bb
for ANIM_MODE_SCRIPTED and ANIM_MODE_NOCLIP, set the yaw based on the angular delta
2024-04-21 20:28:54 +02:00
smallmodel
4630a1f386
Fixed wrong return values for Vehicle::EventCanUse
...
It fixes Modello being hardly usable on maps like e3l2
2024-04-21 19:40:33 +02:00
smallmodel
06dab5d8b0
Refactored ScriptThread::EventPointsWithinDist for more clarity
2024-04-21 19:39:39 +02:00
smallmodel
054201bea9
Fixed character assertion fail when the character was a value below 0
2024-04-21 19:07:08 +02:00
smallmodel
f39a4c0bc7
Fixed projectile explosion origin.
...
This fixes exploder triggers sometimes never being triggered (fixes #294 )
2024-04-21 17:47:39 +02:00
smallmodel
0e20d7e880
Fixed arm/arm64 binary loading on Windows
...
(fixes #295 )
2024-04-14 23:03:46 +02:00
smallmodel
927f4bb4bd
Marked overridden virtual methods
2024-04-11 00:30:00 +02:00
smallmodel
f9901787b5
Removed "touch" unregistration
2024-04-11 00:26:45 +02:00
smallmodel
6731f56aea
Fixed m_PrevCodePos usage
2024-04-10 23:42:09 +02:00
smallmodel
d6870ecbee
Added trigger_sideduse from 2.30
2024-04-10 21:44:03 +02:00
smallmodel
eea8c42268
Added GetOwner event
2024-04-10 21:37:49 +02:00
smallmodel
99647e677a
Do projectile vulnerability for vehicles
2024-04-10 00:22:35 +02:00
smallmodel
a5d637dbb3
Added GetOwner()
2024-04-10 00:21:23 +02:00
smallmodel
048a973290
Added GetProjectileHitsRemaining
2024-04-10 00:20:32 +02:00
smallmodel
fa80e0bd75
Implemented FencePost
2024-04-10 00:05:00 +02:00
smallmodel
a23de7b361
Made Killed() a virtual method
2024-04-09 23:54:08 +02:00
smallmodel
dc60cb45b2
Fixed scripts using syntax like $self
2024-04-09 23:22:54 +02:00
smallmodel
2bf1144a14
Removed unused source files
2024-04-09 22:41:41 +02:00
smallmodel
ab5efa5a64
Fixed sentient being improperly attached/detached from/to the turret
...
This fixes #255
2024-04-09 00:12:02 +02:00
smallmodel
ccc98e4c62
Implemented missing ThrobbingBox_Stickybomb()
2024-04-08 23:38:51 +02:00
smallmodel
52424f63f0
Make ThrowObject::Throw throws an exception when the owner and targetent is NULL, also use centroid if the target entity is not a sentient
2024-04-08 21:52:48 +02:00
smallmodel
881df7193b
Fixed ThrowObject not usable when spawned from script.
...
This fixes #218
2024-04-08 21:47:24 +02:00
smallmodel
e859bba61d
Added a forgotten call to SetupNextCycle when turning on the projectile generator and fixed the uninitialized delay before beginning the cycle.
...
This fixes artillery system not working on t2l3, t2l4, e1l1... (fixes #224 )
2024-04-08 21:33:59 +02:00
smallmodel
e3beec985e
When parsing and compiling a script, return the length in an output parameter instead so the method can return a boolean to indicate success.
...
This fixes #221 where a script with no code would fail.
2024-04-08 21:04:26 +02:00
smallmodel
9eec50d69f
Fixed script model animation issues, especially when they're looping
...
This fixes #220 .
2024-04-08 20:52:58 +02:00
smallmodel
5a8cc83e6e
Fixed MM stepping
...
This fixes actors being slow and it also fixes actors going under the map
2024-03-31 22:52:30 +02:00
smallmodel
724aeb22ed
Fixed MM_SlideMove() velocity clip and interaction
2024-03-31 22:15:19 +02:00
smallmodel
6fdc756b59
Set terrain rendering settings to max detail by default
2024-03-17 22:38:44 +01: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
b4de0b53e4
Special items must not be archived in persistent data
2024-03-06 19:43:37 +01:00