pnp
Regional Fighter
Posts: 73
|
Post by pnp on Nov 8, 2006 1:45:27 GMT -5
I had just a quick question on the order of conditionals.
1) 6/1/13 if score >=2 then 4b/8/8 if score =1 then 5/1/12 7) 7/1/12
Two questions
1) would the score conditionals be in effect any time between rounds 2-6?
2) if the program reads conditionals from bottom to top then it would check the bottom one before moving on, right? This would mean that if I was more concerned about checking stuns or endurance I would want that on the bottom of the score conditionals?
Just wanted to make sure I understood it correctly.
|
|
|
Post by Evolve <Evil Empire> on Nov 8, 2006 7:45:20 GMT -5
The simulator, from my understanding, stops on the last true line, but it is my impression that it reads from top to bottom, which is why at the end of your plan you can put in lines for Round 2 or later. And, yes, that round one static line will be in effect if the conditionals are not met.
|
|
pnp
Regional Fighter
Posts: 73
|
Post by pnp on Nov 8, 2006 17:15:20 GMT -5
Ok, I checked this out w/ my practice FP. I have a junk FP I use to practice setting conditionals and stuff. Here's what I found. Using the example of score the conditionals would have to be stacked like this:
1) 7/1/12 if score >1 then 6/1/13 if score <0 then 8/1/11 if score <-2 then 9/1/10 if endurance_percent < 60 then 1/1/8 7) x/x/x
The program will read the conditionals from bottom to top but in this case all these conditionals will be ignored starting in round 7 where a new static line exists.
Two thing I learned
1) If I was concerned about running out of steam early in the fight I would place my endurance conditional at the bottom so that it would be the first thing checked. If I placed it at the top it would never be viewed unless the score was tied because it would have to work through all of the score conditionals.
2) In the scoring lines the <-2 has to be read before <0 for it to ever be acted upon. Otherwise, I could be down 4 pts. and the program would still stop on the <0 because technically it meets the criteria.
Sorry to ramble but I been trying to put together some original fight plans so I've been doing alot of work on these.
|
|
|
Post by Evolve <Evil Empire> on Nov 8, 2006 19:13:27 GMT -5
That is different from what I was told. According to what I was told it should stop at the last true line in the plan, so it would bypass the <2 line if the line underneath it was true. I have never simmed a fight plan in the manner you did to check which way it read though so I was always going on what I was told.
I was scheduled with one of your fighters this week but it is both of the fighters first fights so we really have nothing to scout.
|
|
|
Post by jimsardonic on Nov 8, 2006 21:53:39 GMT -5
Evolve has it right...
The sim reads the fp like you read a book or webpage -- top to bottom, left to right.
It stops on the last _true_ line.
So:
1) 7/1/12 if score >1 then 6/1/13 if score <0 then 8/1/11 if score <-2 then 9/1/10 if endurance_percent < 60 then 1/1/8 7) x/x/x
For round 1, it will go 7/1/12. From there on, the score will influence it. Because you have 7) x/x/x -- the sim will default to x/x/x anytime after the 7th round.
However, if you don't put x/x/x -- and rather, a set of conditionals -- it's possible that the sim will bring it all the way back to 7/1/12 if nothing after 7) is true.
For example:
1) 4/3/4 2) if score > 0 then 3/4/6 if score < 0 then 7/4/7 5) if endurance_percent < 50 then 1/5/3 7) if score > 0 then 3/6/4 8) 4/3/1 if score > 0 then 3/5/9
Crazy numbers, I know, but that doesn't matter.
Round 1, will be 4/3/4 -- we know this much. Round two will depend on score. if score isn't > 0 or < 0 (if it's tied), then it will default back to 4/3/4.
Same situation with 5). If that conditional isn't met, it will go back to whatever line is the _bottommost_ true line before it.
After 8), however, we set a new default. 8) 4/3/1 will _always_ be true after round 8, so we'll never see any of the conditionals from before there -- due to it being true.
I hope that makes sense, feel free to ask questions if it doesn't.
|
|
pnp
Regional Fighter
Posts: 73
|
Post by pnp on Nov 9, 2006 0:39:38 GMT -5
Ok, I will not post on this topic again.... probably. I ran another sim on the practice and it still had the same effect. Let me rephrase my question.
"Conditionals are placed below the static line in order of least to most important. The fight parser reads each section from bottom to top so conditionals lower than others take precedence as long as the conditonal is true. for this reason youhave to be careful how you rank your conditionals. make sure they do not concel each other out or make it impossible for the parser to read" (Unforgiven Help Page)
So if my FP was 1) 6/6/6 if endurance_percent > 97 then 5/5/5 if endurance_percent > 90 then 7/5/5 if endurance_percent > 80 then 4/5/4
then my conditionals would go right from 6/6/6 in round 1 to 4/5/4 because it would stop on the first true line which would always be > 80 until I dipped below 80. I understand the precedence that static lines take, I just wanted to set up my conditionals so that they would be checked in the proper order.
|
|
|
Post by jimsardonic on Nov 9, 2006 2:08:43 GMT -5
In that case, you have to make sure that the bottommost lines won't trigger before the topmost.
For example:
if score > 1 if score = 0 if score < -2 if score < -1
The "if score < -2" line will never trigger, because if it's less than -2 -- it's also less than -1.
It gets a bit confusing sometimes with the
if endurance_percent < 100 - (round - 1) * x
lines. For those, I'll often use:
if endurance_percent > 100 - (round - 1) * 2 or 3 if endurance_percent < 100 - (round - 1) * 2 if endurance_percent < 100 - (round - 1) * 3, and so on
If you flip the < to >, though, the order is changed.
You get used to it after a while, but on occassion I'll have an fp misfire due to something being out of place. Best you can do is test new fp's on the practice sim to make sure everything happens when you want it to.
And don't be afraid to post on this again -- I'm sure you're not the only one who can benefit from it.
|
|
|
Post by Evolve <Evil Empire> on Nov 9, 2006 7:58:37 GMT -5
|
|