Report article RSS Feed Vessel Stability

Updates on the vessel stability system including mass objects, vessel attachments, and object updates.

Posted by CaptainMurphyDUCK on Feb 10th, 2014

Vessels

To start, we have made great strides in the engine (we are
using CryEngine) as far as understanding the structure of the entities and how
we can utilize the system to make for realist buoyancy for vessels. We have
gone through at least 40 different iterations of vessels and physical proxies
to get to the final version that allows us to make the vessel not only buoyant,
but also stable (or unstable) based on the bounding box of the object in
addition to its mass. What that leaves us with is a very easy to utilize system
with mass objects that are movable to simulate the mass of the vessel, any
cargo it might take on, and also any damage it receives. With these base
objects we can make a vessel move in a realistic way with the utmost of simplicity
for the program to handle.

This works by letting the objects each independently move to affect the buoyancy. As soon as the class is finished it will allow for vessels to be imported through XML files so that modders can set their own parameters as to how many and how much can be created for each mass object. This will allow them to put a maximum load that vessels can carry through each location, say if they want to have 2 cargo holds, each with a maximum weight they can carry. The engine will allow the player to put cargo into different holds so that (a smart captain) would put the heaviest objects the lowest to improve stability. But things like cannonballs have to be kept close to the gun decks to improve speed of reloading. Loading cargo can make your ship more powerful in combat or more stable in storms! 

In addition to the mass objects, any object connected to the ship that has mass will be physicalized and its mass will also be accounted for as part of the vessel. Adding larger masts, more rigging, and more hull decorations will have a real impact on buoyancy and stability. Oversized sails might look cool, but they will likely capsize your boat! You also might want to rethink those heavy decorations attached to your vessel if you plan to carry a lot of cargo. Any weight saved can help your stability!

We are always looking for more ways to improve the system so head over to www.PiratesAhoy.net to submit your suggestions.

Post comment Comments
faulk
faulk Feb 10 2014, 8:35pm says:

Sounds awesomely realistic. :D

I like the idea of having to jettison all those costly sculptures and so forth to improve stability. Although even that didn't save the Wasa. :-)

By the way, have you figured out how to sink your ships yet? That part's always the most fun.

+2 votes     reply to comment
CaptainMurphyDUCK
CaptainMurphyDUCK Feb 11 2014, 10:43am replied:

Sinking is actually easy to do, just add mass! The complex part is tying it to the damage events so that it acts in a realistic manner and doesn't just sink based on how many cannon balls have hit, but how many have cause damage that is near the waterline. I don't want it to cause sinking based on hits on the deck or rigging. The other fun part will be making changes to the ship model to reflect damage and saving that damage from level to level so that it stays consistent. Ah, the joys of programming!

+1 vote     reply to comment
Edrahil
Edrahil Feb 11 2014, 9:09am says:

Now that's some amazing progress!

+3 votes     reply to comment
MillyRainbowskittlez
MillyRainbowskittlez Feb 17 2014, 6:39am says:

Im greatly looking forward to this. o:

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

News
Browse
News
Report Abuse
Report article
Related Games
Hearts of Oak: Conquest of the Seas
Hearts of Oak: Conquest of the Seas Indie Single & Multiplayer Role Playing
Related Engines
CryENGINE 3
CryENGINE 3 Commercial Released Aug 15, 2011
Related Groups
PiratesAhoy! Community
PiratesAhoy! Community Developer & Publisher with 60 members