Hello there. I want to remove the central bank dome door locks. How and in what script can I edit it?
Central Bank
-
- Altis Life
-
Frenzy -
2. Mai 2021 um 04:04 -
Erledigt
Hinweis zur Zukunft von Nodezone
Das neue Nodezone befindet sich in der finalen Entwicklungsphase. Mit dem geplanten Start wird das bisherige Forum auf Read Only umgestellt und künftig als Archiv erhalten bleiben.
Alle Informationen zur neuen Plattform, zur Accountübernahme und zum weiteren Ablauf findest du hier: Zum aktuellen Nodezone Beitrag
Das neue Nodezone befindet sich in der finalen Entwicklungsphase. Mit dem geplanten Start wird das bisherige Forum auf Read Only umgestellt und künftig als Archiv erhalten bleiben.
Alle Informationen zur neuen Plattform, zur Accountübernahme und zum weiteren Ablauf findest du hier: Zum aktuellen Nodezone Beitrag
-
-
File: life_server/init.sqf
Line: 194 - 199Codefor "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false;Just comment it out like this:
Code/* for "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false; */And u could delete the boltcutter if you want to
-
File: life_server/init.sqf
Line: 194 - 199Codefor "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false;Just comment it out like this:
Code/* for "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false; */And u could delete the boltcutter if you want to
Thank you for help.
How do I lock the doors of this object? This has 2 doors and I want to lock these 2 doors. Land_Cargo_HQ_V1_F -
-
Thanks for your help bro. But everything went wrong. Land_Dome_Big_F appears to have its doors still locked. I did what he said but it's still the same. Land_Cargo_HQ_V1_F < I will also move the cargo safe in the central bank into it and I just want 2 doors of this building to be locked.
-
I did as you describe the central bank building that is locked. But it didn't happen and it still seems to be locked, and bugs are constantly popping up.
-
your server / client log with the bugs would help
could u send us your code where you lock the doors?
-
your server / client log with the bugs would help
could u send us your code where you lock the doors?
hey man . I guess I took care of the problem. I just arranged it that way. I did not uninstall or delete anything. I made the true ones false.
seems to be working? would it be that way?
life_server\init.sqf
Code
Alles anzeigen/* Setup the federal reserve building(s) */ private _vaultHouse = [[["Altis", "Land_Research_house_V1_F"], ["Tanoa", "Land_Medevac_house_V1_F"]]] call TON_fnc_terrainSort; private _altisArray = [16019.5,16952.9,0]; private _tanoaArray = [11074.2,11501.5,0.00137329]; private _pos = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort; _dome = nearestObject [_pos,"Land_Dome_Big_F"]; _rsb = nearestObject [_pos,_vaultHouse]; for "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,false]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",false,false]; _rsb setVariable ["locked",false,false]; _rsb setVariable ["bis_disabled_Door_1",1,false]; _dome allowDamage false; _rsb allowDamage false; -
hey man . I guess I took care of the problem. I just arranged it that way. I did not uninstall or delete anything. I made the true ones false.
seems to be working? would it be that way?
life_server\init.sqf
Code
Alles anzeigen/* Setup the federal reserve building(s) */ private _vaultHouse = [[["Altis", "Land_Research_house_V1_F"], ["Tanoa", "Land_Medevac_house_V1_F"]]] call TON_fnc_terrainSort; private _altisArray = [16019.5,16952.9,0]; private _tanoaArray = [11074.2,11501.5,0.00137329]; private _pos = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort; _dome = nearestObject [_pos,"Land_Dome_Big_F"]; _rsb = nearestObject [_pos,_vaultHouse]; for "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,false]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",false,false]; _rsb setVariable ["locked",false,false]; _rsb setVariable ["bis_disabled_Door_1",1,false]; _dome allowDamage false; _rsb allowDamage false;yes, it should work.
Did u want to get rid of all the locked doors?
There is the vaulthouse (where the safe is) and the dome around the vault house, currently both is unlocked -
yes, it should work.
Did u want to get rid of all the locked doors?
There is the vaulthouse (where the safe is) and the dome around the vault house, currently both is unlockedYes I wanted to remove all locks. I did it this way. the dome locks unlocked but tells me to open the doors again.