Jump to content

[Outdated] AI Convoys 1061+


Runewulv

Recommended Posts

The original author deleted his drop box account. I am posting these files and not claiming any credit whatsoever. Only thing I've done is added the necessary code to keep the bodies from cleaning up immediately, and I edited the vehicle/convoy arrays/and weapons.

The Convoys work really well in 1061A. The only downside I've found is that the combo multiplier does not actually multiply the gold reward any more. I am not code savvy enough to make this work. So instead I made it so that there is no single bar of gold award and instead will give either a 10oz gold or a briefcase. My server uses default currency, please edit for coins accordingly.

Installation:

Unzip the rar below, place the folder inside the root of your mission folder.

Go to init.sqf and paste this     execVM "andre_convoy\andre_convoy.sqf";     like below:

  Reveal hidden contents

All done.

https://github.com/dreamforceinc/andre_convoy

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
  • 2 weeks later...

Hi there,

I installed this script but it doesn't spawn. I am getting the following error in the RPT on restart. Can anyone tell me how to fix this?

23:59:32 Error in expression <],
["FNFAL_DZ","20Rnd_762x51_FNFAL"],
];
waitUntil {sleep 2;!isNil >
23:59:32   Error position: <];
waitUntil {sleep 2;!isNil >
23:59:32   Error Missing [
23:59:32 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 157
23:59:32 Error in expression <],
["FNFAL_DZ","20Rnd_762x51_FNFAL"],
];
waitUntil {sleep 2;!isNil >
23:59:32   Error position: <];
waitUntil {sleep 2;!isNil >
23:59:32   Error Missing [
23:59:32 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 157

Thanks for your help!

Link to comment
Share on other sites

  On 2/15/2018 at 11:20 PM, JasonTM said:

I noticed that this mod has Overwatch weapons in the _donn_weapons array. If you are running an Epoch server then remove the Overwatch weapons.

Expand  

Thanks for the reply,

I did remove the Overwatch weapons but maybe I missed one.

Also, I noticed in the config file where the error is pointing it has a comma after ["FNFAL_DZ","20Rnd_762x51_FNFAL"] before the close brackets. None of the other arrays have that. Could that be my problem? 

//AI WEAPONS & AMMO
    _donn_weapons = [
        ["Mk48_DZ","100Rnd_762x51_M240"],
        ["M249_DZ","200Rnd_556x45_M249"],
        ["G36C_DZ","30Rnd_556x45_Stanag"],
        ["G36C_camo_DZ","30Rnd_556x45_Stanag"],
        ["G36A_camo_DZ","30Rnd_556x45_Stanag"],
        ["G36K_camo_DZ","30Rnd_556x45_Stanag"],
        ["AK74_DZ","30Rnd_762x39_AK47"],
        ["AKS74U_DZ","30Rnd_545x39_AK"],
        ["bizon_silenced","64Rnd_9x19_SD_Bizon"],
        ["DMR_DZ","20Rnd_762x51_DMR"],
        ["RPK_74","75Rnd_545x39_RPK"],
        ["M24_DZ","5Rnd_762x51_M24"],
        ["M24_des_EP1","5Rnd_762x51_M24"],
        ["FNFAL_DZ","20Rnd_762x51_FNFAL"],
        
        
    ];

Link to comment
Share on other sites

The Epoch array should look like this:

_donn_weapons = [
		["Mk48_DZ","100Rnd_762x51_M240"],
		["M249_DZ","200Rnd_556x45_M249"],
		["G36C_DZ","30Rnd_556x45_Stanag"],
		["G36C_camo_DZ","30Rnd_556x45_Stanag"],
		["G36A_camo_DZ","30Rnd_556x45_Stanag"],
		["G36K_camo_DZ","30Rnd_556x45_Stanag"],
		["AK74_DZ","30Rnd_762x39_AK47"],
		["AKS74U_DZ","30Rnd_545x39_AK"],
		["bizon_silenced","64Rnd_9x19_SD_Bizon"],
		["DMR_DZ","20Rnd_762x51_DMR"],
		["RPK_74","75Rnd_545x39_RPK"],
		["M24_DZ","5Rnd_762x51_M24"],
		["M24_des_EP1","5Rnd_762x51_M24"],
		["FNFAL_DZ","20Rnd_762x51_FNFAL"]
		
	];

Every nested array should have a comma behind it except the last one.

Link to comment
Share on other sites

  On 2/16/2018 at 12:59 AM, JasonTM said:

The Epoch array should look like this:

_donn_weapons = [
		["Mk48_DZ","100Rnd_762x51_M240"],
		["M249_DZ","200Rnd_556x45_M249"],
		["G36C_DZ","30Rnd_556x45_Stanag"],
		["G36C_camo_DZ","30Rnd_556x45_Stanag"],
		["G36A_camo_DZ","30Rnd_556x45_Stanag"],
		["G36K_camo_DZ","30Rnd_556x45_Stanag"],
		["AK74_DZ","30Rnd_762x39_AK47"],
		["AKS74U_DZ","30Rnd_545x39_AK"],
		["bizon_silenced","64Rnd_9x19_SD_Bizon"],
		["DMR_DZ","20Rnd_762x51_DMR"],
		["RPK_74","75Rnd_545x39_RPK"],
		["M24_DZ","5Rnd_762x51_M24"],
		["M24_des_EP1","5Rnd_762x51_M24"],
		["FNFAL_DZ","20Rnd_762x51_FNFAL"]
		
	];

Every nested array should have a comma behind it except the last one.

Expand  

Thank you JasonTM, I removed the comma after ["FNFAL_DZ","20rd_762x51_FNFAL"] and the script spawns. Now I am having a problem where the bots don't die and they don't attack. I see that WagnerMello was having the same problem above. I don't think I missed a step in the install. It was pretty simple! Anyone have any idea what may be the problem?

I'm also getting multiple errors in my RPT:

16:15:09 Error in expression < > 0) then {
[_ammos,_motor,"add"] call donn_cascar_tuAmmo;
_motor setVariable [>
16:15:09   Error position: <donn_cascar_tuAmmo;
_motor setVariable [>
16:15:09   Error Undefined variable in expression: donn_cascar_tuammo
16:15:09 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 395
16:15:09 Error in expression <ot1,ceil (_crewCount/_lootCutter)] call donn_selectLoot);
_gunnerPos = 0;
for >
16:15:09   Error position: <donn_selectLoot);
_gunnerPos = 0;
for >
16:15:09   Error Undefined variable in expression: donn_selectloot
16:15:09 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 410
16:15:14 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end
16:15:17 Error in expression < > 0) then {
[_ammos,_motor,"add"] call donn_cascar_tuAmmo;
_motor setVariable [>
16:15:17   Error position: <donn_cascar_tuAmmo;
_motor setVariable [>
16:15:17   Error Undefined variable in expression: donn_cascar_tuammo
16:15:17 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 395
16:15:17 Error in expression <ot1,ceil (_crewCount/_lootCutter)] call donn_selectLoot);
_gunnerPos = 0;
for >
16:15:17   Error position: <donn_selectLoot);
_gunnerPos = 0;
for >
16:15:17   Error Undefined variable in expression: donn_selectloot
16:15:17 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 410
16:15:21 UnExpected call of CreateVehicle for 'Logic', pos(0.000000.2,1.447691.2,0.000000.2). Vehicles with brain cannot be created using 'createVehicle'!
16:15:26 Error in expression <;
[_spawn select 0,_rosa_group,_speed,donn_wps] call donn_makeroute;
sleep _>
16:15:26   Error position: <donn_wps] call donn_makeroute;
sleep _>
16:15:26   Error Undefined variable in expression: donn_wps
16:15:26 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 526

Thanks!

Link to comment
Share on other sites

  On 2/17/2018 at 12:37 PM, victorks said:
Expand  

So, I'm about to give up on this one. I added the line in the quote above but the AI still don't shoot and you still can't kill them and they still don't move.

RPT says this:

20:00:07 "[CASCA CONVOY] Initialized Spawn! 1"
20:00:07 Error in expression < from 1 to _mags do {
_unit addMagazine _magazine;
};
_unit addweapon _weapon;
_>
20:00:07   Error position: <_magazine;
};
_unit addweapon _weapon;
_>
20:00:07   Error Undefined variable in expression: _magazine
20:00:07 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 141
20:00:07 Error in expression <ot1,ceil (_crewCount/_lootCutter)] call donn_selectLoot);


_gunnerPos = 0;
for >
20:00:07   Error position: <donn_selectLoot);


_gunnerPos = 0;
for >
20:00:07   Error Undefined variable in expression: donn_selectloot
20:00:07 File mpmissions\__cur_mp.chernarus\scripts\andre_convoy\andre_convoy.sqf, line 410
20:00:07 Error in expression < from 1 to _mags do {
_unit addMagazine _magazine;
Link to comment
Share on other sites

  • 2 weeks later...
  On 3/2/2018 at 6:28 AM, Vendetta5555 said:

What can you say about this

Скриншот 2018-03-02 09_26_14.jpg

Expand  

try to put this in your andre_convoy.sqf

  Reveal hidden contents
 

 

Link to comment
Share on other sites

 

and in your andre_convoy_functions.sqf put this
  Reveal hidden contents

This should fix the bug of the bots in the water

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

I can see these errors sometimes when  patrols spawn:

  Reveal hidden contents

Any idea viktorks whats causing it?

 

Edit:

Found why, Had the coords without the last number (number 40 at the example) eg: [[10553.8, 5373, 0.1],[],6,40],

Link to comment
Share on other sites

  • 9 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...