You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both `Actor` and `HeldDevice` have the following functions:
64
64
`HotkeyActionIsActivated(hotkeyType)` returns whether a certain hotkey action is being activated or not.
65
65
`ActivateHotkeyAction(hotkeyType)` activates a certain hotkey action.
66
66
`DeactivateHotkeyAction(hotkeyType)` deactivates a certain hotkey action.
67
+
68
+
- New `Controller` state `WEAPON_RELOADHELD`, which is true every frame reload input is held (as opposed to `WEAPON_RELOAD` which is only true once when pressed).
67
69
68
70
- New `GAScripted` Lua script method `IsCompatibleScene(scene)` to allow Activities to generically decide which Scenes are eligible by returning a boolean value.
69
71
New `GAScripted` INI enumerating property `AddRequiredArea`, replacing Lua file scanning, to allow Activities to explicitly state which areas are strictly required.
@@ -83,6 +85,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
83
85
84
86
- New Z Order for scene layers and primitives: Background layer sits at z=100, Terrain Background at z=50, Terrain color and MO color at z=0, GUIs sit at z=-100, allowed z range is [-200, +200], in the future this'll be expanded to MO draw as well.
85
87
88
+
- New `ACraft` INI and Lua (R/W) property `CanEnterOrbit`, which determines whether a craft can enter orbit (and refund gold appropriately) or not. If false, default out-of-bounds deletion logic applies.
89
+
90
+
- New `MovableMan` function `GetMOsAtPosition(posX, posY, ignoreTeam, getsHitByMOsOnly)` that will return an iterator with all the `MovableObject`s that intersect that exact position with their sprite.
91
+
92
+
- New `SceneMan` function `CastAllMOsRay(startVector, rayVector, table ignoreMOIDs, ignoreTeam, ignoreMaterial, bool ignoreAllTerrain, int skip)` which returns an iterator with pointers to all the non-ignored MOs met along the ray.
93
+
86
94
</details>
87
95
88
96
<details><summary><b>Changed</b></summary>
@@ -117,7 +125,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
117
125
118
126
- Internal GUI element `ComboBox` no longer displays dropdown combobutton when disabled, to communicate visually that it's setting is not modifiable.
119
127
120
-
- Almost all ctrl+* special inputs functionality (i.e restarting activity, world dumps, showing performance stats) are now mapped to right alt, to not interfere with default crouching inputs. The only exception is ctrl+arrow keys for changing console size.
128
+
- Almost all ctrl+\* special inputs functionality (i.e restarting activity, world dumps, showing performance stats) are now mapped to right alt, to not interfere with default crouching inputs. The only exception is ctrl+arrow keys for changing console size.
121
129
122
130
-`Gib`s and detached `Attachable`s now inherit the parent's angular velocity by default.
123
131
@@ -127,6 +135,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
127
135
128
136
- Lua renamed `SceneLayer`->`StaticSceneLayer` due to changed SLBackground base class.
129
137
138
+
-`Scene` Lua functions `AddNavigatableArea(areaName)` and `ClearNavigatableAreas()` have been renamed/corrected to `AddNavigableArea(areaName)` and `ClearNavigableAreas()`, respectively.
139
+
140
+
-`MOSRotating` Lua function `AddWound` now additionally accepts the format `MOSRotating:AddWound(AEmitter* woundToAdd, const Vector& parentOffsetToSet, bool checkGibWoundLimit, bool isEntryWound, bool isExitWound)`, allowing modders to specify added wounds as entry- or exit wounds, for the purpose of not playing multiple burst sounds on the same frame. These new arguments are optional.
141
+
142
+
-`SceneMan` function `CastFindMORay` now has an extra bool parameter `findChildMOIDs` that denotes whether it also triggers on child MOIDs or not, which defaults to true for the same default behavior as before.
143
+
144
+
-`SceneMan` function `CastMORay` now can also accept a table of MOIDs instead of a single MOID, letting you ignore any arbitrary set of MOIDs.
145
+
146
+
- Techion Laser Rifle now has a constant range rather than being dependent on game resolution.
147
+
148
+
- Various performance improvements.
149
+
130
150
</details>
131
151
132
152
<details><summary><b>Fixed</b></summary>
@@ -151,6 +171,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
151
171
152
172
- Fixed allegro not loading alpha of image with alpha by using SDL_image instead.
153
173
174
+
- Various fixes and improvements to inventory management when dual-wielding or carrying a shield, to stop situations where the actor unexpectedly puts their items away.
175
+
176
+
- Fixed issue where MOSR `Gib`s, `AEmitter` or `PEmitter``Emission`s, and MetaMan `Player`s were not correctly accessible from script.
177
+
178
+
- Fixed a crash on launch when the `SupportedGameVersion` INI property was not set.
179
+
180
+
- Fixed several issues with the way pie menus and aiming interacts between players, such as opening the pie menu always resetting the M&KB player's aim and pie selection, as well as another issue where the pie menu would fail to appear entirely for some players.
181
+
154
182
</details>
155
183
156
184
<details><summary><b>Removed</b></summary>
@@ -2681,7 +2709,7 @@ This can be accessed via the new Lua (R/W) `SettingsMan` property `AIUpdateInter
2681
2709
2682
2710
-`TDExplosive.ActivatesWhenReleased` now works properly.
2683
2711
2684
-
- Various bug fixed related to all the Attachable and Emitter changes, so they can now me affected reliably and safely with lua.
2712
+
- Various bugs fixed related to all the Attachable and Emitter changes, so they can again be affected reliably and safely with lua.
2685
2713
2686
2714
- Various minor other things that have gotten lost in the shuffle.
0 commit comments