The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Nathmatt on February 27, 2007, 01:31:59 AM

Title: (resolved) need help
Post by: Nathmatt on February 27, 2007, 01:31:59 AM
how do i cause my player and enemy to attack on there own for movie scene's
Title: Re: need help
Post by: :) on February 27, 2007, 01:33:57 AM
attack on their own? or are you going to make it so they DO attack at a certain point in the scene.
Title: Re: need help
Post by: Nathmatt on February 27, 2007, 01:36:34 AM
attack on ther own
Title: Re: need help
Post by: okartee on February 27, 2007, 01:38:21 AM
If you mean characters fighting eachother in a cutscene, just make an auto start  that makes them collide and start combat, you can use Show Animation to make it look like they are fighting without going into a combat scene.....


if that isnt what you mean then  ???
Title: Re: need help
Post by: Nathmatt on February 27, 2007, 01:40:10 AM
i want to do it in a combat scene
Title: Re: need help
Post by: okartee on February 27, 2007, 01:46:45 AM
Do you want it to be fully automated? Like, you as the player just sit and watch as your character and the enemy just fight, or did you want you to be in control

unfortunately, i wouldnt know how to do it  :-\ Sooooo yeah...... sorry

actually, blizzard did it in his demo of Chaos Project.... maybe he could help you...
Title: Re: need help
Post by: Teokeez on February 27, 2007, 01:30:11 PM
Well, this was how I did it... I might be wrong, though.

(I'm using PK edition, so it might be a little bit different.)

In database, go to Monster Group, and place whatever monster you wish to place there.
Then, for the first page, place trigger as Turn 0 (first box.).
This will cause the event to trigger on the start of the battle.
From there, show battle animation if you want to show attack. It can be found on the third window. You will also need Force Action and Deal Damage for this.

The code went something like:
Code: [Select]
Show Battle Animation[B]: [1.<Enemy Name>], [Slash]
Force Action: Hero 1, Attack, Last Target, Execute Now
Deal Damage [1.<enemy>], [<damage>]

To use it in a game, just use Enemy Encounter and use that certain battle.

And the code continues. I don't really have the time to explain with screenshots. I need to study for a test tomorrow.
Title: Re: need help
Post by: Pixie on March 03, 2007, 01:16:14 PM
Just to add onto what Teokeez already mentioned....

I hope this isn't too horrible, it's 6am (and I haven't slept, oh noes) so I don't exactly expect it to be awesome either.  ;) Feel free to correct me here, or add onto it if my crazy 6am explantion makes no sense.

Spoiler for:
1. Database > Troops > Appropriate enemy for battle
2. For Battle Event, set Condition to Turn 0 to ensure that it starts as soon as you enter the fight.
3. Insert > Show Battle Animation (third tab) > Choose Enemy to be attacked > Choose Attack
4. Insert > Force Action (third tab) > Choose character to attack > Choose target (Last Target) > Execute Now
5. Insert > Deal Damage (third tab) > Same enemy as #3 > Set amount of damage done to said enemy (Constant: 345 - this will deal 345 damage to the enemy).

You can either have another party member attack the enemy, or have the enemy attack now. For the enemy to attack, you just need to change things around so the Battle Animation shows up on the party member, and that the party member loses health, not the enemy.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Ftinyurl.com%2F2cahvx&hash=f1533096e378c8de7fc29472398f8f135219bc5a)

Title: Re: need help
Post by: Fencerkid161 on March 04, 2007, 05:30:11 PM
If you have your answer please add a RESOLVED to the title