Author Topic: Help with sprites and AI  (Read 335 times)

Offline guille_n_roll

  • M.U.G.E.N Creator
  • Jr. Member
  • *****
  • Posts: 40
  • Honor: 2
  • Mugen Tournaments Organizer
    • View Profile
Help with sprites and AI
« on: July 08, 2009, 12:54:12 AM »
Hello everybody....
I'm looking for someone who can edit sprites to street fighter 2 style, and i'm looking for someone who knows coding AI chars.
Please send me a message or contact me on this mail:
memo_ndo@hotmail.com
Thanks, see ya.

Offline Moji

  • Full Member
  • ***
  • Posts: 141
  • Honor: 3
  • Fix patching is tedious :v
    • View Profile
    • My Youtube Channel >_>
Re: Help with sprites and AI
« Reply #1 on: July 15, 2009, 07:21:47 PM »
Hello everybody....
I'm looking for someone who can edit sprites to street fighter 2 style, and i'm looking for someone who knows coding AI chars.
Please send me a message or contact me on this mail:
memo_ndo@hotmail.com
Thanks, see ya.

For coding an AI, you might want to take note at how other creators do it [a. in a seperate txt file (Muteki), b. Within the cns [9, and a bunch more], or c. in the cmd file] and start with statedef -# [state -# (of course replace the number with what ever number it is [excluding 1 and 2, 3 will probably work] AI] type = Varset  then use a trigger then code the AI move numbers and such.]

AN example of this.
 from 9's Satsuki
[;AI
[Statedef -3]
[State -3, AI]
Type = VarSet
TriggerAll = ((Var(59) = 0) && (RoundState != 3))
Trigger1 = Command = "AI_00"
Trigger2 = Command = "AI_01"
Trigger3 = Command = "AI_02"
Trigger4 = Command = "AI_03"
Trigger5 = Command = "AI_04"
Trigger6 = Command = "AI_05"
Trigger7 = Command = "AI_06"
Trigger8 = Command = "AI_07"
Trigger9 = Command = "AI_08"
Trigger10 = Command = "AI_09"
Trigger11 = Command = "AI_10"
Trigger12 = Command = "AI_11"
Trigger13 = Command = "AI_12"
Trigger14 = Command = "AI_13"
Trigger15 = Command = "AI_14"
Trigger16 = Command = "AI_15"
Trigger17 = Command = "AI_16"
Trigger18 = Command = "AI_17"
Trigger19 = Command = "AI_18"
Trigger20 = Command = "AI_19"
Trigger21 = Command = "AI_20"
Trigger22 = Command = "AI_21"
Trigger23 = Command = "AI_22"
Trigger24 = Command = "AI_23"
Trigger25 = Command = "AI_24"
Trigger26 = Command = "AI_25"
Trigger27 = Command = "AI_26"
Trigger28 = Command = "AI_27"
Trigger29 = Command = "AI_28"
Trigger30 = Command = "AI_29"
Trigger31 = Command = "AI_30"
Trigger32 = Command = "AI_31"
Trigger33 = Command = "AI_32"
Trigger34 = Command = "AI_33"
Trigger35 = Command = "AI_34"
Trigger36 = Command = "AI_35"
Trigger37 = Command = "AI_36"
Trigger38 = Command = "AI_37"
Trigger39 = Command = "AI_38"
Trigger40 = Command = "AI_39"
Trigger41 = Command = "AI_40"
Trigger42 = Command = "AI_41"
Trigger43 = Command = "AI_42"
Trigger44 = Command = "AI_43"
Trigger45 = Command = "AI_44"
Trigger46 = Command = "AI_45"
Trigger47 = Command = "AI_46"
Trigger48 = Command = "AI_47"
Trigger49 = Command = "AI_48"
Trigger50 = Command = "AI_49"
Trigger51 = Command = "AI_50"
Trigger52 = Command = "AI_51"
Trigger53 = Command = "AI_52"
Trigger54 = Command = "AI_53"
Trigger55 = Command = "AI_54"
Trigger56 = Command = "AI_55"
V = 59
Value = 1
IgnoreHitPause = 1

[State -3, AI]
Type = VarSet
TriggerAll = Var(59) = 1
Trigger1 = Win = 1
Trigger2 = Lose = 1
Trigger3 = DrawGame = 1
Trigger4 = RoundState = 4
Trigger5 = RoundState = [0,1]
V = 59
Value = -1
IgnoreHitPause = 1

[State -3, AI]
Type = VarSet
Trigger1 = Var(59) = -1
Trigger1 = RoundState = 2
V = 59
Value = 1
IgnoreHitPause = 1

[State -3, AI]
Type = VarRandom
TriggerAll = Var(59) = 1
TriggerAll = StateNo != 120
Trigger1 = Time = 1
Trigger2 = Time %60= 1
V = 58
Range = 0,99
IgnoreHitPause = 1
Persistent = 0
SuperMoveTime = 9999
PauseMoveTime = 9999] To help you get started.

Thanks to Sky79 for this pic. :V

Offline guille_n_roll

  • M.U.G.E.N Creator
  • Jr. Member
  • *****
  • Posts: 40
  • Honor: 2
  • Mugen Tournaments Organizer
    • View Profile
Re: Help with sprites and AI
« Reply #2 on: July 16, 2009, 12:39:11 PM »
Hahaha it's very confusing for me, that's why i'm looking for someone who makes AI patchs.
But well, thanks for the explain me the AI variables.

Offline ynvaser

  • M.U.G.E.N Contributor
  • Hero Member
  • *****
  • Posts: 860
  • Honor: 91
  • MUGEN - Powered by Drama™
    • View Profile
    • ynvaser's MUGEN Hideout
Re: Help with sprites and AI
« Reply #3 on: July 19, 2009, 07:13:42 AM »
That's only the activation part. Coding the AI itself is a different story.
Quote from: ynvaser
"...The beauty of Mugen is that the only limit you have is your skills. The rest depends on your fantasy..."

Sig by Kaneda
WIP Thread

Offline guille_n_roll

  • M.U.G.E.N Creator
  • Jr. Member
  • *****
  • Posts: 40
  • Honor: 2
  • Mugen Tournaments Organizer
    • View Profile
Re: Help with sprites and AI
« Reply #4 on: July 20, 2009, 01:43:42 AM »
That's true, the AI Code must be maked in the CMD.
Hehe nobody cares about the sprites???

Offline ynvaser

  • M.U.G.E.N Contributor
  • Hero Member
  • *****
  • Posts: 860
  • Honor: 91
  • MUGEN - Powered by Drama™
    • View Profile
    • ynvaser's MUGEN Hideout
Re: Help with sprites and AI
« Reply #5 on: July 20, 2009, 04:27:51 AM »
That's true, the AI Code must be maked in the CMD.
That's not right. I do my AIs into [State -3].
Quote from: ynvaser
"...The beauty of Mugen is that the only limit you have is your skills. The rest depends on your fantasy..."

Sig by Kaneda
WIP Thread

Offline Rajaa

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3349
  • Honor: 474
  • I don't make any sense.
    • View Profile
    • RajaaBoy's Mugen Stuff
Re: Help with sprites and AI
« Reply #6 on: July 20, 2009, 09:27:30 AM »
Ai's can be done in the .cmd/Statedef -1 as well. Statedef -1 is more common anyways.
- "My animation is far more painful to look at than yours!"

Offline guille_n_roll

  • M.U.G.E.N Creator
  • Jr. Member
  • *****
  • Posts: 40
  • Honor: 2
  • Mugen Tournaments Organizer
    • View Profile
Re: Help with sprites and AI
« Reply #7 on: July 20, 2009, 01:06:05 PM »
The AI of my chars was made in the CMD, but has too many bugs on the char moves, that's why I looking for someone else who knows how make a better AI or AI patch.

Offline ynvaser

  • M.U.G.E.N Contributor
  • Hero Member
  • *****
  • Posts: 860
  • Honor: 91
  • MUGEN - Powered by Drama™
    • View Profile
    • ynvaser's MUGEN Hideout
Re: Help with sprites and AI
« Reply #8 on: July 20, 2009, 03:17:36 PM »
I'm not making it instead of you, but if you pick me up on MSN i can teach you a few tricks.
Quote from: ynvaser
"...The beauty of Mugen is that the only limit you have is your skills. The rest depends on your fantasy..."

Sig by Kaneda
WIP Thread

Offline guille_n_roll

  • M.U.G.E.N Creator
  • Jr. Member
  • *****
  • Posts: 40
  • Honor: 2
  • Mugen Tournaments Organizer
    • View Profile
Re: Help with sprites and AI
« Reply #9 on: July 21, 2009, 08:30:13 AM »
I'm not making it instead of you, but if you pick me up on MSN i can teach you a few tricks.
Yeah, sure.
Here is my new MSN:
guille_n_roll@hotmail.com