How attacks work?
I wanted to ask mapmakers of KaM about how attacks worked in KaM. There are some parameters we fill up, take TSK18 for example:
!SET_AI_ATTACK TYPE 1
!SET_AI_ATTACK TOTAL_AMOUNT 35
!SET_AI_ATTACK TARGET 3
!SET_AI_ATTACK POSITION 115 91
!SET_AI_ATTACK COUNTER 36000
!SET_AI_ATTACK TROUP_AMOUNT 0 0
!SET_AI_ATTACK TROUP_AMOUNT 1 0
!SET_AI_ATTACK TROUP_AMOUNT 2 0
!SET_AI_ATTACK TROUP_AMOUNT 3 3
!COPY_AI_ATTACK 0
The question is - how AI should choose which troops to take to attacks and how many? The script asks for 35 archers and 3 groups, how exactly is that works (e.g. AI has groups of 20 men, or of 5 men)
!SET_AI_ATTACK TYPE 1
!SET_AI_ATTACK TOTAL_AMOUNT 35
!SET_AI_ATTACK TARGET 3
!SET_AI_ATTACK POSITION 115 91
!SET_AI_ATTACK COUNTER 36000
!SET_AI_ATTACK TROUP_AMOUNT 0 0
!SET_AI_ATTACK TROUP_AMOUNT 1 0
!SET_AI_ATTACK TROUP_AMOUNT 2 0
!SET_AI_ATTACK TROUP_AMOUNT 3 3
!COPY_AI_ATTACK 0
The question is - how AI should choose which troops to take to attacks and how many? The script asks for 35 archers and 3 groups, how exactly is that works (e.g. AI has groups of 20 men, or of 5 men)
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de