Jump to content

colubridae

Members
  • Posts

    331
  • Joined

  • Last visited

Everything posted by colubridae

  1. dabbling I've trying to get ti grips with scripting... so I have a mission with a group called "tanks" consisting of two tanks (tank 01 and tank 02) This code works (taken from an example) myUnit = Group.getByName("tanks"):getUnit(2) but this code does not (error message says 'param self missing') myGroup = Group.getByName("tanks") myUnit = myGroup.getUnit(2) can anyone please explain where i'm going wrong (other than being out of my depth tee hee)
  2. problem my bad I found my problem sorry to waste time
  3. ok think i'm on the case a bit more i've now found the intro to dcs lua coding and i'm working my way thru it from scratch. :thumbup:
  4. I know this sounds dumb but.. Is this ‘trigger.action.setUserFlag('777',true)’ a piece of LUA code? (I'm not sure if 'scripting' is the same as 'LUAing') If so, then is there a list of the other objects used by DCS? :)
  5. Thanks for the advice Zayets. I’m definitely interested in your scripting option, but I’ve never used it so I’d best look up some tutorials. The problem is that I don’t want to release the bombers until I’ve landed a second time on the carrier and refuelled/rearmed. The best I’ve managed (without scripting) is to count successful carrier landings (ie without counting wave-offs/boulters) :):thumbup:
  6. Thanks Todd. you put me on the right track. :thumbup: It's working how I want now.
  7. Thanks Todd. I think I may have cracked it. As far as I can see, the trigger zone must be as large as the carrier. I also found that to avoid counting wave offs and Boulters, I needed to trigger low speed off the aircraft combined with entering the trigger zone. Thanks for your help and advice. Sent from my SM-A310F using Tapatalk
  8. thanksfor advice Todd I hope you don't mind but I'd be grateful if you could look at my mission. it's a cut down version of the original so that I can test the trigger logic, but it doesn't do what I expected the triggers to do. Flag 1 is set to 1 by mission start - ok Flag 1 is increased to 2 by a simple 10 sec timer. - ok Flag 1 should then be increased by 1 when my aircraft (doubtfire)enters the moving trigger zone (launch zone) attached to the aircraft(stennis). But this does not seem to happen. The switched trigger occurs as if the trigger zone is stationary and not attached to the stennis. For simplicity i’ve left out the action to activate the bombers and I've included messages to trace the state of flag 1. (I’ve tried this with the stennis stationary and the trigger zone as non-moving and it works perfectly.)
  9. I have an ‘interesting’ problem. I’ve constructed a three stage mission F-18 flies off carrier attacks multiple helicopter targets (copied from F-15 mission) Returns to carrier re-arms refuels takes off attacks armoured column with mavs and MK82s Returns to carrier rearms refuels – takes off attacks in coming flight of Tu23Ms My problem is I don’t want to activate the backfires until after the second re-arm/refuel. I can’t see how to set the flags and conditions to achieve this. (I can set simple flags and conditions) Please help. Any advice welcome. (i tried taxiing on the carrier to a trigger zone but the zone doesn’t move with the carrier)
  10. Tried it. Only worked with ATGM Stryker. But went like a dream. Thanks agin. Sent from my SM-A310F using Tapatalk
  11. Thanks Kang. Sent from my SM-A310F using Tapatalk
  12. Thanks ex. Am tucked up in bed at the moment, but will try it tomorrow. Thanks again. Sent from my SM-A310F using Tapatalk
  13. I have a practice mission using ground jtac to lase a target. all works fine. but I wanted to set it up for a night attack using ir marking but my jtac now simply says 'no targeting available.' as usual i'm sure I've done something wrong but don't know what please help mission attached :helpsmilie: JTAC - m1025 hummer ir-pointer.miz
  14. Thanks for these pointers. But I must say I saw nothing in them that suggests that disabling the anti-skid gives the pilot better braking ability. excellent descriptions of anti-skid systems. But all that i saw simply suggests that maximum braking effect is only obtained by using anti-skid - which keeps the wheels right on the skid margin. unless the pilot is imbued with near magical braking skills he cannot match this capability. sorry to be unconvinced, perhaps best to agree to disagree. If I ever come across anything with (IMHO) a valid reason I promise to 'fess up. :)
  15. hmmmm… I tried your advice... but the results are to say the least bizzare The last system update did indeed change my snap views. so I found the file you described and when i ran DCS and ‘re-created’my snap views then the file snapviews.lua was modified with date and time of my‘re-creation’, as you described. I then copied this file to a backup location and renamed the file in the saved-games folder to an unrecognised name, thus disconnecting it from DCS. Sure enough when i restarted DCS my newly recreated snapviews had gone. As expected. I then closed down DCS. Renamed the snapview.lua in the saved games to the correct name. theoretically putting back into use. Restarting DCS gave a strange result. One of the aircraft i use, the harrier, kept the newly recreated snapviews. The other two aircraft (FA-18 and A-10C) reverted to the incorrect system views. Am i missing some ‘switch’ or setting in one of the otherDCS system files?
  16. thanks snacko. errr.. how do I do that... please.
  17. each time there is an update I often have to 're-create' my snap views. is there a way to preserve my current snap views across DCS updates? pretty please.:)
  18. sounds good!!! do you have any documentation? :)
  19. thanks joker. your analysis of braking/ABS is more detailed (so 'more' correct than mine) and explains why it is a common feature in aircraft. but it doesn't explain why it's switchable in a purely land based aircraft such as the A-10. :(
  20. maybe the answer could be found in aircraft manuals that contain protocols for when anti-skid should be used and when it shouldn't be used. at least it would show the thinking behind the switchable ability. perhaps. (I wouldn't know where to look) :cry:
  21. in my last working years I was a driving instructor. We were taught (and had to teach) that skidding was bad. In a skid deceleration is not maximised, it also strongly diminishes steering control. Ergo anti-lock braking (which i assume is the same as anti-skid) maximises deceleration whilst maintaining steering capability. I cannot think of any reason for switching off anti-skid braking, yet there must be a reason since all the aircraft seem able to deactivate it. :helpsmilie::)
  22. colubridae

    anti-skid

    I know this is a dumb question... but... what is the point of switching anti-skid off? (on any aircraft) :helpsmilie::)
  23. Thanks dude. Sent from my SM-A310F using Tapatalk
  24. colubridae

    SCREENSHOT

    I'm trying to take a screenshot (copy to clipboard via alt+prtscrn but all I get is the DCS start screen. Not what i'm flying what should I do? pleaes help.
×
×
  • Create New...