Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
kerkidas

I Need Sid Meier's pirates' dueling system

Recommended Posts

Hi everyone,

 

I'm making a hybrid rpg game and I want to replace some of the battles with a rock-paper-scissors action minigame. Those who played Sid meier's pirates know exactly what I'm talking about.

 

More specifically, I need a script that:

 

->Loads two animated battler pictures (those dueling),

->Shows the respective animations of three attack and three block modes.

->Gives the necessary time for the player to see the opponent's attack and select the right block button(in real time). I need the ability to adjust the speed of both opponent's animation in both attacking and defending by various factors(like skills and such) so difficulty will vary.

->Pushes both battlers towards either edge of the screen every time an attack is not blocked (so the loser takes a step backwards)

->When either battler reaches his edge of the screen, he loses the battle and an animation of defeat is shown.

->I also need the option to setup the duel to pause in a random moment to show a dialogue option(to add things like insults and random event choices)

->(Optional) I'd also like to see the opponent making feints, appearing initially to attack from one direction and then switching to another.

 

I don't need the graphics for this, and I won't have much trouble adjusting the minor things in the script with few explanations.

 

From what little I understand from ruby this wouldn't be much trouble for someone with scripting experience.

 

The script for this is practically an interactive slideshow machine that randomly selects numbers between 1 and 3 for attack directions.

 

 

I would really appreciate it if somebody could look into this. Also, I will return the favour to the community. I may not be a scripter, but I have adapted several scripts to do things my way. If I manage to put together the game engine I have in mind, I'll publish it for everyone's benefit.

Share this post


Link to post
Share on other sites

My brain hurts a lot right now but if you already have the character sprites, ect. Why not just event this? Use the timer function for the speeds, have the difficulty on conditional branches with the different times. Have the show choice command for the three options. Have movement routes for one someone moves either way. Two switches for a win and loss round. It sounds like it's very possible this could be evented (might not look quite as good) but the reason no one has answered you is because not very many people know how to script and for the people who do one is very busy and the other I believe is moving atm.

Share this post


Link to post
Share on other sites

My brain hurts a lot right now but if you already have the character sprites, ect. Why not just event this? Use the timer function for the speeds, have the difficulty on conditional branches with the different times. Have the show choice command for the three options. Have movement routes for one someone moves either way. Two switches for a win and loss round. It sounds like it's very possible this could be evented (might not look quite as good) but the reason no one has answered you is because not very many people know how to script and for the people who do one is very busy and the other I believe is moving atm.

 

First of all, really thanks for answering. I was kinda getting desperate.

Maybe it's a good idea to event at least part of this, yes. But to the extent of my experience there are some problems with that. First of all, it would be a huge hassle when doing the animations... and I'm not even sure I can it well. Actually, I don't fully understand how to make the whole thing myself, even with event commands...

 

By the way, showing a command window would really ruin the ride... I want an arcade "press the right button at the right moment" kind of thing. But I think I know how to script that and use it in an event.

Share this post


Link to post
Share on other sites

First of all, really thanks for answering. I was kinda getting desperate.

Maybe it's a good idea to event at least part of this, yes. But to the extent of my experience there are some problems with that. First of all, it would be a huge hassle when doing the animations... and I'm not even sure I can it well. Actually, I don't fully understand how to make the whole thing myself, even with event commands...

 

By the way, showing a command window would really ruin the ride... I want an arcade "press the right button at the right moment" kind of thing. But I think I know how to script that and use it in an event.

In that case of eventing just do 3 conditional branches with when_ button is pressed. If I have some time later I'll see what I can do as far as the eventing side goes and see if I can get something close to what you want then upload a demo :alright:

Share this post


Link to post
Share on other sites

Thanks, I really appreciate this.

 

However, I don't want to be a bother. Since it's an event system, if you can make the trickier parts for me I can finish the job.

Edited by kerkidas

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...