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.
Can I forbid the cavalry walking around heavy fortification(.e.g Gate)?
Moderator: rbodleyscott
-
locustmustdie
- Senior Corporal - Destroyer

- Posts: 117
- Joined: Fri Mar 05, 2021 11:33 am
-
rbodleyscott
- 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)?
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.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.
Richard Bodley Scott


-
locustmustdie
- 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)?
Thanks,Richard!rbodleyscott wrote: Mon Feb 06, 2023 8:26 amOnce 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.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.
is it
Code: Select all
l\Data\Battle\Scripts\AITools.bsfCode: Select all
\Core\AI\AI.bsf-
rbodleyscott
- 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)?
Probably both. Good luck.locustmustdie wrote: Mon Feb 06, 2023 11:59 amThanks,Richard!rbodleyscott wrote: Mon Feb 06, 2023 8:26 amOnce 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.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.
is itorCode: Select all
l\Data\Battle\Scripts\AITools.bsfCode: Select all
\Core\AI\AI.bsf
Richard Bodley Scott

