Jump to content

Cur

Member
  • Posts

    15
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Cur got a reaction from Donnovan in [Release] Andre Convoy Patrol   
    Just to let people how to do one thing, if they wish... The script as is, puts markers on the map where the convoys can start from, I was worried people may "camp" there and try to kill them to get the loot, so I disabled the markers... here is how to do this and keep everything else working!
     
    Find this block of code in andre_convoy.sqf
     
    //Spawn icons on map iniciate variables
      _spawns = _this select 0;
      _donn_casca_icons = [];
    {_donn_casca_icons = _donn_casca_icons + [[_x select 0,"Convoy Spawn " + str (_forEachIndex + 1)]];} forEach _spawns;
     
     
    And make it look like this:
     
    //Spawn icons on map iniciate variables
      _spawns = _this select 0;
      _donn_casca_icons = [];
      /*{_donn_casca_icons = _donn_casca_icons + [[_x select 0,"Convoy Spawn " + str (_forEachIndex + 1)]];} forEach _spawns;*/
     
    Cheers and happy gaming!
  2. Like
    Cur reacted to Donnovan in [Release] Andre Convoy Patrol   
    Cur,
     
    This is why in the new epoch there is no more EPOCH_server_setVToken. So the line _motor call EPOCH_server_setVToken; gives an error.
     
    This error cause no harm, but you can remove the line if you want, to keep your log clean.
     
    Thankyou for the kind words!
     
    Donnovan.
  3. Like
    Cur reacted to Donnovan in [Release] Andre Convoy Patrol   
    Cur, i believe it will need extra code. If you do it now, if i'm correct, the bots will stay forever inside the vehicle.
     
    If you want to try, change this function:
    //Vehicle Handle Damage donn_casca_veh_HD = { _motor = _this select 0; _dist = (_this select 3) distance _motor; _groupShoted = _motor getVariable ["car_group",GrpNull]; _inWar = _groupShoted getVariable ["donn_inWar",false]; if (!_inWar) then { _crew = crew _motor; if (count _crew > 0) then { _groupShoted setVariable ["donn_pshot",true,false]; if (_dist < 120) then {_groupShoted reveal [_this select 3,4];}; }; }; if (_inWar) then {_groupShoted setVariable ["donn_pshot",true,false]; if (_dist < 120) then {_groupShoted reveal [_this select 3,4];};}; }; To that:
    //Vehicle Handle Damage donn_casca_veh_HD = { _motor = _this select 0; _dist = (_this select 3) distance _motor; _groupShoted = _motor getVariable ["car_group",GrpNull]; _inWar = _groupShoted getVariable ["donn_inWar",false]; if (!_inWar) then { _crew = crew _motor; if (count _crew > 0) then { _groupShoted setVariable ["donn_pshot",true,false]; if (_dist < 120) then {_groupShoted reveal [_this select 3,4];}; }; }; if (_inWar) then {_groupShoted setVariable ["donn_pshot",true,false]; if (_dist < 120) then {_groupShoted reveal [_this select 3,4];};}; (_this select 2) //NEW LINE HERE };
  4. Like
    Cur got a reaction from Donnovan in [Release] Andre Convoy Patrol   
    Ok, I was looking at that function, but don't know some of the code, so I figure I would ask first :)  I'm glad I did, I will try at some point, but you would be far better than me at trying that :) :)
     
    I am still a newbie at all this.
     
    I will buy you a beer anyway! If you get a chance to play with it and make that work, I would love it, but if you don't, enjoy your beer on me!
     
    Thanks again!
  5. Like
    Cur got a reaction from Donnovan in [Release] Andre Convoy Patrol   
    Hi Donnovan,
    First thank you very much for this script.
     
    Second, it looks like everything is working properly in game, and this is great fun!

    I am getting one error in my .rpt file.
     
     6:06:57 Error in expression < 0,_origin,[],_rad,"NONE"];
    _motor call EPOCH_server_setVToken;
    _motor allowDama>
     6:06:57   Error position: <EPOCH_server_setVToken;
    _motor allowDama>
     6:06:57   Error Undefined variable in expression: epoch_server_setvtoken
     6:06:57 File mpmissions\__cur_mp.Chernarus\andre_convoy.sqf, line 566
     
    The only thing I edited was line 70 to change map to Chernarus.
    So I don't know whether this is just my server, something to be ignored, or just something that needs fixing. :)
     
    Cheers!
  6. Like
    Cur reacted to Darth_Rogue in [RELEASE] Random Loot Crates v1.25   
    You're missing a comma on line 167 between the array elements [] and "CAN_COLLIDE".  It should look like this:
    _crate_1 = createVehicle ["Land_PaperBox_C_EPOCH", _pos, [], "CAN_COLLIDE"];
×
×
  • Create New...