In the game I am modifying, I want to remove some abilities from the player when in a weakened state (faint).
Someone suggested that I add a line with weaponframe in the anim faint block of the original character. Apparently you have to treat it as a weapon and I tried as much as possible to follow the guide about that from the openbormanual. Creating a separate file (type none) with the changed abilities, adding a path in models.txt which loads the faint model file. But I can't make it work. Does someone know how to do this?
EDIT: I finally made it work. There was an issue with the order of weapons. The only issue I have with it still is that the changed form doesn't apply until you let the faint anim appear. If you start running/dodging immediately at low life before the faint state has the time to activate, the changes don't take effect yet. I would still like to get a solution for that, if possible.
EDIT2: I first used the wrong weapon number, but then I also didn't copy enough from the original file into the faint model file so that graphics didn't show up right.
Someone suggested that I add a line with weaponframe in the anim faint block of the original character. Apparently you have to treat it as a weapon and I tried as much as possible to follow the guide about that from the openbormanual. Creating a separate file (type none) with the changed abilities, adding a path in models.txt which loads the faint model file. But I can't make it work. Does someone know how to do this?
EDIT: I finally made it work. There was an issue with the order of weapons. The only issue I have with it still is that the changed form doesn't apply until you let the faint anim appear. If you start running/dodging immediately at low life before the faint state has the time to activate, the changes don't take effect yet. I would still like to get a solution for that, if possible.
EDIT2: I first used the wrong weapon number, but then I also didn't copy enough from the original file into the faint model file so that graphics didn't show up right.