mugen chars, rare characters
Mugen | CHAT | Character Making/Editing Help - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Character Making/Editing Help
12scratchDate: Wednesday, 2011-01-05, 9:44 AM | Message # 1
Baby
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
First off I'd like to say thank you for reading this topic, if my topic isn't in the appropriate place I apologize, moving on, my first problem is controlling when an attack is supposed to happen..........let me elaborate, take example Kisame (mugen character) when he does his water dragon jutsu its too slow, so I adjusted the speed of the animation of him doing the attack, but the attack itself remained at the same speed so now instead of speeding up all together it remains the same except that Kisame does his hand seals much quicker (because I sped it up using fighter factory) but after that there is a wait period until the attack actually happens, i tried correcting it using a "triggerall = time" but that doesn't help at all, so I would appreciate if anyone could give me a solution.

Secondly, I've designed a pretty darn good AI, specifically for MGSSJ2's Raikage the problem is I don't know what "triggerall = var" I should use, for example the character (Raikage) has 2 different modes/states, one is his normal mode/state and the second is his raiton armor mode/state. With that said, there are moves that the character can do in his normal mode/state only and its the same with the raiton armor mode/state, I therefore used the following code to try and separate the 2:

Example:

[State -1,AI Raiton Armor - Raiger Bomb]
type = ChangeState
value = 11000
triggerall = var(10) = 1
trigger1 = (Random <= 500)
trigger1 = (StateType != A) && (Ctrl)
trigger1 = (P2BodyDist X <= 2) && (P2StateType = S)
trigger1 = (P2BodyDist Y <= 5) && (P2StateType = S)
trigger1 = power >= 3000

The problem with this code is that when I personally use the character to fight as soon as I enter the raiton armor mode/state the AI kicks in and I know the problem is with the "triggerall = var(10) = 1" but if I don't use this trigerall the AI wont work at all, I have further questions to ask if you will, but I'll leave it at that for now, I hope for a quick response, Thank You


 
LightmattDate: Wednesday, 2011-01-05, 11:17 AM | Message # 2
Templar Knight
Group: Users
Messages: 234
Awards: 1
Reputation: 6
Reproofs: 0%
Status: Offline
There's a chance the state is linked to var 10 (Might want to ask MGSSJ2 about it). I suggest changing the AI var number to something else. Most AI use Var 59 or 58.



Message edited by Lightmatt - Wednesday, 2011-01-05, 11:18 AM
 
12scratchDate: Wednesday, 2011-01-05, 2:10 PM | Message # 3
Baby
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Hey Lightmatt, don't think you remember me, I'm the one that asked you for tutorial help a while back, anyways moving on the prob with using var 58 or 59 is that the AI will no longer need to be in Raiton Armor mode (var 10) to do the attack also any suggestion to the first problem?

Added (2011-01-05, 2:10 PM)
---------------------------------------------
Well I finally figured how to do all the stuff I had a problem with in my first post, now I'm wondering how to add a time between when the AI can do the same attack again, let me elaborate the AI of a character does a fireball attack, is there a way to put a time between when he can do the same fireball attack so that the AI won't be spamming the same attack? Thank You


 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2025 Create a free website with uCoz