Profile image

How to change weapon input?

33.0k IzzyIA  3.6 years ago

Can I change the input to make a gun or cannon fire via xml? For example, guns fire when I'm breaking.

  • Log in to leave a comment
  • Profile image

    @Alemao put them first

    4 months ago
  • Profile image
    157 Alemao

    @Planesplanes how to set the missile as a primary weapon?

    6 months ago
  • Profile image

    i wanna do countermeasures as fireguns

    1.1 years ago
  • Profile image

    I forgot to mention, the missile work as a "radar", its easier if the max targeting angle is 360, and max range is 15000 (15km maximum range)

    2.5 years ago
  • Profile image

    Well, you can look at my mk7 autocannon, cause it works just fine, the ai need to lock at your aircraft first, and once they lock, they can shoot cannon and guns and fire back at you, make sure to place the missile first as a primary weapons

    2.5 years ago
  • Profile image
    33.0k IzzyIA

    @Minecraftpoweer not with what I've seen, it looks like it treats cannons like bombs, so they don't use them.

    3.6 years ago
  • Profile image

    @IzzyIA well AI does use guns if they have the "agressive" Ai, maybe it shoots cannons aswell?

    3.6 years ago
  • Profile image
    33.0k IzzyIA

    @Minecraftpoweer so does that mean that there is no way to make an spawned AI shoot it's cannon cause I was working on an AI turret and it was really reliant on that

    3.6 years ago
  • Profile image

    As the others have said, you can't change the input itself on guns & cannons, only give them a custom "activation group" so that you can only press fire when the throttle is at 100%. On missiles, bombs and rockets you can give a detached a custom input which will then launch missiles etc.

    +3 3.6 years ago
  • Profile image
    4,982 Gluck

    @IzzyIA like, turn on. Not actually shoot though.

    3.6 years ago
  • Profile image
    33.0k IzzyIA

    @Gluck what do you mean "activate"?

    3.6 years ago
  • Profile image
    4,982 Gluck

    @IzzyIA sadly not possible
    You can make it activate above a certain speed level, but not shoot.

    3.6 years ago
  • Profile image
    33.0k IzzyIA

    @Gluck dam cause i wanted to make a gun shoot when throttle was at 100

    +1 3.6 years ago
  • Profile image
    4,982 Gluck

    Can't.
    You could, however, make a bomb or missile fire via a detacher's input, though I don't think there's a Funky Tree input for breaking.

    3.6 years ago