Custom Formations 2
Moderator: Moderators
Re: Custom Formations 2
Could we get support for a single unit? Just send the unit to a random point on the line. I often get annoyed by the sudden jump to the old wall-move instead of line-move. Factories get the wall-move, don't they? Sending the built units to a random location would be good for the factory orders.
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
Re: Custom Formations 2
can we remove the meta key bullshit? why would I want to drag the buggy line in any situation when I can draw one
Re: Custom Formations 2
Factories get the formation lines. As for single unit, just don't click and drag? I guess I could add it anyway.Pxtl wrote:Could we get support for a single unit? Just send the unit to a random point on the line. I often get annoyed by the sudden jump to the old wall-move instead of line-move. Factories get the wall-move, don't they? Sending the built units to a random location would be good for the factory orders.
What? Widget uses alt instead of meta now, and it applies to attack/unload only, such that you can still do box attack and area unload.1v0ry_k1ng wrote:can we remove the meta key bullshit? why would I want to drag the buggy line in any situation when I can draw one
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: Custom Formations 2
For solo units may I suggest adding some functionality like this since clicking and dragging with 1 unit currently doesn't have a function in spring:
I've already hacked this into my copy but it was a quick job and not very neat so i'll keep it to myself for now, however it is a useful skirmishing feature.
I've already hacked this into my copy but it was a quick job and not very neat so i'll keep it to myself for now, however it is a useful skirmishing feature.
Re: Custom Formations 2
nice idea, couldnt u release it?
Re: Custom Formations 2
Really cool idea, also solves Pxtl's problem of the ugly wall-formation thing appearing for single units, probably useful for buggy pathing out of factories too if there's a difficult corner to get around.TheFatController wrote:For solo units may I suggest adding some functionality like this since clicking and dragging with 1 unit currently doesn't have a function in spring:
<image>
I've already hacked this into my copy but it was a quick job and not very neat so i'll keep it to myself for now, however it is a useful skirmishing feature.
I'll code it in when I have the time later today.
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: Custom Formations 2
One thing that is nice is that the unit can start moving as the line is being drawn in this mode as there's no need to wait
Drawback is it possibly sends too many commands if it's unoptimized.
Drawback is it possibly sends too many commands if it's unoptimized.
Re: Custom Formations 2
Version 2.1 released. Get from SpringDownloader or the widget database
Implemented TFCs idea. With a single unit selected it will follow the line starting immediately. Works with shift, but cannot be inserted. Waypoints are spaced a minimum distance apart (Configurable at top of file).
Shouldn't be any bugs, but the minimum spacing may need some tweaking, its a trade-off between speed/successful pathing and accuracy.
Tested in BA with zippers (Good), jeffys (Good), planes (Bad).
Depending on popularity there are many improvements that could be made (Inserting / Longer waypoints for planes / Working with multiple planes following one line / Curve smoothing / etc), so if you think this line thing is awesome then post some ideas.
Implemented TFCs idea. With a single unit selected it will follow the line starting immediately. Works with shift, but cannot be inserted. Waypoints are spaced a minimum distance apart (Configurable at top of file).
Shouldn't be any bugs, but the minimum spacing may need some tweaking, its a trade-off between speed/successful pathing and accuracy.
Tested in BA with zippers (Good), jeffys (Good), planes (Bad).
Depending on popularity there are many improvements that could be made (Inserting / Longer waypoints for planes / Working with multiple planes following one line / Curve smoothing / etc), so if you think this line thing is awesome then post some ideas.
Re: Custom Formations 2
the distance between the waypoints could be a function of the zoom/distance camera-ground
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: Custom Formations 2
Looks good, better than my hack - thanks for the quick update
Re: Custom Formations 2
couldnt u release a seperate widget, coz i would find it really usefull to set an attack route for more units with that drawing
Re: Custom Formations 2
this post is a thank you and a compliment to niobium for working so hard on this widget.
- TheMightyOne
- Posts: 492
- Joined: 26 Feb 2007, 14:32
Re: Custom Formations 2
i haven't read the complete thread so maybe somebody already suggested it. what i would like to have is that when i have a lot of units selected and i draw a short line that they'd make more then 1 line, depending on the length of the line i draw and the amount + size of the units selected. the second line should be build behind the first one starting in the middle of the first. i hope thats comprehensive...
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: Custom Formations 2
Maybe you could use the scroll wheel while drawing the line to control that, might be a bit fiddly and hard to do tho..!
Re: Custom Formations 2
But my mouse wheel is already used for zooming, and yes I do want to zoom in and out while drawing formation.
Re: Custom Formations 2
i think that makes sense
otherwise all the units will clump together
there should be a maximum "layers" to line-length ratio
just so it doesnt get too out of control
otherwise all the units will clump together
there should be a maximum "layers" to line-length ratio
just so it doesnt get too out of control
Re: Custom Formations 2
If I understood you right with how you want several lines, you can draw a kinda S-shaped line to do that.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Custom Formations 2
Yeah seriously it's not rocket science.JohannesH wrote:If I understood you right with how you want several lines, you can draw a kinda S-shaped line to do that.
- TheMightyOne
- Posts: 492
- Joined: 26 Feb 2007, 14:32
Re: Custom Formations 2
yea, though if i have 50 units selected id be sitting there for 2 mins drawing lines ... thats what widgets are all about, making life easier, right?CarRepairer wrote:Yeah seriously it's not rocket science.JohannesH wrote:If I understood you right with how you want several lines, you can draw a kinda S-shaped line to do that.
Re: Custom Formations 2
why not making a seperate widget for it, that works like in total warTheMightyOne wrote:yea, though if i have 50 units selected id be sitting there for 2 mins drawing lines ... thats what widgets are all about, making life easier, right?CarRepairer wrote:Yeah seriously it's not rocket science.JohannesH wrote:If I understood you right with how you want several lines, you can draw a kinda S-shaped line to do that.