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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+65-3Lines changed: 65 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,16 +50,45 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
50
50
51
51
- New `AEmitter` and `PEmitter` INI and Lua (R/W) property `PlayBurstSound` which denotes whether the BurstSound should play when appropriate. This should not be confused for a trigger - it's just a enable/disable toggle to avoid having to remove and add BurstSound altogether.
52
52
53
+
- New `MOSprite` INI and Lua (R/W) integer property `ForcedHFlip` which forces a certain flippedness and disallows anything else from ever changing it without clearing the forced value first. 0 is forced not flipped, 1 forced flipped, and -1 is no force.
54
+
55
+
- New hotkey bindings.
56
+
On Mouse+KB PC the defaults are: Weapon Primary Hotkey on V, Weapon Auxiliary Hotkey on H, Actor Primary Hotkey on X, Actor Auxiliary Hotkey on O.
57
+
Added new `Controller` states `WEAPON_PRIMARY_HOTKEYSTART`, `WEAPON_AUXILIARY_HOTKEYSTART`, `ACTOR_PRIMARY_HOTKEYSTART`, `ACTOR_AUXILIARY_HOTKEYSTART`, `WEAPON_PRIMARY_HOTKEY`, `WEAPON_AUXILIARY_HOTKEY`, `ACTOR_PRIMARY_HOTKEY`, `ACTOR_AUXILIARY_HOTKEY`
58
+
59
+
- New hotkey system for `Actor` and `HeldDevice`.
60
+
Pressing a certain new hotkey will mark it as activated on `Actor` and `HeldDevice`, letting scripts make use of the new bindings easily.
Both `Actor` and `HeldDevice` have the following functions:
64
+
`HotkeyActionIsActivated(hotkeyType)` returns whether a certain hotkey action is being activated or not.
65
+
`ActivateHotkeyAction(hotkeyType)` activates a certain hotkey action.
66
+
`DeactivateHotkeyAction(hotkeyType)` deactivates a certain hotkey action.
67
+
68
+
- New `GAScripted` Lua script method `IsCompatibleScene(scene)` to allow Activities to generically decide which Scenes are eligible by returning a boolean value.
69
+
New `GAScripted` INI enumerating property `AddRequiredArea`, replacing Lua file scanning, to allow Activities to explicitly state which areas are strictly required.
70
+
As before, these work in tandem. Both the required areas, if defined, and script conditional method, if defined, must pass for the scene to qualify.
71
+
72
+
- New `GameActivity` INI properties `TeamNTechSwitchEnabled` which determine whether activity team factions are configurable by the user. This is most useful for communicating what the player is not intended to change, or what inputs would be ignored otherwise.
73
+
53
74
- Allow lua scripts to use LuaJIT's BitOp module (see https://bitop.luajit.org/api.html)
54
75
76
+
- New `Emission` INI and Lua (R/W) property `ParticleCount` which sets how many particles the Emission spawns per emission. Defaults to 1.
77
+
78
+
- New `Gib` and `Emission` INI and Lua (R/W) property `InheritsAngularVel`, which determines how much of the parent MO's angular velocity they inherit. Defaults to 1 for gibs, 0 for emissions.
79
+
80
+
- New `Attachable` INI and Lua (R/W) properties `InheritsVelWhenDetached` and `InheritsAngularVelWhenDetached`, which determine how much of these velocities an attachable inherits from its parent when detached. Defaults to 1.
81
+
82
+
- 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.
83
+
55
84
</details>
56
85
57
86
<details><summary><b>Changed</b></summary>
58
87
59
88
- Improved navigation, making running and fast walkpaths much more consistent.
60
89
61
90
- Increased fog-of-war resolution in all vanilla activities, and conquest, from 20x20 to 4x4.
62
-
The Ronin Scrambler, the basic scanner, and `SceneMan:CastUnseenRay` have been changed to accomodate fog-of-war resolutions as fine as 1x1 and as course as 20x20.
91
+
The Ronin Scrambler, the basic scanner, and `SceneMan:CastUnseenRay` have been changed to accomodate fog-of-war resolutions as fine as 1x1 and as coarse as 20x20.
63
92
The fog-of-war revealing code is now multithreaded to increase performance.
64
93
65
94
- All vanilla scenario activities have had their settings polished, respecting settings which make sense and disabling settings which don't.
@@ -81,7 +110,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
81
110
82
111
- The `LimbPath` property `NormalTravelSpeed` has been renamed to just `TravelSpeed`.
83
112
84
-
- 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.
113
+
-`GameActivity` INI properties `TeamNTech` values switched to lazy eval, allowing them to be validated once all modules are loaded.
114
+
As well, the scenario menu activity configuration screen now respects defaults set in INI, where possible.
115
+
116
+
- Internal GUI element `ComboBox` no longer displays dropdown combobutton when disabled, to communicate visually that it's setting is not modifiable.
117
+
118
+
- 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.
119
+
120
+
-`Gib`s and detached `Attachable`s now inherit the parent's angular velocity by default.
121
+
122
+
-`InheritsVel` now accounts for the angular velocity of the parent MO, resulting in offset gibs and emissions being flung further away.
123
+
124
+
-`InheritsVel` and its ilk have been uncapped, allowing users to set them outside of 0-1.
125
+
126
+
-`Scene` Lua functions `AddNavigatableArea(areaName)` and `ClearNavigatableAreas()` have been renamed/corrected to `AddNavigableArea(areaName)` and `ClearNavigableAreas()`, respectively.
127
+
128
+
-`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.
129
+
130
+
- Techion Laser Rifle now has a constant range rather than being dependent on game resolution.
131
+
132
+
- Various performance improvements.
85
133
86
134
</details>
87
135
@@ -99,6 +147,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
99
147
100
148
- Fixed an issue where an `Actor`'s MovementState wasn't correctly accessible from script.
101
149
150
+
- Fixed mounted HeldDevices not respecting InheritedRotAngleOffset.
151
+
152
+
- Fixed an issue where internal Lua functions OriginalDoFile, OriginalLoadFile, and OriginalRequire were polluting the global namespace. They have now been made inaccessible.
153
+
154
+
- 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.
155
+
156
+
- Fixed issue where MOSR `Gib`s, `AEmitter` or `PEmitter``Emission`s, and MetaMan `Player`s were not correctly accessible from script.
157
+
158
+
- Fixed a crash on launch when the `SupportedGameVersion` INI property was not set.
159
+
102
160
</details>
103
161
104
162
<details><summary><b>Removed</b></summary>
@@ -108,6 +166,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
108
166
109
167
- The Signal Hunt activity no longer has a preview image, as it was not formatted correctly and spoiled the interior structure of the cave.
110
168
169
+
- Removed `GAScripted` Lua script method `SceneTest()` as the new Lua function `IsCompatibleScene(scene)` is more capable.
170
+
Removed `GAScripted` C++ functionality that would scan the Lua script file to determine which areas are required. `AddRequiredArea` in the INI should be used instead.
171
+
Removed `Scene` Lua function `GetOptionalArea` as it functioned identically to `GetArea` aside from triggering the aforementioned (and now removed) Lua script file scanning.
172
+
111
173
- Removed `AHuman` property `MaxCrouchRotation`. `CrouchRotAngleTarget` is now used instead.
112
174
113
175
- Deprecated `LimbPath` properties `SlowTravelSpeed`, `NormalTravelSpeed` and `FastTravelSpeed`. For the sake of backwards compatibility they will not crash the game and `NormalTravelSpeed` is a valid synonym for the new `TravelSpeed`.
@@ -2625,7 +2687,7 @@ This can be accessed via the new Lua (R/W) `SettingsMan` property `AIUpdateInter
2625
2687
2626
2688
-`TDExplosive.ActivatesWhenReleased` now works properly.
2627
2689
2628
-
- Various bug fixed related to all the Attachable and Emitter changes, so they can now me affected reliably and safely with lua.
2690
+
- Various bugs fixed related to all the Attachable and Emitter changes, so they can again be affected reliably and safely with lua.
2629
2691
2630
2692
- Various minor other things that have gotten lost in the shuffle.
// Path to orbit guaranteed by currently being in orbit.
202
212
AddActivity = GAScripted
203
213
PresetName = One-Man Army (Diggers, 0-G)
204
214
Description = Survive with only one unit and no backups in a Zero-G void! The enemy will only use diggers, but the harder the difficulty the less potent weaponry you start out with, and the longer you have to survive.
0 commit comments