collapse

Author Topic: character speed  (Read 3497 times)

0 Members and 2 Guests 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

Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


thunderstrike eric masterson by Blagoy
[September 12, 2024, 02:41:33 PM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal