Jump to content

simoffen

Member
  • Content Count

    31
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About simoffen

  • Rank
    Private First Class

Recent Profile Visitors

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

  1. Hi all! If i adjust the Floating Zone to the max, only 50% of the screen will be still. Is there a way to have the whole screen still. Frozen screen to 100% is what I’m looking for. Any tips on how to solve this with a Mod or Script?
  2. Hi all! I’m trying to find a way to enlarge the Floating Aiming Zone to the whole screen. Right now if I maximize the Floating zone to ”100%” it just ~20% of the screen. Any ideas of doing this?
  3. Hi! I love the Floating Zone function. But I want the Floating Zone to work over the whole screen. Right now I Have 100% in settings, but it just cover ~75% of the screen. Any suggestion how to fix this? Regards Fredrik
  4. Ok. I cant get the code to work. Tx for your time. /Fredrik
  5. Doesent work at all....... I have put all the code in Init.sqf and I get Errormessage all the time.... What is "you_lightZapper=[]spawn" I dont understand???? @wogz187
  6. Doesent work at all....... I have put all the code in Init.sqf and I get Errormessage all the time.... What is "you_lightZapper=[]spawn" I dont understand????
  7. I’m not by my computer right now. But do you think this code will work in Init.sqf or where to put the code?
  8. There is more code. But that code seems to work. The only part of the code I dont understand is the code above.
  9. I have got some code to make static game so I can use a laser gun to shoot at a Arma 3 scenario. But I cant get the code below to work (Blank UI) I dont know what to do or where to put the code below. The rest of the code is in the Init.sqf and seems to work. You can see in the video what I try to do. The video is from VBS 3. Please give me some advice or if possible send me an example. //Create a blank UI so we can see the mouse pointer createDialog "RscDisplayCommon"; 
  10. //Create a blank UI so we can see the mouse pointer createDialog "RscDisplayCommon";  The code above is my problem. Where to put the code? And is this code enough to create a blank UI?
  11. Try this link. https://forums.bohemia.net/forums/topic/227978-enable-mouse-cursorcursortargetcursorobject-during-cutscene/?do=findComment&comment=3402728
  12. I cant paste the code in that way. Have tryed everything. Even tryed to write a pm to you with the code. But same thing there. Just one sentence of all text. Very strange. I dont understand what you mean when you say ”where the code to be run” In the scenario I guess. Very confused. But can code be runned in different places? I have put the code in Init.sqf and it works. Almost everything works, but no bullet shoots when i click the mouse. And I think that depends of the lack of the blank UI. why cant i paste the formatted code? I copy it inside this forum.
  13. Hi! Here Below you see the code I will use. But I don’t understand how to create a blank UI and where to put the code. So glad if you can help me with this. Regards Fredrik //Create a camera 2m infront of the player cam = "camera" camCreate ( player getPos[ 2, getDir player ] ); //Set camera 2m off the ground cam setPosATL ( getPosATL cam vectorAdd[ 0, 0, 2 ] ); //Switch to the cameras static view cam cameraEffect[ "Internal", "Back" ]; //Create a blank UI so we can see the mouse pointer createDialog "RscDisplayCommon"; //On render update addMissionEventHandler[ "Draw3D", { //Max distance of intersect _maxDistance = 200; //Camera position _camPos = getPosATL cam; //Mouse screen position as world _worldPos = screenToWorld getMousePosition; //Direction( normalised ) from camera to mouse world position _vectorDir = _camPos vectorFromTo _worldPos; //Calculate line end position _lineEnd = _camPos vectorAdd ( _vectorDir vectorMultiply _maxDistance ); //Get first surface intersections between camera and line end lineIntersectsSurfaces[ ATLToASL _camPos, ATLToASL _lineEnd ] select 0 params[ [ "_pos", [] ] ]; //If we have an intersection if ( count _pos isEqualTo 3 ) then { //Check for nearby entities to the selected position _EntityToKill = (_pos nearEntities [["Man"], 5]) select 0; // kill nearest entitity _EntityToKIll setDamage 1; }else{ diag_log format[ "%1: No intersect position", time ]; }; }];
  14. I have searched the whole internet and still no answer where to put the code. Init.sqf or? Every guide shows a lot of code and so on. But no one tells where to put the code.
  15. And where is that. I am a rokie as you understand.
×