Jump to content

Novan

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Novan

  1. I've been trying to design a mission to have enemies attack an Oil rig and am having trouble getting them to fire on it. My original flight was SU-25's carrying a mix of iron bombs and guided missiles set to CAS mode. No combination of payload or way point actions resulted in them firing. I added a second flight of SU-24M with iron bombs set to ground attack and they successfully started dropping bombs on the rig even though the unit was not specified as the target. Even after taking 12 direct hits the rig was not destroyed, but each hit did show up in the mission debriefing. I ran that mission multiple times and it did the same thing each time. I went back to the SU-25's gave them the exact same settings and payload and they would not attack the rig. I changed them to SU-24M and they still would not attack the rig. I deleted both flights, recreated them and now none of them attack the rig. Does anyone know how I can consistently get aircraft to attack Oil/Gas rigs? Also they appear to lack a damage model making them indestructible, is that correct?
  2. My joystick does not have any mode switches, to compensate I want to be able to use the some of the extra buttons as switch modifiers to toggle between navigation, Air to Air, Air to Ground, communication and ground modes. The problem I have encountered is that when a button has a function mapped to multiple modifiers it can be difficult to discern which function is going to fire because it takes two clicks to disable a modifier and there are no indicators showing which modifiers are enabled. What I'd like to do is write some code that will only allow me to enable one modifier switch at a time. In short when a modifier switch button is pressed it will check the state of all of the modifier switches and set them to off. It will then enable just the modifier switch of the button that was just pressed. It would look something like this for when Modefier3 is pressed: if(Mdofier1State== true) then Modeifer1State ==False end if(Mdofier2State== true) then Modeifer2State ==False end if(Mdofier3State== false) then Modeifer3State ==True end Is what I want to do possible and if so does anyone know the code for checking the state of a modifier switch and whether the switch state can be set through custom code? If so is there a better way to go about doing it?
×
×
  • Create New...