Jump to content
Sign in to follow this  
Nescio

0abc mod

Recommended Posts

Just now, Nescio said:

Unfortunately I'm mystified by your answer.

Most portraits are 128×128 pixels. The GUI displays them as 64×64 portraits in the tooltip and 32×32 icons on the right selection panel. One quadrant is 16×16 pixels. In the  I guess the `gui.scale = 2.0` is applied afterwards, i.e. 128→16→32.

Anyway, the numeral with shadow (viii) actually looks worse in the tech tree than the simple one I made initially (iii):

  Reveal hidden contents

1575982320_Screenshotfrom2019-08-2121-43-19.png.8fa9d9b44ec602ff9031471cc62beb7a.png

So I suppose I should keep it simple and leave making portraits with shadows to more experienced people.

In simple words, the numerals: you are going to have to try several times because the original icons were not designed to have them, many will not fit well, others if and others perhaps.

Share this post


Link to post
Share on other sites
12 hours ago, Lion.Kanzen said:

image.thumb.png.e2fba6482005a7db3798dec2f10c0760.png

For example, this, your own numeral covers the wheat icon, why put the wheat if you're going to cover it?

Well, I didn't design those technology portraits, I simply took farming_training.png and overlayed the numeral icon over the top right quadrant.

Anyway, I reproduced those numerals in svg:

Spoiler

Very simple version:


<svg height="16" width="16">
  <text font-family="Linux Libertine Display" font-size="16" letter-spacing="-2" x="8" y="13" text-anchor="middle" alignment-baseline="middle" fill="gold">I</text>
</svg>

The slightly more complicated version I actually used:


<svg height="128" width="128">
  <text font-family="Linux Libertine Display" font-size="128" letter-spacing="-10" x="65" y="106" text-anchor="middle" alignment-baseline="middle" fill="gold">IV</text>
</svg>

And a taller, narrower version I tried out, which looks nice on its own but poor in game:


<svg height="128" width="128">
  <g transform="scale(1 2)">
    <text font-family="Linux Libertine Display" font-size="96" letter-spacing="-10" x="65" y="63" text-anchor="middle" alignment-baseline="middle" fill="gold">VIII</text>
  </g>
</svg>

 

You can then export to png with e.g.:

inkscape -z -w 1024 -h 1024 in.svg -e out.png

Then you get:

Spoiler

i.thumb.png.b124a7d7c514a70552aa494f8def46d6.png

ii.thumb.png.e4a0bbc52b4feb21a9ae1e62ace572c3.png

iii.thumb.png.4af7c98778f5b3d2dc50032a4a1f4ddd.pngiv.thumb.png.da28892fc2b36acf8cecee50a6509f94.png

 

Subsequently I applied the steps described by @Alexandermb in GIMP and shrunk them to 128×128:

Spoiler

i.png.3a004ad1d628957f23740864d52ea2e8.pngii.png.e5245b595d6e90cb290004f97a8e6b44.pngiii.png.e1fc3adfbe5ba528002559c7b4cd4325.pngiv.png.70c93a41123a67dfc4494e3f728233c5.png

Although those certainly look better on their own, they actually look worse in game when shrunk by the GUI.

As @wowgetoffyourcellphone pointed out, they could use a black border, but it has to remain visible when displayed as small as 16×16. In other words, adding fancy shadows was a nice experiment, but not really an improvement in this case.

While the simple numerals I first posted are not perfect, they're good enough for me as placeholders.

Besides, I don't really want to create art; modding the gui and simulation files is already more than enough work for me. Let's leave art to the artists. :)

PS I'm still hoping someone would be kind enough to remove the background from range.png for me.

Share this post


Link to post
Share on other sites

Also, any opinions on using chess pieces for unit type ranks?

Spoiler

support, infantry, cavalry, elephant, siege, ship, hero, catafalque:

support.png.be44512633ef0e7417604046cee83282.pnginfantry.png.1b2ecd0a7cfe5a64deb2f087dfeb4db3.pngcavalry.png.36697fa2dff76bdd40d27bcf8c1c8e4a.pngelephant.png.1c0bb4aa50ae45a1222318786a294992.pngsiege.png.d1f7177f056346203e6fa296802bec11.pngship.png.7232cc472a1fa2f043b6cb7759884327.pnghero.png.2139ee54656f4dd1afc1ac9ad95fe03e.pngcatafalque.png.9b731da59bb1b15fbfc7fb3e27496c9d.png

I don't have a camel or chariot yet, but I did find a giraffe, unicorn, and zebra:

giraffe.png.4bda2e68526a51a8ae9fd913576e055e.pngunicorn.png.18cb2c59376ea8b0ae994269a7ac7c26.pngzebra.png.a71626cbef61d641f21edb82dbb270cf.png

 

  • Like 2

Share this post


Link to post
Share on other sites
2 hours ago, Nescio said:

Also, any opinions on using chess pieces for unit type ranks?

  Hide contents

support, infantry, cavalry, elephant, siege, ship, hero, catafalque:

support.png.be44512633ef0e7417604046cee83282.pnginfantry.png.1b2ecd0a7cfe5a64deb2f087dfeb4db3.pngcavalry.png.36697fa2dff76bdd40d27bcf8c1c8e4a.pngelephant.png.1c0bb4aa50ae45a1222318786a294992.pngsiege.png.d1f7177f056346203e6fa296802bec11.pngship.png.7232cc472a1fa2f043b6cb7759884327.pnghero.png.2139ee54656f4dd1afc1ac9ad95fe03e.pngcatafalque.png.9b731da59bb1b15fbfc7fb3e27496c9d.png

I don't have a camel or chariot yet, but I did find a giraffe, unicorn, and zebra:

giraffe.png.4bda2e68526a51a8ae9fd913576e055e.pngunicorn.png.18cb2c59376ea8b0ae994269a7ac7c26.pngzebra.png.a71626cbef61d641f21edb82dbb270cf.png

 

This is a great idea! Although in my opinion the unit icon picture should have already conveyed its type. I think weapon type is the one that is often hard to infer from unit icon only.

Share this post


Link to post
Share on other sites
23 minutes ago, azayrahmad said:

This is a great idea! Although in my opinion the unit icon picture should have already conveyed its type. I think weapon type is the one that is often hard to infer from unit icon only.

Yeah, that's the idea, like this:

147356573_Screenshotfrom2019-08-2213-54-08.thumb.png.2ef2bdd477932bc80fb88bfec7275dac.png

To do it properly I need to have a set of decent weapon icons.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, azayrahmad said:

This is a great idea! Although in my opinion the unit icon picture should have already conveyed its type. I think weapon type is the one that is often hard to infer from unit icon only.

I suggested some similar in other context.

P2EJDtD.png

image.thumb.png.38df34d51e557fc89017a1b726ccd704.png

 

 

Edited by Lion.Kanzen
  • Like 1

Share this post


Link to post
Share on other sites

@Nescio have you consider adding as upgrade for towers, fortress a technology wich increases the fired arrow amount half or similar to having garrisoned archers inside, but this as the cost of half of the archer cost but also adding population cost to the formula.

Share this post


Link to post
Share on other sites
2 hours ago, Alexandermb said:

@Nescio have you consider adding as upgrade for towers, fortress a technology wich increases the fired arrow amount half or similar to having garrisoned archers inside, but this as the cost of half of the archer cost but also adding population cost to the formula.

Do you mean a global technology (like how one can improve worker gather rates) or an individual upgrade (like how one can replace a small tower with a large tower)?

  • If the former (technologies that increase default arrow count and resource cost but decrease population or garrison capacity), I actually had a few of those, one for towers, four for centres. However, increased structure cost has undesirable consequences:
    • you can place a dozen foundations, research the technology, then delete those foundations, you get more resources back than you paid
    • even without using the abovementioned exploit, it encourages players to build more turrets and postpone researching the technology (it ought to be the other way around: do I research an improvement or instead spend the resources on training more units?)
    • players with many towers benefit the most, making already hard-to-defeat players even more difficult, aiding those who're already at an advantage, thus further widening the gap

If there were a mechanic to increase a technology cost based on the number of entities of a certain class (e.g. technology cost 100 food + 50 food * number of towers), then I would consider reimplementing default arrow count technologies.

  • If the latter (individual upgrades), that's something I've thought of several times and would actually be quite easy to implement. Unfortunately the AI doesn't know to upgrade entities, thus giving human players another advantage, which is why I haven't implemented it; this mod is designed for single-player.

If the AI were able to upgrade entities, it would open up a many possibilities. E.g. centres would only train unarmed workers, which you can subsequently upgrade individually to archer, javelineer, slinger, spearman, or swordsman; Romans would have worker→hastatus→princeps→triarius; unarmoured Greek spearmen could be given a linothorax (cheap), scale armour (in between), chainmail (expensive), breastplate (slow); etc.

  • Another idea would be to let towers and fortresses gain experience and advance ranks (which could decrease ranged attack spread or reload time). However, structures are capturable and it isn't realistic a capture structure would keep top-notch archers after you wipe out its garrison.

If captured entities would lose all experience and revert to default rank, that could work.

Share this post


Link to post
Share on other sites

And I've been playing around with svg again, creating more selection textures, including some with non-square dimensions, as suggested by @wowgetoffyourcellphone at D889 about two years ago.

1:2 shapes, for cavalry, elephants, and traders:

Spoiler

128x256.png.c8f46fb518667f6575c38cd528aa075e.png128x256.png.eba5658bf736789324ddf5cb92a09c90.png128x256.png.1ac6266018f2f613b0185eccff679584.png128x256.png.a3314ab52ef5eec664393c29ac278777.png

1:3 shapes, for completeness:

Spoiler

128x384.png.0e3d0ad90e6262592aaae5601f627dae.png128x384.png.c94ba454c949f3f49ca22ab430575399.png128x384.png.57b49d25087f6ad91aa28856cdfdf017.png128x384.png.ed8638aa2b896328a30ae10fecbd3a76.png

1:4 shapes, for warships:

Spoiler

128x512.png.fd3923c180d93d2bd35cb1657a2ff1e4.png128x512.png.09f99753d7aa507e98188a08511e7feb.png128x512.png.a5bfa58351644318089edb309bb489fb.png128x512.png.c37f0c01fcc8d5b541a5258758c22906.png

Some polygons I already added earlier:

Spoiler

128x128.png.34bfe61cd7b55c1213a9b4dcc39523e8.png128x128.png.930d22027c4a8f9fbd904c0caf044593.png128x128.png.7b2279fefdaa3f4264436fc2e62d2d91.png128x128.png.88d7d4ab1921ca21034a12dbc34aebcf.png

Some polygrams in circles, perhaps useful for a magic mod:

Spoiler

128x128.png.5c3b9855509964c7a4535a0d6674eca6.png128x128.png.312bdb8cfce39535e0ab41068a2b3283.png128x128.png.5b7c75d127370c32511b404552615464.png128x128.png.bdb6e780dec4b68a4aa539c1e174b862.png128x128.png.5d28eaf2d7565ab3dd4b07a4991ba9d8.png128x128.png.cbe304689d9233116c2c678799940128.png128x128.png.7fe925d4c96ee833aa440c5e143b0b46.png

And a complete K12 graph in a circle:

Spoiler

k12.thumb.png.962775539b310130907139a1b5e6d7e4.png

(Creating weapon icons (pike, spear, sword, sabre, axe, mace; and throwing axe, javelin, bow, crossbow, sling, staff sling) is too difficult for me, though.)

Edited by Nescio
K12

Share this post


Link to post
Share on other sites

0abc updated again:

  • women, slaves, and fishing boats use rhombus selection shape, traders and merchant ships hexagon
  • all factions can train cavalry javelineers at the stable in the village phase
  • each civilization gets a discount on some technologies:
    • Carthage: Market technologies −30% resource costs and research time
    • Gauls: House technologies −40% resource costs and research time
    • Kushites: Temple technologies −10% resource costs and research time
    • Macedon: Forge technologies −10% resource costs and research time
    • Mauryas: Palace technologies −10% resource costs and research time
    • Ptolemies: Naval technologies −25% resource costs and research time
    • Rome: Arsenal technologies −50% resource costs and research time
    • Seleucids: Stable technologies −20% resource costs and research time
  • Libraries now give structures −10% build time (instead of technology discount)
  • updated {civ}.json data files
  • various minor updates and corrections
  • [EDIT] also let the history window use bullets (which was surprisingly easy to do: D2221):
    Spoiler

    1254752971_Screenshotfrom2019-08-2418-38-47.thumb.png.9c493daaf2f0ea1d9e7bcf30900e2363.png

Edited by Nescio
civ history gui
  • Like 1

Share this post


Link to post
Share on other sites
On 8/22/2019 at 2:37 PM, Nescio said:

If there were a mechanic to increase a technology cost based on the number of entities of a certain class (e.g. technology cost 100 food + 50 food * number of towers), then I would consider reimplementing default arrow count technologies

I could imagine a lot of use for this tech mechanic. 

Share this post


Link to post
Share on other sites

0abc updated again, numerous internal changes, simplified hero auras, replaced Kushite pikemen with axemen.

  • Like 2

Share this post


Link to post
Share on other sites

@Nescio Try to use Inkscape and make a black border around your yellow Roman numerals. I think the fancy shadow effect does not look that create scaled down to 128x128, 64x64 or 32x32. You can create the black border in Inkscape and export the image to PNG from within Inkscape.

  • Like 1

Share this post


Link to post
Share on other sites

just an idea if a different kind of icons is desired: 

Use a helmet dedicated to that infantry as reference and place just right to the side a weapon or the weapon tip. kinda like AoE Logo considering our new and high amount of helmets.

For example:

Roman_Spearman_E:

Spoiler

image.png



Roman_Spearman_A:

Spoiler

image.png


Roman_Spearman_B:

Spoiler

image.png


athen/spart spearman_e:

Spoiler

image.png

athen/spart_spearman_a:

Spoiler

image.png

and the basic:

Spoiler

image.png


I belive you can get the idea with this. A good background could also help.

Even maybe as background use the civ emblem or any good shield you find suittable for the infantry kind.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...