YesNoOk
avatar

Can't find Faust's AI (Read 2881 times)

Started by Creamy_Goodness, April 27, 2022, 09:26:37 PM
Share this topic:
Can't find Faust's AI
#1  April 27, 2022, 09:26:37 PM
  • ***
    • USA
    • creamyg.jdluke.com/

> I'm currently nerfing Faust by muteki, and this task has been real pain in the ass due to the extreme complexity of the character. So far, I've managed to reduce the damage of all of his basic attacks and some of his special attacks, but he's still dominating the other characters in my roster, including the some of the top 16 I put him up against. The next step is to tone down his AI, but try as I might, I couldn't find it anywhere; not in the cmd or any of the cns files.

> Here's the link to the original character...

https://onedrive.live.com/?cid=495747b6f9328805&id=495747B6F9328805%21125&authkey=%21AHiQCBHj6az5zwg (filename is "fau.7z")

> If anyone has better luck in finding the AI than I did, please let me know.
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/
Last Edit: May 05, 2022, 07:55:02 AM by Creamy_Goodness
Re: Can't find Faust's AI
#2  May 03, 2022, 07:38:10 PM
  • **
  • Blue is cool.
    • USA
In the "faust.cns" file, right at the beginning of state -3 (Line 34935) are the AI commands. Look for something like this in each state controller:
Code:
trigger1 = random < 120

and change the number to a lower number to reduce the rate at which the AI attacks. If you see something like this:
Code:
random = [0,330]

Just change the number to the right to a lower number, and make sure that number isn't lower than the number on the left (it might not always be 0).

Unfortunately, it seems that this character has a lot of AI command state controllers that don't have a random trigger (which means it attacks as soon as the conditions are right), so you'll need to add it. Just add:
Code:
triggerall = random < 50;Doesn't have to be 50. Best to keep low.

at the beginning of a state controller that doesn't have a random trigger already. The AI commands end at Line 35983.

If you just want to remove the custom AI completely, look for this state controller in the cmd. file (Line 644):
Code:
[State -3]
type = varset
triggerall = var(59) = 0
triggerall = !ishelper
trigger1  = command = "CPU1"||command = "CPU21"
trigger2  = command = "CPU2"||command = "CPU22"
trigger3  = command = "CPU3"||command = "CPU23"
trigger4  = command = "CPU4"||command = "CPU24"
trigger5  = command = "CPU5"||command = "CPU25"
trigger6  = command = "CPU6"||command = "CPU26"
trigger7  = command = "CPU7"||command = "CPU27"
trigger8  = command = "CPU8"||command = "CPU28"
trigger9  = command = "CPU9"||command = "CPU29"
trigger10 = command = "CPU10"||command = "CPU30"
trigger11 = command = "CPU11"||command = "CPU31"
trigger12 = command = "CPU12"||command = "CPU32"
trigger13 = command = "CPU13"||command = "CPU33"
trigger14 = command = "CPU14"||command = "CPU34"
trigger15 = command = "CPU15"||command = "CPU35"
trigger16 = command = "CPU16"||command = "CPU36"
trigger17 = command = "CPU17"||command = "CPU37"
trigger18 = command = "CPU18"||command = "CPU38"
trigger19 = command = "CPU19"||command = "CPU39"
trigger20 = command = "CPU20"||command = "CPU40"
Trigger21= NumHelper(10000+ID)
Trigger21= Helper(10000+ID),var(59)>0
var(59) = 1;2

Set the type to "Null" (without quote marks), and the custom AI should be gone. This SHOULD work (some authors go really far to prevent their character's AI from being disabled).

If you need any more help, I'll be around.
Sometimes I listen to video game music more than I actually play the game.
Check out my Bonus Game & Characters!: http://mugenguild.com/forum/topics/streets-rage-2-bonus-game-11-chars-162092.0.html
IKEMEN Version: https://mugenguild.com/forum/topics/streets-rage-2-bonus-game-ikemen-version-update-728-196297.0.html
Re: Can't find Faust's AI
#3  May 04, 2022, 09:24:59 AM
  • ***
    • USA
    • creamyg.jdluke.com/

@K-Fox

> Thank you so much, Fox. I don't think I would have found the AI if you didn't point it out for me. I'm going to start nerfing that AI right away and I'll let you know how it goes.
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/
Last Edit: May 05, 2022, 07:38:13 AM by Creamy_Goodness
Re: Can't find Faust's AI
#4  May 05, 2022, 07:54:39 AM
  • ***
    • USA
    • creamyg.jdluke.com/

> OK, I just finished editing Faust's AI by reducing all of the Random triggers to ten percent of their original values. As a result, Faust is a little more beatable, but still very strong. Thank you for your help, and I can now mark this topic as "Solved".
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/