Better Tactical AI Addon

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: Better Tactical AI Addon

#31 Post by Hachem_Muche »

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.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: Better Tactical AI Addon

#32 Post by Doctornull »

I kind of wish the core game were coded to use hooks more.
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

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

Re: Better Tactical AI Addon

#33 Post by darkgod »

Well addon support was added in b38 or so .. so .. :)

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 ;)

PureQuestion
Master Artificer
Posts: 726
Joined: Fri Feb 03, 2012 3:53 am

Re: Better Tactical AI Addon

#34 Post by PureQuestion »

It was definitely around earlier than that!

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#35 Post by jenx »

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.
MADNESS rocks

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

Re: Better Tactical AI Addon

#36 Post by darkgod »

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 ;)

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#37 Post by jenx »

darkgod wrote:Hum did I miss it ??
page 2 (or just click on http://forums.te4.org/viewtopic.php?f=5 ... mb#p162423)
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#38 Post by jenx »

btw - finally, I got the right md5, filename, short filename, etc.

So the addon should validate now (fir the first time lol)
MADNESS rocks

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

Re: Better Tactical AI Addon

#39 Post by darkgod »

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
[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 ;)

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

Re: Better Tactical AI Addon

#40 Post by darkgod »

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
[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 ;)

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#41 Post by jenx »

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
that's why I'm not a programmer.

I'll try again. :D
Last edited by jenx on Thu Sep 26, 2013 9:23 pm, edited 1 time in total.
MADNESS rocks

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#42 Post by jenx »

darkgod 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
Not sure how to do this. Do I copy talented.lua from

...\game\engines\default\engine\ai\talented.lua

to
...\game\modules\tome\ai\talented.lua

and the modify the new copy?
MADNESS rocks

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

Re: Better Tactical AI Addon

#43 Post by darkgod »

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 ;)

Zireael
Archmage
Posts: 449
Joined: Tue Jun 18, 2013 7:24 pm

Re: Better Tactical AI Addon

#44 Post by Zireael »

Does this addon work with 1.1.5?

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: Better Tactical AI Addon

#45 Post by jenx »

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

Post Reply