Jump to content

Jetfire

Members
  • Posts

    159
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Jetfire

  1. Is the F15c or Mig29 getting AFM?
  2. Great stuff Bublik! Yeah the Phantom Controls is what I meant ;) Bublik, for calculations, are you using real world differences, or the "formula"? For example, for DPS, are you using a combination of heading and pitch change to calculate DPS? Hawg and GG, OMG Lua debate! lol Yeah guys the idea of having a Lua script setting triggers for a mission would be AWESOME! About the script I made, I made some other cool things. I turned on force feedback, put a small piece of tape over the stick sensor, and as the plane flew, the stick would physically move. It was very cool! Also, I made the plane fully land, not just bring you half way, it would bring your plane down, full stop, refuel, and take off again, even in high winds. It was about 95% reliable though haha. So, yeah, anything is possible with the Lua scripts. I can say if we had mission triggers, there would be ALOT of happy campers out there (single player and multiplayer). A dynamic campaign would not be hard to create if we had Lua mission triggers.
  3. I used J# when it first came out, and it's been awhile... and I never touched C#. I think you need to make your own concat function/member. You will need to be able to access each byte and set them. Not sure if the [] will let you do that. For example, public void concatByteArrays( byte[] byteArray1, byte[] byteArray2, int array1Length, int array2Length ) { int totalLength = array1Length + array2Length; byte[] newByteArray = new byte[ totalLength ]; int i = 0; while ( i < array1Length ) newByteArray[ i ] = byteArray1[ i++ ]; while ( i < totalLength ) { newByteArray[ i ] = byteArray2[ i - array1Length ]; i++; } byteArray1 = newByteArray; // can assignment be made for arrays? // if not, return newByteArray } Pappavis, you use MSDN? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfsingledimensionalarrays.asp [EDIT1] You can probably get the length of the new byte array from the streamreader.
  4. Thank you guys! And SK, about the manual idea, oh yeah definately! In fact a script could be made to try a whole range of tests, and when the plane would run out of fuel, make the pilot eject, recover, do another test. All of this could be done in accelerated time also. I had this script for awhile, but it was just to see if it could be done. So, the code doesn't use very good methods for finding roots, for example, the perfect bank angle for a given speed. It works and keeps a relatively good climb/descent rate, but that's why I threw that climb/descent rate in the tables - to visually check the average climb/dive rates. So, the movements are smooth, but not as smooth as they could be. Referring to Hawg's idea, it would be very useful if someone could do a maneuver and see, in real time, how effective it is. I think this would be useful for everyone, not just newer flyers. Someone who also might have info on a DPS/Radius program is Phil_C6.
  5. I'm not too familiar with windows programming. So, the problem I see here is making a window show up over Lockon, since Lockon likes to stay on top. I saw someone had a mod with a Tool window that worked, forget what his mod was called (something to do with recording a flight then sending it as a track, then it could fly the plane for you).
  6. I made a script that makes the plane fly in circles, holds a set speed, and calculates different turn rates for different speeds/fuel. The only difference is, it didn't show this in real time, it dumped the data to a text file and there's no radius calculations. And! This is only for sustained turn rates, not instantaneous. FBR: fuel burn rate, measured in kg / second IAS, TAS: velocity, measured in km/h Turn Rate: degrees per second Vertspd: the average vertical speed for this calculation FlightTest: Su-27, Sat, Oct 15 2005 at 05:00:12 PM 9400 KG fuel, 135 m Alt, vertSpd: 0.0, RPM: 110, Flaps: 0 IAS dev TAS Alt VertSpd G Turn Rate Fuel FBR(kg/s) RPM 358 3 394 72 0.3 3.03 [ 14.7 ] 8606 11.1 110 355 2 391 65 0.4 3.03 [ 14.9 ] 8338 10.9 110 357 3 392 53 -1.0 3.06 [ 15.0 ] 8074 11.0 110 354 3 390 54 0.6 3.12 [ 15.4 ] 7551 11.0 110 352 4 387 56 -0.6 3.11 [ 15.5 ] 7293 10.9 110 356 2 392 57 -1.1 3.21 [ 15.8 ] 7040 11.1 110 357 2 392 65 -0.8 3.22 [ 15.9 ] 6787 11.1 110 357 2 392 51 0.8 3.35 [ 16.6 ] 6051 11.1 110 358 1 393 56 0.2 3.38 [ 16.7 ] 5809 11.0 110 354 4 389 69 -1.5 3.44 [ 17.3 ] 5111 11.0 110 355 1 391 43 0.8 3.56 [ 17.8 ] 4649 11.1 110 355 2 390 55 -0.5 3.59 [ 17.9 ] 4429 10.9 110 354 2 389 73 0.3 3.61 [ 18.0 ] 4209 11.0 110 355 3 390 88 0.5 3.64 [ 18.2 ] 3989 11.0 110 358 3 393 95 -0.6 3.70 [ 18.4 ] 3770 10.7 110 357 1 393 81 1.1 3.80 [ 18.8 ] 3562 11.2 110 357 2 393 74 0.7 3.80 [ 19.0 ] 3348 10.7 110 358 1 394 87 0.9 3.86 [ 19.1 ] 3145 11.1 110 355 1 391 116 0.6 3.95 [ 19.7 ] 2532 10.9 110 354 3 391 85 -0.6 4.01 [ 20.3 ] 2138 11.1 110 357 3 393 77 -0.5 4.12 [ 20.6 ] 1941 10.9 110 358 1 393 93 0.5 4.13 [ 20.7 ] 1749 11.1 110 357 2 393 119 0.3 4.15 [ 20.8 ] 1557 10.8 110 352 3 389 108 4.6 4.31 [ 21.8 ] 819 10.9 110 354 3 390 110 2.9 4.36 [ 22.1 ] 639 11.1 110 357 3 394 110 -0.0 4.46 [ 22.4 ] 459 10.9 110 FlightTest: F-15C, Sat, Oct 15 2005 at 04:41:27 PM 6103 KG fuel, 109 m Alt, vertSpd: 0.0, RPM: 103, Flaps: 0 IAS dev TAS Alt VertSpd G Turn Rate Fuel FBR(kg/s) RPM 463 3 491 121 -1.7 4.06 [ 16.2 ] 5921 8.7 110 461 2 489 121 1.0 4.07 [ 16.4 ] 5729 8.6 110 462 2 489 117 0.8 4.12 [ 16.6 ] 5541 8.5 110 464 2 491 120 -0.4 4.19 [ 16.8 ] 5356 8.6 110 465 7 489 76 0.9 4.24 [ 17.2 ] 4990 8.7 110 471 3 494 79 0.5 4.36 [ 17.4 ] 4809 8.5 110 469 2 491 105 -0.4 4.36 [ 17.5 ] 4631 8.6 110 466 3 490 119 3.9 4.36 [ 17.6 ] 4454 8.6 110 469 3 493 107 -0.2 4.45 [ 17.9 ] 4278 8.7 110 473 4 495 79 -1.6 4.54 [ 18.2 ] 4102 8.5 110 476 3 497 90 -1.4 4.63 [ 18.3 ] 3933 8.8 110 474 6 496 97 -0.8 4.62 [ 18.4 ] 3760 8.6 110 469 8 492 106 3.0 4.66 [ 18.7 ] 3428 8.5 106 468 5 490 118 -2.3 4.77 [ 19.4 ] 2945 8.8 110 472 1 494 115 -2.7 5.04 [ 20.3 ] 2316 8.5 110 471 4 494 145 0.8 5.09 [ 20.3 ] 2165 8.8 110 469 10 491 141 1.5 5.05 [ 20.6 ] 2011 8.6 110 475 1 498 106 0.1 5.32 [ 21.2 ] 1714 8.6 110 475 2 497 123 -0.3 5.34 [ 21.3 ] 1567 8.7 110 475 4 497 149 1.7 5.34 [ 21.4 ] 1421 8.5 110 468 6 492 178 2.3 5.37 [ 21.8 ] 1137 8.5 110 474 9 497 155 -2.9 5.53 [ 22.0 ] 996 8.5 110 474 2 497 147 -0.8 5.67 [ 22.7 ] 720 8.6 110 474 2 496 157 2.4 5.72 [ 22.9 ] 583 8.4 110 So, till we get a DPS/Radius display for Lockon, maybe this will help :)
  7. Sorry Guru and guys, my bad. Thanks for pointing out my mistake IronLegionaire.
  8. You cannot identify whether it's a friend or foe with EOS (unless you IFF visually). So, if you lock up a friendly with EOS and fire an R-73 or something else, your team might be upset. ;)
  9. Regarding the Strobe Lights Rugg, not yet. I just assumed they worked offline, but I would imagine they do not work in a server.
  10. Very nice Mizzy! So did you have a chance to upload it somewheres? The canopy looks alot better also.
  11. pssst scripty scripty ok here is the ALL IMPORTANT LUA SCRIPT that will solve our problem: if ( player == "ice" or player == "grayghost" or player == "swingkid" or player == "goya" ) then BootPlayer( player ); elseif ( player == "jetfire" ) then LoadMissiles( aim54c ); end Problem solved. :)
  12. Couldn't a Lua script, ran from export.lua, be made to make the player quit the game if he launched a missile that wasn't part of the loadout? Same thing goes for teamkilling: if a player team kills, export.lua could kick him for a tk.
  13. OR!! go off topic bigtime? So... how's the weather? lol
  14. Nevermind, just found engine.fuel_internal. BAH I was using the info from the website, just found this one in the old export.lua. Imagine that.
  15. hi all, has anyone been able to get engine.fuel to work? I can get engine.RPM.left and .right to work, but engine.fuel returns a NIL. I also tried Fuel, FUEL, fuel.left, and Fuel.left with now luck.
  16. Ok the "extract to here" to a folder method worked fine. Thanks ;)
  17. Hi Chizh, I have the same version of WinRAR (3.2). I just went ahead, started with the 01 file, extracted, everything went fine, and when I tried the 02 file, it said the Su-25t_something.cdds file was corrupt. I tried looking around WinRAR for spanning volumes or something that includes multiple volumes, but didn't find it when I was opening the rar. If you have advice on how to do it differently, I can try that. Or, if it's easier, I can just page you my email. Thanks Chizh, -Jet
  18. Looks very nice Chizh. Thanks [edit] Chizh, I had problems with extracting ( I think my WinRAR is an older version, and claimed the cdds file was corrupt ). Would it be possible to give us just one rar file?
  19. Looks much nicer than my attempt ;) http://jetfire.freeserverhost.com/ss/
  20. To all, Hi and S!. I haven't been here in a while, so it's good to be back ;) To the Devs, Beta Testers, or anyone who might know: I want to make a script that has a timer, so, for example, it would run a function every 10 minutes, and not all the time. This script would be called from, probably, view.lua so clients can log data. Basically, this script could be called from any script that runs when the game loads, except for export.lua, because export.lua is not used if you are a client on a server. My only problem is: I need to make a timer of some kind so this function doesn't run all the time, only every 10 minutes or so. I know Lua has coroutines which are somewhat like Threads, but they lack timer functionality (to my knowledge). Also, I have no idea if Lua works with signals, but I was not able to find info on it. Regards and Thanks, =RvE=Jetfire
  21. Oh Lua scripts could take Lockon to a new level... imagine map triggers, so a mission could be scripted, so if a certain AI flight would die, another would take off, etc etc...
  22. Just a follow up: Zone Alarm was causing this BSOD. I removed Zone Alarm, tested both Sygate and Kerio, and I never saw the BSOD again. Thanks for the help gents.
  23. stick: sidewinder force feedback 2 throttle: modified sidewinder precision pro with stick mounted horizontally, additional hat switch and buttons, and grooves on throttle for different power settings The thing I find about Lockon that's a pain to setup, but a serious life saver, is the different button mappings for different modes. If you have a hotas and you don't use different maps (ie one for nav mode, one for bvr), you should consider it. Also, on my throttle, I have 2 trigger buttons, but one trigger is mapped to shift while the other is mapped to ctrl. So, I can triple the amount of functions I have on my throttle just by this mapping. Also, for those who have old joysticks kicking around, try converting them into throttles. Doesn't have to be pretty, just has to work and be strong. I had some good fun making mine, ripping it apart to improve it, or adding new buttons. I now call it the black beast lol
×
×
  • Create New...