My defensive AI is already like 90 inputs long...Yeesh!
How about adding cascading/grouped inputs that all have the same outputs. For example, my D-AI might have against any set with two WR's have the following setup in pass situations.
Input - WR 2-2, Winning by 24+
3 pass defense outputs
Input - WR 2-2, 2nd down and 10 or more yards
3 pass defense outputs
Input - WR 2-2, 3rd/4th down and 5 or more yards
3 pass defense outputs
Input - WR 2-2, Time under 120s and outside the 20 yardline
3 pass defense outputs
Input - WR 2-2, Time under 60s and between the 10-20 yardline and no opponent timeouts
3 pass defense outputs
However, all three defensive calls are EXACTLY the same because that's what I want to run as my pass defense in obvious situations.
I would be great if I could group or cascade these inputs into a single set of outputs.
For example,
* Up Big (opponent is passing)
OR
* 2nd and 10+ (opponent is likely passing)
OR
* 3rd and 5+ (opponent is likely passing)
OR
* within 2 minutes and outside redzone (opponent is running 2 minute drill)
OR
* between the 10 and 20 and opponent has no timeouts.
*** use these 3 defensive sets.
With cascading inputs I only have to write one output and build my inputs. However, with the current system I have to have 5 inputs and 3 outputs each. If I want to change my pass defense against that formation I have to update 15 different outputs! Ugh!
Just a thought. Out to be pretty easy to code up. If you find an input that matches, you simply skip to the first input with an output and use those! Viola! Defense and Offense AI's GREATLY simplified!
How about adding cascading/grouped inputs that all have the same outputs. For example, my D-AI might have against any set with two WR's have the following setup in pass situations.
Input - WR 2-2, Winning by 24+
3 pass defense outputs
Input - WR 2-2, 2nd down and 10 or more yards
3 pass defense outputs
Input - WR 2-2, 3rd/4th down and 5 or more yards
3 pass defense outputs
Input - WR 2-2, Time under 120s and outside the 20 yardline
3 pass defense outputs
Input - WR 2-2, Time under 60s and between the 10-20 yardline and no opponent timeouts
3 pass defense outputs
However, all three defensive calls are EXACTLY the same because that's what I want to run as my pass defense in obvious situations.
I would be great if I could group or cascade these inputs into a single set of outputs.
For example,
* Up Big (opponent is passing)
OR
* 2nd and 10+ (opponent is likely passing)
OR
* 3rd and 5+ (opponent is likely passing)
OR
* within 2 minutes and outside redzone (opponent is running 2 minute drill)
OR
* between the 10 and 20 and opponent has no timeouts.
*** use these 3 defensive sets.
With cascading inputs I only have to write one output and build my inputs. However, with the current system I have to have 5 inputs and 3 outputs each. If I want to change my pass defense against that formation I have to update 15 different outputs! Ugh!
Just a thought. Out to be pretty easy to code up. If you find an input that matches, you simply skip to the first input with an output and use those! Viola! Defense and Offense AI's GREATLY simplified!