-
-
Notifications
You must be signed in to change notification settings - Fork 7
Upgrading missions from Version 2 (pre Alpha 10.1) to Version 3 (post Alpha 10)
kromster80 edited this page Nov 25, 2022
·
10 revisions
To upgrade static mission script (.DAT) following changes need to be made:
-
All hands need to be activated. Add
!HAND_ACTIVATE
command after!HAND_ALLOW_AI
/!HAND_ALLOW_HUMAN
. No parameters needed; -
Sparring hands may need a character set up. If you have a sparring hand (one that is only
!HAND_ALLOW_AI
), then you should add!HAND_AI_CHARACTER
command after!HAND_ACTIVATE
with parameter (0 for Story AI character, 1 for Custom AI character). Sparring hands are Story by default; -
Neutral hand should be converted into an ordinary hand.
- Increase parameter of the
!HAND_COUNT
at the top of the script by +1 - Replace
!HAND_CURRENT 99
with!HAND_CURRENT hands_count-1
- Add
!HAND_ACTIVATE
to it as well
- Increase parameter of the
-
Finally upgrade the script version. Change
!VERSION
value in the header to 3;
Addendum:
There are 4 basic hand alignments now:
- Neutral. Can not be played by Human nor AI. Should have only animals.
- Human. Can be played only by Human player.
- Sparring. Can be played only by AI player.
- Skirmish. Can be played by Human or AI.
Sparring hand can be of 3 different characters:
- Story. This AI type is best suited for ..
- Custom. This AI will ..