User Pass
Home Sign Up Contact Log In
Forum > Suggestions > AI Enchancement - Cascading Inputs
PackMan97
offline
Link
 
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!
 
whitewolf
offline
Link
 
+1
 
Bert28
offline
Link
 
Maybe they could put an Add New Input between all the inputs instead of just at the top. That way you could plug in a new one wherever you wanted instead of having to move them up and down.
 
Forbin
offline
Link
 
Originally posted by Bert28
Maybe they could put an Add New Input between all the inputs instead of just at the top. That way you could plug in a new one wherever you wanted instead of having to move them up and down.


That would help a LOT, but the page is still going to be massively huge and rather awkward. We need a way to somehow split it into multiple tabs or something. The way it's set up now is really counter-intuitive to anyone. Those with a little bit coding experience probably have a little leg up when first getting into the AI, because it's really just a huge series of IF/THEN statements.


Personally, I would rather have a much more user-friendly GUI, or an all out raw code system. Either way would be fine with me. I'd probably be able to get things done quicker with a PHP-like (Perl-esque?) syntax and command line AI, but I'm pretty sure most users would prefer a cleaner GUI instead.


if ( $yardline <= 40 ) && ( $territory = 'opponent' )
_____{
_____$play = Field_Goal
_____}
_____elseif ( $togo <= 2 )
_____{
_____$play = Goalline_HB
_____}
_____else $play = Punt
 
SAGA45
offline
Link
 
any way they can implement a drag&drop or numbering system where you can realign inputs similar to how you'd rearrange you queue on netflix?
 
whitewolf
offline
Link
 
For a larger AI Functionality thread (that actually refers back to this one for the purposes of cascading inputs) see: http://goallineblitz.com/game/forum_thread.pl?thread_id=2223247

 
turnit643
offline
Link
 
Originally posted by Bert28
Maybe they could put an Add New Input between all the inputs instead of just at the top. That way you could plug in a new one wherever you wanted instead of having to move them up and down.


At least this.
 
DiMo28
offline
Link
 
Originally posted by Bert28
Maybe they could put an Add New Input between all the inputs instead of just at the top. That way you could plug in a new one wherever you wanted instead of having to move them up and down.


Definitely this! What a pain to add a new one.
 


You are not logged in. Please log in if you want to post a reply.