Jump to content

peacefull Nation

Member
  • Content Count

    54
  • Joined

  • Last visited

  • Medals

Community Reputation

6 Neutral

1 Follower

About peacefull Nation

  • Rank
    Lance Corporal

Recent Profile Visitors

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

  1. peacefull Nation

    Help with this code

    rather then being negetive and show me nobody cares if i leave or stay no need for that , i dont care also , why not just be positive and move on dont make try and make things difficule , a simple question was posted but people just have unnessasry doubts like cheating etc , i purchased the game + i have full owner ship and rights what i want to do with it , i have a big list of group of friend i play with online in our/his./her server and we love making cheats to have fun or experiment so why is this not allowed in forum or who is people to say am not allowed to use it.
  2. peacefull Nation

    Help with this code

    Dear Moderators so been 5 hours and not approved please tell me if you will approve it or not will appreciate it , il leave this forum
  3. peacefull Nation

    Help with this code

    i have this code am learning from original part of the code was getPos Player i know how this works very well now am trying to replace getPos Player with onmapsingleclick way here is my code private ["_side", "_Squad1", "_leader"]; private _pos = []; _side = createCenter EAST; openMap [true, false]; mapPosition = []; onMapSingleClick {mapPosition = _pos;}; _pos = mapPosition; // store it _Squad1 = [_pos, _side, ["o_soldier_TL_F", "O_soldier_AA_F", "o_soldier_AA_F", "o_soldier_AA_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; [_pos] spawn BIS_fnc_guiMessage; mapPosition = nil; _leader = leader _Squad1; _leader move (getPosATL player); _Squad1 setCombatMode "RED"; _Squad1 setBehaviour "Aware"; 0 = _Squad1 spawn { while {true} do { sleep 5; if ((player distance (leader _this)) > 3000) exitWith { { deleteVehicle _x; } forEach (units _this); }; }; }; while {true} do { sleep 5; if (({ alive _x} count (units _Squad1)) == 0) exitWith { { deleteVehicle _x; } forEach (units _squad1); deleteGroup _Squad1; }; _leader = leader _Squad1; if ((unitReady _leader) && {(alive _leader)}) then { sleep 10; if (({ alive _x} count (units _Squad1)) != 0) then { _leader = leader _Squad1; _leader move (getPosATL player); _Squad1 setCombatMode "RED"; _Squad1 setBehaviour "Aware"; }; }; }; as u can se this line here _Squad1 = [_pos, _side, ["o_soldier_TL_F", "O_soldier_AA_F", "o_soldier_AA_F", "o_soldier_AA_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; the _pos i want on mapclick pos to go their , i tried adding the onmapclick code but its not working am sure am missing something out.
  4. peacefull Nation

    Help with this code

    Tajin sir thanks. also i want to se sometimes experienced forum users ask from us so that they can help us further , il be honest if i knew what to do or how to start of then i would have posted it , i just dont thats why i make a thread asking people how to do this and that and when u post a small short code it benifits me alot , i learn alot from it .. i am a fast learning but first i need to understand how each value is put together. i searched many parachutes script and many instructions say put xxx code in init.sqf so this part confuses me , where is this located. all the things i do is not mission editing its for multiplayer game with friends sir using tunggle. by the way i found this code Para = { private ["_pos","_chute","_location","_locationSize","_dir","_dest","_transport","_transportGrp","_wp","_grp"]; if (!isServer) exitWith {}; /* declare variables etc */ _locMark = _this select 0; _location = gerMarkerPos _locMark; _locationSizearray = (getMarkerSize _locMark); _locationSize = _locationSizearray select 0; _dir = random 359; _pos = [_location, 2500, _dir] call bis_fnc_relPos; _dest = [_location,2500, (_dir - 180)] call bis_fnc_relPos; _transport = [_pos,(_dir - 180),"O_Heli_Light_02_unarmed_F",EAST] call BIS_fnc_spawnVehicle; //player setPos _pos; _transportGrp = (_transport select 2); {_x setBehaviour "CARELESS"; _x flyinHeight 60;} forEach units _transportGrp; _wp = _transportGrp addWaypoint [_location,(_locationSize - (_locationSize / 10)),0]; _wp = _transportGrp addWaypoint [_dest,0,1]; _wp setWaypointSpeed "FULL"; _grp = [_pos, EAST, (configfile >> "CfgGroups" >> "EAST" >> "OPF_F" >> "Infantry" >> "OIA_InfSquad"),[],[],[0.25,0.4]] call bis_fnc_spawnGroup; {_x MoveInCargo (_transport select 0); _x assignasCargo (_transport select 0)} forEach units _grp; waitUntil {sleep 1;(getPos (_transport select 0)) distance _location < (_locationSize + (_locationSize / 10))}; /* Initial Drop */ { unAssignVehicle _x; _x allowDamage false; moveOut _x; sleep 0.35; _chute = createVehicle ["NonSteerable_Parachute_F", (getPos _x), [], 0, "NONE"]; _chute setPos (getPos _x); _x moveinDriver _chute; _x allowDamage true; sleep 0.5; } forEach units _grp; /* Assign a task */ //[_grp, _location, _locationSize] call CBA_fnc_taskAttack; null = [leader _grp, _locMark, "spawned", "showmarker", "full"] execVM "scripts\UPSMON.sqf"; /* Initiate CleanUp */ _i = 0; waitUntil {sleep 1;_i = _i + 1; ((getpos (_transport select 0)) distance _location > 1750) || _i >= 70;}; {deleteVehicle _x} foreach units _transportGrp; deleteGroup _transportGrp; deleteVehicle (_transport select 0); /* Return handle */ /* _____________ */ _grp }; i execut that globally using this code nothing happens. i want code like this below i mean simple. attach chicken to players head , posted in other site i found _expl1 = "Alsatian_Random_F" createVehicle position player; _expl1 attachTo [player, [-0.1, 0.1, 0.15], "Head"]; _expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ]; then all i do is paste that in exec command globally in mod menu made by css , and not in mission editor and it works.
  5. peacefull Nation

    Help with this code

    by looking at the age of your registration tells me your experienced and i am a beginner so am trying to learn from your basic codes sir , am not trying to take advantage , i really thank all for the help and support they give but yes i am newbie and soon will lean all by your codes sir , it takes time sir not over night.
  6. peacefull Nation

    Help with this code

    is it possible to have all enemy ai fire water xd
  7. peacefull Nation

    Help with this code

    without a trigger or anything i just want a simple code that i can place in .sqf and execute that and then all ai should come running towards player location and attack. wiill love to se this.
  8. peacefull Nation

    MP suicide airplane

    thanks for the kind reply. i wanted it to crash right into me
  9. wil like to know if it is possible to make suicide ai airplanes into play. i hope u dont mind as i am still a beginner and reaching out to professions for help thank u. am looking for a code where i can just paste it in debug and se it work instantly or maybe it .sqf file.
  10. i found this code on unknowncheats website. it was for arma 2 spawning parachute cows with airplane. if (isnil "fsdandposanpsdaon" ) then {fsdandposanpsdaon=0}; if (fsdandposanpsdaon==0) then { player addweapon "ItemGPS"; fsdandposanpsdaon=1; }; closedialog 0; sleep 0.5; TitleText [format["Click on the map where you want paracows"], "PLAIN DOWN"]; openMap [true, false]; sCode = 'hint "COWS INCOMING, GET TO COVER";'; sCode = sCode + ' _pos = [(cTargetPos select 0) + random 100, (cTargetPos select 1) + random 100, 100];'; sCode = sCode + ' PLANE1 = createVehicle ["C130J", [(_pos) select 0,(_pos) select 1,500], [], 0, "FLY"];'; sCode = sCode + 'cpbLoops = 15;'; sCode = sCode + 'cpLoopsDelay = 0.13;'; sCode = sCode + 'for "_i" from 0 to cpbLoops do {'; sCode = sCode + ' _pos1 = [(cTargetPos select 0)+random 100, (cTargetPos select 1)+random 100];'; sCode = sCode + ' _chute= createvehicle ["ParachuteC", [(_pos1) select 0,(_pos1) select 1], [], 0, "FLY"];'; sCode = sCode + ' _cow=group player createunit ["Cow04", [(_pos1) select 0,(_pos1) select 1,152], [], 0, "FORM"];'; sCode = sCode + ' _cow attachTo [ _chute, [0,0,0]];' ; sCode = sCode + 'sleep cpLoopsDelay;};'; sCode = sCode + 'cTargetPos = nil;cpbLoops = nil;cpLoopsDelay = nil;'; onMapSingleClick "cTargetPos = _pos;[] spawn compile sCode; onMapSingleClick '';true;"; i ran this code the map opened and i clicked but no airplane came and dropped , wil love this working version of it.
  11. peacefull Nation

    Spawn Ai Paratroopers over me

    ================================= 1: how will i get ai airplane to come to my location and drop of ai paratroopers. 2: same with question one but this one with helicopter. i will really appreciate it alot.
  12. peacefull Nation

    Spawn Ai Paratroopers over me

    thank u so much for your help sir . i have this now another code paradrop supply , when it hits ground the ammo gets damaged then deleted. _para = "B_Parachute_02_F"; _vehicle = "B_supplyCrate_F" createVehicle (getPos player); _vehicle setPosATL (_vehicle modelToWorld[0,0,200]); _DropPos1 = getpos _vehicle; _Chute1 = createVehicle [_para, _DropPos1, [], 0, "NONE"]; _chute1 attachTo [_vehicle, [0, 0, 1]]; maybe can i some how get a helicopter to drop it off ?
  13. peacefull Nation

    Spawn Ai Paratroopers over me

    [(getPos player) vectorAdd [0,0,300], EAST, ["O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; i tried adding more troops how ever they fall down the sky and the default ones you already had deploy parachute fine. here is my modifed code. [(getPos player) vectorAdd [0,0,300], EAST, ["O_T_Recon_M_F","O_T_Recon_Medic_F","O_T_Recon_TL_","O_T_Sniper_F","O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup;
  14. peacefull Nation

    Spawn Ai Paratroopers over me

    nice i just tested the [(getPos player) vectorAdd [0,0,300], EAST, ["O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F","O_Soldier_PG_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; and wow. now i will check the rest of your code awesome dood.
  15. peacefull Nation

    spawn random paratroopers over my human players.

    i done it _pos = getPosATL Player; _pos set [1, 100];Player addBackpack "B_Parachute"; Player setPos [getPos Player select 0,getPos Player select 1,100.00]; Player action ["openParachute"]; i do search sir , am not randomly posting , i have so many search queries open to what i want to do and trying all i can. anyways this has done what i want thanks. pierremgi sir i also need what you posted and will try use it , just like u se this code i want a code similar to this so i can execute it in command line and then se if it works this way its more easy to se if it works. am looking for a code to deploy enemy helicopter fly to my location then enemy ai rapple down , i wil love to se this cheers.
×