Jump to content

malakdecaen

Member
  • Content Count

    183
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by malakdecaen

  1. Hi , everybody I have a problem on my game server in vilayer . When i change the commandline for adding my mod (-mod=@kakarot) the server in the multiplayer list diseaper !!?? Do you know what's wrong ? how can i add my mod to the server ? only in the commandline or we need to configure another file ? Thanks for you're help .
  2. Hello everyone , I have a little script for changing uniform but i need ameliorate it . That is why i need you'r help , this is the script : _obj = _this select 0; _caller = _this select 1; _id = _this select 2; _class = typeof _obj; _uniclass = getText (configFile >> "CfgVehicles" >> _class >> "uniformclass"); _uniclassp = uniform _caller; RemoveUniform _obj; RemoveUniform _caller; _caller addUniform _uniclass; _obj addUniform _uniclassp; player removeAction s_player_ghillie; s_player_ghillie = -1; I have some clothes in my mission and i want if you find one you have a addaction and call this script but that doesn't work , and i want the script for all uniform , but i don't know how to do that . i don't know how to configure the cfgvehicle Thanks a lot for you'r help . (sorry for my bad englis);)
  3. Hi everybody , i find an old spawning script , it work great in arma 3 but the problem is the elevation . When the item spawning , is in the air but if i go near and open inventory of item it fall on the ground , i just want the item spawn directly on the ground not in the air . This is the script : private["_itemType","_iPos","_index","_iArray","_iItem","_iClass","_item","_qty","_max","_tQty","_array","_canType"]; // [_itemType,_weights] _iItem = _this select 0; _iClass = _this select 1; _iPos = _this select 2; _radius = _this select 3; switch (_iClass) do { default { //Item is food, add random quantity of cans along with an item (if exists) _item = createVehicle ["GroundWeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"]; _qty = 0; _max = ceil(random 4) + 1; while {_qty < _max} do { _tQty = floor(random 1) + 1; _array = getArray (configFile >> "cfgLoot" >> _iClass); _canType = _array call BIS_fnc_selectRandomWeighted; _item addMagazineCargoGlobal [_canType,_tQty]; _qty = _qty + _tQty; }; if (_iItem != "") then { _item addWeaponCargoGlobal [_iItem,1]; }; }; case "weapon": { //Item is a weapon, add it and a random quantity of magazines _item = createVehicle ["GroundWeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"]; _item addWeaponCargoGlobal [_iItem,1]; _mags = getArray (configFile >> "cfgWeapons" >> _iItem >> "magazines"); if (count _mags > 0) then { _item addMagazineCargoGlobal [(_mags select 0),(round(random 3))]; }; }; case "magazine": { //Item is one magazine _item = createVehicle ["GroundWeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"]; _item addMagazineCargoGlobal [_iItem,1]; }; case "object": { //Item is one magazine _item = createVehicle [_iItem, _iPos, [], _radius, "CAN_COLLIDE"]; }; }; if (count _iPos > 2) then { _item setPosATL _ipos; }; it is possible to create a trigger to check the elevation and correct the item to spawn on ground ? I hope you can help me , and thanks a lot (sorry for my bad english)
  4. Hi everybody , today i try to add a GPS into my car , it is possible to add the GPS by Picture in Picture ? on my dashboard car i have a GPS display , do you know how can i do that ? Thanks by advance for you'r reply . Please , nobody have a idea ? i just want show the Arma3 GPS or the map into a Picture in picture .
  5. Hi everybody i have a problem with my head on my unit . a picture is better then words : http://imageshack.us/photo/my-images/543/arma32013042919080990.jpg/ How can i fix that ? thanks a lot for you'r help .
  6. hi everybody , Do you know if is possible to remove the right click in the inventory ? I want interact with my item in the inventory with the right click like in Dayz mod . thanks for you'r reply .
  7. malakdecaen

    Delete item after action ?

    thanks a lot !!! now it work !! thanks
  8. hi , i have a problem with a script , this script is not from me , it's from GITS EVO . i want delete a item in my inventory after an action , i 've try a lot of code but nothing work . this is the script : // allows medics to build a mash if (player in list AirportIn) exitWith {hint localize "STR_M04t76"}; //EGG_EVO_CHITEMS = ["ToolKit","MineDetector"]; if !((EGG_EVO_CHITEMS select 1) in (items player)) exitWith {hint "You need a MEDIKIT to build a MASH"}; mtent = mymash; deletevehicle mtent; player playMove "AinvPknlMstpSlayWrflDnon_medic"; sleep 3.0; WaitUntil {animationState player != "AinvPknlMstpSlayWrflDnon_medic"}; _mark = format["%1mash",(name player)]; deleteMarker _mark; mtent = (EGG_EVO_MASH select 0) createVehicle (position player);Sleep EGG_EVO_GlobalSleep; player clearItemCargoGlobal MineDetector; _posm = [(getposATL player select 0) + (sin(getdir player) * 3), (getposATL player select 1) + (cos(getdir player) * 3)]; mtent setpos _posm; Sleep EGG_EVO_GlobalSleep; _pos2 = [(getpos mtent select 0)+3,(getpos mtent select 1),0]; //temp - is this crashing the script? mbox = (EGG_EVO_MASH select 1) createVehicle _pos2; clearWeaponCargoGlobal mbox; clearmagazineCargoGlobal mbox; clearItemCargoGlobal mbox; mbox addItemCargoGlobal ["FirstAidKit",6]; mtent addEventHandler ["killed", {handle = [_this select 0] execVM "scripts\resurrect.sqf"}]; //mbox addEventHandler ["killed", {handle = [_this select 0] execVM "scripts\bury.sqf"}]; _pos = position mtent; _mssg = format["%1's MASH",(name player)]; _medmark = createMarker [_mark, _pos]; _medmark setMarkerShape "ICON"; _medmark setMarkerType "b_med"; _medmark setMarkerColor "ColorBlack"; _medmark setMarkerText _mssg; _medmark setMarkerSize [0.5, 0.5]; I just want delete the item Minedetector after build the mash . or do you know a script like that very simple to build something if you have the good stuff in you'r inventory ? thanks a lot for you'r help .
  9. malakdecaen

    Delete item after action ?

    i've already tried : player removeItem Minedetector; but don't work . Maybe something wrong ?
  10. when i removed the condition is the same i can't see any action ; it's very strange ---------- Post added at 03:35 PM ---------- Previous post was at 01:51 PM ---------- class useractions : class repairautoo { displayName = "Reparer Vehicule"; position = "repair_action"; radius = 26; onlyForPlayer = 0; condition = ""; statement = "this execVM ""\malak_car\garage\x_reload.sqf"""; }; i find something if i put an other script like hint "jdhfjhfj"; that work ! so i think my script doesn't work what's the problem with the repar script ? why it don't work ? _object = _this; _type = typeOf _object; x_reload_time_factor = 0.01; _object setVehicleAmmo 1; _object vehicleChat format ["Servicing %1... Please stand by...", _type]; _magazines = getArray(configFile >> "CfgVehicles" >> _type >> "magazines"); if (count _magazines > 0) then { _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; _object addMagazine _x; } forEach _magazines; }; _count = count (configFile >> "CfgVehicles" >> _type >> "Turrets"); if (_count > 0) then { for "_i" from 0 to (_count - 1) do { scopeName "xx_reload2_xx"; _config = (configFile >> "CfgVehicles" >> _type >> "Turrets") select _i; _magazines = getArray(_config >> "magazines"); _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; _object addMagazine _x; sleep x_reload_time_factor; } forEach _magazines; _count_other = count (_config >> "Turrets"); if (_count_other > 0) then { for "_i" from 0 to (_count_other - 1) do { _config2 = (_config >> "Turrets") select _i; _magazines = getArray(_config2 >> "magazines"); _removed = []; { if (!(_x in _removed)) then { _object removeMagazines _x; _removed = _removed + [_x]; }; } forEach _magazines; { _object vehicleChat format ["Reloading %1", _x]; sleep x_reload_time_factor; _object addMagazine _x; sleep x_reload_time_factor; } forEach _magazines; }; }; }; }; _object setVehicleAmmo 1; // Reload turrets / drivers magazine sleep x_reload_time_factor; _object vehicleChat "Repairing..."; _object setDamage 0; sleep x_reload_time_factor; _object vehicleChat "Refueling..."; while {fuel _object < 0.99} do { //_object setFuel ((fuel _vehicle + 0.1) min 1); _object setFuel 1; sleep 0.01; }; sleep x_reload_time_factor; _object vehicleChat format ["%1 is ready...", _type]; if (true) exitWith {};
  11. Hi everbody ; I try to add a fonction to my addon , i have make a building and i want to add a action to repair vehicle when they are into with a script . i have try to put this in my config.cpp class UserActions { class repair_vehicle { displayName = "Reparer Vehicule"; position = "repair_action"; radius = 6; onlyForPlayer = 0; condition = "(""LandVehicle"" countType thislist > 0) && ((getpos (thislist select 0)) select 2 < 1)"; statement = "_xhandle= (thislist select 0) execVM ""x_reload.sqf"""; }; }; and i put the script in my addon file . Maybe i miss something ?? need something in model.cfg or in class AnimationSources in config.cpp? thanks a lot for helping me .
  12. thanks for you'r reply , yes i put the memory point , and i tried what do you say but ingame i can't see any action .
  13. malakdecaen

    RQ-11B Raven for Arma3

    great !! can't wait thanks for you'r work
  14. malakdecaen

    wheels damage ?

    ho sorry it's my mistake when i write this thread , this is my exact code : class HideCapot { type="hide"; source="HitBody"; selection="capot"; minValue = 0; maxValue = 1; minPhase = 0; maxPhase = 1; hideValue = 0.980000; }; class HideCapot_unhide { type="hide"; source="HitBody"; selection="capot_unhide"; minValue = -1; maxValue = 0; minPhase = -1; maxPhase = 0; hideValue = 0.020000; }; when i hit the body the "capot" disaper but the damaged "capot" don't come , i don't understand why ? thanks for you'r help .
  15. hello , Do you know how to damage the wheels or a part of Karoserie in arma 3 ? i have try this http://tactical.nekromantix.com/wiki/doku.php?id=arma2:modeling:damaged_wheels but it don't work for me , maybe someone know how to ? exemple : if my trunk of my car is damaged i want to see a model of my damaged trunk not the original trunk when i hit the trunk it diseaper but the damaged trunk don't come !!? what's is the problem i use this : class trunk_destruct { type="hide"; source="HitBody"; selection="trunk"; minValue = 0; maxValue = 1; minPhase = 0; maxPhase = 1; hideValue = 0.990000; }; class trunk_destruct_unhide { type="hide"; source="HitBody"; selection="trunk2"; minValue = 0; maxValue = 1; minPhase = 0; maxPhase = 1; hideValue = 0.990000; }; thanks by advance .
  16. Hi everybody i have a question ; in my vehicle.hpp if i put "simulation = carx;" My addon "car" don't move , i don't know how to fix that i want add physx to my car . thanks by advance for you'r help and sorry for my bad english .
  17. Hi everybody , i want know how can i do for damage my vehicle addon ? i have 2 3d model of my car addon , 1 is normal and the second is destruc , it is possible to set my addon for when my vehicle explose you see my second model.p3d "destruct" ?? thanks by advance and sorry for my bad english .
  18. malakdecaen

    Primer for new vehicle simulation

    for floatting wheels , change damping rate or maxdrop or suspTravelDirection[] = {0, 1, 0}; i don't remember and it's ok !!
  19. malakdecaen

    Mi-28 W.I.P.

    how do you PIP the GPS please ? can you share the sources files to training only ?
  20. possible to switch with the GPS ?
  21. malakdecaen

    PiP and how to script it.

    is there a way of calling the GPS or MAP ?
  22. malakdecaen

    Volvo C303

    thanks a lot to the source files i appreciate that , i can learn now ! thanks bro and keep you'r good job .
  23. malakdecaen

    Volvo C303

    can you give the source files for trainning ? please and thanks !
  24. malakdecaen

    simulation = carx ?? can't move

    4e14 works for me
  25. malakdecaen

    [WIP] Buggy

    http://img41.imageshack.us/img41/4462/arma32013040618374916.png (1612 kB) Hello everyone , I show you what i'm working on , it's WIP for the moment because i'm a noob in addon making so that take me a long time to port . this is the project : and the video of the Buggy : tell me what do you think of this ? i need to ameliorate the engine motor , damper , add light ...[/center]
×