Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

donald

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About donald

  • Rank
    Rookie
  1. that´s what I did. But I used a little bit more offset. Can easily explain it with a Geostationary Orbit slightly south of the target Country :D
  2. Hey, you are right, Sat_Z is the Height, but the confusing thing was, that changing the value of Sat_Y made the height working properly. But as I said in the Edit above, the problem is that the Camera does not work as intended, if the target x y coordinates are the same as the camera x y coords. Anyway, thanks for your help.
  3. Hello, I tried to write a small CamSat script and detected a Bug, I just don´t get. I use this as my SatInit.sqf Sat_x = getPos _this select 0; Sat_y = getPos _this select 1; sat_z = getpos _this select 2; sat_alt = (getPosASL _this select 2) + 1000; Sat_GCS = _this; Sat_Zoom = 0.200; Sat_abort = false; waituntil {!(IsNull (findDisplay 46))}; _keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "null = (_this select 1) ExecVM 'Satcam\keyspressed.sqf'"]; nul = _this addAction ["SatCam","SatCam\openSatCam.sqf"]; This one is not a problem. The following is my "OpenSatCam.sqf" Sat_abort = false; setviewdistance = 3000; //Preload Camera waitUntil {preloadCamera [sat_x,Sat_y,Sat_alt]}; _camera = "camera" camcreate [sat_x,Sat_y,Sat_alt]; _camera cameraeffect ["internal", "back"]; waitUntil{camCommitted _camera}; sat_test = 3624; while {!Sat_abort} do { //;comment "11:41:57"; _camera camPrepareTarget [sat_x,sat_y,sat_z]; _camera camPreparePos [sat_x,Sat_y,Sat_alt]; _camera camPrepareFOV Sat_Zoom; _camera camCommitPrepared 0; sleep 0.2; }; player cameraEffect ["terminate","back"]; CamDestroy _camera; And here comes the funny thing. The Camera looks not to the ground. But, if I redefine sat_y with any integer Number, even with the same as (getpos Player select 1) it does. But if I use sat_y = getpos Player select 1. The camera Looks forward. I really don´t get it. In any way, the sat_y variable or the (getpos object select 1) thingy destroys it. Can you tell me any Idea, on how to get rid of it. Ah, and by the way. If I use Sat_y = (getPos Sat_GCS select 1) + 0.01; it Works. The SatInit is Executed in the Init of the Player. //Disregard the Idea above. As soon as I use getPos in anyway (e.g. sat_y = getpos....) It ignores Sat_z or any Value for the Height of camPrepareTarget. //Edit 2: Getting even more confused. If I use camCommitPrepared = 1 for example, It zooms into the correct Position. After one second, it looks straight ahead again. Edit3: Solved the problem. Camera can not be on the same x + y coordinates as the target. if I use a oblique angle it works
  4. Hey guys Today I spotted another Problem with a simple created Mission for Arma 2 Multiplayer. I tried to create a mission with 3 different fractions (Bluefor,Opfor, Independent) and gave each of them 4 Pilot slots. The Aircrafts they could use were the same (Su 30, Su 34, some Addon Aircrafts (F18,14)). Ok, the problem we had was that only the Opfor Pilot had red targets on his Radar (top left corner) while the Bluefor and Independet guys had only green ones, which were not "lockable" So the Opfor Pilot had an easy Job ^^ - However, do you guys know how to fix that, so that everyone can fly against everybody?
  5. @slideroy: Thanks for your reply. I thought about your second Idea as well but I was not sure whether it is usefull if you take a look at the performance etc..., but the Chat idea is great and I will use it atleast for some different thinks, if I get to know how to use this "OnMapSingleClick" command thing. @XxAnimusxX: I tried to use this code in the Init of my Soldier OnMapSingleClick ""; but nothing happened (I still could place map markers) and I also checked the "ondoubleClick" command which also did not work. But (to keep the option of placing markers for yourself) I think I will use the chat disabling method because it´s more easy and I was looking for a way to disable the chat anyway
  6. Hello everybody. I would like to know whether it is possible to disable the feature of placing Map markers within a Mission so that everyone can see them. The goal is that I want People to use Acre Radio addon and send the Coordinates via Radio instead of placing markers and just sending the Marker name. So, how to disable the ability of placing markers in multiplayer missions. regards, donald
×