This is one of those things that are destined to fail on the first try. The entire ship is an entity, many entities infact. All are set to move with the hull which is a func_pendulum set with properties from my test chamber where I ran multiple tests to get the effect working properly. Thing is, I've got no idea if it will even allow me to compile the piece of entity. This verson of the tall ship will be for Spirit, a SP version detailed to maximum.
I'm all set to go for a compile though. I just thought to write this up as a laugh for complete failure.
Expect unforseen consequences is all I can say.
Its compiling as I write this...
If someone has any ideas on how to make an object rotate on the X axis about 10 to 15 degrees to both of its sides and keep on repeating that cycle forever, would be a BIG help. SInce I cant rotate the ship without breaking it.
And I just noticed that the compile is over, with the compilator not showing a single error I'm begining to doubt the lighting, most likely fullbright or something... oh well, off we go to see the holy freaking cowshit in game.
I'm interested just to see what it would "feel" like to be on the ship wehn rocking, like if you'd be able to move properly, or if you perhaps if you can notice the movement at all.
you could also try doing this with a simpler mockup of the ship for testing purposes...
You could walk in the ship fine btw and you definately notice the rocking. Due to there being only one pendulum and the origin of it was located at the helm, every other model and ladder / separate func_wall entity was not synchronize with the hull, meaning they all lived their own lives. What I need to do now is to make more pendulums, most likely from invisible brushes and place them in the map in various places where I noticed a huge difference.
Never mind.
I've managed to make the ship move as realistic as I can get it to. Most if not all the brushes are also moving as intended. THe remaining problem are models, which for some odd reason, are black, non texturized in the game. It may be a side effect of using the wrong entity for them, will test that soon.
I did have to remove the ladders that lead to the masts, perhaps I will redo that part later on when other aspects of the ship are working as intended, the ladders did not quite work with the current pendulum effect, they were invisible, I could see the AAAtrigger texture ingame and climb them at the same time.