Page 1 of 4

Embers With All Races

Posted: Sun Mar 06, 2016 6:18 pm
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.

Re: Embers With All Races v1.0.0

Posted: Sun Mar 06, 2016 6:21 pm
by Micbran
Or you could use the code tag?

Code: Select all

            It perserves all spaces/tabs

Re: Embers With All Races v1.0.0

Posted: Sun Mar 06, 2016 6:29 pm
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!

Re: Embers With All Races v1.0.1

Posted: Sun Mar 06, 2016 7:01 pm
by nsrr
Whoops, found a bug already. I forgot to include the type and subtype in the copy for a few races. All fixed.

Re: Embers With All Races v1.0.1

Posted: Mon Mar 07, 2016 9:40 am
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)

Re: Embers With All Races v1.0.1

Posted: Mon Mar 07, 2016 1:35 pm
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 :)

Re: Embers With All Races v1.0.1

Posted: Mon Mar 07, 2016 4:17 pm
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

Re: Embers With All Races v1.0.1

Posted: Mon Mar 07, 2016 4:47 pm
by nsrr
astralInferno wrote: darkgod will whip you to work faster! It's the best. :D
:lol:

Re: Embers With All Races v1.0.2

Posted: Tue Mar 08, 2016 1:18 am
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 10669 times
That's over 8 times the number of races normally available, in case three is not enough for you :wink:

Re: Embers With All Races v1.0.2

Posted: Tue Mar 08, 2016 4:25 am
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.

Re: Embers With All Races v1.0.2

Posted: Tue Mar 08, 2016 5:21 pm
by astralInferno
...that's the most unhelpful lua error ever. X_x
Even the full error is useless...

Re: Embers With All Races v1.0.2

Posted: Tue Mar 08, 2016 11:06 pm
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...

Re: Embers With All Races v1.0.4

Posted: Wed Mar 09, 2016 2:37 am
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.

Re: Embers With All Races v1.0.4

Posted: Wed Mar 09, 2016 5:04 am
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.

Re: Embers With All Races v1.0.5

Posted: Wed Mar 09, 2016 7:47 pm
by nsrr
v1.0.5

Removed escort possibility from all races.

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