Jump to content

wok

Community Member
  • Posts

    236
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Reputation Activity

  1. Like
    wok got a reaction from Harry in ArmA 3 Screenies & Videos Thread   
    Some images from todays three choppers insertion in agia marina, with raz epic music playing in the background:
     

     

  2. Like
    wok got a reaction from Harry in ArmA 3 Screenies & Videos Thread   
    Some images from the last few days:
     

     
    It looks like he's doing some BASE jump from the tower:

     
    This is why there's a warning sign on the helipads

  3. Like
    wok got a reaction from Beck in How do i edit the mission?   
    I would ask AW staff if they think it's OK before you unpack and modify something they created.
  4. Like
    wok got a reaction from tombguy5 in Java: Bubble Sort Algorithm   
    At first glance I can tell you that when you are calling isInteger you are using 2 parameters (value, value.length),  but where you define it, it only has one parameter. Also I think you are passing a String[] and in the definition the parameter is a String. I will try to take a deeper look at the code later if I get some time.
     
    UPDATE
     
    I took a closer look, and in order to make it work you should modify the bubble_str() function, instead of comparing strings you need to compare ints, just replace this:
    if(a[i-1].compareTo(a[i])>0) with:
    if( Integer.parseInt( a[i-1] ) > Integer.parseInt( a[i] ) ) I commented the isInteger thing to be able to compile the code. I tested it with the input numbers 111, 90, 12, 555, 3 and the output was 3, 12, 90, 111, 555. In order to make the isInteger thing work you probably would want to use it inside the loops on bubble_str(), something like:
    if( !isInteger( a[i] ) ) continue; But since you have 2 nested loops you probably need to use it once on each loop. There are many other ways to do this, you could check the user input to only accept ints so you show them some warning and dont accept their input when its not numbers only, you can cleanup the array before using it to generate one that only contains only ints, etc.
  5. Like
    wok got a reaction from Rarek in Non-random AOs   
    Not sure what code are you using but in the I&A code you will find this on init.sqf file:
    currentAO = _targets call BIS_fnc_selectRandom; I am not 100% sure but I think the I&A mission code remove the AO from the _targets array after it's completed so you could just use:
    currentAO = _targets select 0; So it will always select the first target from the array. once completed the target will be removed from the array, making what was the second element now the first one. So the targets get selected in order, not sure what happens once all the targets are completed, I guess they reset and the array gets filled with all the targets again.
  6. Like
    wok got a reaction from tombguy5 in Non-random AOs   
    Not sure what code are you using but in the I&A code you will find this on init.sqf file:
    currentAO = _targets call BIS_fnc_selectRandom; I am not 100% sure but I think the I&A mission code remove the AO from the _targets array after it's completed so you could just use:
    currentAO = _targets select 0; So it will always select the first target from the array. once completed the target will be removed from the array, making what was the second element now the first one. So the targets get selected in order, not sure what happens once all the targets are completed, I guess they reset and the array gets filled with all the targets again.
  7. Like
    wok got a reaction from kamaradski in [suggestion] Protect Spawn Area From Ground Vehicles   
    This is what I had in mind:

     
    Leaving enough space for players to vault over it but not for cars, but it's just an idea anyway. There are other objects that could be used to fence the spawn area.
     
     
    Yea thats what I wanted to do, I didn't have much time to test it well yet, here's a sample mission to show the idea of using setVelocity: http://www.sendspace.com/file/7tuj52 Try to run over the friendly squad in front of where you spawn, the vehicle should "bounce" out and you wont be allowed to enter the area. But it only works on one direction, if you come from the other side you can pass by the trigger anyway. I will try to see how to use the vehicle direction to make it work on all sides of the trigger.
     
    I used _veh setVelocity [0,20,0]; to stop the vehicle, a value lower than 20 lets the vehicle pass, 20 seems to stop it no matter the vehicle speed. You should try putting 120 or some high value like that, the vehicle bounces back at like 500kmh, its pretty funny.
  8. Like
    wok got a reaction from kamaradski in ArmA 3 Screenies & Videos Thread   
    Some images from todays three choppers insertion in agia marina, with raz epic music playing in the background:
     

     

  9. Like
    wok got a reaction from kamaradski in [suggestion] Different subscriptions   
    dont close the ahoy coins purchase, i like having a lot of coins haha. I was thinking that instead of having packages of fixed amount of coins, you could let the user choose the amount of either coins or money and then he can make the purchase/donation of the amoutn he wants.
  10. Like
    wok got a reaction from Wraith420 in Hi my name is Wraith and I am an Armaholic, plus my gaming channel :)   
    Welcome, and see you in the battlefield!
     
    Will check your channel before going to sleep tonight.
  11. Like
    wok got a reaction from Brooksie10 in E3 Livestreams   
    I kinda feel bad for microsoft, sony kicked their ass.
     
    http://www.gamespot.com/e3/ps4-supports-used-game-and-features-no-online-check-in-6409677/?tag=Topslot;Slot1
  12. Like
    wok got a reaction from Kyrie in E3 Livestreams   
    I kinda feel bad for microsoft, sony kicked their ass.
     
    http://www.gamespot.com/e3/ps4-supports-used-game-and-features-no-online-check-in-6409677/?tag=Topslot;Slot1
  13. Like
    wok got a reaction from razgriz33 in [suggestion] Protect Spawn Area From Ground Vehicles   
    This is what I had in mind:

     
    Leaving enough space for players to vault over it but not for cars, but it's just an idea anyway. There are other objects that could be used to fence the spawn area.
     
     
    Yea thats what I wanted to do, I didn't have much time to test it well yet, here's a sample mission to show the idea of using setVelocity: http://www.sendspace.com/file/7tuj52 Try to run over the friendly squad in front of where you spawn, the vehicle should "bounce" out and you wont be allowed to enter the area. But it only works on one direction, if you come from the other side you can pass by the trigger anyway. I will try to see how to use the vehicle direction to make it work on all sides of the trigger.
     
    I used _veh setVelocity [0,20,0]; to stop the vehicle, a value lower than 20 lets the vehicle pass, 20 seems to stop it no matter the vehicle speed. You should try putting 120 or some high value like that, the vehicle bounces back at like 500kmh, its pretty funny.
  14. Like
    wok reacted to Hoax in E3 Livestreams   
    I watched that BF trailer and felt sick.  It's like a cartoon.
  15. Like
    wok reacted to Liabilities in Hello from liabilities   
    That's right it is official AH is the only server for me good admins, good people I am hooked.
  16. Like
    wok got a reaction from Leatherneck in Team Speak 3 Problem   
    I also have some issues with teamspeak, it doesn't crashes but it does weird things with the mic and game sound. Something people recommended me to do was to disable all the plugins. I haven't done it yet, but you should give it a try.
  17. Like
    wok reacted to Leatherneck in Names to faces   
    LOL! Man, I swear to jeebus, every base I've been stationed on had the exact same barracks that were made in the 40's. They're so ghetto! Peter Griffin said it best: "This place is so old, you can hear the mice humping in the walls."
     
    There's another one for ya. We're the masters of warfighting and extreme innovators in combat-beer-drinking-tactics.
    I've got a picture of my squad in Afghanistan spray painting penises on the side of an insurgents compound but I don't think that would be appropriate for this forum.
     
    Semper Dumbass!
     
    And Jeff, you look extremely manly and ten times more badass with that little furry dog next to you! I would hate to run into you at a bar!

  18. Like
    wok reacted to Hoax in Names to faces   
    Here's me being a boss at KGYR

  19. Like
    wok got a reaction from Cain in [suggestion] Protect Spawn Area From Ground Vehicles   
    It's awesome that aw servers have become so popular, we have met a lot of great people, but this also makes the servers a preferred target for immature players and script kiddies. Lately I have seen team killing problems on all aw servers every time I join. The main problem and the most annoying is people running over other players with cars on the spawn area.
     
    I've been thinking about a solution for this and I think there are a few options. The most obvious is just to barrier off the spawn area with sandbags and concrete fences (http://www.antihelios.de/EK/Arma/images/Land_CncBarrier_F.jpg I think these stop cars but players can still vault over them to get out).
     
    Another solution could be to just disable the car engine when entering the area, but that would also lock the car there and it wont be able to get out. I think setVelocity could be used to create an invisible fence that will not allow cars to get in. I will update this thread if I can get some code sample done.
  20. Like
    wok got a reaction from iLLGT3 in ArmA 3 Screenies & Videos Thread   
    Some images from the last few days:
     

     
    It looks like he's doing some BASE jump from the tower:

     
    This is why there's a warning sign on the helipads

  21. Like
    wok got a reaction from kamaradski in Krittar here!   
    Welcome to the forum! And yea, today some of the servers had some problems with annoying team killers and scripters, but believe me it's not like that most of the time. And the server admins are awesome, most of the admins I know are jerks that abuse their power, but here they are just like any other player, they do a great job.
     
    See you in the battlefield.
  22. Like
    wok reacted to George in Hat Films Play AW Invade & Annex :D   
    I've been watching these guys for years! It's so awesome to see them playing our map!  
  23. Like
    wok reacted to Leatherneck in Names to faces   
    Top of the morning, Gents. 

  24. Like
    wok reacted to kamaradski in [BUG] Respawn in same place without medic   
    It's like plugging a hole in a colander ...
    Better wait for a switch to a complete new medical\respawn system
  25. Like
    wok reacted to sm0 in [SUGGESTION] TCAS for Pilots   
    Guess we need TCAS on AW.
     
    http://www.youtube.com/watch?v=piEzWTLWVTA
×
×
  • Create New...