Better Tactical AI Addon
Moderator: Moderator
-
- Uruivellas
- Posts: 744
- Joined: Thu Nov 18, 2010 6:42 pm
Re: Better Tactical AI Addon
This looks like the same issue I ran into with making patches from the I500 scaling changes. The simplest thing to do, as lukep said, is probably to just manually paste the new tactical tables into the appropriate talent definition files.
This is a potential downside to converting an addon using hooks to a patch: you have to unravel all of the hooked code and place it where it should be if it was included from the start.
This is a potential downside to converting an addon using hooks to a patch: you have to unravel all of the hooked code and place it where it should be if it was included from the start.
-
- Sher'Tul Godslayer
- Posts: 2402
- Joined: Tue Jun 18, 2013 10:46 pm
- Location: Ambush!
Re: Better Tactical AI Addon
I kind of wish the core game were coded to use hooks more.
Re: Better Tactical AI Addon
Well addon support was added in b38 or so .. so .. 
ANyawy, *whips jenx*

ANyawy, *whips jenx*
[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Master Artificer
- Posts: 726
- Joined: Fri Feb 03, 2012 3:53 am
Re: Better Tactical AI Addon
It was definitely around earlier than that!
Re: Better Tactical AI Addon
btw - did my patch for tough dumb ai work dg?
I want to make sure I"m doing it right before I attempt the tactical ai patch, as that will be lots of work.
I want to make sure I"m doing it right before I attempt the tactical ai patch, as that will be lots of work.
MADNESS rocks
Re: Better Tactical AI Addon
Hum did I miss it ??
[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Better Tactical AI Addon
page 2 (or just click on http://forums.te4.org/viewtopic.php?f=5 ... mb#p162423)darkgod wrote:Hum did I miss it ??
MADNESS rocks
Re: Better Tactical AI Addon
btw - finally, I got the right md5, filename, short filename, etc.
So the addon should validate now (fir the first time lol)
So the addon should validate now (fir the first time lol)
MADNESS rocks
Re: Better Tactical AI Addon
In the dumb ai patch why the healing_talents table ? why not use the talent's is_heal field ??
This is very very ugly
Also a static table lke taht you should decalre it as local outside the function
so it's not reconstructed needlessly each time
This is very very ugly

Also a static table lke taht you should decalre it as local outside the function
so it's not reconstructed needlessly each time
[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Better Tactical AI Addon
Also altering an engine file to ahve tome specific bits is beyind evil, it's .. naughty!
Dont do it, redefine the AI in a tome specific file instead
Dont do it, redefine the AI in a tome specific file instead
[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Better Tactical AI Addon
that's why I'm not a programmer.darkgod wrote:In the dumb ai patch why the healing_talents table ? why not use the talent's is_heal field ??
This is very very ugly
Also a static table lke taht you should decalre it as local outside the function
so it's not reconstructed needlessly each time
I'll try again.

Last edited by jenx on Thu Sep 26, 2013 9:23 pm, edited 1 time in total.
MADNESS rocks
Re: Better Tactical AI Addon
Not sure how to do this. Do I copy talented.lua fromdarkgod wrote:Also altering an engine file to ahve tome specific bits is beyind evil, it's .. naughty!
Dont do it, redefine the AI in a tome specific file instead
...\game\engines\default\engine\ai\talented.lua
to
...\game\modules\tome\ai\talented.lua
and the modify the new copy?
MADNESS rocks
Re: Better Tactical AI Addon
Yeah
[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Better Tactical AI Addon
Does this addon work with 1.1.5?
Re: Better Tactical AI Addon
no idea. i can't work on this anymore, but others are welcome to borrow my code. as i borrowed lukep's code!Zireael wrote:Does this addon work with 1.1.5?
MADNESS rocks