Mod for water wrecks?

Everything about mods can be found here.

Moderator: Morax

Mod for water wrecks?

Postby OldManDan » 10 Dec 2018, 22:05

Hi everyone,

I'm a bit new here so sorry if I missed this info somwhere.
I am looking for the mod that allows units destroyed in water to leave husks for reclaim (ships, aircraft that crash in water etc.)

I heard it's an integrated mod, but I cant find it on the integrated mod list on the wiki, and I cant find it in the mod vault.

Anyone know what it's called?
The reason I ask is I wanna do a campaign playthrough with this mod and possibly other faf improvements so I am trying to move them over to my separate non-steam install.

If anyone could shed some light on this, that would be much appreciated!
OldManDan
 
Posts: 2
Joined: 09 Dec 2018, 01:59
Has liked: 0 time
Been liked: 0 time
FAF User Name: OldManDan

Re: Mod for water wrecks?

Postby PhilipJFry » 10 Dec 2018, 22:24

there is no mod for this
if you play the faf patched game you will have it

if you wanna play the campaign via steam instead of faf (yes you can just play the campaign mission in faf) then you can probably dig out the code you need from the fa repo on github
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Mod for water wrecks?

Postby Uveso » 11 Dec 2018, 00:03

Hello OldManDan,

welcome to FAForever!

On a quick view i found 2 functions related to (ship) wrecks.

unit.lua:

function CreateWreckage:
https://github.com/FAForever/fa/blob/55 ... .lua#L1614

and function CreateWreckageProp:
https://github.com/FAForever/fa/blob/55 ... .lua#L1622

If you make a mod and hook both functions then your game should create sea-wreckages.

But i strongly suggest you play the FAF game version.
(faster, less bugs, more functions, more missions)

Some ppl think FAF is only online, but it's not.
After hosting a single game on faf (this will download all needed files)
you can start the faf game version also offline with a desktopshortcut directly.

-----------------------------------------------------------------------------------------------

In-house advertising:
If you play FAF then you could also test my new Skirmish AI.
It's better then GPG or Sorian AI and can handle water maps way better then the old AI's.

FAF can load new AI's as normal mod. So you just have to copy the AI files like every other mod to your mod directory.
(you can also download it via FAF client from the mod vault)
http://forums.faforever.com/viewtopic.php?f=88&t=16381

PS: Only call me young man, if you are older then 48 :mrgreen:
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Mod for water wrecks?

Postby OldManDan » 13 Dec 2018, 02:18

On a quick view i found 2 functions related to (ship) wrecks.

unit.lua:

function CreateWreckage:
https://github.com/FAForever/fa/blob/55 ... .lua#L1614

and function CreateWreckageProp:
https://github.com/FAForever/fa/blob/55 ... .lua#L1622

If you make a mod and hook both functions then your game should create sea-wreckages.


Thanks for this, I actually have this somewhat implemented, however 1 small issue:

It looks like the Aeon T1 frigate has multiple death animations, and in one of them, the ship doesn't actually sink, just blows up. This leaves the wreckage on the water surface. I'm hoping to disable just this death animation, been looking around in the lua files for a while now, any idea on where to start?

Also the cybran destroy leaves no wreckage but i guess that's something to do with how the animation breaks it in multiple pieces when sinking. Maybe it doesn't actually have a wreckage model.

I do know you can start FAF offline, however I been having some performance related problems, FAF games are significantly choppier then vanilla FA is. I still have to figure this one out. Still great multiplayer tho.
OldManDan
 
Posts: 2
Joined: 09 Dec 2018, 01:59
Has liked: 0 time
Been liked: 0 time
FAF User Name: OldManDan

Re: Mod for water wrecks?

Postby Uveso » 19 Dec 2018, 18:20

Hello OldManDan,

did you solved the problem with your ships or do you need more help ?

In case you need help, please write the unitID of the ship or the exact name.
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Mod for water wrecks?

Postby yarkoojar » 25 Jan 2019, 07:10

OldManDan wrote:Hi everyone,

I'm a bit new here so sorry if I missed this info somwhere.
I am looking for the mod that allows units destroyed in water to leave husks for reclaim (ships, aircraft that crash in water etc.)

I heard it's an integrated mod, but I cant find it on the integrated mod list on the wiki, and I cant find it in the mod vault.

Anyone know what it's called?
The reason I ask is I wanna do a campaign playthrough with this mod and possibly other faf improvements so I am trying to move them over to my separate non-steam install.

If anyone could shed some light on this, that would be much appreciated!



hi man
i think Rks explosion mod is just right for you
if you are using FAF then that mod is good for you
however if u play without FAF and just campaign and skirmish and u playing 3599 or 3603 the old patch, u need ship wreckage mod..
yarkoojar
 
Posts: 5
Joined: 24 Jan 2019, 05:26
Has liked: 0 time
Been liked: 1 time
FAF User Name: yarkoojar


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest