OK, for my pirate RPG, I'm gonna set it up where you can buy cannons (like 6 different kinds) off a blackmarket or whatever and equip it to your ship.
OK, I just want to have it set up the easiest way, I don't care if it involves items so you have to carry it to your ship or if it's just loaded automatically to the ship. So, I need a few tips, maybe even some examples on how to set up the visuals and make it so you can have several different cannons. (I thought about a few ways to do this, but it'd mean that several of the same cannon would appear when you only bought one.)
As for the battle system, I'm going to have it based mainly on chance as far as cannons go.
Here's how it'll work:
Say, you've bought some cannons and whatnot... Say you have like a ballista, gatling gun, and basic cannon on your starboard side of the ship. You stumble upon an event that triggers a pirate match.
Well, to load a cannon, here's what you do:
1) Load the first part of the ammo. (For balista and stuff, you load the large arrow, for cannons, gunpowder with a ramrod, ect..)
2) Prepare the second part of the ammo (Balista: crank it back, cannon: cannonball followed by ramrod)
3) Prepare a fuse (if necessary) and choose how to fire (either attack the ship or the opposing crew). Each shot has a chance of successfully doing its selected task with different chances for different guns. For taking out crew, I also need an option of "friendly fire."
If you fail to successfully load a cannon, it breaks and you take damage, and you gotta repair it from supplies from the repair locker.
I know how to set that part up pretty well using variables, just how to get all that prepared is the problem. Plus, I need to know how to make the chance effect some random enemy pirates and cause them to do some kind of dying motion. (I just know this is gonna require a crapload of scripting.)
Well, I also need to have this set up for the enemy ship:
I need the pirates (yours and theirs) to fight each other, and after a certain amount of time, have one of them die. If you brush up against a fight, you automatically fight. But, if you just look, you have the option of sneak-attacking. With this you'd have a 50% chance of successfully killing a pirate, or taking some damage and be forced into a battle. This I need some help setting up.
Also, I need to make it where the pirates also on your ship will also fire some cannons (but with much less accuracy).
Then, you can slip inside the ship and steal their plunder.
If you've killed at least half of the opposing pirates plus their captain, you have the option of salvaging the ship or just destroying it. If you salvage it, it'll follow you until you either repair it for use and to replace your ship or sell it for some extra gold.
So, in short, I need to know the following things, examples would be helpful:
1) A way to set it up a way to buy/sell cannons.
2) A way to make it able to fire and repair cannons
3) A way for your crew to fire the cannons.
4) A way for your crew to fight with other pirates and win or lose.
5) A way to steal random ammounts of plunder.
6) A way to set up options to either sink or salvage a ship after defeating the captain and his crew and taking the plunder.
I'm expecting this to be complicated, so just tell me roughly what I'll need and what general events and scripts I gotta use and how. If ANYONE can give me some examples (or even type up the exact scripts for me
) it would be EXTREMELY helpful.
OK, I just want to have it set up the easiest way, I don't care if it involves items so you have to carry it to your ship or if it's just loaded automatically to the ship. So, I need a few tips, maybe even some examples on how to set up the visuals and make it so you can have several different cannons. (I thought about a few ways to do this, but it'd mean that several of the same cannon would appear when you only bought one.)
As for the battle system, I'm going to have it based mainly on chance as far as cannons go.
Here's how it'll work:
Say, you've bought some cannons and whatnot... Say you have like a ballista, gatling gun, and basic cannon on your starboard side of the ship. You stumble upon an event that triggers a pirate match.
Well, to load a cannon, here's what you do:
1) Load the first part of the ammo. (For balista and stuff, you load the large arrow, for cannons, gunpowder with a ramrod, ect..)
2) Prepare the second part of the ammo (Balista: crank it back, cannon: cannonball followed by ramrod)
3) Prepare a fuse (if necessary) and choose how to fire (either attack the ship or the opposing crew). Each shot has a chance of successfully doing its selected task with different chances for different guns. For taking out crew, I also need an option of "friendly fire."
If you fail to successfully load a cannon, it breaks and you take damage, and you gotta repair it from supplies from the repair locker.
I know how to set that part up pretty well using variables, just how to get all that prepared is the problem. Plus, I need to know how to make the chance effect some random enemy pirates and cause them to do some kind of dying motion. (I just know this is gonna require a crapload of scripting.)
Well, I also need to have this set up for the enemy ship:
I need the pirates (yours and theirs) to fight each other, and after a certain amount of time, have one of them die. If you brush up against a fight, you automatically fight. But, if you just look, you have the option of sneak-attacking. With this you'd have a 50% chance of successfully killing a pirate, or taking some damage and be forced into a battle. This I need some help setting up.
Also, I need to make it where the pirates also on your ship will also fire some cannons (but with much less accuracy).
Then, you can slip inside the ship and steal their plunder.
If you've killed at least half of the opposing pirates plus their captain, you have the option of salvaging the ship or just destroying it. If you salvage it, it'll follow you until you either repair it for use and to replace your ship or sell it for some extra gold.
So, in short, I need to know the following things, examples would be helpful:
1) A way to set it up a way to buy/sell cannons.
2) A way to make it able to fire and repair cannons
3) A way for your crew to fire the cannons.
4) A way for your crew to fight with other pirates and win or lose.
5) A way to steal random ammounts of plunder.
6) A way to set up options to either sink or salvage a ship after defeating the captain and his crew and taking the plunder.
I'm expecting this to be complicated, so just tell me roughly what I'll need and what general events and scripts I gotta use and how. If ANYONE can give me some examples (or even type up the exact scripts for me
) it would be EXTREMELY helpful.




Comment