The Titanic Mod brings people at one of the most detailed and accurate free 3D recreations of the Titanic ever made. It puts the player in a whole new storyline for the game Mafia.

Report RSS Good news! Custom animations ingame

Hardly exciting news for any moddable game nowadays, but for in Mafia this is quite the milestone.

Posted by on

Finally a news item not about delays or showing signs of life.

In Mafia, it is currently impossible to implement your own animated 3D models. The only animation capabilities within the game are either linear or a constant rotation.

This would mean a huge problem for bringing the ship's reciprocating engines to life, which consist out of many complex movements. This week I had been doing some thinking with the lead programmer, and we found a way to circumvent such limitations. Rather tedious, but by the use of stop motion animation.

pistontest

What that basically means, is that instead of one animated object, a sequence of separate models are loaded in instead. Each one advancing the animation by one frame, until the loop is complete. A script then toggles the visibility of each frame on and off one after another, causing the end result to appear like an animation. The result is basically the exact same, only more work to make it happen. But surely worth the effort.

Please keep in mind that this is a demonstration scene. The final scene will obviously be a lot more fleshed out. I also found that the current sound is rather obnoxious, as cool as it may be. This sound will be different in the finished scene.

Post comment Comments
Olku_
Olku_ - - 2,074 comments

Looks great!

Reply Good karma Bad karma+7 votes
MrRobville Author
MrRobville - - 735 comments

Thanks! :)

Reply Good karma+6 votes
WolfETPlayer Online
WolfETPlayer - - 812 comments

Wow, never knew mafia is so moddable. Followed.

Reply Good karma Bad karma+6 votes
SPY-maps
SPY-maps - - 2,906 comments

Looks awesome and sounds great and not obnoxious at all.

greetings,
Leon

Reply Good karma Bad karma+3 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: