Jump to content

ZZEZ

Member
  • Content Count

    106
  • Joined

  • Last visited

  • Medals

Posts posted by ZZEZ


  1. Good job on the release Bakerman, I'm playing with the script version around: when I ran it on a dedicated server join in progress players would get the following error:

    Error in expression <e ["reloading_right", 0, true];
    };			
    } forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error position: <forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error foreach: Type Object, expected Array
    Error in expression <e ["reloading_right", 0, true];
    };			
    } forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error position: <forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error foreach: Type Object, expected Array
    
    
    };			
    } forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error position: <forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error foreach: Type Object, expected Array
    Error in expression <e ["reloading_right", 0, true];
    };			
    } forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error position: <forEach vehicle player;
    sleep 10;
    };
    };
    >
     Error foreach: Type Object, expected Array
    
    
    

    The script however did continue to function.


  2. Nice work Namman, a critique regarding the MK4 - you seemed to have mixed the side-skirts together, here are the two types:

    http://upload.wikimedia.org/wikipedia/commons/3/36/MerkavaMk4_ZE001m.jpg

    http://www.supervideo.com/MerkavaMkIVcommanderHatch.jpg

    AFAIK the last one is the newest.

    Another thing to note is that the Merkava 4 chassis sits too high on the tracks, its noticeable in the rear and it needs to go down by about 50%, I made this comparison for you - your screenshot vs real mk4 in a similar angle and roughly the same size:

    http://i.imgur.com/OnVYw.png


  3. I have a very wierd issue with ArmA and the graphic drivers.

    My PC:

    Q6600 stock

    ASUS P5B Deluxe

    8gigs ram

    ATI 4870 1gig ASUS Dark Knight

    Windows 7 64bit

    When I upgrade my drivers to 11.xx my graphical options are all messed up, I can't select video memory/texture above normal - the option is not there, its only low/normal.

    When I get ingame I experience extreme LOD flickering and texture going crazy, the framerate drops to sub 15 and it becomes unplayable with nothing in the background, just me in the editor with a single soldier.

    When I go back to 10.xx based drivers all these problems are solved, I get the right options in settings - high/very high texture and memory settings, ingame my FPS is +60 with high settings and its very smooth, everything is fine.

    Sticking to 10.xx drivers is not a solution nor is repeatedly uninstalling and reinstalling drivers based on what I am playing - new games require the new drivers to get around performance issues[eg Battlefield 3/Skyrim], any ideas?ArmA is the only game that gives me issues with the new drivers.

    Just to confirm even on 12.xx drivers I get the same issue, only 10.xx drivers work for ArmA, 11.xx and 12.xx have severe issues.


  4. I ended up using a different solution, editing the part of the array that I don't want and having a if check to exclude it.

    If anyone wants it heres a script that removes a specific item from vehicle magazine cargo[it actually removes everything and then re add all items minus 1], it will be redundant if we get a RemoveMagazineCargo ["xx",x] command but it has been over 10 years....

    I ended up not using it because it will create too much network traffic and in low performance issues it would not remove/add items fast enough causing issues, with that being said unless your server fps is below 5 and your player count is over 40 you won't notice it.

    uo_mk3_actualnumber_mortar_script = nil;
    if (isNil "uo_mk3_mortar_countdown") then { uo_mk3_mortar_countdown = false;};
    _thetank = (vehicle player);
    _tankcargo = getMagazineCargo (vehicle player);
    player sidechat format ["ORIGINAL ARRAY   %1", _tankcargo];
    _classnames = _tankcargo select 0;
    _ammocount = _tankcargo select 1;
    player sidechat format ["CLASSNAMES %1", _classnames];
    player sidechat format ["AMMOCOUNT %1", _ammocount];
    _countclass = 0;
    {
    if(_x == "SmokeShellGreen")
    	then {
    
    	player sidechat "Smokeshellgreen IN ARRAY";
    	uo_mk3_actualnumber_mortar_script = _countclass;
    	player sidechat format ["position in array is %1", uo_mk3_actualnumber_mortar_script];
    	} else
    	{
    	_countclass = _countclass +1;
    	};
    }forEach _classnames;
    
    if (isNil "uo_mk3_actualnumber_mortar_script") then { player sidechat "NO AMMO FOUND, EXITING";} else 
    {
    if !(uo_mk3_mortar_countdown) then {
    
    player sidechat "assuming you are firing now";
    ////put fire code here WAIT UNTIL FIRE TO SUBTRACT AMMO
    
    _numberofammo = _ammocount select uo_mk3_actualnumber_mortar_script;
    player sidechat format ["amount of greenshells is %1", _numberofammo];	
    _numberofammosubtracted = _numberofammo -1;
    player sidechat format ["subtracted by 1 is %1", _numberofammosubtracted];
    
    if(1 > _numberofammosubtracted) then {//last shell
    player sidechat "this was the last shell, making final array";
    _subtractammofinalarray = _tankcargo select 0;
    _subtractammofinalarray set [uo_mk3_actualnumber_mortar_script, "DONOTHING"];
    
    player sidechat format ["final item to add array is %1", _subtractammofinalarray];
    //clear magazines from tanko
    clearMagazineCargo _thetank;
    //counting ammo
    _countedammoarray = { _x > 0 } count _subtractedammocount;
    player sidechat format ["counted ammo array is %1",_countedammoarray];
    _2ndcounter = 0;
    {
    	if(_x == "DONOTHING") then {
    	_2ndcounter = _2ndcounter + 1;
    	player sidechat format ["not adding anything 2ndcounter is %1", _2ndcounter];
    	}else {
    	_theitem = _subtractammofinalarray select (_2ndcounter); 
    	_thecount = _ammocount select (_2ndcounter);
    	player sidechat format ["adding %1 times %2", _theitem, _thecount];
    	(vehicle player) addMagazineCargo [_theitem, _thecount];
    	_2ndcounter = _2ndcounter + 1;
    	player sidechat format ["2ndcounter is %1", _2ndcounter];
    	};
    }forEach _subtractammofinalarray;
    ///done readding all the crap after firing last shell
    
    }
    else {//not last, remove 1 and readd all
    player sidechat "was not final round";
    
    _classnamearray = _tankcargo select 0;
    player sidechat format ["classname array to addback is %1", _classnamearray];
    _classcountarray = _tankcargo select 1;
    player sidechat format ["class number array to addback is %1", _classcountarray];
    _classcountarray set [uo_mk3_actualnumber_mortar_script, (_classcountarray select uo_mk3_actualnumber_mortar_script) -1];
    player sidechat format ["subtracted by 1 count array is %1",_classcountarray];
    clearMagazineCargo _thetank;
    
    _3rdcounter = 0;
    {
    	_2theitem = _classnamearray select (_3rdcounter);
    	_2thecount = _classcountarray select (_3rdcounter);
    	player sidechat format ["adding %1 times %2", _2theitem, _2thecount];
    	(vehicle player) addMagazineCargo [_2theitem, _2thecount];
    	_3rdcounter = _3rdcounter +1;
    }forEach _classnamearray;
    };
    uo_mk3_mortar_countdown = true;
    sleep 7;
    uo_mk3_mortar_countdown = false;
    } else { player sidechat "Mortar is reloading";};
    };
    


  5. Hey.

    I need to convert a string in to an array so it can be subtracted from the original array, any ideas how it can be done?I tried the format/call compile method but it kept returning "ANY" in the newly created array instead of SmokeShellGreen, heres the entire code:

    actualnumber = nil;
    _thetank = (vehicle player);
    _tankcargo = getMagazineCargo (vehicle player);
    player sidechat format ["ORIGINAL ARRAY   %1", _tankcargo];
    _classnames = _tankcargo select 0;
    _ammocount = _tankcargo select 1;
    player sidechat format ["CLASSNAMES %1", _classnames];
    player sidechat format ["AMMOCOUNT %1", _ammocount];
    _countclass = 0;
    {
    if(_x == "SmokeShellGreen")
    	then {
    
    	player sidechat "Smokeshellgreen IN ARRAY";
    	actualnumber = _countclass;
    	player sidechat format ["position in array is %1", actualnumber];
    	} else
    	{
    	_countclass = _countclass +1;
    	};
    }forEach _classnames;
    
    if (isNil "actualnumber") then { player sidechat "actualnumber is nil, didnt find in ammo array, stopping scripts";} else 
    {
    ////put fire code here
    player sidechat "assuming you are firing now";
    
    _numberofammo = _ammocount select actualnumber;
    player sidechat format ["amount of greenshells is %1", _numberofammo];	
    _numberofammosubtracted = _numberofammo -1;
    player sidechat format ["subtracted by 1 is %1", _numberofammosubtracted];
    
    if(1 > _numberofammosubtracted) then {//last shell
    player sidechat "this was the last shell, making final array";
    _subtractammofinalarray = _tankcargo select 0;
    _subtractammosubtractfinal_string = _classnames select actualnumber;
    
    ////////////FIGURE OUT how to convert string to array otherwise this part wont work, cant subtract string from array
    player sidechat format ["subtracting from initial array %1", _subtractammosubtractfinal_string];
    _ammofinalarray = _subtractammofinalarray - _subtractammosubtractfinal_string;
    player sidechat format ["final array is %1", _ammofinalarray];
    ////remove all shit
    clearMagazineCargo _thetank;
    //now adding it back
    
    }
    else {//not last, remove 1 and readd all
    hint "not done";
    };
    };
    

    My problem is the following line:

    _subtractammosubtractfinal_string = _classnames select actualnumber;

    It creates a string and I need it to be an array containing only that one variable, any ideas?


  6. ZZEZ you can't have a tomcat without a AIM-54 thats why (in my personal opinion) when the AIM-54 went out of business so did the tomcat just a few years later. I understand what your saying due to performance but you have to put that on how many people is on your server as well just because you can have 60 people on there doesn't mean you should may thats the true issue with performance. Also some models are high poly so if you place more then say 15 of that same model it could cause issues but that solely depends on your computer.

    Its not about the graphical performance, its solely server side issue with extreme low server fps - none the less its your choice and I completely respect it.

    I'll still be playing with the Tomcat, hopefully at some point in the future we'll be able to use it online, can't wait for the next version :)

    @Myke, I have no intention of polluting this thread with technical talk and back and fourth bickering, if you are truly interested in hearing then just shoot me a PM.


  7. Theres nothing wrong with it for the vast majority of users, my community[unitedOperations.net] tends to get 50-70 players during weekends and GLT missilebox doesn't function well under that load of players[95% of addons don't aswell], in order to use the Nimitz and IkaR's F14 I had to modify and remove several scripts from them so they will work under the heavy server/connection/fps load.

    I don't think the AIM-54 not being present is a big deal - in ArmA the engagements are typically within 4-5kms which is sidewinder range, having a iconic high quality twin seat jet far outweights the AIM-54 not being present in my humble opinion.


  8. Hi VectorX96.

    First off let me congratulate on releasing this awesome war bird - the model looks absolutely awesome and is fun to play with, high quality stuff.

    Would it be possible in the future to have a different version without that GLT missilebox and have it use the standard BI weapons/bombs?that will let communities that don't use GLT missilebox the ability to play with this beautiful F14.


  9. Just have it inherit from an ACE backpack.

    eg:

    class LoBo_Backpack : ACE_Rucksack

    {

    scope = 2;

    ACE_PackSize = 20250;

    ACE_Size = 20251;

    ACE_Weight = 1;

    displayName = "Template Backpack";

    picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.paa";

    model = "\LoBo_Backpack\Lobo_IDF_Assaultpack1.p3d";

    };

    class LoBo_Backpack_IDF1 : LoBo_Backpack

    {

    scope = 2;

    displayName = "IDF Assault Backpack 1";

    picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.paa";

    model = "\LoBo_Backpack\Lobo_IDF_Assaultpack1.p3d";

    };

×