dixon13

Member

Last active 6 years ago

  1. 9 years ago
    Thu Jan 21 16:46:55 2016
    dixon13 posted in need help with Zeus.

    description.ext

    #define QUOTE(var1) #var1
    class Extended_Init_EventHandlers { 
        class CAManBase { 
     		serverInit = QUOTE(_this call compile preprocessFileLineNumbers 'fnc_handleUnit.sqf'); 
        }; 
    }; 

    fnc_handleUnit.sqf

    params [["_unit",objNull]];
    curatorModule removeCuratorEditableObjects [[_unit],true];

    ^In the above code, change the variable "curatorModule" to the name of the Zeus module in your mission. Easy way to do this would be to name the Zeus module in the editor. That name would be what would replace the variable "curatorModule".

    *Note: The command, "removeCuratorEditableObjects", has to be ran on the server, hence why in the description.ext, the init for the XEH is "serverInit".

  2. Thu Jan 21 16:01:33 2016

    I wish they would follow the standards. It would give us less headaches. They make such great content, but configs are jacked. Anyways getting off-topic. What you could do is follow the directions on this wiki page and try and generate a static map of the faction, or just wait for the next update of ALiVE.

  3. Thu Jan 21 15:54:11 2016

    Sorry @incontinenetia I can't help you out anymore. I have been very busy with work now that it's tax season in the U.S. and am also working on other things related to Arma, and help put together COOP events on the weekends for my community.

  4. Tue Jan 19 21:20:07 2016

    what exactly is going wrong with the 'addAction' @incontinenetia? Does the addAction appear or does it not appear at all?

  5. Tue Jan 19 16:59:45 2016

    That is the correct line to change @incontinenetia. The problem is with this part here...

    _pos = [_unit, (random 3), (random 360)] call BIS_fnc_relPos;
    _intelObject = "Land_Suitcase_F" createVehicle _pos;

    When the object is create the object is place at that position but if the object is going to clip into another object or is too close to another object the object's position will be changed and pushed away from the other object that is close.

    Possible Solutions...

    Use the alternate form of "createVehicle"

    _pos = [_unit, (random 1), (random 360)] call BIS_fnc_relPos;
    _pos = createVehicle ["Land_Suitcase_F", _pos, [], 0, "CAN_COLLIDE"];
  6. Tue Jan 19 00:41:30 2016
    dixon13 posted in Server freezes (Fixed!).

    My community runs ALiVE missions every other day and we have no issues, although we do not use the persistent functionality.

  7. Mon Jan 18 22:14:46 2016
    dixon13 posted in Vehicle persistence help.

    Maybe give it some time, like 30 seconds or something like that. Maybe it just needs time to process code and send data to the database.

  8. Sat Jan 16 23:20:02 2016
    dixon13 posted in OPCOM / TACOM FSMs.

    ^good spot forgot that was in a function and I had to return a value

  9. Sat Jan 16 22:36:49 2016

    Mods that attach an event handler to certain classes will be compatible with CBA's XEH. I don't know if CAF Aggressors uses event handlers but it could be effected, not sure.

  10. Sat Jan 16 22:20:42 2016
    dixon13 posted in OPCOM / TACOM FSMs.

    This will be faster...

    _fnc_getOpcomByFaction = {
    	private ["_opcom"];
    	_faction = _this;
    
    	{
    		if (_faction in ([_x,"factions"] call ALiVE_fnc_hashGet)) exitWith {
    			_opcom = _x;
    		};
                    false
    	} count OPCOM_instances;
    };
    
    //-- Get opcom FSM
    _opcom = _faction call _fnc_getOpcomByFaction;
    _opcomFSM = [_opcom, "OPCOM_FSM"] call ALiVE_fnc_HashGet;
    _tacomFSM = [_opcom, "TACOM_FSM"] call ALiVE_fnc_HashGet;
    
    
    /////-- Loop this section --/////
    	//-- Wait until analysis started
    	waitUntil {sleep 2;!isNil(_opcomFSM getFSMVariable "_analyze")};
    
    	//-- During analysis
    
    	//-- Analysis complete
    	waitUntil {sleep 1;(_opcomFSM getFSMVariable "_OPCOM_status") == "reset"};
    
    	//-- Post analysis
    /////-- Loop this section --/////
View more