PLZ HELP fix this behavior
Moderator: Moderators
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: PLZ HELP fix this behavior
It looks as though the ship has been given a move order to a location that it can't actually reach. What do you think is wrong?
Without a short demo that reproduces the behaviour, can't say anything further.
Without a short demo that reproduces the behaviour, can't say anything further.
Re: PLZ HELP fix this behavior
Well, this happenned here : http://replays.springrts.com/replay/549 ... 107011b24/
But this happens in every game with ships.
But this happens in every game with ships.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: PLZ HELP fix this behavior
I am not watching a 38 minute replay. I am happy to watch a 30 second replay. Also:
What do you think is wrong?
Re: PLZ HELP fix this behavior
what is wrong?
everything almost? the shaking, the fact he's sliding stupidly and keep his speed while in collision? Can't collision set speed to 0? Units can turn while immobile. Also the ships shouldnt try to reach a point he can't, until the end of game.
If u wanna try to see this bad behavior, start a game alone, use cheat command, put a battleship close to shore and move it.
everything almost? the shaking, the fact he's sliding stupidly and keep his speed while in collision? Can't collision set speed to 0? Units can turn while immobile. Also the ships shouldnt try to reach a point he can't, until the end of game.
If u wanna try to see this bad behavior, start a game alone, use cheat command, put a battleship close to shore and move it.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: PLZ HELP fix this behavior
The ship does not collide with any other units in your gif. Afaics all that is involved is interaction with impassable terrain. Here is the long version of viewtopic.php?f=11&t=36754#p585263 :
I suspect that what you're seeing is the normal behaviour for when a player repeatedly makes a unit move into a place where that unit cannot go: it shakes/bounces off back into where it can move again.
A move order into impassable terrain does not cause the effect you display if the destination is fully in impassable terrain - in that case the unit moves in as close as it can reasonably go and then stops gracefully. However, if the destination is on or very near the borderline of impassable terrain, the unit will try to push right in and hope for the best.
From your gif, I am unable to tell with any certainty if there is a player spamming/on-repeating move orders onto the borderline of impassable terrain, and am also unable to see the passability map of the ship, or the shape of the sea bed. It's not clear which BA version you're using, so I also cannot readily check unit stats... a gif conveys far less information than a short replay could.
If my guess is correct, it seems sensible to report this to mantis if you think it is a bug, or want to make a feature request for different treatment of move orders directing units onto the borderline of impassable terrain; you should include a short replay that you have created to replicate the behaviour.
I suspect that what you're seeing is the normal behaviour for when a player repeatedly makes a unit move into a place where that unit cannot go: it shakes/bounces off back into where it can move again.
A move order into impassable terrain does not cause the effect you display if the destination is fully in impassable terrain - in that case the unit moves in as close as it can reasonably go and then stops gracefully. However, if the destination is on or very near the borderline of impassable terrain, the unit will try to push right in and hope for the best.
From your gif, I am unable to tell with any certainty if there is a player spamming/on-repeating move orders onto the borderline of impassable terrain, and am also unable to see the passability map of the ship, or the shape of the sea bed. It's not clear which BA version you're using, so I also cannot readily check unit stats... a gif conveys far less information than a short replay could.
If my guess is correct, it seems sensible to report this to mantis if you think it is a bug, or want to make a feature request for different treatment of move orders directing units onto the borderline of impassable terrain; you should include a short replay that you have created to replicate the behaviour.
Re: PLZ HELP fix this behavior
I am not stupid, the player is not spamming, its standard behavior we have since month and month in 103 104 everywhere.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: PLZ HELP fix this behavior
K, in that case for me to look any further a short replay which replicates the behaviour (without having to watch a game) is probably needed. My attempt to replicate your gif without spamming move orders, on the map I was making at the time, was not very successful.
- OPAdolfSatan
- Posts: 35
- Joined: 28 Nov 2016, 10:27
Re: PLZ HELP fix this behavior
triton wrote:
By the looks of it, Triton tried to buff up that destroyer with the ability to walk on land GG. Fix one thing break 10 things, pretty good ratio.
"It's still a test"
Also when are we going to have turrets to kill all upcoming unit micro? Since devs so what called buff and nerf some aa to kill air thats already hard to micro. We just need some land defences too like a tower that kills all upcoming scouts of 2000 range its the way to fix ba IMO. This will help every new player or players who cant kill units that are well managed,so micro is no longer need in BA just in BA.
Re: PLZ HELP fix this behavior
Thx for your help adolf, you are the best. <3
Re: PLZ HELP fix this behavior
It could, but units constantly stopping dead in their tracks would be extremely annoying.Can't collision set speed to 0? Units can turn while immobile.
Here the waypoint *was* theoretically reachable, but placed in shallow water. Collision detection kept pushing the ship away because (while trying to approach this point) its *footprint rectangle* started overlapping the non-traversable shoreline, an edge condition that can easily be detected by a Spring.TestMoveOrder query.Also the ships shouldnt try to reach a point he can't, until the end of game.
These problems were anticipated long ago, so there is a MoveDef key called "allowTerrainCollisions" which controls whether collision handling takes the entire footprint into account or not. Unfortunately setting it to false carries a risk of units getting stuck on terrain more often, which is up to you to weigh against the impact of seeing jittery movements every now and then.
Re: PLZ HELP fix this behavior
I agree with OP and complained about this in the past too.
This is an engine fail. It makes spring engine physics look broken.
Such fails also happen for land units when turning near impassable terrain.
If something causes a unit to move slighty into impassable terrain, it should gently slide back to passable terrain, and how it's done could take into account the unit's limitations in terms of velocity, turnrate, acceleration.
Is this reported as an issue on mantis?
This is an engine fail. It makes spring engine physics look broken.
Such fails also happen for land units when turning near impassable terrain.
If something causes a unit to move slighty into impassable terrain, it should gently slide back to passable terrain, and how it's done could take into account the unit's limitations in terms of velocity, turnrate, acceleration.
Is this reported as an issue on mantis?
Re: PLZ HELP fix this behavior
this ship problem don't look so good, it is mega lol but we don't wanne spring to be a game for lol, this option of mod option is not mutch of a option, neither of them are good options, I know you guys engine programmers look at this like a small problem and it the true - it is small problem, but the game is made from many small things and user experience is a big thing made from small things :)
Re: PLZ HELP fix this behavior
This has already been fixed in upstream maintenance builds.
All BA needs to do is update, we can not help further.
All BA needs to do is update, we can not help further.
Re: PLZ HELP fix this behavior
This video is from 104.1-399-ga506a03 maintenance :
Is it possible for us to improve this behavior, like something a bit more realistic?
Is it possible for us to improve this behavior, like something a bit more realistic?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: PLZ HELP fix this behavior
You are trying to sail a large ship into shallow coastal water & dry land - perhaps a loud cracking noise followed by an expensive salvage operation?something a bit more realistic?
Re: PLZ HELP fix this behavior
Don't forget to involve a love story plot too!
Re: PLZ HELP fix this behavior
A massive improvement would be for this sliding behaviour to obey unit's maxVelocity constraint. Very often units will suddenly obtain momentary speeds that are much larger than what they are able to do when walking in a straight line.
This is extremely jarring and i don't think it's required for the sliding pathing mechanism to work.
This is extremely jarring and i don't think it's required for the sliding pathing mechanism to work.
Re: PLZ HELP fix this behavior
Another weird behavior we have since months, is it BA10 related? Can you help here? We have this issue on every engine version.
It's just 5 stumpies + 1 move order
P.S : this issue doesn't only affect stumpies ^^
It's just 5 stumpies + 1 move order
P.S : this issue doesn't only affect stumpies ^^
Re: PLZ HELP fix this behavior
2 heavy tank stucked forever
1 corvette stucked forever, issue happenned on latest maintenance engine version.
It would be awesome to organize a discussion between Doo and some engine devs.