YesNoOk
avatar

Need help with character editing (Read 10572 times)

Started by vicneo, December 24, 2024, 07:29:51 am
Share this topic:
Need help with character editing
#1  December 24, 2024, 07:29:51 am
  • avatar
  • *
    • USA
This is the version of goku I'm using, he just automatically counter hits from blue form onwards, while not doing the same thing in god form. How to make him do it in god form?

One more thing is how to edit the sparking usage timing of each of his forms? (When his HP is low in any form, he usually goes into a state where he emits an aura around his body)

 

Note: Please check him before giving instructions, because if you can't understand how he works then your instructions are completely irrelevant.

 

https://www.mediafire.com/file/64owc1dm909cvqp/Songoku_US_ver3_5.zip/file
Last Edit: December 24, 2024, 07:33:25 am by vicneo
Re: Need help with character editing
#2  December 25, 2024, 06:34:10 am
  • *****
  • Shame on you!
    • USA
Most of the people who are willing to help don't have time to download, play, debug, and track down things people want help with. (especially at Christmas) What we do is usually give the person needing help clues on how to track down the things to edit.

This is the version of goku I'm using, he just automatically counter hits from blue form onwards, while not doing the same thing in god form. How to make him do it in god form?
If you use Debug you can find out very fast. Use Ctrl+D to turn on Debug. You'll see values in the bottom left corner. You'll see the StateNo value when he does the counter attack. Look for that value in his CMD file until you find the changestate that switches to it. Post that changestate in this thread. You're looking for a Var for the Blue form. You need to track down the Var for God mode too.

One more thing is how to edit the sparking usage timing of each of his forms? (When his HP is low in any form, he usually goes into a state where he emits an aura around his body)
This one would be easier to scrub the animations and find the aura sprites. Once you find the anim you can search the CNS files for that value until you find an explod or helper that makes it appear on screen. My guess is it will be a helper that is spawned in Statedef -2 based on how much Life P1 has left.
I don't really understand the phrase
"edit the sparking usage timing"
If you want it to start sooner, you would adjust the explod/helper's trigger(s). You would find the spot that creates it and edit the triggers to how/when you want it to start up.
If you want it to go away faster, you would edit the explod's
removetime =
line, or the helper's DestroySelf triggers.

vVv N00bSaibot & Muramasa RoofTop vVv
Re: Need help with character editing
#3  December 25, 2024, 12:11:10 pm
  • avatar
  • *
    • USA
Sorry, not "edit the sparking usage timing" but adjust it so that he enters the aura state earlier when his HP is only slightly lost, different from the original default that he only switches to it when his HP is very low
Re: Need help with character editing
#4  December 30, 2024, 06:18:38 am
  • *****
  • Shame on you!
    • USA
Using Debug, you should be able to see the Life value. You could look for something along the lines of
Life <= 200
You could leave the "= 200" off and search the cmd for "Life <" and look through all of the changestates if P1 goes to a particular state when it changes.
If you know the animation number, search the cns files for that number. Cycle through all of the cns files and see what state contains them.
You'll probably find the helper, or the state P1 enters. Then you'll need to find the changestate, or the helper, that activates that state.
So if it's
[StateDef 3202]
You'll search for 3202 and find what's calling it. One of the triggers _should_ be Life. Adjust that life value and see if it works the way you want.
vVv N00bSaibot & Muramasa RoofTop vVv
Re: Need help with character editing
#5  January 23, 2025, 06:27:14 pm
  • avatar
  • *
    • USA
Even if I find the exact stateno number for his counter action I don't know what to do next. It exists in many different locations in the cmd file, not fixed in one location. So you can only help me by digging deeper into them. Here is some information I can provide:

His counter Stateno is 8200, his god form is var(44) and his blue form is var(45)
Re: Need help with character editing
#6  January 24, 2025, 10:19:47 am
  • avatar
  • *
    • USA
And another problem is that he also has a yellow bar right above the blue bar. And I don't know how to make it not decrease every time he uses sparking
Re: Need help with character editing
#7  January 31, 2025, 09:08:43 pm
  • *****
  • Shame on you!
    • USA
in the CMD there should be only 1 or 2 ChangeStates that switch to 8200. Possibly 4 if it has a ton of triggers. Other ChangeStates may use 8200 as a trigger, but that's different. Find the
type = ChangeState
value = 8200
One of them the player should be able to activate. It should have a trigger with Var(45) in it. That's the counter checking to see if it's in blue form. Try to duplicate that/those triggers var(45) uses for var(44).
So if var 45 is in trigger3, and trigger 3 uses 4 lines, You need to look down the list of triggers and see which one is the last number and use the next number available for gold form. You'd make, say, trigger6 have the same lines as trigger 3.  IF Trigger 5 doesn't exist and you put trigger6, trigger6 doesn't activate.

Some of the triggers for the one holding var 45 might not work for var 44. There could be multiple checks to see if it's ok to counter in blue form that wont work in gold form. Post the ChangeState if you duplicate it and it's not working.

ONE QUICK TEST could be to change the actual var in the trigger(s) from 44 to 45 and see if it works. Then you'd just add the next trigger for var(44) because 45 is already working.
 

For the sparking, do you know what state it's in? You could look inside the CNS file for that state and see if there's a varadd that subtracts every time it's activated and mess with it's value.
vVv N00bSaibot & Muramasa RoofTop vVv