Jump to content

kavoven

Member
  • Content Count

    1665
  • Joined

  • Last visited

  • Medals

Community Reputation

4 Neutral

1 Follower

About kavoven

  • Rank
    Sergeant Major

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. kavoven

    World Cup 2018

    That is indeed true! Very smooth tournement!
  2. kavoven

    World Cup 2018

    That last save from russias keeper was actually quite spectacular :)
  3. kavoven

    Syria - What should we do if anything?

    https://www.nytimes.com/interactive/2018/06/25/world/middleeast/syria-chemical-attack-douma.html This is really great journalism reporting on the chemical attack of the Assad regime that took place earlier this year!
  4. kavoven

    World Cup 2018

    Did not see that coming! After the last games, I thought that our team was not hungry enough to win...
  5. kavoven

    Exporte Data to txt

    I am looking for a less complex solution that does not involve installing mods :)
  6. kavoven

    Exporte Data to txt

    Great, thank you for that idea! I'll just use an external script (maybe word and VB...) in the background than that fetches the clipboard information automatically. :)
  7. kavoven

    Exporte Data to txt

    I was not aware that that works...That might indeed help :) However, I guess the profile file is not accessable without greater effort?
  8. Hi, I need to export some data from ArmA (I am actually using ArmA to do some research on teams). In particular, I need to export the values of some variables into a txt file. I used "diag_log" but its not very handy because ArmA dumps all kinds of stuff in their and it becomes really long really fast. I then read of the profileNameSpace which would be very handy. However, I am not able to open the profile file ArmA creates. Is there a way to open it as a readable txt file, or another way to export the data?
  9. You just saved hours of my life! Thank you :D
  10. I know flyinheight has been covered a lot in this forum (and I already had difficulties with this command in OFP), but I just want to be sure. When you control a drone and use the right click feature for setting the height, you can tell the drone to fly at 20 meters. However, it doesn't. I then started using a dialog to adjust the height of the drone (hovering above one point) and everything greater than 29 meters works perfectly. But going below that doesn't, until you tell the drone to go down to five meters. It will do that but will then ignore all subsequent flyinheight commands. Is this just a bug? Does anyone know a way around that? ps. I cannot force the drone with velocity commands as the player may also instruct it to move somewhere else.
  11. That is really helpful, thank you!
  12. Hi guys, I am displaying a PIP of a drone (GunnerView) via a RscPicture dialog. This works the way I want to but the resolution is really bad. I thought that I would just have to change the values in text = "#(argb,512,512,1)r2t(renderTarget1,1);" but it appears as if the resolution of the picture displayed in the dialog remains at a 256*256 level. Is there a way to change that? Secondly, I am using the following script to attach my camera to the drone: while{not isnull drone1} do { _pipcam setVectorDir drone1 weaponDirection currentWeapon drone1; _campos = getposATL drone1; _droneheight = (getPosATL drone1 select 2); _campos set [2, _droneheight + 1]; _pipcam setpos _campos; }; I now want to give the player the possibility to rotate the camera view with two buttons (45 degree steps). My approach would be to add another variable into the setvectordir line that is initialized as 0 at the start of the mission and can be changed by pressing one of the buttons in my dialog. However, ArmA keeps throwing errors at me that it expects a three dimensional array if I try something like setVectorDir dirA + dirB. What am I doing wrong? This is also the reason why I am not working with the attach command, but I did not find a way to tell the drone to turn the gunner view in a certain angle. Ah and a technical follow-up question. The player can simple exit the dialog by pressinc ESC. Since I use the while not isnull drone1 loop I am wondering whether the script will keep running afterwards and if I might run into troubles when the player starts and exits the camera 40 or 50 times? I guess I might need to insert some kind of event handler than that checks whether ESC was pressed and exit the loop...?
  13. Thanks for the explanations, that helps a lot! :) Ah, and the \n not working error was because of the "parseText" in front of the format.
  14. Hi, it's been literally 15 years since I scripted the last time in OFP so my knowledge is a little but rusty. As far as I can see, you now have to use spawn when you want to execude looped scripts. The aim is to create an area in which a drone constantly loses fuel until it leaves the area again. The script is executed by a trigger, that also sets fuelReduce to true (and false when leaving). It should be running on the server only (I checked the server only box in the trigger). []spawn { while(fuelReduce == true) do { _droneFuel = fuel drone1; _droneFuel = _droneFuel - 0.01; drone1 setFuel = _droneFuel; parseText format ["SOMETEXT HERE: %1", _droneFuel] remoteExec ["hintSilent"]; }; }; However, when using sleep within a while do loop, I get the generic error message. I do not get this error when I execute something comparable via the init file (e.g. for moving markers). So I guess the problem is when I execute the script (fuelReduce = true; drone1 exec "droneFuelReduce.sqf")? By the way - I was used to executing sqs files but I recon that the right way to do it now is using sqf? Moreover, the \n command does not seem to work in the parseText format function. Is there any alternative for broadcasting texts that contains %1 and the respective variable to all clients? I was kind of confused which exact commands I have to use when reading the wiki.
×