Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#3786 closed enhancement (fixed)

[PATCH] elliptic animal footprints — at Version 13

Reported by: Palaxin Owned by: sanderd17
Priority: Should Have Milestone: Alpha 21
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description (last modified by elexis)

Nearly all animals currently have circle footprints which do not represent their bodyshape nicely. Attached is a patch which is aimed to make footprints fit better to their owners and to enhance consistency. Have a look at the screenshot for illustration. The changes are:

  • footprint resize for all land animals: length/width = 2
  • footprint resize for sharks and whales: length/width = 4 (same as triremes)
  • halving of fish footprint radius (fits the swarm size now)
  • line thickness adjustments for fish, shark, rhino, giraffe, walrus, camel and crocodile
  • adjustments for some absurd footprint height values
  • removal of a commented out section from the peacock template which has been existing since his introduction 4 years ago at r11254
  • consistent use of integers for armor values (replaced some ".0"-floats)
  • whitespace fixes: spaces instead of tabs, added a missing newline at file end

This is the first patch of #3778, which will be split into several parts.

http://trac.wildfiregames.com/raw-attachment/ticket/3786/animal-footprints.jpg

Change History (17)

by Palaxin, 8 years ago

Attachment: 3786_v1.patch added

by Palaxin, 8 years ago

Attachment: animal-footprints.jpg added

comment:1 by Palaxin, 8 years ago

Description: modified (diff)

comment:2 by Palaxin, 8 years ago

questions

  • Is the huge size of the fish footprint intended to better support multiple gatherers?
  • Is the height value of the footprints currently of any use? If not, are there any plans?
Last edited 8 years ago by Palaxin (previous) (diff)

comment:3 by Palaxin, 8 years ago

Description: modified (diff)

comment:4 by Palaxin, 8 years ago

Description: modified (diff)

comment:5 by Palaxin, 8 years ago

Description: modified (diff)

comment:6 by Itms, 8 years ago

Milestone: Alpha 20Alpha 21

comment:7 by sanderd17, 8 years ago

I guess the height of the footprint isn't used anymore. But I think it was used previously to determined the selection shape. And I think fish footprints were made so they're easier to find (and I think it's best to keep that size).

The patch looks good, but is annoying to apply now. Could you please create the patch so "trunk" is the root directory (and thus all paths start like "binaries/data/...").

Thanks.

Last edited 8 years ago by sanderd17 (previous) (diff)

by Palaxin, 8 years ago

Attachment: 3786_v2.patch added

fixed paths and keep fish footprint size (line thickness adjusted to other animals though)

by Palaxin, 8 years ago

Attachment: 3786_v3.patch added

now paths start with "binaries/data/..."

comment:8 by Palaxin, 8 years ago

sanderd17, thanks for the information :)

At first I made the paths like scythetwirler told me once.

comment:9 by sanderd17, 8 years ago

Well, trunk is the root of the repo (the things next to it are different repos). So scythetwirler is correct, but I can see it causing confusion.

The problem with including the name "trunk" in the diffs is that it doesn't get the same name for everyone. Like I chose to checkout SVN in the "0ad" directory, so my paths are "0ad/binaries/data/...", which meant I couldn't apply the patch without some annoying editing to it.

comment:10 by sanderd17, 8 years ago

Owner: set to sanderd17
Resolution: fixed
Status: newclosed

In 18014:

Improve selection rings for animals. Patch by Palaxin. Fixes #3786

comment:11 by sanderd17, 8 years ago

Keywords: review removed

comment:12 by Palaxin, 8 years ago

thanks for the commit and the explanations, now I understand :)

comment:13 by elexis, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.