View Issue Details [ Jump to Notes ] [ Related Changesets ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0006357 | Spring engine | Lua | public | 2019-12-31 22:43 | 2020-07-03 16:51 | ||||
Reporter | FLOZi | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 104.0 +git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006357: MoveCtrlNotify for SetLimits | ||||||||
Description | It'd be really useful if MoveCtrlNotify was called when a unit hit the limits set in MoveCtrl.SetLimits. This could be via a new scriptNotify code (i.e. 2) and might be enabled/disabled through a MoveCtrl.SetTrackLimits callout. I'll happily do the work if you indicate the preferred implementation. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | Irrelevant | ||||||||
Attached Files |
|
![]() |
|
FLOZi (reporter) 2020-01-09 22:41 |
path2.diff replaces patch.diff, disabled existing default behaviour of SetLimits (forcing position and setting velocity to 0) and adds 'SetLimitsStop' callout to enable that. Allows Game control via MoveCtrlNotify to do whatever you want when the limits are reached, or to enable current behaviour. |
Anonymous (viewer) 2020-07-02 23:30 |
Fix f4563f2fd2091da4fc7cbd408d555674e8641773 committed to develop branch: fix 0006357, repo: spring changeset id: 37876 |
![]() |
|||
spring: develop f4563f2f
Timestamp: 2020-07-02 18:05:43 Author: rtri [ Details ] [ Diff ] |
fix 0006357 | ||
mod - rts/Lua/LuaConstGame.cpp | [ Diff ] [ File ] | ||
mod - rts/Lua/LuaSyncedMoveCtrl.cpp | [ Diff ] [ File ] | ||
mod - rts/Lua/LuaSyncedMoveCtrl.h | [ Diff ] [ File ] | ||
mod - rts/Sim/MoveTypes/ScriptMoveType.cpp | [ Diff ] [ File ] | ||
mod - rts/Sim/MoveTypes/ScriptMoveType.h | [ Diff ] [ File ] | ||
spring: maintenance adb8b6a2
Timestamp: 2020-07-02 18:06:24 Author: rtri [ Details ] [ Diff ] |
fix 0006357 | ||
mod - rts/Lua/LuaConstGame.cpp | [ Diff ] [ File ] | ||
mod - rts/Lua/LuaSyncedMoveCtrl.cpp | [ Diff ] [ File ] | ||
mod - rts/Lua/LuaSyncedMoveCtrl.h | [ Diff ] [ File ] | ||
mod - rts/Sim/MoveTypes/ScriptMoveType.cpp | [ Diff ] [ File ] | ||
mod - rts/Sim/MoveTypes/ScriptMoveType.h | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-12-31 22:43 | FLOZi | New Issue | |
2020-01-02 09:57 | FLOZi | File Added: patch.diff | |
2020-01-09 22:40 | FLOZi | File Added: patch2.diff | |
2020-01-09 22:41 | FLOZi | Note Added: 0020299 | |
2020-07-02 23:30 | Changeset attached | => spring develop f4563f2f | |
2020-07-02 23:30 | Anonymous | Note Added: 0020434 | |
2020-07-02 23:30 | Changeset attached | => spring maintenance adb8b6a2 | |
2020-07-03 16:51 | abma | Assigned To | => Kloot |
2020-07-03 16:51 | abma | Status | new => resolved |
2020-07-03 16:51 | abma | Resolution | open => fixed |