I'm making an nsfw victim character on a kfm template. (My first character ever), and i want to make some basic kuromaru compatibility. Idk how though.
I somewhat understand mugen character "scripting", but states still confuse me a little.
I thought I'd manage to copy-paste code from other characters, but i'm lost in the endless number of states they have. Japanese/gibberish comments in the code don't help either.
Can someone explain how it's done to me, or at least send me in the right direction?
How to make a victim character compatible with agressor character?
Moderator: Moderator
Re: How to make a victim character compatible with agressor character?
If you want to make a victim mode char compatible, you don't need any code, you just need to make the sprites so that it's what you want to see when the attack is performed.
In summary:
1. Create/edit the sprites to your liking.
2. Place them in the SFF, in the groups that the attacking char requires.
3. Make the animation declarations in the AIR file.
4. Enjoy.
In summary:
1. Create/edit the sprites to your liking.
2. Place them in the SFF, in the groups that the attacking char requires.
3. Make the animation declarations in the AIR file.
4. Enjoy.
Re: How to make a victim character compatible with agressor character?
How do i know which group would it require? Is there any way to know it other than analyzing other victim characters' animations?
I'm still very new to mugen character editing, so there are some things i just don't know
Re: How to make a victim character compatible with agressor character?
Unfortunately there is no universal guide or something similar, you need to find out what animations you need to declare to make the char compatible, observing animations of victims in AIR file or of the aggressor himself, verify the CNS code and AIR file to have it as an example and make your groups in it. SFF file and animations in AIR file.
There's no other way.
It is not very difficult, but if you are starting if you are going to find setbacks, but it will take practice doing it, cheer up.
There's no other way.
It is not very difficult, but if you are starting if you are going to find setbacks, but it will take practice doing it, cheer up.
Re: How to make a victim character compatible with agressor character?
I already have the animation groups but I need to know in which part of the CMD they are changedTetchi wrote: ↑Sun May 01, 2022 9:18 pm If you want to make a victim mode char compatible, you don't need any code, you just need to make the sprites so that it's what you want to see when the attack is performed.
In summary:
1. Create/edit the sprites to your liking.
2. Place them in the SFF, in the groups that the attacking char requires.
3. Make the animation declarations in the AIR file.
4. Enjoy.
an example would be
minotaur animation code: 1631
lieselotte animation code: 15908
Where in the cmd do I find the codes to change them for these?
Re: How to make a victim character compatible with agressor character?
I also ask the same question.
I mean more specifically that when I check the .cns file of some agressor I see that in the codes that change the state of some victims there are codes of some animations that I recognize.
like the code 19230 then I change it to for example 19234.
But when I run the debug mode in mugen to test the codes requested by the agressor still requesting the code 19230 which is supposed to be changed by a 19234, then I do not understand why by more codes that I delete or change the agressor still requesting the same animation codes.
I just don't understand it.
But when I edit the animations of the victims everything works and comes out perfectly, so why I can not change the animation codes requested by the agressors.
I mean more specifically that when I check the .cns file of some agressor I see that in the codes that change the state of some victims there are codes of some animations that I recognize.
like the code 19230 then I change it to for example 19234.
But when I run the debug mode in mugen to test the codes requested by the agressor still requesting the code 19230 which is supposed to be changed by a 19234, then I do not understand why by more codes that I delete or change the agressor still requesting the same animation codes.
I just don't understand it.
But when I edit the animations of the victims everything works and comes out perfectly, so why I can not change the animation codes requested by the agressors.
-
- Posts: 46
- Joined: Wed Jun 15, 2022 8:28 pm
Re: How to make a victim character compatible with agressor character?
It's quite possible that the animation 19230 is being called by that specific function? Some animations get reused for multiple states, as well as there is a chance that Aggressor might request multiple animations, based on what Victim has.Zeb2345 wrote: ↑Wed Jul 13, 2022 1:34 am I also ask the same question.
I mean more specifically that when I check the .cns file of some agressor I see that in the codes that change the state of some victims there are codes of some animations that I recognize.
like the code 19230 then I change it to for example 19234.
But when I run the debug mode in mugen to test the codes requested by the agressor still requesting the code 19230 which is supposed to be changed by a 19234, then I do not understand why by more codes that I delete or change the agressor still requesting the same animation codes.
I just don't understand it.
But when I edit the animations of the victims everything works and comes out perfectly, so why I can not change the animation codes requested by the agressors.
Re: How to make a victim character compatible with agressor character?
That must be it, although the truth is I am not sure but what frustrates me is that I have tried to change all the states that I consider that are related to the state that the aggressor uses but it never works, what I would like is that I could modify the .cns file at my whim so that the aggressor asks for the sprite groups that I want but it never works, I do not understand well how an agressor works or how it is possible that it works.
I even see sometimes that there are aggressors that change the victim to a state that does not exist neither in the .cns of the victim nor in the .cns of the aggressor so I do not understand how it is possible that an agressor works.
I even see sometimes that there are aggressors that change the victim to a state that does not exist neither in the .cns of the victim nor in the .cns of the aggressor so I do not understand how it is possible that an agressor works.
-
- Posts: 46
- Joined: Wed Jun 15, 2022 8:28 pm
Re: How to make a victim character compatible with agressor character?
I mean, not every Victim has every State, but usually the Aggressor changes Victim to the custom State in the Aggressor's filed. It's the Animation that could be sourced from either Victim or Aggressor.Zeb2345 wrote: ↑Wed Jul 13, 2022 2:29 am That must be it, although the truth is I am not sure but what frustrates me is that I have tried to change all the states that I consider that are related to the state that the aggressor uses but it never works, what I would like is that I could modify the .cns file at my whim so that the aggressor asks for the sprite groups that I want but it never works, I do not understand well how an agressor works or how it is possible that it works.
I even see sometimes that there are aggressors that change the victim to a state that does not exist neither in the .cns of the victim nor in the .cns of the aggressor so I do not understand how it is possible that an agressor works.
Can you say which Aggressor you're referencing? Or at least which State?
Re: How to make a victim character compatible with agressor character?
I mean a 6001 state that I always see in baomaru agressors like ryona bridget, brian, etc. these are the codes:KotBehemot wrote: ↑Wed Jul 13, 2022 3:02 amI mean, not every Victim has every State, but usually the Aggressor changes Victim to the custom State in the Aggressor's filed. It's the Animation that could be sourced from either Victim or Aggressor.Zeb2345 wrote: ↑Wed Jul 13, 2022 2:29 am That must be it, although the truth is I am not sure but what frustrates me is that I have tried to change all the states that I consider that are related to the state that the aggressor uses but it never works, what I would like is that I could modify the .cns file at my whim so that the aggressor asks for the sprite groups that I want but it never works, I do not understand well how an agressor works or how it is possible that it works.
I even see sometimes that there are aggressors that change the victim to a state that does not exist neither in the .cns of the victim nor in the .cns of the aggressor so I do not understand how it is possible that an agressor works.
Can you say which Aggressor you're referencing? Or at least which State?
;バオ●624必殺投げ(派生なげ)
[StateDef 4501]
type = S
movetype = A
phsyics = S
poweradd = 50
velset = 6,0;4,0;6,0;0,0
anim = 4001
ctrl = 0
[State 4501, 1]
type = NotHitBy
trigger1 = time > 0
value = SCA
[State 4501, 2]
type = HitDef
trigger1 = Time = 0
attr = S, ST
hitflag = M-
priority = 1, Miss
getpower = 60, 0
damage = 0, 0
sparkno = -1
p1facing = 1
p2facing = 1
guardflag = N
pausetime = 0, 0
hitsound = s2,11;s1, 5
p1stateno = 6000;18391
p2stateno = 6201;4520
guard.dist = 0
fall = 1
[State 4501, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;----------------------------------------------------------------------------
;前処理
;----------------------------------------------------------------------------
[Statedef 6000]
type = S ; キャラの物理的状態 S:立ち C:屈み A:空中 L:転倒
movetype = I ; キャラの動作状態 A:攻撃動作 H:くらい動作 I:何もしていない
physics = N ; キャラの摩擦状態 N:何も受けない S:地面の摩擦力 A:空中、重力の摩擦 C:Sとあまり変わらない
velset = 0,0
ctrl = 0
anim = 7235
----------
;初期変数設定
;----------------------------
;体位
[state 6000]
type = VarSet
trigger1 = 1
var(40) = 1
;ランダム待機時間
[State 6001,VarSet]
type = VarSet
trigger1 = 1
var(34) = 10
;画面効果有無フラグ
[state 6000]
type = VarSet
trigger1 = 1
sysfvar(1) = 0
;オート回数
[state 6000]
type = VarSet
trigger1 = 1
sysfvar(2) = 0
;----------------------------
;終了処理
;----------------------------
[State 6000, TargetState]
type = TargetState
trigger1 = 1
value = 6201
[State 6000]
type = ChangeState
trigger1 = var(59) >= 1
value = 6006
[State 6000]
type = ChangeState
trigger1 = 1
value = 6001