Undead ai should auto reanimate IMPLEMENTED
Undead ai should auto reanimate IMPLEMENTED
Being that phantoms will soon be reanimatable, and the fact that undead rely on swarms just as much as they do spells. @Stratego (dev) could you make it so the undeads ai for units who can reanimate be able to auto reanimate if they aren't in combat or anything?
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Undead ai should auto reanimate
I am not sure i understand, but please first talk to alexander in the matter - tthanks!
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Undead ai should auto reanimate
I suppose you want the AI to be able to do something that the player can't, isn't it?Savra wrote: ↑Mon Feb 24, 2020 1:42 am Being that phantoms will soon be reanimatable, and the fact that undead rely on swarms just as much as they do spells. @Stratego (dev) could you make it so the undeads ai for units who can reanimate be able to auto reanimate if they aren't in combat or anything?
As far as I know at the moment it is not possible though.
I understand that "AI cheating" is one of the eay to make it better against players but I don't really know if it is possible right now.
One things we might do for AI is to make it produce things faster (e.g. AI tcs and factories might be set to produce at 1x 1,5x or 2x production per turn based on chosen difficulty).
Age of Fantasy design leader
Re: Undead ai should auto reanimate
No, it's actually the oposite. A thing that the player can while AI can't...
He mean to make AI better, but not giving unfair advantage to them, but to actually teach them how-to and when-to use their spells correctly, bcz when AI does have casters that own rise the dead or relatives... These units simply don't use their spells... So it ends that caster units controled by AI are just a waste of their production, and don't offer any challenge to the user...
This is a general issue of all factions, but since undead faction relies on that a lot much more than the others, it can't rely on the numbers provided by the "rise the dead" spells since we removed auto-cast of this spell... But ideally, AI should know how to do that by its own...
He mean to make AI better, but not giving unfair advantage to them, but to actually teach them how-to and when-to use their spells correctly, bcz when AI does have casters that own rise the dead or relatives... These units simply don't use their spells... So it ends that caster units controled by AI are just a waste of their production, and don't offer any challenge to the user...
This is a general issue of all factions, but since undead faction relies on that a lot much more than the others, it can't rely on the numbers provided by the "rise the dead" spells since we removed auto-cast of this spell... But ideally, AI should know how to do that by its own...
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
(ノಠ益ಠ)ノ彡┻━┻
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Undead ai should auto reanimate
Exactly, I'm getting tired of seeing a bunch of lich's doing the conga up toward my base and only being able to magic missile units, the undead literally made produce these and the way I see it the necromancer, lich, and spectral rider are the closest thing undead have to the healers of other races except they can't use their support spells.DoomsdayDragonfire wrote: ↑Mon Feb 24, 2020 8:35 pm No, it's actually the oposite. A thing that the player can while AI can't...
He mean to make AI better, but not giving unfair advantage to them, but to actually teach them how-to and when-to use their spells correctly, bcz when AI does have casters that own rise the dead or relatives... These units simply don't use their spells... So it ends that caster units controled by AI are just a waste of their production, and don't offer any challenge to the user...
This is a general issue of all factions, but since undead faction relies on that a lot much more than the others, it can't rely on the numbers provided by the "rise the dead" spells since we removed auto-cast of this spell... But ideally, AI should know how to do that by its own...
The only one that can do far is the necromancer and his auto summon with the flesh golem, and that's it.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Undead ai should auto reanimate
this can be set by priprity
EFFECT_INSTANT_MAGIC_ARROW, 900
EFFECT_ANIMATE_DEAD, 600
meaning it will prefer magic arrow against animate dead.
i think since it got magic arrow spell it never uses animate dead.
EFFECT_INSTANT_MAGIC_ARROW, 900
EFFECT_ANIMATE_DEAD, 600
meaning it will prefer magic arrow against animate dead.
i think since it got magic arrow spell it never uses animate dead.
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Undead ai should auto reanimate
can you give reanimation 9999 priority?
Age of Fantasy design leader
- makazuwr32
- Posts: 7830
- Joined: Tue Oct 17, 2017 9:29 am
- Location: Moscow, Russia
Re: Undead ai should auto reanimate
The problem than that ai will try to use "animate dead" spell every turn and thus will jist forget about all other spells.
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Undead ai should auto reanimate
no, it will only use whyn there are sekeltons around.
- makazuwr32
- Posts: 7830
- Joined: Tue Oct 17, 2017 9:29 am
- Location: Moscow, Russia
Re: Undead ai should auto reanimate
Oh. If it is possible than i agree with alex to give reanimation for ai highest possible value.
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Undead ai should auto reanimate
ok i set both to 999 in code - they are yet jsoned.
Const.setPri(EFFECT_ANIMATE_DEAD, 999);
Const.setPri(EFFECT_ANIMATE_DEAD_CLOSE, 999);
Const.setPri(EFFECT_ANIMATE_DEAD, 999);
Const.setPri(EFFECT_ANIMATE_DEAD_CLOSE, 999);
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Undead ai should auto reanimate
Great!
Now that I know how priority works I think we should give it proper values. I will open some topics to decide priority for AI spells
Now that I know how priority works I think we should give it proper values. I will open some topics to decide priority for AI spells
Age of Fantasy design leader
Re: Undead ai should auto reanimate
I take it by the fact that the ai lich and necromancer aren't able to reanimate still, this hasn't been json'd yet?
Re: Undead ai should auto reanimate
Wait what???
You can set priority on AI casters?
Then please Fix Dwarven Clerics to use Strengthen Spell.
You can set priority on AI casters?
Then please Fix Dwarven Clerics to use Strengthen Spell.
"The smallest pebble was once the biggest stone, the biggest stone was once bigger"
- makazuwr32
- Posts: 7830
- Joined: Tue Oct 17, 2017 9:29 am
- Location: Moscow, Russia
Re: Undead ai should auto reanimate
You know that dwarven basic casters do not have anymore strengthen spell, right, @Tankhead ?
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
Re: Undead ai should auto reanimate
Oh......Rip
"The smallest pebble was once the biggest stone, the biggest stone was once bigger"
Re: Undead ai should auto reanimate
Just a thought, if this doesn't work, is there a way you could just have them cycle through spells, eg magic missile as base used spell but every 2 turns unit uses reanimation?
Just thought to bring this up since Undead's strategy revolves around reanimation and the ai currently can't keep up with other races ai's like orcs ai, (who just need to rush you) and elves ai, (who rush you with archers) Undead's ai currently tries rushing you with mummies, occasionally lich's, zombies, and some skeletons here and there.
And when we come down to their phantoms who's upgrades all go into reanimation, this makes the ai's phantoms less effective being they don't have lich's, and necromancer's to back them up.
Just thought to bring this up since Undead's strategy revolves around reanimation and the ai currently can't keep up with other races ai's like orcs ai, (who just need to rush you) and elves ai, (who rush you with archers) Undead's ai currently tries rushing you with mummies, occasionally lich's, zombies, and some skeletons here and there.
And when we come down to their phantoms who's upgrades all go into reanimation, this makes the ai's phantoms less effective being they don't have lich's, and necromancer's to back them up.
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Undead ai should auto reanimate
i have a fix on this but is very dangerous.
as as side effect i ahve fixed a bug that self buff spells were not working either (eg. warmage was not enchanting its sword ever)
but as as sideffects casters might become too selfish casting only them selves everything if they can target themselves too - please check all ablilities that can also target themselves if there is any too "selfish" things now.
as as side effect i ahve fixed a bug that self buff spells were not working either (eg. warmage was not enchanting its sword ever)
but as as sideffects casters might become too selfish casting only them selves everything if they can target themselves too - please check all ablilities that can also target themselves if there is any too "selfish" things now.