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 article RSS Feed Titanic Mod - New type of Sinking script

The original Intended Sinking script is not possible to peform due to the LS3D's limitations. so i figured another trick together with ASM.

Posted by Mrrobville on Oct 26th, 2011

I start off with apologizing deeply for overestimating the LS3D engine's capabilities and therefore giving false footage to all you people.

I thought it would be possible to animate Titanic's collissions for the sinking script as I saw the bridge ingame that sometimes opens and closes that used the same principle as Titanic's sinking.
ASM gave me a clear explanation of how the game sort of works. The bridges are programmed into the game's data instead of scripted using mafiascript, therefore meaning that it's practically impossible to animate such complex collission model such as Titanic's.

That leaves me 2 choices:

1. don't create a sinking scene at all and book a flight to an unknown location on earth to hide for the rest of my life.
2. find a diffrent solution.

Well i decided to stuck with the last decision ;). The new trick will be a bit diffrent, but should have it's advantages. It will be some kind of optical illusion. An simple model such as the ocean is no problem at all to collide and animate. So as you can guess it, the ship will remain static, and the ocean around it will be animated.

Now the first thing you'll think is "yeah right, this will look ugly.. all npc's will be standing straight up on the deck while the deck is at 45 degree angle". I dealt with that problem, there will be around 5 or 6 loading screens to reposition the entire scene, put the ocean back horizontal, and place the Titanic under the angle it's sinking at on that moment. When it's all reset, the ocean will start moving again untill it's angle is too obvious again to notice. This image explains more:


click here to enlarge: http://media.moddb.com/images/articles/1/90/89927/auto/Sinkexplained.jpg

As you can see, on the left side is the single scene with the animated ship, as shown in the 2 video's.
This is not possible to script after all. On the right you'll see the static positioning of the ship and the ocean that will rotate around it in seperate scenes.

The split will become a cutscene then, as it would be impossible anyway to walk around decently when that happens. don't worry, after the split you'll have some time to examine the catastrophe the split has caused.

Good news is, if i would stick to the animated collissions of Titanic, the sinking would run at an average of 3FPS or a game crash. now it's garanteed to preserve a lot of FPS depending on your system. Also less work on the mod is required to peform this task. Plus making certain events on the ship will now be much easier to script.

I hope this explained it pretty well, and I hope you all might forgive me for this stupid mistake I made.
I should have researched this earlier, I know.

Post comment Comments
KACler91
KACler91 Oct 27 2011, 6:12am says:

Split is now a cutscene? I don't like this, but when it isn't possible to do it in a other way...

+1 vote     reply to comment
Argoon
Argoon Oct 27 2011, 6:42am says:

I personally don't like this new sinking, it would be more imerssive and cool to be able to see all stuff happening in real time has you walked trough the deck. But i realize why you need to make that concession being a single developers on this, so i'm glad we will have a sinking titanic at all. :)

+2 votes     reply to comment
Mrrobville
Mrrobville Oct 27 2011, 12:12pm says:

They just show their opinion, and i see they both realize there is no choice, so I'm glad of such comments.

I wasn't very thrilled either when i heared that my plans were impossible after all.

To compensate the realtime experience during the splitting I'll try to do my best at getting many camera angles as possible. Interior as exterior.

good thing is though, because it's now a seperated scene, I can add a more detailed model to the part that's split, i can now make the torn appart and bend decks with pipes sticking out all deformed.

else that place would remain quite straight and "clean" as dynamic animating is not possible for 3rd party modders.

I really appreciate your understanding!

+1 vote     reply to comment
leon.ladisic
leon.ladisic Oct 30 2011, 6:00am replied:

You should just switch over to a better engine while you still can. I doubt this will get the audience it deserves as a mafia 2 mod. Why not just go with cryengine or unreal? You would be able to pull off everything in real time with fluent fps and better effects.

+2 votes     reply to comment
Mrrobville
Mrrobville Oct 30 2011, 4:00pm replied:

I have always be certain to create the mod for this game as the storyline involves the game's original characters.
Also the modding tools for mafia work great (ofcourse nothing can beat the game's own SDK)

I do consider to port this mod to some other game sometime. Mafia 2 will have it's main priority, but Crysis is a possibility aswell.

This project is too far in development for the mafia game, so it would be much work and also rude to the people who always had interest in this mod because it was meant to be for mafia.

+2 votes     reply to comment
leon.ladisic
leon.ladisic Oct 31 2011, 1:44pm replied:

knightprowl i wont even bother reading your walls of text.

I have been following this mod for a long time and still have mafia installed just to be able to play it. But i strongly disagree about giving mafia priority.

I mean, it is a EXTRAORDINARY mod, but many people just wont have the patience to go and install mafia all over again just to play it.

Cryengine has great mod tools. So as i said earlier you should consider porting it while you still havent begun serious scripting work and such.

+1 vote     reply to comment
Mrrobville
Mrrobville Oct 27 2011, 2:07pm says:

I'm sure they don't mean to be negative, in fact I want people to share their opinions, just as long as it's a bit constructive.

if someone said "you noob now the mod sucks", that would be insulting.

+1 vote     reply to comment
Guest
Guest Dec 3 2012, 5:46pm says:

This comment is currently awaiting admin approval, join now to view.

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

Icon
Mafia: The City of Lost Heaven Icon
Platform
Windows
Developed By
Mrrobville
Contact
Send Message
Official Page
Mrrobville.com
Release Date
TBD
Mod Watch
Track this mod
News
Browse
News
Report Abuse
Report article
Related Mods
Mafia Titanic Mod (Mafia: The City of Lost Heaven)
Mafia Titanic Mod Mafia: The City of Lost Heaven - Single Player Role Playing
Related Games
Mafia: The City of Lost Heaven
Mafia: The City of Lost Heaven Single & Multiplayer First Person Shooter