Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About LifeSnatcher

  • Rank
    Private First Class

Recent Profile Visitors

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

  1. LifeSnatcher

    Eden Composition Spawning

    @pierremgi we have no thirdparty mods. Im simply letting others know of solutions for working with this mission spawner. i know how to spawn things in. Using this awesome spawner though i try not to mess with its code. the slight adjustments allow us to spawn compositions with 300 AI and tons of objects and waypoints. its great now.
  2. LifeSnatcher

    Eden Composition Spawning

    I was able to solve the problem with vehicles not executing their way points. I did this by checking each vehicle with a squad leader in it and making the driver/commander/or gunner the squad leader. if anyone needs this code just message. regarding aircraft crashing after spawn. It occurs when there are alot of units to spawn so lag. what i did was modified the spawner to put planes at 2k or 3k altitude after spawn and helicopters at 700 meters. regarding spawning items issues i found that it was in part because of my misunderstanding of the spawner settings and also i had to put a line of code in the spawn when spawning big objects to align to terrain.
  3. LifeSnatcher

    Eden Composition Spawning

    We use this spawner as an essential part of our framework to spawn our missions on our multiplayer server. With out it we would be screwed. Having said that we have some difficulties with it that we could use some help understanding. In the current downloadable source only the .stratis mission has file changes from December of 2018. But there is a changes.txt file that says to refrence the .vr mission for the new changes. But the .vr mission does not have file changes in it from December 2018 But the .vr mission file does use a Boolean for setting the "//TRUE to use positions( OBJECT ) direction" and does not throw errors when used with the Boolean. The .stratis mission does have a comment in it for using Boolean for direction but does not use it. we tried to use the following code with both the source from the .stratis mission and the .vr mission but it produces and error provided below. private _compRef = [ _mission_name, //Composition to spawn [], //position to spawn, passed OBJECT [0,0,0], //Calculated offset true, //TRUE to use positions( OBJECT ) direction false, //Do NOT align with surface normal false, //Do NOT align with water false //Ignore composition items ATL offset <<NEW parameter see fn_createComp.sqf and fn_setPositionAndRotation.sqf ] call LARs_fnc_spawnComp; We get this error _cfgOffset = [ _cfgOffset, 360 - _compRot ] call BIS_fnc_rotateVector2D> Error position: <- _compRot ] call BIS_fnc_rotateVector2D> Error -: Type Bool, expected Number,Array,Not a Number File \AltisJSOC\LARs\spawnComp\functions\fn_setPositionAndRotation.sqf [LARs_fnc_setPositionAndRotation]..., line 35 further more in all three mission the comments describing the available initial function call parameters do not match. all of this causes us confusion when deciding which code and parameters to use in our framework. We have been keeping our missions very simple because of some issues we have encountered but we would like to start creating more complex missions using this spawner. There are more than a few big issues we have encountered so far. One, we cant use complex way points. its not the end of the world so we keep it simple and rely on our framework to do complex stuff. Two, when spawning AI in vehicles they dont always execute their simple move way points. We found that this is because the squad leader inst in the right seat. This could be a multiplayer Arma issue. we had to write a fix for this. Three, when spawning in a lot of ai in vehicles over/in water there is lag and they seem to fall from the sky and die. no fix for this currently Four, we can not for the life of us figure out the right combination of spawn settings to ensure our objects are where we placed them in the Eden editor. We have to take great care to snap objects in the eden editor but still this dosent always work. it effects both AI and objects. We love this script but we could use some enlightenment so that we can expand our capabilities on our framework and continue to use this awesome script.
  4. LifeSnatcher

    Eden Composition Spawning

    i'm having an issue where my placement of objects is not always being respected. I am using your most recent code source. If you could tell me what configuration settings im applying wrong when calling the function i would be most grateful. Ive tried a variation of combinations but none seem to place my object correctly. here is what it looks like. https://imgur.com/Zx3oz3a we have your spawn er in our server side addon. we use it to spawn full missions, everything but this works great. we have been avoiding placing objects in complex positions in our 100+ missions up until now. we would really like to be able to place objects freely if possible. we have tried this combination in many different ways //spawn missoin and get comosition id private _compRef = [ _mission_name, [], [0,0,0], 0, false, false, false ] call LARs_fnc_spawnComp;
  5. NVM I finally figure it out yay. thanks guys.
  6. yep your right. works fine when i RE if from initserver.sqf. how can i call functions from the client?
  7. https://drive.google.com/file/d/13nZTrD6buS8vqI90MHwQxkXT0DYwCWdB/view
  8. https://drive.google.com/file/d/13nZTrD6buS8vqI90MHwQxkXT0DYwCWdB/view
  9. i am a noob, i know that. im trying to create a server side addon that i can put my scripts/functions in. i have a test setup that is just supposed to do hello world. can someone please tell me what im doing wrong. thank you for any help. image of my current setup. https://imgur.com/a/cfRcA3i
  10. Has anyone incorporated a deserted/abandon feature to this? if so can you share.
  11. LifeSnatcher

    [Release] - CleanUp script

    yup, thank you so much, awesome work mate. really great script, hell of a job.
  12. LifeSnatcher

    [Release] - CleanUp script

    Still not working. downloaded the new version and still using the same code i sent in the init file. any thoughts?
  13. LifeSnatcher

    [Release] - CleanUp script

    Hi, Im using this script for the first time today and it sounds awesome and perfect however, Its not working for me. Im trying to use it in my base only and i put my items on the ground and walked away. i waited and nothing happened. im using a marker that is 200 x 300. here is the code in my init file. i get no errors and no message about not being server, so i assume its running. i put a first aid kit down and a couple of mags. i want it to be 1 meter that a player is away so that it cleans up the items at the arsenal, should a player drop stuff on the ground. if (isServer) then { fnc_cleanup = compileFinal preprocessFileLineNumbers "scripts\cleanup.sqf"; null = [ "mb_marker_13", ((getMarkerSize "mb_marker_13") call BIS_fnc_greatestNum), 1, 0.8, true, 60 ] spawn fnc_cleanup; };
  14. is this really solved?? if so, does it work for all Enemy Infantry? If it does why am i getting this error message "Error missing ]" when using this code. params ["_missionabrev", "_taskid"]; _v_taskname = _missionabrev + "EndTask"; _v_markername = _missionabrev + "Marker_1"; //create task SMEndTask = [west,[_v_taskname],["SideMission Update: Kill remaining Hostiles!", "SideMission Update: Kill remaining Hostiles!", "SideMission Update: Kill remaining Hostiles!"],getMarkerPos _v_markername,true,5,true,"attack",True] call BIS_fnc_taskCreate; your_global_init_count = count (allUnits select {side _x == east && _x inArea your_trigger_name}); count ( thisList select { side _x == east } )<= 0.1 * your_global_init_count; SMTrg_alldead = createTrigger ["EmptyDetector", getMarkerPos _v_markername]; SMTrg_alldead setTriggerArea [500, 500, 0, false]; SMTrg_alldead setTriggerStatements ["0.1 * ( count ( allDeadMen select { _x inArea thisTrigger && ( [getNumber (configfile >> "CfgVehicles" >> typeOf _x >> "side")] call BIS_fnc_sideType == east ) } ) + count ( thisList select { side _x == east })) >= count ( thisList select { side _x == east });" , "SMEndTask = ['" + _v_taskname + "', 'SUCCEEDED',true] spawn BIS_fnc_taskSetState; ['" + _missionabrev + "', '" + _taskid + "'] call TLS_fnc_spawnEndSMFunc; ", ""]; SMTrg_alldead setTriggerTimeout [1, 1, 1, false]
  15. here is my function in its entirity. in its current state its not working. please help params ["_missionabrev", "_taskid"]; _v_taskname = _missionabrev + "EndTask"; _v_markername = _missionabrev + "Marker_1"; //create task SMEndTask = [west,[_v_taskname],["SideMission Update: Kill remaining Hostiles!", "SideMission Update: Kill remaining Hostiles!", "SideMission Update: Kill remaining Hostiles!"],getMarkerPos _v_markername,true,5,true,"attack",True] call BIS_fnc_taskCreate; private _centre = getMarkerPos _v_markername; private _radius = 500; SMareaUnits = allunits select {( (side _x == EAST) && ((getpos _x) distance _centre < _radius) )}; SMTrg_alldead = createTrigger ["EmptyDetector", getMarkerPos _v_markername]; SMTrg_alldead setTriggerArea [500, 500, 0, false]; SMTrg_alldead setTriggerActivation ["NONE", "NOT PRESENT", true]; SMTrg_alldead setTriggerStatements ["({not alive _x && side _x == east} count SMareaUnits) <= ((({alive _x && side _x == east} count SMareaUnits))*0.5);" , "SMEndTask = ['" + _v_taskname + "', 'SUCCEEDED',true] spawn BIS_fnc_taskSetState; ['" + _missionabrev + "', '" + _taskid + "'] call TLS_fnc_spawnEndSMFunc; ", ""]; SMTrg_alldead setTriggerTimeout [1, 1, 1, false] when a task is complete on a mission it calls this function to add kill the rest task. but i only want players to have to kill %80 of the bad guys cuz some get stuck or hide really well.