Sometimes when ships arrive to sector boosting and are under orders to attack something they won't stop boosting and fly sideways, backwards, etc looking dumb...
I was wondering if it was possible to link the guns going red into stop boosting.
Having the command repeat might cause ships to drop boosting while flying by enemies but I consider that VERY small issue compared to ships boosting all over the place.
Also, setting a ship to defend instead of attacking would let ships boost by enemies unless they attack and cause retaliation, in which case "sure, let's get it on"
So, question is, can activating guns be linked into stop boosting?
[REQ: BUG FIX] guns activate on ship => that ship stops boosting
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 1278
- Joined: Sun, 7. Dec 03, 12:03
-
- Posts: 1278
- Joined: Sun, 7. Dec 03, 12:03
I was taking it in considoration actually... From the two, id rather take "trade ships dropping off boost" then "my ships flying sideways all over the place"
I did ficure out a failsafe'ish. Trade ships should be on "defencive" and attack ONLY to retaliate. In this case they would drop boost only if attacked... Kinda fits when you think it. They now just run off getting full shields while boosting off... What can a legimate genociding madman do against that? ^^
Jeah, may end up being bit harder to then it sounds but "can it be done" ? Or is there another good solution to stop ships boosting in combat.
I did ficure out a failsafe'ish. Trade ships should be on "defencive" and attack ONLY to retaliate. In this case they would drop boost only if attacked... Kinda fits when you think it. They now just run off getting full shields while boosting off... What can a legimate genociding madman do against that? ^^
Jeah, may end up being bit harder to then it sounds but "can it be done" ? Or is there another good solution to stop ships boosting in combat.
-
- Posts: 421
- Joined: Wed, 22. Jul 09, 22:31
Re: [REQ: BUG FIX] guns activate on ship => that ship stops boosting
Yes.swatti wrote:So, question is, can activating guns be linked into stop boosting?
But it's not directly related to turrets, which are controlled by the Defense Officer and are completely independent from how the ship moves. For example, a ship with a "hold position" command can shoot back but will not move at all (which is kind of silly but whatever). Also, unless I'm missing something, this "bug" doesn't happen for traders or miner unless you explicitly ask them to attack while they're boosting.
The "stop boosting" should be done as soon as a fight maneuver is initiated. Currently when "fight.attack.object" starts and previous scripts are aborted and the boost doesn't stop, that is the core of the problem.
The most elegant way of dealing with that would be to put a stop boost command in the "on_abort" node of "move.generic". Or in any script that can initiate a boost.
I suppose that would work.
Last edited by bm01 on Fri, 24. Oct 14, 18:01, edited 1 time in total.
-
- Posts: 1278
- Joined: Sun, 7. Dec 03, 12:03