04-27-2016, 12:11 PM
(This post was last modified: 04-27-2016, 12:14 PM by True Destroyer.)
I'm posting my solution for this here:
a flag should be created that has for example a double value, and is selectable in game, menu, however is also a global value visible in any mission. No idea how to do it or is it easily possible to put something defined via menu in mission enviorment, so it can be accesed via cbot language as constant.
If it is possible, then:
Superlazy version - change all alien scripts to multiply target detection range by difficulty level factor corresponding to difficulty level selected by user.
Lazy clever version? Announce an AI contest on the forum. Winner scripts are being modified and incorporated in the game. (Someone should be delegated to be responsible for this contest though)
Regular lazy version - modify AI scripts by using 'switch(GLOBALdifficulty)' case selector and copy+paste with modifications, so that alien runs one loop or the other from the same script depending on starting global difficulty value.
a flag should be created that has for example a double value, and is selectable in game, menu, however is also a global value visible in any mission. No idea how to do it or is it easily possible to put something defined via menu in mission enviorment, so it can be accesed via cbot language as constant.
If it is possible, then:
Superlazy version - change all alien scripts to multiply target detection range by difficulty level factor corresponding to difficulty level selected by user.
Lazy clever version? Announce an AI contest on the forum. Winner scripts are being modified and incorporated in the game. (Someone should be delegated to be responsible for this contest though)
Regular lazy version - modify AI scripts by using 'switch(GLOBALdifficulty)' case selector and copy+paste with modifications, so that alien runs one loop or the other from the same script depending on starting global difficulty value.
For Colobot: Gold Edition check out my TrueLevels level pack, UI Texture replacement pack and Sound Effect replacement pack.
Trailer for TrueLevels and my youtube channel here. Cheers!
Trailer for TrueLevels and my youtube channel here. Cheers!