collapse

Author Topic: character speed  (Read 3350 times)

0 Members and 1 Guest are viewing this topic.

Offline catman7622

  • Initiate
  • **
  • Posts: 38
  • Last Login:February 20, 2014, 04:07:25 PM
    • Email
character speed
« on: June 09, 2012, 08:20:48 PM »
i'm looking to increase a characters speed. is there a way to change speed for one character alone? i know i can increase speed in the game, but i want one character faster the the others.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: character speed
« Reply #1 on: June 10, 2012, 12:22:28 AM »
Like, walk jump run, or animation speed?

You can do either. Walk jump run are all safe. Animation speed, you'll break stuff.

Offline catman7622

  • Initiate
  • **
  • Posts: 38
  • Last Login:February 20, 2014, 04:07:25 PM
    • Email
Re: character speed
« Reply #2 on: June 13, 2012, 04:56:02 AM »
let me use Loganir's wonder woman for example. she just seems to quick to counter EVERYTHING. fighting her is difficult at times. just trying to keep characters like her and others (shredder, green lanturn, etc) fair but still a chalange.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: character speed
« Reply #3 on: June 14, 2012, 04:09:14 AM »
That's not so much speed as terrible AI. Random in AI should be less than 100, otherwise it actually becomes predictable. Predictability is only hard when you don't know how to abuse it. So you could learn how her AI works and tone it down to the point where it IS AI, or you could figure out all the loop holes. Most predictable AI is really easy to bait into whiffing an attack.

Offline catman7622

  • Initiate
  • **
  • Posts: 38
  • Last Login:February 20, 2014, 04:07:25 PM
    • Email
Re: character speed
« Reply #4 on: June 16, 2012, 11:57:45 AM »
OOOOHHHHHH!!!!! now i get it! thanks for letting me know that. i didnt know you can change the ai. where would i have to look to change it?

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: character speed
« Reply #5 on: June 16, 2012, 07:25:05 PM »
Most likely the .cmd, although it could be in state -2.

Basically you look for changestates to attacks that don't have a Command requirement. Have a look at the values for random, if they're more than 100, reduce them to that point or lower and the AI will feel less... spammy. It'll still do what it does, but less instantly and will probably choose a greater variety of attacks.

Basics should be really low, 50 or so, specials can hit the 80-90 mark, supers use your judgement.

Offline catman7622

  • Initiate
  • **
  • Posts: 38
  • Last Login:February 20, 2014, 04:07:25 PM
    • Email
Re: character speed
« Reply #6 on: June 17, 2012, 03:34:41 PM »
thanks dude! your the best for dumbing stuff like this down. gonna try it out now.

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: character speed
« Reply #7 on: June 28, 2012, 06:36:36 PM »
For WonderWoman's AI and most characters that were released around 2002 to 2004 you can do the following

1) in the def file change mugen version to 1.0
Code: [Select]
mugenversion = 1.0
2) In statedef -3 (it's in the wonder-3.st in Wonderwoman) remove the following AI activation code:

Code: [Select]
;================= Winane's activation A.I.
; Kamek and Luchini appear to have been the first ones to use the IsHomeTeam AI
; activation concept.
[State -3, SetAI]
type = VarSet
triggerall = Alive && !IsHelper
triggerall = IsHomeTeam
trigger1 = TeamSide = 2
trigger2 = MatchNo > 1
var(59) = 1

[State -3, AI Helper - Compatibly Partnered Version]
type = Helper
trigger1 = !var(59) && !IsHelper
trigger1 = !NumHelper(9742)
trigger1 = Alive && RoundState = 2
trigger1 = NumPartner
trigger1 = Partner,SelfAnimExist(9741)
HelperType = normal
name = "greathera2"
ID = 9742
pos = 9999999,99999
StateNo = 9742
KeyCtrl = 1
PauseMoveTime = 2147483647
SuperMoveTime = 2147483647

[State -3, AI Helper]
type = Helper
triggerall = !var(59) && !IsHelper
triggerall = !NumHelper(9741)
triggerall = Alive && RoundState = 2
trigger1 = !NumPartner
trigger2 = !(Partner,SelfAnimExist(9741))
HelperType = normal
name = "greathera"
ID = 9741
pos = 9999999,99999
StateNo = 9741
KeyCtrl = 1
PauseMoveTime = 2147483647
SuperMoveTime = 2147483647

[State -3, TurnBackOnAI]
type = VarSet
trigger1 = var(59) = -2 && !IsHelper
trigger1 = Alive && RoundState = 2
var(59) = 1

[State -3, RCSC Helper];"Recent Custom State Check"
type = Helper
triggerall = var(59)!=1 && !IsHelper
triggerall = !NumHelper(9743)
triggerall = Alive && RoundState = 2
trigger1 = MatchNo = 1
trigger2 = NumPartner
trigger2 = ID > Partner,ID
HelperType = normal
name = "greathera3"
ID = 9743
pos = 9999999,99999
StateNo = 9743
PauseMoveTime = 2147483647
SuperMoveTime = 2147483647

[State -3, GameTimeVar]
type = VarSet
trigger1 = !IsHelper
var(57) = GameTime
IgnoreHitPause = 1
;=================end Winane's activation A.I.

This code was develoepd by Winane and reused with permission in tons of characters form this era before people started placing the activation into [statedef -1].

3) Place the following code in the cmd file right under [statedef -1]

Code: [Select]
[State -1, AI Activation]
type = varset
triggerall = AILevel > 2
triggerall = (roundstate = 2) && (var(59) = 0)
trigger1 = Random <= ((AILevel-2)*100)
v = 59
value = 1

[State -1, AI Deactivation]
type = varset
triggerall = AIlevel < 7
triggerall = var(59) = 1
trigger1 = Random > ((AILevel-2)*100)
trigger2 = roundstate != 2
v = 59
value = 0

If you do this to other characters then make sure you recognize what var is being used in winane's code [in this case it's var(59) ] and use that number in your new CMD code.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[May 21, 2024, 11:50:20 PM]


The Spider release + Spider-Man game by kobun
[May 21, 2024, 02:05:24 AM]


Let's all try it together! Yazawanainn gose breakdancing in MUGEN! by GTFoxN6Y
[May 18, 2024, 05:00:14 PM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[May 18, 2024, 11:17:34 AM]


Classic VS : Athena by ELECTRO
[May 15, 2024, 01:25:51 PM]


D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]

* IMT Calendar

May 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 [23] 24 25
26 27 28 29 30 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal