Problem swapping stun for blind for a specific power only

Started by Jimaras8, December 23, 2025, 01:08:56 PM

Previous topic - Next topic

Jimaras8

Hey guys. I'm having a problem swapping stun for blind in a hero file for one power only. I have added the character, went to ffxedit2 and put state swap for stun to blind to a specific attack. However in-game he blinds with every attack that has a stunt chance. Its the first time i encounter that. Even in ffxcustom.py in the carriers sections it has his stun state swap only to the power i assigned. Any ideas?

oktokels

if you swap stun, it will work in all stun attacks, not just the one you assigned. I don't even know how you could assign the stun swap to only one power, i don't think that's possible.

Jimaras8

In the ffxcustom2 in the end of the fioe there is a section with all the state swaps and they have the character name, the states and an entry called either "all" which applies to all attacks or the soecific name of the attack. Is that possible for a stun swap attack? Im trying to make wide piercing attack that has a chance to blind temporarily multiple opponents.

Jimaras8

So there is no way to assign a stun state swap to a single power and have standard stun chances to the rest of the powers?

Epimethee

Quote from: Jimaras8 on December 29, 2025, 04:13:01 PMSo there is no way to assign a stun state swap to a single power and have standard stun chances to the rest of the powers?
Yes, but only for built-in characters (created in FFEdit). Custom characters (created in-game) don't communicate a unique power ID, so for them, the swap cannot be power-specific.
FFX add-on for FFvsTTR at ffx.freedomforce4ever.com

Jimaras8

What if i create a custom character and add him in the dat with the add to dat function? That won't work either? The character has to be made from scratch in the FFEdit?

I have added unique powers id to characters created in game and then added to dat. For example my graviton has a gravity increase state swap to the stun of his beam power but not in the stun value of his other abilities. His beam can increase gravity and pin down a target and progressively damage him but his direct or other beam powers don't.

Epimethee

IIRC, it should work. After exporting to DAT from EZ Hero, if you open FFEdit, the corresponding entries should appear; make sure you have the right mod path in both apps. Opening the FFX Control Centre should register the character and complete the process.

(Hopefully someone with more recent – i.e., less than twenty years ago – experience can probably tell you more. I also cannot test this at the moment, as my FFX Control Centre is having compatibility issues with DLLs, 32- vs 64-bit, and running through a Linux app core on a non-Intel Mac... :blink: At least, the game itself runs fine.)

Quotehis direct or other beam powers don't
Direct powers won't work with swaps, as the game engine doesn't expose them. The usual workaround is to use an invisible beam instead.
FFX add-on for FFvsTTR at ffx.freedomforce4ever.com