Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?

Moderator: rbodleyscott

Post Reply
locustmustdie
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Fri Mar 05, 2021 11:33 am

Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?

Post by locustmustdie »

climbwall activated
Cavalry always accidentally block the gate which he can not attack due to Isfoot(me)
Now I lock ‘‘em by zero their APs unless gate captured.
But I’m curious to know that is it allowed for designers to exclude specific enemies(e.g. cover value 3)from targets for specific units by script? In fact, the problem is Ai cav will automagically go there even though they can’t attack enemy behind walls.AI still SetDestination to an enemy he can’t attack.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28429
Joined: Sun Dec 04, 2005 6:25 pm

Re: Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?

Post by rbodleyscott »

locustmustdie wrote: Mon Feb 06, 2023 5:54 am climbwall activated
Cavalry always accidentally block the gate which he can not attack due to Isfoot(me)
Now I lock ‘‘em by zero their APs unless gate captured.
But I’m curious to know that is it allowed for designers to exclude specific enemies(e.g. cover value 3)from targets for specific units by script? In fact, the problem is Ai cav will automagically go there even though they can’t attack enemy behind walls.AI still SetDestination to an enemy he can’t attack.
Once we decided not to develop siege assault scenarios, we never wrote AI for them. So there really isn't any AI for siege assaults. You would have to write it! But it would have to be in modded game scripts not in a scenario script.
Richard Bodley Scott

Image
locustmustdie
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Fri Mar 05, 2021 11:33 am

Re: Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?

Post by locustmustdie »

rbodleyscott wrote: Mon Feb 06, 2023 8:26 am
locustmustdie wrote: Mon Feb 06, 2023 5:54 am climbwall activated
Cavalry always accidentally block the gate which he can not attack due to Isfoot(me)
Now I lock ‘‘em by zero their APs unless gate captured.
But I’m curious to know that is it allowed for designers to exclude specific enemies(e.g. cover value 3)from targets for specific units by script? In fact, the problem is Ai cav will automagically go there even though they can’t attack enemy behind walls.AI still SetDestination to an enemy he can’t attack.
Once we decided not to develop siege assault scenarios, we never wrote AI for them. So there really isn't any AI for siege assaults. You would have to write it! But it would have to be in modded game scripts not in a scenario script.
Thanks,Richard!
is it

Code: Select all

l\Data\Battle\Scripts\AITools.bsf
or

Code: Select all

\Core\AI\AI.bsf
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28429
Joined: Sun Dec 04, 2005 6:25 pm

Re: Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?

Post by rbodleyscott »

locustmustdie wrote: Mon Feb 06, 2023 11:59 am
rbodleyscott wrote: Mon Feb 06, 2023 8:26 am
locustmustdie wrote: Mon Feb 06, 2023 5:54 am climbwall activated
Cavalry always accidentally block the gate which he can not attack due to Isfoot(me)
Now I lock ‘‘em by zero their APs unless gate captured.
But I’m curious to know that is it allowed for designers to exclude specific enemies(e.g. cover value 3)from targets for specific units by script? In fact, the problem is Ai cav will automagically go there even though they can’t attack enemy behind walls.AI still SetDestination to an enemy he can’t attack.
Once we decided not to develop siege assault scenarios, we never wrote AI for them. So there really isn't any AI for siege assaults. You would have to write it! But it would have to be in modded game scripts not in a scenario script.
Thanks,Richard!
is it

Code: Select all

l\Data\Battle\Scripts\AITools.bsf
or

Code: Select all

\Core\AI\AI.bsf
Probably both. Good luck.
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II: Medieval - Scenario Design”