Profile image

Help please

10.8k Pakdaaircraftindustries  22 days ago

1st :

So I want to make a bomb like the "paveway II" with fins that deploy when the bomb is launched and I have the bomb shape but I don't have the code to make the fins deploy when launched , can someone give me the code for that? (Main bomb is the "Boom 50")


Reference image

2nd :

How can I stop the missiles smoke? I want the missiles not to have smoke is that possible?

  • Log in to leave a comment
  • Profile image

    Not exactly sure about the missile. I saw this somewhere. Might work.

    22 days ago
  • Profile image

    For the missiles, set it's ignitionDelay to 0.1. As for the bombs, it's a bit complicated.

    22 days ago
  • Profile image

    @griges thank you!

    +1 22 days ago
  • Profile image
    2,662 griges

    i tried, the sum(FireWeapons) is not rounded, its in decimals, i tried round,ceil.. not work. i dont know yet
    but it was to count how many times you pressed FireWeapons
    but for the 1 bomb, add

    zeroOnDeactivate , false

    on the hinge/rotator you use, so the fin keeps deployed ,not retracted back

    22 days ago
  • Profile image
    2,662 griges

    for the first, if only 1 bomb,, and name boom 50

    SelectedWeapons="boom 50"&FireWeapons=1?1:0

    if more than 1 bombs,
    make every bomb activation using sum(FireWeapons)=x with x is numbers of each bombs.
    so

    SelectedWeapons="boom 50"&FireWeapons=x?1:0

    im not really sure about the selectedWeapon part, havent personally used it yet
    the point is just, the hinge/rotator you use for the fin, activate only if you pressed FireWeapon & the bomb is selected,(so not activated if you fire another weapon)

    try get answer from someone else better than me 😅

    22 days ago