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
smallmodel
cacf1ca1b7
Set the unarmed flag when archiving persistent data
2024-03-06 19:35:15 +01:00
smallmodel
98c61529b9
Archive the weapon clip amount in persistent data
2024-03-06 19:33:48 +01:00
smallmodel
6675a491be
Fixed the model name when archiving persistant data
...
This fixes a crash when the next mission map is loaded and then saving/loading afterwards (fixes #237 )
2024-03-06 19:29:07 +01:00
smallmodel
b6485ad7db
Configstring optimization so that there is only one occurence of a configstring index in pending server commands
...
This fixes configstring overflow in big maps like t1l2 (fixes #289 )
2024-03-06 18:54:32 +01:00
smallmodel
9f5df368d1
Fixed infinite player team spectate
2024-03-05 23:30:25 +01:00
smallmodel
e970e29953
Use a constant expression for clarity
2024-03-05 22:59:12 +01:00
smallmodel
9fb559bdb1
Added an assertion check for lastRadarTime
2024-03-05 22:52:19 +01:00
smallmodel
61e9146385
Moved con_set entry to the header file
...
This fixes compilation issue with GCC (fixes #288 )
2024-03-05 18:30:31 +01:00
smallmodel
897c2322b9
Archive the target list
...
This fixes crashes related to scripts using entities by target name
2024-03-04 23:35:22 +01:00
smallmodel
7b8be9fed1
Added ArchiveObject() that accepts a SafePtr
2024-03-04 23:34:31 +01:00
smallmodel
cebb351505
Added and implemented TargetList
2024-03-04 23:08:22 +01:00
smallmodel
b4bce3431b
Archive LightClass object pointer instead of a Class object pointer
2024-03-04 22:51:29 +01:00
smallmodel
c6e3dfdbe6
Fixed velocity clip (sliding along plane)
...
This fixes the issue where vehicles would not be moving precisely where it should be moving (incorrect clipping of the velocity). For example, the minesweeper tank in e1l2 kept getting stuck because it didn't move appropriately (fixes #261 )
2024-03-04 22:40:49 +01:00
smallmodel
22d2790735
Fixed vehicle stepping
2024-03-04 22:27:00 +01:00
smallmodel
5d3b76b249
Cleaned up SetMoveInfo() / SetCEMoveInfo()
2024-03-04 22:26:56 +01:00
smallmodel
7b07be1502
use double instead of float
2024-03-04 22:25:31 +01:00
smallmodel
3acb796b59
Call VectorNormalize() directly in Vector::normalize()
2024-03-04 20:07:06 +01:00
smallmodel
25bbc1793d
Fixed AngleNormalize360
2024-03-04 20:06:35 +01:00
smallmodel
63456beeb0
Code clarity
2024-03-03 22:47:31 +01:00
smallmodel
2e32395cf2
VectorNormalize optimization
2024-03-03 19:51:56 +01:00
smallmodel
d04ed0aace
Made M_PI double
2024-03-03 19:46:32 +01:00
smallmodel
302f06f8d2
Clear the variable if the field cannot be found
2024-03-03 18:54:22 +01:00
smallmodel
4cf4ca2943
Fixed crash on pSoundAlias
2024-03-03 18:53:22 +01:00
smallmodel
fe35e02ed4
Fixed weapon pickup logic, like player picking up the weapon indefinitely when reaching max ammo
2024-03-03 18:09:19 +01:00
smallmodel
5fa1b98d34
Fixed vert Z coord not matching average height
...
This caused issue where verts would never be merged. This should fix #232
2024-03-03 17:52:29 +01:00
smallmodel
bebe117487
Formatted document
2024-03-03 17:34:01 +01:00
smallmodel
26495fe0f8
Refactored R_TerraTriNeighbor
2024-03-03 17:33:35 +01:00
smallmodel
4c4ac9f90e
Added more assertions for consistency
2024-03-03 16:24:09 +01:00
smallmodel
bf5fdb8f06
Fixed improper fence masks
...
This fixes #284 , fixes #280
2024-03-02 15:29:25 +01:00