Profile image

How to make Flak!

9,238 InternationalAircraftCompany  4.4 years ago

~Edit~: See the video I just made showcasing this here.
While digging through the XML options for the new tank cannon using the also-new built-in Overload, I found out how to make functioning flak.

Step 1
Enable Overload (obviously).
Step 2
Enter the designer and pull out a cannon.
Step 3
Select the cannon and hit the Overload button. Using the bar at the top, change it from “Part” to “Cannon”.
Step 4
Find “projectileLifetime” in the list. It should be set at 60 by default.
Step 4
Change the number to whatever you wish.
ex: 60 = 60 seconds, .5 = 1/2 seconds, etc...
Step 5 (Optional)
Make 8.8 cm Flak 18/36/37/41.

wisdom from people in the comments

railfanethan: “ Reply
if you use 4 different guns you can have 4 different life times for a true flak off effect”

  • Log in to leave a comment
  • Profile image

    Is there a way so it explodes near a vehicle, like the missiles?

    +2 1.3 years ago
  • Profile image
    3,036 Zue5s

    You can do it by hitting the + button in the cannon section at the bottom and replace name with fuseInput
    And the Value you can input stuff like VTOL or the funky tree code

    +2 2.8 years ago
  • Profile image
    3,036 Zue5s

    Actually there is an input called fuseInput
    That you can input stuff like VTOL so you can use the VTOL slider


    Or you can use @typeZERO 's funky tree code which is
    TargetSelected ? TargetDistance / (1250 - rate(TargetDistance)) : 60
    Note: you must replace the number 1250 with whatever your cannon velocity is, or else it won't detonate correctly


    Credits to @typeZERO btw

    +1 2.8 years ago
  • Profile image
    3,419 stevemc01

    That explosionScalar variable is really gonna be handy...

    3.3 years ago
  • Profile image
    9,361 Zanedavid

    So if the distance for a flack cannon was too far, it would be useless for aircraft unless it was direct hits? Never thought of flak too much, that’s crazy how they did that back then

    4.2 years ago
  • Profile image

    It would be better if it exploded near or if you could change the time in the game when you are fighting

    4.3 years ago
  • Profile image

    But I thought you likes trains only, to prove your point use that on a train, make s armed train and I will give u a surprise @RailfanEthan

    4.4 years ago
  • Profile image

    Not sure, I’ll have to check it out. @Rub3n213

    4.4 years ago
  • Profile image
    195 relic700

    Came up with an old-school idea: maybe bomb + missile? (use ignitionDelay to make it never ignite; proximityDetonationRangeMin/Max attibute can turn it into proximity fuse) then just adjust the size and stick them together XD.

    4.4 years ago
  • Profile image
    13.9k ChrisPy

    Maybe but I don’t think so, your able to access thing like flight data but I don’t think you can have an input for that@Rub3n213

    4.4 years ago
  • Profile image
    13.9k ChrisPy

    Check out my new Flak Gun for an example:
    120mm M1 Flak Gun

    4.4 years ago
  • Profile image
    9,428 vcharng

    @Darjeelings183 In theory yes, there is proximity detonation for missiles.

    +2 4.4 years ago
  • Profile image
    9,875 MarisaKujo

    Can we have VT?

    +1 4.4 years ago
  • Profile image
    10.9k Rub3n213

    Can’t you have the life value changed by something like a VTOL slider?

    +3 4.4 years ago
  • Profile image

    @Ruffes123 E

    4.4 years ago
  • Profile image
    8,452 ThatGuySaucy

    e

    4.4 years ago
  • Profile image

    you are now wise @RailfanEthan

    4.4 years ago
  • Profile image

    if you use 4 different guns you can have 4 different life times for a true flak off effect

    +3 4.4 years ago