Jump to content

ZEVMission


Eugene

Recommended Posts

Hi Guys,

 

just going thru my logs and found this

20:06:17 "DEBUG (Load Player) Set Group: 76561198045147409"

20:06:17 Error in expression <tic = _this select 1;
_ret    = [];
if (_static == 1) then
{
_parms = ZEVStaticA>
20:06:17   Error position: <_static == 1) then
{
_parms = ZEVStaticA>
20:06:17   Error Undefined variable in expression: _static
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionGetActiveMissionParms.sqf, line 19
20:06:17 Error in expression <e "ZEVMissionStatic";
_missionParms = [_missionIndex, _static] call ZEVMissionG>
20:06:17   Error position: <_missionIndex, _static] call ZEVMissionG>
20:06:17   Error Undefined variable in expression: _missionindex
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 33
20:06:17 Error in expression <ect 3;
_aiPos = [(_aiPos select 0) + (_locationPos select 0), (_aiPos select 1>
20:06:17   Error position: <_locationPos select 0), (_aiPos select 1>
20:06:17   Error Undefined variable in expression: _locationpos
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionSelectPos.sqf, line 20
20:06:17 Error in expression <
}
else
{
_aiPos = [_aiPos, _aiPosType, _locationPos, _locationRadius] call ZEVM>
20:06:17   Error position: <_locationPos, _locationRadius] call ZEVM>
20:06:17   Error Undefined variable in expression: _locationpos
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 74
20:06:17 Error in expression <onGetActiveMissionParms;
_locationPos = _missionParms select 0;
_locationRadius >
20:06:17   Error position: <_missionParms select 0;
_locationRadius >
20:06:17   Error Undefined variable in expression: _missionparms
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 34
20:06:17 Error in expression <ponAndMag select 6;
 
_aiweaponAndMag = [_missionIndex, _aiweapon, _aimags, _stat>
20:06:17   Error position: <_missionIndex, _aiweapon, _aimags, _stat>
20:06:17   Error Undefined variable in expression: _missionindex
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionAddWeapon.sqf, line 31
20:06:17 Error in expression <NVG_EPOCH";
 
[_aiunit, _aiweaponAndMag, _static, _missionIndex] call ZEVMissionA>
20:06:17   Error position: <_static, _missionIndex] call ZEVMissionA>
20:06:17   Error Undefined variable in expression: _static
20:06:17 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 119
20:06:18 Error in expression <tic = _this select 1;
_ret    = [];
if (_static == 1) then
{
_parms = ZEVStaticA>
20:06:18   Error position: <_static == 1) then
{
_parms = ZEVStaticA>
20:06:18   Error Undefined variable in expression: _static
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionGetActiveMissionParms.sqf, line 19
20:06:18 Error in expression <ect 3;
_aiPos = [(_aiPos select 0) + (_locationPos select 0), (_aiPos select 1>
20:06:18   Error position: <_locationPos select 0), (_aiPos select 1>
20:06:18   Error Undefined variable in expression: _locationpos
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionSelectPos.sqf, line 20
20:06:18 Error in expression <
}
else
{
_aiPos = [_aiPos, _aiPosType, _locationPos, _locationRadius] call ZEVM>
20:06:18   Error position: <_locationPos, _locationRadius] call ZEVM>
20:06:18   Error Undefined variable in expression: _locationpos
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 74
20:06:18 Error in expression <e "ZEVMissionStatic";
_missionParms = [_missionIndex, _static] call ZEVMissionG>
20:06:18   Error position: <_missionIndex, _static] call ZEVMissionG>
20:06:18   Error Undefined variable in expression: _missionindex
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 33
20:06:18 Error in expression <ponAndMag select 6;
 
_aiweaponAndMag = [_missionIndex, _aiweapon, _aimags, _stat>
20:06:18   Error position: <_missionIndex, _aiweapon, _aimags, _stat>
20:06:18   Error Undefined variable in expression: _missionindex
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddWeapon.sqf, line 31
20:06:18 Error in expression <NVG_EPOCH";
 
[_aiunit, _aiweaponAndMag, _static, _missionIndex] call ZEVMissionA>
20:06:18   Error position: <_static, _missionIndex] call ZEVMissionA>
20:06:18   Error Undefined variable in expression: _static
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 119
20:06:18 Error in expression <tic = _this select 1;
_ret    = [];
if (_static == 1) then
{
_parms = ZEVStaticA>
20:06:18   Error position: <_static == 1) then
{
_parms = ZEVStaticA>
20:06:18   Error Undefined variable in expression: _static
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionGetActiveMissionParms.sqf, line 19
20:06:18 Error in expression <e "ZEVMissionStatic";
_missionParms = [_missionIndex, _static] call ZEVMissionG>
20:06:18   Error position: <_missionIndex, _static] call ZEVMissionG>
20:06:18   Error Undefined variable in expression: _missionindex
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 33
20:06:18 Error in expression <ect 3;
_aiPos = [(_aiPos select 0) + (_locationPos select 0), (_aiPos select 1>
20:06:18   Error position: <_locationPos select 0), (_aiPos select 1>
20:06:18   Error Undefined variable in expression: _locationpos
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionSelectPos.sqf, line 20
20:06:18 Error in expression <
}
else
{
_aiPos = [_aiPos, _aiPosType, _locationPos, _locationRadius] call ZEVM>
20:06:18   Error position: <_locationPos, _locationRadius] call ZEVM>
20:06:18   Error Undefined variable in expression: _locationpos
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 74
20:06:18 Error in expression <onGetActiveMissionParms;
_locationPos = _missionParms select 0;
_locationRadius >
20:06:18   Error position: <_missionParms select 0;
_locationRadius >
20:06:18   Error Undefined variable in expression: _missionparms
20:06:18 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 34
20:06:19 Error in expression <ponAndMag select 6;
 
_aiweaponAndMag = [_missionIndex, _aiweapon, _aimags, _stat>
20:06:19   Error position: <_missionIndex, _aiweapon, _aimags, _stat>
20:06:19   Error Undefined variable in expression: _missionindex
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddWeapon.sqf, line 31
20:06:19 Error in expression <NVG_EPOCH";
 
[_aiunit, _aiweaponAndMag, _static, _missionIndex] call ZEVMissionA>
20:06:19   Error position: <_static, _missionIndex] call ZEVMissionA>
20:06:19   Error Undefined variable in expression: _static
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 119
20:06:19 Error in expression <tic = _this select 1;
_ret    = [];
if (_static == 1) then
{
_parms = ZEVStaticA>
20:06:19   Error position: <_static == 1) then
{
_parms = ZEVStaticA>
20:06:19   Error Undefined variable in expression: _static
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionGetActiveMissionParms.sqf, line 19
20:06:19 Error in expression <ect 3;
_aiPos = [(_aiPos select 0) + (_locationPos select 0), (_aiPos select 1>
20:06:19   Error position: <_locationPos select 0), (_aiPos select 1>
20:06:19   Error Undefined variable in expression: _locationpos
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionSelectPos.sqf, line 20
20:06:19 Error in expression <
}
else
{
_aiPos = [_aiPos, _aiPosType, _locationPos, _locationRadius] call ZEVM>
20:06:19   Error position: <_locationPos, _locationRadius] call ZEVM>
20:06:19   Error Undefined variable in expression: _locationpos
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 74
20:06:19 Error in expression <e "ZEVMissionStatic";
_missionParms = [_missionIndex, _static] call ZEVMissionG>
20:06:19   Error position: <_missionIndex, _static] call ZEVMissionG>
20:06:19   Error Undefined variable in expression: _missionindex
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 33
20:06:19 Error in expression <ponAndMag select 6;
 
_aiweaponAndMag = [_missionIndex, _aiweapon, _aimags, _stat>
20:06:19   Error position: <_missionIndex, _aiweapon, _aimags, _stat>
20:06:19   Error Undefined variable in expression: _missionindex
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddWeapon.sqf, line 31
20:06:19 Error in expression <NVG_EPOCH";
 
[_aiunit, _aiweaponAndMag, _static, _missionIndex] call ZEVMissionA>
20:06:19   Error position: <_static, _missionIndex] call ZEVMissionA>
20:06:19   Error Undefined variable in expression: _static
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddAIUnit.sqf, line 119
20:06:19 Error in expression <tic = _this select 1;
_ret    = [];
if (_static == 1) then
{
_parms = ZEVStaticA>
20:06:19   Error position: <_static == 1) then
{
_parms = ZEVStaticA>
20:06:19   Error Undefined variable in expression: _static
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionGetActiveMissionParms.sqf, line 19
20:06:19 Error in expression <tic";
_missionParms = [_missionIndex, _static] call ZEVMissionGetActiveMission>
20:06:19   Error position: <_static] call ZEVMissionGetActiveMission>
20:06:19   Error Undefined variable in expression: _static
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddWayPoints.sqf, line 27
20:06:19 Error in expression <select 10;
_px = (_wpPos select 0) + (_locationPos select 0);
_py = (_wpPos >
20:06:19   Error position: <_locationPos select 0);
_py = (_wpPos >
20:06:19   Error Undefined variable in expression: _locationpos
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddWayPoints.sqf, line 77
20:06:19 Error in expression <etActiveMissionParms;
_locationPos   = _missionParms select 0;
_locationRadius >
20:06:19   Error position: <_missionParms select 0;
_locationRadius >
20:06:19   Error Undefined variable in expression: _missionparms
20:06:19 File x\addons\ZEVMission\ZEV\ZEVMissionAddWayPoints.sqf, line 28
20:06:21 Speaker Male01_F not found in CfgVoiceTypes
20:06:25 "DEBUG SPAWN LOOT IN VEH: ChairProxy_EPOCH Hand SmokeShellBlue type:magazine"

 
But i didnt change anything in the Original Missionfile.
 
Just wanna know if someone has also this log"issue"?
 
Greetings
T
 
 
P.S: Its in the middle of the log not a startinglog! The ZEV Missions are working
Link to comment
Share on other sites

 

anyone

how do i make it where you don't get kicked off the static HMG

also, is there a way to change the vehicles in the convoy

 

You will need to add the exception for the kick in your BE filters. Also, what vehicle are you trying to change it to? All you need to do is add the vehicle you want to the file. The file to update is ZEVMissions.sqf, I have modified mine, but the trucks start at line 1739, 1809,1875, 1919. Change this: ["B_G_Offroad_01_armed_F", to the vehicle you want. I think they were originally I_G_Offroad_01_armed_F or something like that.

Link to comment
Share on other sites

You will need to add the exception for the kick in your BE filters. Also, what vehicle are you trying to change it to? All you need to do is add the vehicle you want to the file. The file to update is ZEVMissions.sqf, I have modified mine, but the trucks start at line 1739, 1809,1875, 1919. Change this: ["B_G_Offroad_01_armed_F", to the vehicle you want. I think they were originally I_G_Offroad_01_armed_F or something like that.

 

Thank you for replying. I will change the vehicle as you said above.

 

About getting kicked off the HMG, it isn't a battleeye restriction. There is no error, and I don't get kicked- i added the exception. It lets you mount it for 1 sec, then kicks you off the gun, and then isn't accessible after. I was wanting to be able to allow players to pack the HMG and put it at their base if they wanted. 

Link to comment
Share on other sites

Currently I am looking line by line for the code to remove the add krypto part, and also trying to dumb down the ai in the HMG's slightly. They are currently "spot-insta-kill"

 

So for the first I did find this: ZEVMissionAddAIUnit.sqf. Maybe set it to false? I think I'm gonna try that first.

 

_aiunit setVariable ["CashMoney", _cashmoney, true];

 

And here for the skill, besides the area the skill has already been mentioned in this thread, which is lowered slightly

 

["aimingAccuracy",0.80],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",0.80],["spotTime",0.80],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]

 

This ^^^ is in like 3 or 4 places in the convoy code in ZEVMission.sqf Lines 1792, 1858, 1902. I think also maybe here: ["I_Soldier_EPOCH", "Random", [-4612.00, -14136.00, 0.00], "COMBAT","RED",1.00,

 

Anyone have any luck with AI skill or removing money yet before I make changes?

 

.EDIT: Just found this, going to comment this out. Line 68 ZEVMissionBodyclean.sqf

 

[["effectCrypto", (20 + round(random(80)))],(owner _aiKiller)]call EPOCH_sendPublicVariableClient;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...