grosminou
RPG Maker-in-Training
Gros Minou = Big Catgtalk%%gtalk%%
Posts: 11
|
Post by grosminou on May 10, 2010 11:18:46 GMT -5
I got a problem in my Silent Hill's project
I create a spell ( Magic ) called '' Pistol '' ( All firearm in my game is a spell )
To create this I've copy/paste Fire1a's script and replace the animation ( effect ) by the pistol .
The animation work on Battle but , Nothing is write when I use it and no any MP decrease
My editor is in Normal
|
|
|
Post by The Smurf on May 10, 2010 14:32:48 GMT -5
Lemme take a crack at this. I don't have my game with me up at school, so this is going to have to be from memory. Hopefully someone with more knowledge and/or a copy of RPGM2 at their disposal can help you out a bit more, but here goes:
As far as I know with magic and skills, you have VFX animations (which you seem to have taken care of), a direct effect, and a script in the script editor. You say you've copied Fire a's script; do you mean the script in the script editor or the direct effect? Either way, you should copy both of them. In the direct effect menu somewhere (you may want to switch to Hard to open up all menu tabs) there should be a place for scripts that execute when the attack is successful and when the attack fails. Here you would want to put your edited versions of the preset scripts, or write your own if you're good at that stuff. These scripts would take care of things like checking if MP is valid, subtracting it, playing the VFX animation, damaging the opponent, and other things of that nature. I believe this is probably the source of your problem. You then need to make sure the direct effect is attached to the magic spell in the ability editor. This may also be where the problem is - it's possible your ability has no direct effect attached to it.
Without seeing the menu for myself in the game, this is the best I can do. If any of what I said is incorrect, please correct me. It's been a while since I've tried to do this. Other than that, I hope this helped. If not, feel free to elaborate on your question and I'll see what I can do.
Best of luck!
-the smurf
|
|
grosminou
RPG Maker-in-Training
Gros Minou = Big Catgtalk%%gtalk%%
Posts: 11
|
Post by grosminou on May 10, 2010 17:13:37 GMT -5
Thanks for the help I'll check it tonight
|
|
grosminou
RPG Maker-in-Training
Gros Minou = Big Catgtalk%%gtalk%%
Posts: 11
|
Post by grosminou on May 11, 2010 10:57:09 GMT -5
It's fixed
|
|
|
Post by The Smurf on May 12, 2010 0:07:27 GMT -5
Glad I could help!
-the smurf
|
|
grosminou
RPG Maker-in-Training
Gros Minou = Big Catgtalk%%gtalk%%
Posts: 11
|
Post by grosminou on May 12, 2010 11:11:33 GMT -5
Thank you very much , I saw in Hard mode there no event in Abilities / ADV page . That why it's not work .
|
|