Search

Search found 269 matches

by Godde
03 Apr 2015, 12:54
Forum: General Discussion
Topic: Path finding
Replies: 66
Views: 4174

Re: Path finding

It is all very peculiar to me. I don't understand why they pile up. Because long distance pathing is broken down into one or a few paths(the blue lines) rather than individual paths for all the units. When several units converge on the same paths they block eachother and form a line. Edit:I should ...
by Godde
03 Apr 2015, 07:00
Forum: General Discussion
Topic: Path finding
Replies: 66
Views: 4174

Re: Path finding

This happens over long distances: Red = unpathable, too steep whatever green = area that we can go blue = the way the units will follow the topography. black people = units http://imageshack.com/a/img538/9688/c4hztE.jpg Overtime everything more or less ends in a big line.. This is most likely cause...
by Godde
29 Mar 2015, 19:34
Forum: Lua Scripts
Topic: Execute default command on right mouse button press
Replies: 4
Views: 654

Re: Execute default command on right mouse button press

8611 wrote:You already know the index where something is, so can just check that instead of looping through whole table.
True that. Yeah. I'm not thinking like its a Lua table.
by Godde
29 Mar 2015, 07:55
Forum: Lua Scripts
Topic: Execute default command on right mouse button press
Replies: 4
Views: 654

Re: Execute default command on right mouse button press

A mouse button click consist of button press and button release. Default behaviour on mouse button click, for most commands, is that you get a single target command if you don't move the mouse between button press and button release and that you get an area command if you move the mouse between butt...
by Godde
25 Mar 2015, 21:34
Forum: Lua Scripts
Topic: Execute default command on right mouse button press
Replies: 4
Views: 654

Execute default command on right mouse button press

This simple widget executes default commands on right mouse button press. Makes it easier to target stuff with default commands. It has been disabled for move commands to make it easier to draw customFormation move lines. Guard commands can be disabled easily aswell if you want it to be easier to dr...
by Godde
20 Mar 2015, 02:39
Forum: Ludum Dare
Topic: Ludum Dare 32
Replies: 124
Views: 11987

Re: Ludum Dare 32

I would participate if I had any confidence in cranking out code in a timely manner.

However usually I just end up playing around for hours without actually getting closer to my goals.

Oh, look! pixels!
Image
by Godde
20 Mar 2015, 02:31
Forum: Lua Scripts
Topic: Easy mouse targeting widget
Replies: 2
Views: 481

Re: Easy mouse targeting widget

Well this isn't bug hunting per se. In my humble opinion it is an improvement over the default mouse behavior however.
For discussion see topic Targeting, precision and ambiguity when using the mouse.
by Godde
18 Mar 2015, 16:03
Forum: General Discussion
Topic: Targeting, precision and ambiguity when using the mouse
Replies: 4
Views: 713

Re: Targeting, precision and ambiguity when using the mouse

However there is some ambiguity when trying to perform an area attack as any unit that is under the mouse cursor during mouse button release will trigger a single target attack even if that is a friendly unit. You know, it's possible to check if units is allied and only trigger attack for enemy uni...
by Godde
18 Mar 2015, 02:34
Forum: General Discussion
Topic: Targeting, precision and ambiguity when using the mouse
Replies: 4
Views: 713

Targeting, precision and ambiguity when using the mouse

So after of losing some games, I decided it was not my own fault but instead blamed the game/engine. There is ambiguity in the mouse control scheme regarding single unit targeting and area commands. To target a single target you have to press the mouse button and then release the mouse button over t...
by Godde
17 Mar 2015, 20:38
Forum: Lua Scripts
Topic: Easy mouse targeting widget
Replies: 2
Views: 481

Easy mouse targeting widget

This widget makes it easier to target a single stationary or moving unit with Attack, Reclaim, Capture, Repair and Load commands. It overrides the default area commands when the mouse cursor is on top of the same unit during both mouse button press and mouse button release. Flying units in particula...
by Godde
15 Mar 2015, 18:24
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

Lol, yeah. I know it is a book. But I thought it was some game that had a proper zone control UI.
by Godde
15 Mar 2015, 11:47
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

TacZones sounds interesting. I have always wanted to do something similar. Mm... I searched for TacZones but couldn't find anything on the forum except for this thread. Do you have a link? I like that: like the Art of War with the different grounds. Is it a game? I searched on youtube but couldn't f...
by Godde
14 Mar 2015, 23:42
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

Made a widget to target unit on mouse button release. https://springrts.com/phpbb/viewtopic.php?f=23&t=33275&p=567663#p567663 I think I'm gonna use this in all the games i play. function widget:GetInfo() return { name = "Attack target on mouse release", desc = "attacks specific target under mouse cu...
by Godde
14 Mar 2015, 23:25
Forum: Lua Scripts
Topic: Targeting units with attack commands on mouse release
Replies: 1
Views: 529

Targeting units with attack commands on mouse release

This makes it easier to target specific units when they are on the move and especially airplanes which the default cylindrical area commands might miss entirely with a tilted camera.
by Godde
09 Mar 2015, 23:51
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

Basically I just wants the same functionality as this FromMouse_50++_FromMouse_50++_ClearSelection_SelectNum_1+ where FromMouse_50+ where is distance from the mouse visually in pixels or something like that. So basically instead of tiny precise pointer that needs to click directly on target want a ...
by Godde
09 Mar 2015, 18:16
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

PicassoCT wrote:That is one of the reasons why i added TacZones in the first place..
What is TacZones?
by Godde
09 Mar 2015, 12:43
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

1) I think when dragging the area-circle the mouse would be at outside, far away from wanted target. Maybe instead: "which unit is clostest to center of circle"? I think that people who tries to target a moving unit will naturally try to move the mouse cursor with the motion of the unit. There are ...
by Godde
09 Mar 2015, 08:42
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

This widget test detects area-attacks and if radius is too small then it ignores the command and instead gives new single-unit attack cmd. It doesn't work well on airplanes. Probably because the cylinder just extends upwards and if the camera is tilted, the plane might be missed completely. Also if...
by Godde
08 Mar 2015, 20:25
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Re: Changing mouse order behavior. Single target vs area com

Silentwings wrote:Maybe this viewtopic.php?f=11&t=33173 ?
That only works for "select", right?

I tried:
bind z attack FromMouse_50++_ClearSelection_SelectNum_1+
but that only gave me a regular attack command.
by Godde
08 Mar 2015, 10:44
Forum: General Discussion
Topic: Changing mouse order behavior. Single target vs area command
Replies: 19
Views: 1776

Changing mouse order behavior. Single target vs area command

It is hard to target a specific moving unit with an attack command because if I press the mouse button and move the mouse at the same time, I will get an attack circle.

How can I make it easier to target moving units?
Could a widget change the mouse order behavior?

Go to advanced search