[SCRIPTING] [RMVX ACE] DAMAGE ITEMS ON BATTLE SYMPHONY

Posts

Pages: 1
pianotm
The TM is for Totally Magical.
32367
I'm using the guide here and I've used the code for throwing a bomb.

When I use it on an item (named grenade), the icon appears over my battler's head, and the enemy takes damage, you then see the icon fly toward the enemy, who then takes damage, and then you see it fly again to each enemy individually, who each take damage. I can't fix it.
Hey pianotm, I tried that also and it did not work well, Try this.

This one throws the bomb out of the front hand.

<whole action>
immortal: targets, true
move user: forward, wait
pose: user, cast
stance: user, cast
wait: 30
animation 112: user, wait
</whole action>

<target action>
icon create: user, bomb, hand, 278
pose: user, 2h swing
stance: user, attack
animation 118: user
icon: user, bomb, rotate, 0, 24
icon throw user: target, bomb, 16, 24, wait
icon delete: user, bomb
animation 114: target
ani wait: 3
skill effect: dmg
wait for animation
immortal: targets, false
</target action>

This one throws the bomb out of the rear hand.

<whole action>
immortal: targets, true
wait: 30
animation 116: user, wait
</whole action>

<target action>
icon create: user, bomb, hand, 278, wait
pose: user, 2h swing
stance: user, attack
animation 118: user
icon effect: user, bomb, rotate, 0, 24
icon throw user: target, bomb, 16, 24, wait
icon delete: user, bomb
animation 114: target
ani wait: 3
skill effect: dmg
wait for animation
immortal: targets, false
</target action>

PM, me if you have any more problems with the bomb code.
pianotm
The TM is for Totally Magical.
32367
This changes the animation, but doesn't solve the problem of the attack damaging the enemies multiple times. With a little tweaking, I can get the damage to one time (the grenade targets all enemies), but I can't get rid of the multiple animations (the actor just throws the grenade three times).

I had this same problem with a physical attack skill I made, but I was able to solve it. The problem is that the character attacks instantly, then the animation plays, and then the character attacks again, in this case, three times. I can't work it to where it makes sense on screen.
Well I just changed mine to all enemies and it works just fine, so how have you set up your skill for it ? If you want to upload your project to your locker or what not I can have a look at it after work tomorrow?

If you change icon throw target to targets it will throw second , third bomb etc without animation.
pianotm
The TM is for Totally Magical.
32367
Okay, it works perfectly as a skill, and that's using the Macatlas script. Your script also works perfectly as a skill. I guess I just thought it would also work for an item. I simply am of the school of thought that thinks bombs should be inventory items, and not skills. If they were ammunition, it'd be different, but they're not, and I don't know how to tie a skill to an item without using Asagis gun license.
Ok, this will do the trick , just set it up as an item.

<whole action>
immortal: targets, true
move user: forward, wait
icon create: user, item, bottom
</whole action>

<target action>
pose: user, 1h swing
icon: user, item, rotate, 360, 24
icon throw user: target, item, 16, 24, wait
icon delete: user, item
animation 114: target
wait: 3
skill effect: dmg
wait for animation
immortal: targets, false
</target action>
pianotm
The TM is for Totally Magical.
32367
Thank you! I got it working. I had to adjust your code a bit, but it's what I needed. What I ultimately ended up with is this:


<target action>
pose: user, 1h swing
icon create: user, item, bottom, 537
icon throw user: target, item, 16, 24, wait
icon delete: user, item
wait: 3
wait for animation
animation 59: target
immortal: targets, false
</target action>


Again, thank you so much.
You should also put you item number in the icon delete line as it is staying on screen.

Your Welcome.
Pages: 1