Nicoman35
Member-
Content Count
63 -
Joined
-
Last visited
-
Medals
Everything posted by Nicoman35
-
Automatically find suitable vehicle attach point
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am thinking about making an action allowing the player to attach a parachute to a vehicle. I would like to use the bergen backpack as 'container' for the visual representation. Problem: How do I find an attach point automatically for any kind of vehicle, so that the look would make sense. It should look more like this https://www.mediafire.com/view/qep962tjtznudmw/1.jpg/file And not like this https://www.mediafire.com/view/vzhk4j6fq3n9d1a/2.jpg/file Has anyone made a nice funktion for such a purpouse already? -
Publisher - Error code 2
Nicoman35 replied to jts_2009's topic in ARMA 3 - BI TOOLS - TROUBLESHOOTING
Same Problem. Steam Error Code 2: Generic failure None of the above methods helped. -
Stabilisation of turrets on sea vessels
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys. Maybe I am wrong, but afaik, the turrets on sea vessels can't be stabilized? No matter if stabilizedInAxes = 3; or stabilizedInAxes = 4; is stated in the config, the turret still follows the boat's movements. Am I doing something wrong? -
Stabilisation of turrets on sea vessels
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey Fursov. Unfortunately, as far as I know, there is no solution to the problem. One of the many bugs the game has. -
Hi there people. I made a mod for a vehicle parachute. Players are able to attach paracutes to vehicles, then slingload and drop them. I made a loop with a 'sleep' command to simulate braking of the load from free fall speed to parachute glide speed. Works well in test surroundings. But as soon as server load gets higher, vehicles begin to get destoryed on account of high speed impacts in ground. I suspect the sleep command is the culprit. Any idea of a failsafe solution when server is at high load?
-
Sleep failsafe at high loads
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
My script is here. I think line 72 is where problems could come from. Show usage? Do you mean upload a video? -
[RELEASE] ReconocimientoDroneV3.sqf
Nicoman35 replied to AtomicBoy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Tested you code and it thows errors. -
Automatically find suitable vehicle attach point
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ah, nice script. Thank you. -
I am in the editor, a few vehicles around me. I point at one vehicle and I local exec this via debug console: TeleportUp = { params [["_vehicle", objNull]]; _vehicle setPos (getPos _vehicle vectorAdd [0 ,0, 500]); while {getPos _vehicle #2 > 15} do { hintsilent str (velocity _vehicle #2); sleep 0.1; }; }; [cursorObject] spawn TeleportUp; Question: Why does the vehicle take no damage, when hitting the ground?
-
Do vehicles take no fall damage?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the suggestion, will have a look. Currently I see all kinds of variables spinning around my head. Must take a break. -
Do vehicles take no fall damage?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I got a math problem regarding my vehicle paradrop. I simulate the fall break of the parachute by gradually reducing it's velocity. The fall break distance is influenced by vehicle mass and vehicle velocity the moment the parachute is opened. I know, that the vehicle will reach terminal velocity when falling for about 1200 m. Dependent on vehicle mass, the opening height MUST occur at a height of 120 m to 900 m above ground. But this is only valid, if the vehicle is alreay falling with terminal velocity, meaning it was already falling for 1200 m. If the distance from releasing of the vehicle to parachute opening is less than 1200 m, vehicle's velocity will be lower than terminal vlocity. My target is: Deploying the paracute early enough, so that the vehicle does not hit the ground with high speed, but not too early, as vehicles floating several hundred meters above ground is not too good. What I got so far: private _vehicleMass = getMass _vehicle; private _deployHeight = round(((_vehicleMass / 1000) max 1) * 120) min 900; // 120 - 900 _deployHeight = (((((getPos _vehicle #2 - _deployHeight) min 1200) / 1200) min 1) max 0.3) * _deployHeight; // fail Anyone got a solution? If you need more info, here is the gitHub link to my current work. -
Do vehicles take no fall damage?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Meh. Do I really have to make a function controlling the damage in my vehicle paradrop script? I had hoped the error was somehow on my side. Oh well. -
Automatically find suitable vehicle attach point
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank your for the information, pirremgi -
Can't attach a backpack to a vehicle - why?
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am trying to create and attach a backpack to a vehicle. _backpack = "B_Bergen_dgtl_F" createVehicle position player; _backpack attachTo [cursorObject, [0.32, -0.3, 0.65], "OtocVelitele"]; Somehow, this does not work. Can anyone tell me what I am doing wrong? -
Can't attach a backpack to a vehicle - why?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
*no* Ok, it worked. Many thanks guys. -
How to make action available right at mission start?
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I made a mission event handler, which I add to every single infantry unit: ["CAManBase", "GetInMan", { params ["_unit"]; if ([_unit] call NIC_GRP_fnc_CheckAddActionGRP) then {[_unit] call NIC_GRP_fnc_AddActionGRP}; }, true] call CBA_fnc_addClassEventHandler; It is located in an init script, which is called via config, like so: file = "GRParadrop\functions"; class GRPInit { preInit = 1; }; It adds an action for units inside helicopters and alike. The action works well with one exception. Units, which are already aboard a vehicle when the mission starts, do not have the action. Funny thing is: Those units check for the action conditions. And the condition turns true for those units. But the action is not to be seen. Unless I order those units to disembark and reembark the vehicle. I also tried to aditionally add an init event: ["CAManBase", "init", { params ["_unit"]; if ([_unit] call NIC_GRP_fnc_CheckAddActionGRP) then {[_unit] call NIC_GRP_fnc_AddActionGRP}; }, true] call CBA_fnc_addClassEventHandler; But it does not work either. Action is only available for units getting into vehicles AFTER mission start. How do I make it, that the action is available for units already aboard a vehicle when mission starts? -
How to make action available right at mission start?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Nvm, found out myself. -
Ballistics Computer - offset possible?
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Following problem: The 40mm GMC launcher has a max range of 1500m. At rages up to... 300 to 400 m, all works well. You lase the range, the ballistics computer adjusts the weapon and the 40 mm grenade will hit the target with high accuracy. But - the further away the target is, let's say 1000m, the grenades will constantly fall short. No matter the elevation of the target. At 1500m, the max range the grenades will fall waaaay lower than the current crosshair position. My question: Is it somehow possible to adjust the elevation of the barrel in a way the grenades will impact the point the crosshair aims to? Maybe with some kind of range dependent offset? -
Ballistics Computer - offset possible?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Many thanks for the answer. I do the Kentucky method too. It was just something bothering me like 'Damn, 2035 and the ballistic computer is not accurate'. But ok, it is as it is 🙂. -
Ballistics Computer - offset possible?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The grenades live until they impact somewhere. Life of grenade is not too short. They just impact much lower then where the crosshair is poitnted at. -
How to get position coordinates in tactical / 3. person view?
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I would like to get the position coordinates of the cursor in tactical / 3. person view. getMousePosition does not work, as the cursor is not the mouse pointer. And I don't know how to get the variable _pos with cursorOnGround working. Any advice? -
How to get position coordinates in tactical / 3. person view?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Meh. Does not work. At least I do not get it working. Oh well. Many thanks for the help anyway guys 🙂 -
How to get position coordinates in tactical / 3. person view?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for suggestion, pierremgi. Just testing this: arrow = "Sign_Arrow_F" createVehicle [0,0,0]; onEachFrame { _pos = lineIntersectsSurfaces [ AGLToASL positionCameraToWorld [0,0,0], AGLToASL positionCameraToWorld [0,0,5000], player, objNull, true, 1, "VIEW", "NONE" ]; if (count _pos == 0) exitWith {arrow setPosASL [0,0,0]}; arrow setPosASL (_pos #0 #0); arrow setVectorUp (_pos #0 #1); hintSilent str _pos; }; Works good for 3. person, but in tactical view, I still do not get the cursor position. Any idea how to get cursor pos in tactical view? -
How to detect when player gives order to AI?
Nicoman35 replied to Nicoman35's topic in ARMA 3 - MISSION EDITING & SCRIPTING
cameraOn did the trick. Many thanks. -
How to detect when player gives order to AI?
Nicoman35 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
When the player commands an AI seated as gunner in an artillery turret to fire at a certain position, is it somehow possible to 'catch' this order somehow? I am working on a mod, that displays predicted impact positions of artillery shells. Working good except for two rounds: Guided and laser guided. Those rounds behave different. The moment the player orders to fire a laser guided round at a certain position, that position is memorized . The round will impact at that position, if he laser designation is moved more than 100 m or so away from that memorized position. If the designation is moved within that 100 m radius, the round hits the laser designation. And here is the problem. I need to know that very position lying in the center of the 100 m radius. Fired event does not help, as from order to fire, up to the artillery unit actually firing, several seconds pass. Any ideas?