Shards Era

It's not easy creating an entire faction or era. Post your work and collaborate in this forum.

Moderator: Forum Moderators

Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Shards Era

Post by Morath »

Inspired by things such as The Reign of the Lords adding level 4 and 5 units which I felt was long overdue and RangedAttacksMod, Plan_Your_Advancements_Mod, Elves_Banding_For_War among other nice addons that have popped up, I made Shards Era. It's on the Wesnoth 1.16 addons server. This era allows more flexible unit advancement in preparation for a Shards of Civilization campaign I was planning and now have shifted to planning what I'll call Falstory and Trustory. These are the races I've worked on so far:
  • Aragwaithi
  • Drakes
  • Dwarves
  • Elementals
  • Elves
  • Humans
  • Orcs
  • Undead
  • Vampires
  • Windsong
A rough rule for determining whether a unit could advance to another was a difference of 1 or 2 things such as weapon types, weapon specials, abilities, mounts, etc. This era still needs work but I wanted to get something out there in case persons want to mess around with it.

Shards Era Unit Database

Feel free to discuss this era here.
Last edited by Morath on November 14th, 2021, 2:00 pm, edited 7 times in total.
User avatar
ForestDragon
Posts: 1770
Joined: March 6th, 2014, 1:32 pm
Location: Ukraine

Re: Shards Era

Post by ForestDragon »

hi, so, on what version of the game is this addon supposed to be for?
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

It's on the 1.12 addons server.
User avatar
ForestDragon
Posts: 1770
Joined: March 6th, 2014, 1:32 pm
Location: Ukraine

Re: Shards Era

Post by ForestDragon »

thanks!

EDIT: btw, you don't need to use copies of mainline attack icons in your addon's files
EDIT: this applies to other files copied from mainline
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Yeah I do want to steadily cut down on the files in there... I just sorta threw all the files together to get it somewhat working. One question I have is: is the wesnoth units database smart enough to populate the cells for the units it doesn't have supporting files (in the addon) for? Would it be enough to just use a [base_unit]? I do want to fully populate the units databse; one thing that was unfortunate when viewing the Reign of Lords database (for example) was that it wasn't obvious how the new units related to the base ones since the base ones don't show.
User avatar
ForestDragon
Posts: 1770
Joined: March 6th, 2014, 1:32 pm
Location: Ukraine

Re: Shards Era

Post by ForestDragon »

Morath wrote:Yeah I do want to steadily cut down on the files in there... I just sorta threw all the files together to get it somewhat working. One question I have is: is the wesnoth units database smart enough to populate the cells for the units it doesn't have supporting files (in the addon) for? Would it be enough to just use a [base_unit]? I do want to fully populate the units databse; one thing that was unfortunate when viewing the Reign of Lords database (for example) was that it wasn't obvious how the new units related to the base ones since the base ones don't show.
well, i've been using [base_unit] in The Golden Age a lot, here is an example of a base_units.cfg file, which i have for almost every mainline race:

Code: Select all

#textdomain wesnoth-units
#ifdef MULTIPLAYER
[unit_type]
    id=TGA Heavy Infantryman
    [base_unit]
        id=Heavy Infantryman
    [/base_unit]
    advances_to=TGA Shock Trooper
[/unit_type]
[unit_type]
    id=TGA Shock Trooper
    [base_unit]
        id=Shock Trooper
    [/base_unit]
    advances_to=TGA Iron Mauler
[/unit_type]
[unit_type]
    id=TGA Iron Mauler
    [base_unit]
        id=Iron Mauler
    [/base_unit]
#    advances_to=Titanium Decimator
    advances_to=Destroyer,Steel Crusher
    experience=215
[/unit_type]
[unit_type]
    id=TGA Cavalryman
    [base_unit]
        id=Cavalryman
    [/base_unit]
    advances_to=TGA Dragoon,Horse Archer
[/unit_type]
[unit_type]
    id=TGA Dragoon
    [base_unit]
        id=Dragoon
    [/base_unit]
    advances_to=TGA Cavalier
    [attack]
        name=sword
        description=_"sword"
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=7
        number=4
    [/attack]
[/unit_type]
[unit_type]
    id=TGA Cavalryman
    [base_unit]
        id=Cavalryman
    [/base_unit]
    advances_to=Dragoon,Horse Archer
[/unit_type]
[unit_type]
    id=TGA Mage
    [base_unit]
        id=Mage
    [/base_unit]
    advances_to=TGA Red Mage,TGA White Mage,Sworded Mage
[/unit_type]
[unit_type]
    id=TGA Red Mage
    [base_unit]
        id=Red Mage
    [/base_unit]
    advances_to=Arch Mage,TGA Silver Mage
[/unit_type]
[unit_type]
    id=TGA Silver Mage
    [base_unit]
        id=Silver Mage
    [/base_unit]
    advances_to=Golden Mage
    experience=220
[/unit_type]
[unit_type]
    id=TGA White Mage
    [base_unit]
        id=White Mage
    [/base_unit]
    advances_to=TGA Mage of Light
[/unit_type]
[unit_type]
    id=TGA Mage of Light
    [base_unit]
        id=Mage of Light
    [/base_unit]
    advances_to=Celestial Mage,Light Bringer
    experience=220
[/unit_type]
[unit_type]
    id=TGA Bowman
    [base_unit]
        id=Bowman
    [/base_unit]
    advances_to=Longbowman,Armored Crossbowman,Forester
[/unit_type]
[unit_type]
    id=TGA Spearman
    [base_unit]
        id=Spearman
    [/base_unit]
    advances_to=TGA Swordsman,Pikeman,TGA Javelineer
[/unit_type]
[unit_type]
    id=TGA Swordsman
    [base_unit]
        id=Swordsman
    [/base_unit]
    advances_to=Royal Guard,Executioner,Greatsword
[/unit_type]
[unit_type]
    id=TGA Javelineer
    [base_unit]
        id=Javelineer
    [/base_unit]
    advances_to=Master Javelineer
    experience=90
[/unit_type]
[unit_type]
    id=TGA Sergeant
    [base_unit]
        id=Sergeant
    [/base_unit]
    advances_to=TGA Lieutenant
[/unit_type]
[unit_type]
    id=TGA Lieutenant
    [base_unit]
        id=Lieutenant
    [/base_unit]
    advances_to=TGA General
[/unit_type]
[unit_type]
    id=TGA General
    [base_unit]
        id=General
    [/base_unit]
    advances_to=TGA Grand Marshal
[/unit_type]
[unit_type]
    id=TGA Grand Marshal
    [base_unit]
        id=Grand Marshal
    [/base_unit]
    advances_to=Supreme Commander
    experience=385
[/unit_type]
[unit_type]
    id=TGA Horseman
    [base_unit]
        id=Horseman
    [/base_unit]
    advances_to=TGA Knight,TGA Lancer
[/unit_type]
[unit_type]
    id=TGA Knight
    [base_unit]
        id=Knight
    [/base_unit]
    advances_to=TGA Grand Knight,TGA Paladin,Elephant Cataphract
[/unit_type]
[unit_type]
    id=TGA Paladin
    [base_unit]
        id=Paladin
    [/base_unit]
    advances_to=Light Bringer
    experience=220
[/unit_type]
[unit_type]
    id=TGA Grand Knight
    [base_unit]
        id=Grand Knight
    [/base_unit]
    advances_to=Horse Lord
    experience=200
[/unit_type]
[unit_type]
    id=TGA Lancer
    [base_unit]
        id=Lancer
    [/base_unit]
    advances_to=Lunatic Knight
    experience=110
    [attack]
        name=lance
        description=_"lance"
        type=pierce
        [specials]
            {WEAPON_SPECIAL_CHARGE}
        [/specials]
        range=melee
        damage=11
        number=3
    [/attack]
[/unit_type]
[unit_type]
    id=TGA Ruffian
    [base_unit]
        id=Ruffian
    [/base_unit]
    advances_to=TGA Thug,TGA Footpad
[/unit_type]
[unit_type]
    id=TGA Footpad
    [base_unit]
        id=Footpad
    [/base_unit]
    advances_to=Outlaw,Messenger
[/unit_type]
[unit_type]
    id=TGA Thug
    [base_unit]
        id=Thug
    [/base_unit]
    advances_to=TGA Bandit,Plunderer
[/unit_type]
[unit_type]
    id=TGA Bandit
    [base_unit]
        id=Bandit
    [/base_unit]
    advances_to=TGA Highwayman
[/unit_type]
[unit_type]
    id=TGA Highwayman
    [base_unit]
        id=Highwayman
    [/base_unit]
    advances_to=Marauder,Mauler
    experience=190
[/unit_type]
[unit_type]
    id=TGA Thief
    [base_unit]
        id=Thief
    [/base_unit]
    advances_to=TGA Rogue
[/unit_type]
[unit_type]
    id=TGA Rogue
    [base_unit]
        id=Rogue
    [/base_unit]
    advances_to=TGA Assassin
[/unit_type]
[unit_type]
    id=TGA Assassin
    [base_unit]
        id=Assassin
    [/base_unit]
    advances_to=Exterminator
    experience=200
[/unit_type]
#endif
btw, you can change stats of mainline unit copies in your era by using this
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Also, if anyone has downloaded the Carved_in_Stone addon from a little over a year ago and could get a copy to me, I'd appreciate it. I have a few units from that addon disabled since I currently have no way to access its data.
User avatar
ForestDragon
Posts: 1770
Joined: March 6th, 2014, 1:32 pm
Location: Ukraine

Re: Shards Era

Post by ForestDragon »

Morath wrote:Also, if anyone has downloaded the Carved_in_Stone addon from a little over a year ago and could get a copy to me, I'd appreciate it. I have a few units from that addon disabled since I currently have no way to access its data.
oh, i just so, happen to have it, i doubt that i could get the whole addon to you, but if you want unit sprites, sure!:
carved_in_stone_unit_art.zip
(445.35 KiB) Downloaded 470 times
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Thanks! Thralls, Barrow Rider and Barrow Wight and Dwarvish Frostnoth and now enabled. Good work on The Golden Age as well; I've found myself grabbing stuff from there a few times.

Version 0.1.0 of Shards Era which includes Aragwaithi and Windsong is now on the addons server.
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Version 0.1.5 of Shards Era which includes Humans is now on the addons server.
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Version 0.2.0 of Shards Era which includes Elementals and Vampires is now on the 1.12 addons server. You'll also be pleased to know it has been trimmed down somewhat by doing stuff such as: using [base_unit] tags, not using redundant copies of core data, cleaning out extraneous images, cleaning out extraneous units and moving portraits into a separate addon.
User avatar
ForestDragon
Posts: 1770
Joined: March 6th, 2014, 1:32 pm
Location: Ukraine

Re: Shards Era

Post by ForestDragon »

nice to see that you are learning some lessons from The Golden Age
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

I just put Shards Era up onto the wesnoth 1.16 addons server. Enjoy!

If anyone knows how to switch the palette for the images on the addons server, I could use a little help. Currently I have:

icon="units/windsong/crystal.png~PAL(magenta>white)"
icon="units/windsong/crystal.png~PAL(magenta>black)"

with which I'm trying to shift the magenta team color to white for Shards Era and black for Shards Era Resources like how colors are shifted for team colors but it doesn't seem to quite do the trick.

Anyway I'm going to try to start a coloseum game with Shards Era; should be fun :)
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Shards Era

Post by Pentarctagon »

If that's the icon for the add-on then the larger problem would be that only players that already have your add-on will be able to see it. To use non-mainline images you need to convert it to a DataURI.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Morath
Posts: 34
Joined: August 24th, 2009, 12:38 am

Re: Shards Era

Post by Morath »

Fixed. Thanks Pentarctagon :)
Post Reply