Embers With All Races

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Embers With All Races

#1 Post by nsrr »

This addon will allow you to play the Embers of Rage campaign as any race that is available in The Arena, including those from other addons.

Get it here: http://te4.org/games/addons/tome/orcsallraces or on the Steam workshop.

You will still need to have the race unlocked to use it with this add on.

Enjoy!

----
Changelog:

v1.3.0
---
New implementation which should be compatible with any race, so long as that race is allowed in The Arena.
This version directly modifies the allowed races in Orcs and adds a before_starting_zone function which will adjust the faction, starting quest, intro text, and starting zone for any race not normally available in Orcs.

v.1.2.5
---
Added Runic Golem (requires Zizzo's Ignore Race/Class Locks addon)

v1.2.4
---
Added Vor'tep and Sholtar.

v1.2.3
---
Added Drem and Krog.


v1.2.2 aka I forgot whether I had already changed the version number, so I went up by two, apparently.
---
Bugs:

Fixed Bulkling (the definition was not complete :oops: )

Compatability:

Added Xorn, Troll, Abomination, and Dreamelf, from their respective addons, and Forsaken, Manawraith, Chronophage, Ancient, Hellforged and Plaguetouched (whew...) Vampire Subraces from astralInferno's Inferno Race Pack.

Increased weight to 200000, for Dreamelf compatibility... yeah.


v1.2.0
Stone Warden compatible, once more.

v1.1.0
Now fully compatible with all campaigns! ('Kruk' races will no longer overwrite standard races when NOT playing the Orcs campaign with this add on enabled.)
Added support for Midnight races (Mardrop and Star Elf)
Added support for new Inferno Race Pack races (as of version 1.1.8 )

v1.0.7

Players will no longer start with extra inscriptions.
Kruk Dwarves can now be Stone Wardens (if available).
Subraces are now broken up into their usual races instead of being grouped together under 'Prideful'.


v1.0.6
Fixed an error that caused Undead players to start on level 3 of the Vaporous Emporium and made the Atmos Tribe friendly to them.

v1.0.5
Removed escort possibility from all races.

v.1.0.4
Corrected error from 1.0.2

v1.0.3
Temporary partial revert due to error in 1.0.2

v1.0.2
Cleaner code.
Added support for astralInferno's Inferno Race Pack (or any of the races therein, if you are using them individually).

v1.0.1
Fixed type and subtype not being set for a few races.

v1.0.0
Release.
Last edited by nsrr on Sun Apr 30, 2023 8:00 am, edited 19 times in total.

Micbran
Sher'Tul
Posts: 1154
Joined: Sun Jun 15, 2014 12:19 am
Location: Yeehaw, pardner

Re: Embers With All Races v1.0.0

#2 Post by Micbran »

Or you could use the code tag?

Code: Select all

            It perserves all spaces/tabs
A little bit of a starters guide written by yours truly here.

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.0

#3 Post by nsrr »

Micbran wrote:Or you could use the code tag?

Code: Select all

            It perserves all spaces/tabs

How did I never notice this before? :lol: Thanks!

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.1

#4 Post by nsrr »

Whoops, found a bug already. I forgot to include the type and subtype in the copy for a few races. All fixed.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Embers With All Races v1.0.1

#5 Post by darkgod »

Coding advice ;)
Do not copy the whole races definitions, it looks bad and evil and most importantly you may/will miss update to them; or at least have to update each time any update.
Instead you can do something like:

Code: Select all

local mynewsubrace = table.clone(getBirthDescriptor("subrace", "Foo"), true)
mynewsubrace.name = "Kruk Foo"
mynewsubrace.whatever = whatever...
newBirthDescriptor(mynewsubrace)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.1

#6 Post by nsrr »

Thanks for the advice! I will readily admit that I'm a self-taught amateur coder. I know I end up doind things the hard way more often than not, but I'm learning. Especially with all the helpful folks that mod or dev ToME always willing to help me out! I will work on getting it updated. Should be a lot simpler this way, once I get it all re-done :)

astralInferno
Uruivellas
Posts: 834
Joined: Mon Jan 27, 2014 10:40 am

Re: Embers With All Races v1.0.1

#7 Post by astralInferno »

You should start coming on the IRC, it's how I learnt everything I know. Plus you'll see spoilers for stuff in progress, and darkgod will whip you to work faster! It's the best. :D

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.1

#8 Post by nsrr »

astralInferno wrote: darkgod will whip you to work faster! It's the best. :D
:lol:

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.2

#9 Post by nsrr »

v1.0.2
Much nicer code, thanks to darkgod's advice.
Support for astralInferno's Inferno Race Pack.
races.png
races.png (253.77 KiB) Viewed 10615 times
That's over 8 times the number of races normally available, in case three is not enough for you :wink:

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.2

#10 Post by nsrr »

Dramatic sigh... due to some problem in the support code for the Inferno Race Pack, Embers With All Races would cause an error if you tried to run it without Inferno Race Pack also enabled.
I tried to figure it out for a while, but didn't make much headway and it it's too late for me to work on it any more today.
I temporarily removed support for Inferno Race Pack until I can figure out why it's behaving that way. It works fine without Nalore or Ashes, so I'm not really sure what's different here, and the error that it throws is very oddly vague.
I'll see if I can get it sorted tomorrow evening.

astralInferno
Uruivellas
Posts: 834
Joined: Mon Jan 27, 2014 10:40 am

Re: Embers With All Races v1.0.2

#11 Post by astralInferno »

...that's the most unhelpful lua error ever. X_x
Even the full error is useless...

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.2

#12 Post by nsrr »

astralInferno wrote:...that's the most unhelpful lua error ever. X_x
Even the full error is useless...
Right? I was kind of hoping you'd have some insight in this one :lol:
I'll see what I can figure out when I get home...

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.4

#13 Post by nsrr »

v1.0.4 aka Let's Pretend v1.0.2 and v1.0.3 Never Happened

Much nicer code, thanks to darkgod's advice.
Support for astralInferno's Inferno Race Pack.

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.4

#14 Post by nsrr »

Interestingly, because some of the escorts are defined by tier and not dungeon name, you may encounter an escort in the tier 1 dungeons (with some races? I'm not sure if they are all defined that way or not.)

What are the Embers of Rage tier 1 dungeons? I'm not totally sure, but Yeti Cave is one of them. Probably Vaporous Emporium and Sunwall Outpost as well, but I'm just guessing. I know Yeti Cave is one because I got an escort there :wink:
http://te4.org/characters/177873/tome/d ... 1b6cb29356

Once again, I don't have time to fix it now, but I'll get it sorted out as soon as I can.

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Embers With All Races v1.0.5

#15 Post by nsrr »

v1.0.5

Removed escort possibility from all races.

It was fun while it lasted, but not what I intended :lol:

Post Reply