IT07 Posted April 13, 2016 Author Report Share Posted April 13, 2016 config.cpp >> CfgVemfReloaded >> MI >> cal50delMode = 1; // 1 is delete, 2 is destroy Link to comment Share on other sites More sharing options...
Teacher Posted April 13, 2016 Report Share Posted April 13, 2016 11 hours ago, IT07 said: config.cpp >> CfgVemfReloaded >> MI >> cal50delMode = 1; // 1 is delete, 2 is destroy The fact of the matter, we have configured everything as it should! Oh yeah and also, they disappear when you come on a mission, a distance of 290 metres, not after! Link to comment Share on other sites More sharing options...
IT07 Posted April 14, 2016 Author Report Share Posted April 14, 2016 I am unable to research the issue at this point in time because I am focusing my resources into the Exile version of VEMFr. Link to comment Share on other sites More sharing options...
Scorpi Posted April 26, 2016 Report Share Posted April 26, 2016 Hi IT07, can you fix? I'm using 0.3.8 RPT log Spoiler 23:05:53 Error in expression <'; _vars = _killer getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:53 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:53 Error +: Type code, expected Number,Array,String,Not a Number 23:05:53 File Epoch_VEMF_Reloaded\functions\fn_aiKilled.sqf, line 58 23:05:53 Ragdoll - loading of ragdoll source "Soldier" started. 23:05:53 Ragdoll - loading of ragdoll source "Soldier" finished successfully. 23:05:55 Error in expression <'; _vars = _killer getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:55 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:55 Error +: Type code, expected Number,Array,String,Not a Number 23:05:55 File Epoch_VEMF_Reloaded\functions\fn_aiKilled.sqf, line 58 23:05:58 Error in expression <'; _vars = _killer getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:58 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:05:58 Error +: Type code, expected Number,Array,String,Not a Number 23:05:58 File Epoch_VEMF_Reloaded\functions\fn_aiKilled.sqf, line 58 23:06:00 Error in expression <'; _vars = _killer getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:06:00 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 23:06:00 Error +: Type code, expected Number,Array,String,Not a Number 23:06:00 File Epoch_VEMF_Reloaded\functions\fn_aiKilled.sqf, line 58 thanks Link to comment Share on other sites More sharing options...
IT07 Posted April 26, 2016 Author Report Share Posted April 26, 2016 It looks like someone modified the code because I don't recognize the EPOCH_defaultVars_SEPXVar Link to comment Share on other sites More sharing options...
Scorpi Posted April 26, 2016 Report Share Posted April 26, 2016 VEMF is not modified ! I'm using no mods or scripts useCryptoReward = -1; // no problem useCryptoReward = 1;// problem Spoiler 10:39:12 Error in expression <'; _vars = _killer getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 10:39:12 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 10:39:12 Error +: Type code, expected Number,Array,String,Not a Number 10:39:12 File Epoch_VEMF_Reloaded\functions\fn_aiKilled.sqf, line 58 Link to comment Share on other sites More sharing options...
IT07 Posted April 26, 2016 Author Report Share Posted April 26, 2016 I'm working on an update. klinGiii 1 Link to comment Share on other sites More sharing options...
Scorpi Posted April 26, 2016 Report Share Posted April 26, 2016 ok Link to comment Share on other sites More sharing options...
obermaig Posted May 30, 2016 Report Share Posted May 30, 2016 hi , what about useCryptoReward Problem? Some solutions? greeting Link to comment Share on other sites More sharing options...
He-Man Posted May 30, 2016 Report Share Posted May 30, 2016 Sounds like it is the same as here: Link to comment Share on other sites More sharing options...
Scorpi Posted May 30, 2016 Report Share Posted May 30, 2016 fn_aiKilled.sqf (quickfix) works fine! Spoiler /* VEMF AI Killed by Vampire, rewritten by IT07 Description: removes launchers if desired and announces the kill if enabled in config.cpp Params: _this select 0: OBJECT - the killed AI _this select 1: OBJECT - killer Returns: nothing */ _target = [_this, 0, objNull, [objNull]] call BIS_fnc_param; if not isNull _target then { _target removeAllEventHandlers "MPKilled"; _settings = [["keepLaunchers","keepAIbodies"]] call VEMFr_fnc_getSetting; _keepLaunchers = [_settings, 0, -1, [0]] call BIS_fnc_param; if (_keepLaunchers isEqualTo -1) then { _secWeapon = secondaryWeapon _target; if not(_secWeapon isEqualTo "") then { _target removeWeaponGlobal _secWeapon; _missiles = getArray (configFile >> "cfgWeapons" >> _secWeapon >> "magazines"); { if (_x in _missiles) then { _target removeMagazineGlobal _x; }; } forEach (magazines _target); }; }; _killer = [_this, 1, objNull, [objNull]] call BIS_fnc_param; if not isNull _killer then { if (vehicle _killer isEqualTo _killer) then // No roadkills please { if ("useCryptoReward" call VEMFr_fnc_getSetting isEqualTo 1) then { // Give the player money for killing an AI _maxReward = "maxCryptoReward" call VEMFr_fnc_getSetting; _calcReward = { private ["_reward","_dist","_maxReward"]; _reward = 0; _dist = _this select 0; _maxReward = _this select 1; if (_dist < 50) exitWith { _reward = _maxReward - (_maxReward / 1.25); _reward }; if (_dist < 100) exitWith { _reward = _maxReward - (_maxReward / 1.5); _reward }; if (_dist > 800) exitWith { _reward = _maxReward - (_maxReward / 2); _reward }; if (_dist < 800) exitWith { _reward = _maxReward - (_maxReward / 4); _reward }; }; _bonus = round ([_target distance _killer, _maxReward] call _calcReward); _varIndex = EPOCH_customVars find 'Crypto'; _vars = _killer getVariable['VARS', call EPOCH_defaultVars_SEPXVar]; _curcrypt = _vars select _varIndex; _newcrypt = _curcrypt + _bonus; _newcrypt remoteExec ['EPOCH_effectCrypto',(owner _killer)]; _vars set[_varIndex,_newcrypt]; _killer setVariable ["VARS", _vars]; }; if ("sayKilled" call VEMFr_fnc_getSetting isEqualTo 1) then // Send kill message if enabled { _dist = _target distance _killer; if (_dist > -1) then { if (isPlayer _killer) then // Should prevent Error:NoUnit { _curWeapon = currentWeapon _killer; _kMsg = format["[VEMF] %1: AI kill from %2m with %3", name _killer, round _dist, getText(configFile >> "CfgWeapons" >> _curWeapon >> "DisplayName")]; _sent = [_kMsg, "sys"] spawn VEMFr_fnc_broadCast; }; }; }; }; if not (vehicle _killer isEqualTo _killer) then { // Send kill message if enabled if (("sayKilled" call VEMFr_fnc_getSetting) isEqualTo 1) then { if ((_target distance _killer) < 5) then { if (isPlayer _killer) then // Should prevent Error:NoUnit { _kMsg = format["[VEMF] %1: AI road-kill with %2", name _killer, getText(configFile >> "CfgVehicles" >> typeOf(vehicle _killer) >> "DisplayName")]; _sent = [_kMsg, "sys"] spawn VEMFr_fnc_broadCast; }; }; }; }; }; if ((_settings select 1) isEqualTo -1) then // If killEffect enabled { playSound3D ["A3\Missions_F_Bootcamp\data\sounds\vr_shutdown.wss", _target, false, getPosASL _target, 2, 1, 60]; for "_u" from 1 to 8 do { if not(isObjectHidden _target) then { _target hideObjectGlobal true; } else { _target hideObjectGlobal false; }; uiSleep 0.15; }; _target hideObjectGlobal true; removeAllWeapons _target; // Automatic cleanup yaaay deleteVehicle _target; }; }; Link to comment Share on other sites More sharing options...
obermaig Posted May 31, 2016 Report Share Posted May 31, 2016 Many Thanks! Link to comment Share on other sites More sharing options...
Scorpi Posted May 31, 2016 Report Share Posted May 31, 2016 @obermaig is working? Link to comment Share on other sites More sharing options...
obermaig Posted June 10, 2016 Report Share Posted June 10, 2016 On 31.5.2016 at 11:38 AM, Scorpi said: @obermaig is working? Oh, sorry men :o ! Yes that with reward was a great solution, many Thanks! The our players are crasy about this mission - close hoses fight, bounties.... and other player, which only wait to the crate to steal :D greeting Igor Link to comment Share on other sites More sharing options...
obermaig Posted June 10, 2016 Report Share Posted June 10, 2016 this is one of the best Mission systems! Great Job, IT07- as allways!!!! Greeting Igor IT07 1 Link to comment Share on other sites More sharing options...
Cedricolp Posted June 10, 2016 Report Share Posted June 10, 2016 GREAT SCRIPT REALY thanks for that Link to comment Share on other sites More sharing options...
Cedricolp Posted June 11, 2016 Report Share Posted June 11, 2016 Hey there i forgot to ask somthing , There is a message who say when the mission begin or end ? because we have nothing that say when you are done .. Thank you Link to comment Share on other sites More sharing options...
rvg?! Posted June 11, 2016 Report Share Posted June 11, 2016 You added the files clientside to the mission.pbo? Link to comment Share on other sites More sharing options...
Cedricolp Posted June 12, 2016 Report Share Posted June 12, 2016 Hey RVG :) yes i do maybe the wrong way ? epochehive\mpmission\epoch.Altis.pbo inside of this right? thats what i do but no message, i see the icons on map where the mission beggin, but there is no message who say when it's there or when you are done Link to comment Share on other sites More sharing options...
rvg?! Posted June 12, 2016 Report Share Posted June 12, 2016 Yepp, but you need to add the RscTitles aswell to the description.,ext Link to comment Share on other sites More sharing options...
Cedricolp Posted June 12, 2016 Report Share Posted June 12, 2016 Its what i did Spoiler class cfgFunctions { #include "VEMFr_client\CfgFunctions.hpp" }; class RscTitles { #include "VEMFr_client\gui\hpp_mainVEMFrClient.hpp" #include "addons\Status_Bar\statusBar.hpp" }; Status bar working fine but not the VEMFr Link to comment Share on other sites More sharing options...
rvg?! Posted June 12, 2016 Report Share Posted June 12, 2016 CfgFunctioons already defined in epoch.Altis\epoch_config\Configs\CfgFunctions.hpp Would add it there. Link to comment Share on other sites More sharing options...
Cedricolp Posted June 12, 2016 Report Share Posted June 12, 2016 Ho yeah didn't see that :( let me try again :) Link to comment Share on other sites More sharing options...
Cedricolp Posted June 12, 2016 Report Share Posted June 12, 2016 Spoiler class cfgFunctions { class A3 { tag = "BIS"; class functions { // BIS_fnc_returnVector class returnVector { file = "epoch_code\compile\bis_functions\returnVector.sqf"; }; }; }; class EPOCH { tag = "EPOCH"; class functions { class returnConfigEntryV2 { file = "epoch_code\compile\functions\EPOCH_fn_returnConfigEntryV2.sqf"; }; class isAny { file = "epoch_code\compile\both\EPOCH_isAny.sqf"; }; class compiler { file = "epoch_code\compile\both\EPOCH_compiler.sqf"; }; }; class Client { class init { file = "epoch_code\init\fn_init.sqf"; preInit = 1; }; class postinit { file = "epoch_code\init\fn_postinit.sqf"; postInit = 1; }; }; }; #include "VEMFr_client\CfgFunctions.hpp" }; Like this correct ? Link to comment Share on other sites More sharing options...
rvg?! Posted June 12, 2016 Report Share Posted June 12, 2016 yes, give it a try Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now