Trying to figure out how nuke subs are different to nuke lau

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Trying to figure out how nuke subs are different to nuke lau

Postby Dragon_Slayer » 19 Jun 2020, 03:05

I'm using the FAF unit database.

Using UEF as the example, however all the faction subs and launchers are almost identical, the Ace (UEF strategic sub) costs 9k mass and has 1080 build rate/power and the Stonager (UEF Strat launcher) cost 15k mass and has 1500 build rate/power. (Not even going to look at power)

If we do math to get the mass to build power efficiency the strat launcher has only 900 build power if we bring it down to the 9k mass of the sub. [Math here: (9/15)*1500)=900]

So in terms of mass to build power for building them (not for making the nukes) nuke subs are more efficient. But then something puzzles me, the damage is different, with the sub having 22k vs the launchers 70k, this makes me question if they are actually making the same thing, the same "nuke".

I know it takes 5 mins for a nuke launcher to load a nuke but I don't actually know the math behind it, I can't find anywhere on the unit database, but the SCFA wiki gives some numbers so I am going to assume FAF has not changed them. The problem here is that the wiki says that the strat launcher has only 1080 build rate/power so the numbers have actually been changed.

Basically the unit database does not tell me how much a nuke costs to build, whereas the wiki tells you the mass needed for each nuke, and most importaintly the wiki shows that the launcher nuke costs 12000 mass, whereas the sub nuke costs 16800, but again this is just the wiki numbers not necessarily the FAF numbers.

All I'm really trying to find out is if it is more efficient in terms of mass to build nukes out of subs or launchers but I can't find any information on the nukes themselfs, I only have half the numbers.
Dragon_Slayer
 
Posts: 3
Joined: 11 Jun 2020, 06:16
Has liked: 0 time
Been liked: 0 time
FAF User Name: Dragon_Slayer

Re: Trying to figure out how nuke subs are different to nuke

Postby Uveso » 19 Jun 2020, 17:45

Well, if you need more numbers, then look into the unit blueprint.

UEF Strategic Missile Submarine has the UnitID UES0304.

You can get the blueprint by finding the directory UES0304 here:
https://github.com/FAForever/fa/tree/develop/units

Inside the folder UES0304 you will find the blueprint file UES0304_unit.bp
You can find the data for the nukeweapon between line 405 and 472:
https://github.com/FAForever/fa/blob/de ... it.bp#L405

This is the data i mean:
Code: Select all
        {
            AboveWaterTargetsOnly = true,
            Audio = {
                Fire = Sound {
                    Bank = 'URLWeapon',
                    Cue = 'URB2305_Missile_Cruise',
                    LodCutoff = 'Weapon_LodCutoff',
                },
            },
            BallisticArc = 'RULEUBA_None',
            CollideFriendly = false,
            CountedProjectile = true,
            Damage = 0,
            DamageFriendly = true,
            DamageRadius = 0,
            DamageType = 'Nuke',
            DisplayName = 'Nuclear Warhead',
            FireTargetLayerCapsTable = {
                Sub = 'Land|Water|Seabed',
                Water = 'Land|Water|Seabed',
            },
            FiringTolerance = 2,
            InitialProjectileStorage = 0,
            Label = 'NukeMissiles',
            ManualFire = 1,
            MaxProjectileStorage = 3,
            MaxRadius = 410,
            MinRadius = 128,
            MuzzleSalvoDelay = 0,
            MuzzleSalvoSize = 1,
            MuzzleVelocity = 0,
            NukeInnerRingDamage = 22000,
            NukeInnerRingRadius = 30,
            NukeInnerRingTicks = 24,
            NukeInnerRingTotalTime = 0,
            NukeOuterRingDamage = 3000,
            NukeOuterRingRadius = 40,
            NukeOuterRingTicks = 20,
            NukeOuterRingTotalTime = 0,
            NukeWeapon = true,
            ProjectileId = '/projectiles/TIFMissileNuke02/TIFMissileNuke02_proj.bp',
            RackBones = {
                {
                    MuzzleBones = {
                        'Center_Projectile01',
                    },
                    RackBone = 'Center_Hatch01',
                },
                {
                    MuzzleBones = {
                        'Center_Projectile02',
                    },
                    RackBone = 'Center_Hatch02',
                },
            },
            RackFireTogether = false,
            RackRecoilDistance = 0,
            RackReloadTimeout = 0,
            RackSalvoChargeTime = 0,
            RackSalvoReloadTime = 0,
            RackSalvoSize = 1,
            RackSlavedToTurret = false,
            RangeCategory = 'UWRC_DirectFire',
            RateOfFire = 1,
            TargetCheckInterval = 0.5,
            TargetRestrictDisallow = 'UNTARGETABLE',
            WeaponCategory = 'Missile',
        },



http://faforever.uveso.de/forum/SmartUnitTooltipV2.zip
Shows the UnitID inside the tooltip, also the mod name in case it's a modded unit.
(Needs option "Show Armament Build in Factory Menu" enabled)
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: Trying to figure out how nuke subs are different to nuke

Postby ThomasHiatt » 19 Jun 2020, 18:48

It clearly states the mass cost, energy cost, and buildtime of both nukes in the unit database, as well as the buildpower of the launcher and submarine. The math is simply dividing the buildtime by the buildpower to convert it into seconds.
ThomasHiatt
Avatar-of-War
 
Posts: 184
Joined: 02 Feb 2017, 00:24
Has liked: 116 times
Been liked: 110 times
FAF User Name: ThomasHiatt

Re: Trying to figure out how nuke subs are different to nuke

Postby Ithilis_Quo » 22 Jun 2020, 16:49

Price differences is because sub nukes do only 25K (22+3 in bigger area) dmg while launcher nuke do 70.5K damage. Another reason is that for producing nuke subs you need T3 naval factory, what cost about 6K mass so then you will be on similar numbers.
"Fixed in Equilibrium" Washy
User avatar
Ithilis_Quo
Supreme Commander
 
Posts: 1390
Joined: 29 Dec 2012, 15:55
Location: Slovakia
Has liked: 395 times
Been liked: 181 times
FAF User Name: Ithilis


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest