tade922 Posted April 6, 2015 Report Share Posted April 6, 2015 You know not to get in the car next to the bandit normal player help pls Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 6, 2015 Report Share Posted April 6, 2015 You want to prevent Bandits from entering normal player's vehicle? Link to comment Share on other sites More sharing options...
0 tade922 Posted April 7, 2015 Author Report Share Posted April 7, 2015 Just to have prevented Link to comment Share on other sites More sharing options...
0 Guest Posted April 7, 2015 Report Share Posted April 7, 2015 You want to prevent Bandits from entering normal player's vehicle? How the hell did you Translate that? Gosh that's amazing, i didn't understand a word.. Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 8, 2015 Report Share Posted April 8, 2015 How the hell did you Translate that? Gosh that's amazing, i didn't understand a word.. Need to read it carefully and switch the words around. Not that hard. Just like a baby trying to talk Link to comment Share on other sites More sharing options...
0 tade922 Posted April 14, 2015 Author Report Share Posted April 14, 2015 bandit no driver! another player! Help me Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 16, 2015 Report Share Posted April 16, 2015 bandit no driver! another player! Help me Use Google Translator please Link to comment Share on other sites More sharing options...
0 tade922 Posted April 17, 2015 Author Report Share Posted April 17, 2015 If there is a bandit in a car already you won't be able to get in until the bandit gets out. Link to comment Share on other sites More sharing options...
0 mgm Posted April 17, 2015 Report Share Posted April 17, 2015 If there is a bandit in a car already you won't be able to get in until the bandit gets out. That would be the polite thing to do anyway. how do you translate 'manners'? Link to comment Share on other sites More sharing options...
0 Guest Posted April 17, 2015 Report Share Posted April 17, 2015 I think i finally got, what he means? If a Bandit is in a Vehicle (- humanity) a hero (+ humanity) won't be able to get in, that's default from dayz. I guess he want's to disable that. Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 17, 2015 Report Share Posted April 17, 2015 I think i finally got, what he means? If a Bandit is in a Vehicle (- humanity) a hero (+ humanity) won't be able to get in, that's default from dayz. I guess he want's to disable that. Are you sure it works that way ? Or just the people with bandit and hero skins? Link to comment Share on other sites More sharing options...
0 Guest Posted April 17, 2015 Report Share Posted April 17, 2015 Are you sure it works that way ? Or just the people with bandit and hero skins? No, i'm not sure. It's just what i guessed, from this: If there is a bandit in a car already you won't be able to get in until the bandit gets out. But i know, that you can't get in a car driven by a bandit, if you are a hero. Same, if you try to enter an ai vehicle.. Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 18, 2015 Report Share Posted April 18, 2015 But i know, that you can't get in a car driven by a bandit, if you are a hero. Same, if you try to enter an ai vehicle.. You cant Enter AI Vehicles becuase they are East Side and we are West Link to comment Share on other sites More sharing options...
0 tade922 Posted April 18, 2015 Author Report Share Posted April 18, 2015 yes, we have this problem, when one bandit sit into one vehicle the normal player and hero player too cant sit into. So thats the problem what we have, please if you know the solution pls send it to me. Thank for your help Daryl Link to comment Share on other sites More sharing options...
0 seelenapparat Posted April 18, 2015 Report Share Posted April 18, 2015 I know the solution is on this forum somewhere. I dont remember it correctly but I think it had something to do with player_switchmodel and an entry like _unit joinsilent group. thats what I remember, hope someone knows where to look for the solution. Link to comment Share on other sites More sharing options...
0 tade922 Posted April 18, 2015 Author Report Share Posted April 18, 2015 I need the strait solution. Dont you remember anything else? :) Link to comment Share on other sites More sharing options...
0 Gr8 Posted April 18, 2015 Report Share Posted April 18, 2015 In your player_switchModel.sqf Find : _newUnit setDir _dir; Add this under : // Gr8's Fix for Skins [_newUnit] joinSilent createGroup WEST; Link to comment Share on other sites More sharing options...
0 tade922 Posted April 18, 2015 Author Report Share Posted April 18, 2015 looks like this, but not good :( Link to comment Share on other sites More sharing options...
0 tade922 Posted April 18, 2015 Author Report Share Posted April 18, 2015 private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"]; _class = _this; _position = getPosATL player; _dir = getDir player; _currentAnim = animationState player; _tagSetting = player getVariable["DZE_display_name",false]; _playerUID = getPlayerUID player; _weapons = weapons player; _zupaMags = magazines player; _countMags = call player_countMagazines; _magazines = _countMags select 0; _cashMoney = player getVariable["cashMoney",0]; _bankMoney = player getVariable["bankMoney",0]; _cashMoney2 = player getVariable["headShots",0]; _bankMoney2 = player getVariable["bank",0]; _cId = player getVariable["CharacterID",0]; _humanity = player getVariable["humanity",0]; if ((_playerUID == dayz_playerUID) && (count _magazines == 0) && (count (magazines player) > 0 )) exitWith {cutText [(localize "str_epoch_player_17"), "PLAIN DOWN"]}; _primweapon = primaryWeapon player; _secweapon = secondaryWeapon player; if(!(_primweapon in _weapons) && _primweapon != "") then { _weapons = _weapons + [_primweapon]; }; if(!(_secweapon in _weapons) && _secweapon != "") then { _weapons = _weapons + [_secweapon]; }; //BackUp Backpack dayz_myBackpack = unitBackpack player; _newBackpackType = (typeOf dayz_myBackpack); if(_newBackpackType != "") then { _backpackWpn = getWeaponCargo unitBackpack player; _backpackMag = _countMags select 1; }; //Get Muzzle _currentWpn = currentWeapon player; _muzzles = getArray(configFile >> "cfgWeapons" >> _currentWpn >> "muzzles"); if (count _muzzles > 1) then { _currentWpn = currentMuzzle player; }; //Secure Player for Transformation player setPosATL dayz_spawnPos; //BackUp Player Object _oldUnit = player; _oldGroup = group player; /**********************************/ //DONT USE player AFTER THIS POINT// /**********************************/ //Create New Character _group = createGroup west; _newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"]; _newUnit setPosATL _position; _newUnit setDir _dir; // Gr8's Fix for Skins [_newUnit] joinSilent createGroup WEST; //Clear New Character {_newUnit removeMagazine _x;} count magazines _newUnit; removeAllWeapons _newUnit; //Equip New Charactar { if (typeName _x == "ARRAY") then {if ((count _x) > 0) then {_newUnit addMagazine [(_x select 0), (_x select 1)]; }; } else { _newUnit addMagazine _x; }; } count _magazines; { _newUnit addWeapon _x; } count _weapons; //Check && Compare it if(str(_weapons) != str(weapons _newUnit)) then { //Get Differecnce { _weapons = _weapons - [_x]; } count (weapons _newUnit); //Add the Missing { _newUnit addWeapon _x; } count _weapons; }; if(_primweapon != (primaryWeapon _newUnit)) then { _newUnit addWeapon _primweapon; }; if (_primweapon == "MeleeCrowbar") then { _newUnit addMagazine 'crowbar_swing'; }; if (_primweapon == "MeleeSledge") then { _newUnit addMagazine 'sledge_swing'; }; if (_primweapon == "MeleeHatchet_DZE") then { _newUnit addMagazine 'Hatchet_Swing'; }; if (_primweapon == "MeleeMachete") then { _newUnit addMagazine 'Machete_swing'; }; if (_primweapon == "MeleeFishingPole") then { _newUnit addMagazine 'Fishing_Swing'; }; if(_secweapon != (secondaryWeapon _newUnit) && _secweapon != "") then { _newUnit addWeapon _secweapon; }; if(isNil "_cashMoney")then{_cashMoney = 0;}; if(isNil "_bankMoney")then{_bankMoney = 0;}; if(isNil "_cashMoney2")then{_cashMoney2 = 0;}; if(isNil "_bankMoney2")then{_bankMoney2 = 0;}; _newUnit setVariable ["cashMoney",_cashMoney,true]; _newUnit setVariable ["bankMoney",_bankMoney]; _newUnit setVariable ["headShots",_cashMoney2,true]; _newUnit setVariable ["bank",_bankMoney2]; _newUnit setVariable["CharacterID",_cId,true]; //set humanity back to what it was _newUnit setVariable["humanity",_humanity,true]; _switchUnit = { addSwitchableUnit _newUnit; setPlayable _newUnit; selectPlayer _newUnit; if ((count units _oldGroup > 1) && (!isNil "PVDZE_plr_LoginRecord")) then {[player] join _oldGroup;}; removeAllWeapons _oldUnit; {_oldUnit removeMagazine _x;} count magazines _oldUnit; deleteVehicle _oldUnit; if(_currentWpn != "") then {_newUnit selectWeapon _currentWpn;}; }; //Add && Fill BackPack removeBackpack _newUnit; if (!isNil "_newBackpackType") then { if (_newBackpackType != "") then { _newUnit addBackpack _newBackpackType; dayz_myBackpack = unitBackpack _newUnit; //Weapons _backpackWpnTypes = []; _backpackWpnQtys = []; if (count _backpackWpn > 0) then { _backpackWpnTypes = _backpackWpn select 0; _backpackWpnQtys = _backpackWpn select 1; }; [] call _switchUnit; if (gear_done) then {sleep 0.001;}; ["1"] call gearDialog_create; //magazines _countr = 0; { if (!(isClass(configFile >> "CfgWeapons" >> _x))) then { _countr = _countr + 1; if ((typeName _x) != "STRING") then { (unitBackpack player) addMagazineCargoGlobal [(_x select 0), 1]; _idc = 4999 + _countr; _idc setIDCAmmoCount (_x select 1); } else { (unitBackpack player) addMagazineCargoGlobal [_x, 1]; }; }; } count _backpackMag; (findDisplay 106) closeDisplay 0; _countr = 0; { (unitBackpack player) addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)]; _countr = _countr + 1; } count _backpackWpnTypes; } else { [] call _switchUnit; }; } else { [] call _switchUnit; }; [objNull, player, rSwitchMove,_currentAnim] call RE; player disableConversation true; { if( !(_x in _weapons))then { [_x] call player_checkAndRemoveItems; }; }count (weapons player); { if( !(_x in _zupaMags))then { [_x] call player_checkAndRemoveItems; }; }count (magazines player); //player setVariable ["bodyName",dayz_playerName,true]; //Outcommit (Issue #991) - Also removed in DayZ Mod 1.8 player setVariable ["cashMoney",_cashMoney,true]; player setVariable ["bankMoney",_bankMoney]; player setVariable ["headShots",_cashMoney2,true]; player setVariable ["bank",_bankMoney2]; player setVariable ["CharacterID",_cId,true]; //set humanity back to what it was player setVariable["humanity",_humanity,true]; if (_tagSetting) then { DZE_ForceNameTags = true; }; _playerUID = getPlayerUID player; _playerObjName = format["PVDZE_player%1",_playerUID]; call compile format["%1 = player;",_playerObjName]; publicVariableServer _playerObjName; //Outcommit in DayZ 1.8 No clue for what this is - Skaronator //melee check _wpnType = primaryWeapon player; _ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee")); if (_ismelee == "true") then { call dayz_meleeMagazineCheck; }; //reveal the same objects we do on login {player reveal _x} count (nearestObjects [getPosATL player, dayz_reveal, 50]); Link to comment Share on other sites More sharing options...
0 tade922 Posted April 19, 2015 Author Report Share Posted April 19, 2015 help pls Link to comment Share on other sites More sharing options...
0 axeman Posted April 19, 2015 Report Share Posted April 19, 2015 Check the bandits rating, once a players rating goes below -2000 they automatically join side ENEMY. https://community.bistudio.com/wiki/addRating SchwEde 1 Link to comment Share on other sites More sharing options...
0 tade922 Posted April 25, 2015 Author Report Share Posted April 25, 2015 help pls :( Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 25, 2015 Report Share Posted April 25, 2015 if i understood that right just put this at the end of your init.sqf player addRating 2000; and your problem should be fixed Thanks axeman for the Info ^_^ Link to comment Share on other sites More sharing options...
Question
tade922
You know not to get in the car next to the bandit normal player
help pls
Link to comment
Share on other sites
22 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now