• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

AI Question

GBouras

Smash Rookie
Joined
Dec 11, 2013
Messages
3
So I decided to play some Project M after some time, but I wanted to have all the trophies and the stickers, so I downloaded a 100% complete file to put into the Wii. My question is,based on the theory that Brawl AI can assimilate techniques from past matches, would the CPU players behave weirdly, or it's not a problem?
 

KingClubber

Smash Ace
Joined
Nov 15, 2010
Messages
969
Location
In a dark underground base in the middle of L.A
Completely False.

Here's a image of how cpu's brains work.



Here's a image of the brain telling the body what to do.



Here's the code telling fox to utilt.

Code:
var00 = 2.000000
var01 = 0.000000
var02 = 8.000000
var03 = 0.700000
if Random < 0.500000:
    var02 += 0.500000
var04 = var02
var04 = 0x1012 + 3.000000
var05 = TargetDirection
var05 *= -0.500000
ExactStick(var05)
##############################
def sub_00():
    var05 = var03
    if not isPastFrame(var02):
        var05 *= 0x1007
        var05 /= var02
    Stick(0.000000, var05)
    if isPastFrame(var02):
        if var01 < 1.000000:
            Button(0x0001)
            var01 = 0x1013
        else:
            var01 -= 1.000000
        if isPastFrame(var04):
            Finish()
Jump()
Any questions?
 

Xinc

Smash Lord
Joined
Jan 18, 2011
Messages
1,560
Location
NY, NY
NNID
xincmars
3DS FC
2981-7601-8481
Looked like gibberish to me at first, but then made total sense. Thanks.
 

Xanthus

Smash Apprentice
Joined
Mar 15, 2006
Messages
187
Location
North America (East/Central)
I tried messing around with the AI but didn't get very far yet. Would it be possible to have a few approaches coded with variables that say how much they're successful? Like when they're interrupted or reach completion, they'll edit that value, so next time it looks for one of those approaches, more weight will be assigned to the more successful approach?

I'd love to get more into the AI coding, but haven't fully wrapped my head around everything yet.

Sidenote: AWESOME job with the 3.0 AI, you're a damn wizard.
 
Top Bottom