-
Content Count
255 -
Joined
-
Last visited
-
Medals
-
Medals
-
Sounds good, also the same issue in the 3CB BAF Weapons (RHS ammo compatibility) mod.
-
bearbison started following 3CB BAF Units
-
They are in the main mod, but not in the 3CB BAF Units (RHS compatibility) one which is pointed to this thread for compatibility where they are in the main directory and not an optional folder which is what is causing the issue.
-
Typewriter Styled Text and Sound Effect
bearbison replied to Kydoimos's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Nah, that was for BIS_fnc_infoText although BIS_fnc_typeText did have a problem not long after release when if I remember correctly they added some other parameters but not had a problem since then. -
Typewriter Styled Text and Sound Effect
bearbison replied to Kydoimos's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Unless I am missing something here, why not just use BIS_fnc_typeText? -
No Text In GUI From Editor?
bearbison replied to citazenman's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have a look at https://community.bistudio.com/wiki/User_Interface_Editor_(Arma_2)#Controls Shift + Ctrl + P - Clipboard Export grid proportions Ctrl + P - Clipboard Export parent classes Combine the output of the two above into your Defines.hpp -
Locking helo except for pilots
bearbison replied to heinzmcdurgen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Do you have it setup exactly the same as the test mission that I provided as I cannot see why it isn't working for you in dedi, as it works in all of our groups missions for all players without any errors? -
Locking helo except for pilots
bearbison replied to heinzmcdurgen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works in MP on a dedi server as it's the only time I play. Did you move the bracket to the correct position? A working example of the script can be seen in this test mission for you. -
Locking helo except for pilots
bearbison replied to heinzmcdurgen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Serves me right for doing the init quickly :) Should be this addEventHandler ['GetIn', {_this execVM 'scripts\Vehicle\Crew.sqf'}]; -
Locking helo except for pilots
bearbison replied to heinzmcdurgen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try this which I use for both my air and ground vehicles and prevents people from bypassing the restriction by swapping to protected seats. vehicle init this addEventHandler ['GetIn', {_this execVM 'scripts\Vehicle\Crew.sqf'}]; scripts\Vehicle\Crew.sqf /* Crew check script - v0.3 Checks for crew in positions of vehicle Created by BearBison */ /* Private variables */ private ["_Vehicle","_Soldier","_Position","_CrewCheck"]; /* Defines the variables */ _Vehicle = _this select 0; _Position = _this select 1; _Soldier = _this select 2; /* Checks the crew */ _CrewCheck = { switch (_Position) do { case "driver": { switch (true) do { case (_Vehicle isKindOf "Air"): { if (typeOf _Soldier == "B_Helipilot_F") exitWith {}; _Vehicle vehicleChat "Let's leave piloting to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; default { if (typeOf _Soldier == "B_crew_F") exitWith {}; _Vehicle vehicleChat "Let's leave driving to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; }; }; case "gunner": { switch (true) do { case (_Vehicle isKindOf "Air"): { if (typeOf _Soldier == "B_Helipilot_F") exitWith {}; _Vehicle vehicleChat "Let's leave gunning to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; default { if (typeOf _Soldier == "B_crew_F") exitWith {}; _Vehicle vehicleChat "Let's leave gunning to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; }; }; case "Turret": { switch (true) do { case (_Vehicle isKindOf "Air"): { if (typeOf _Soldier == "B_Helipilot_F") exitWith {}; _Vehicle vehicleChat "Let's leave gunning to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; default { if (typeOf _Soldier == "B_crew_F") exitWith {}; _Vehicle vehicleChat "Let's leave gunning to those with the appropriate training!"; sleep 1; _Soldier action ["getout",_Vehicle]; }; }; }; }; }; /* Calls crew check */ call _CrewCheck; /* Waits until position is changed */ waitUntil {((assignedVehicleRole _Soldier) select 0 != "cargo")||(vehicle _Soldier == _Soldier)}; sleep 1; /* Exits if no longer in a vehicle */ if (vehicle _Soldier == _Soldier) exitwith {}; /* Gets new position */ _Position = (assignedVehicleRole _Soldier) select 0; /* Calls crew check */ call _CrewCheck; -
Spectate mode through an object
bearbison replied to Richards.D's topic in ARMA 3 - MISSION EDITING & SCRIPTING
try the below that I created for my basic training mission, stops the unit moving when in spectator script and exits using Ctrl + T. Probably not the best way of doing it but only way I could figure it out. On object this addAction ["<t color='#00FF00'>Spectator</t>", "scripts\Cameras\Spectator.sqf", [], -4, false, true, "", "_this distance _target < 3"]; scripts\Cameras\Spectator.sqf /* Spectator camera script - v0.2 Runs spectator camera Created by BearBison */ /* Private variables */ private ["_Key","_RscLayer"]; /* Prevents unit moving */ (_this select 1) enableSimulation false; /* Prevents free spectator camera */ RscSpectator_allowFreeCam = false; /* Disable post processing effects for spectator */ BIS_fnc_feedback_allowPP = false; /* Runs spectator script */ _RscLayer = "BIS_fnc_respawnSpectator" call bis_fnc_rscLayer; _RscLayer cutrsc ["RscSpectator","plain"]; /* Exits spectator camera using the Ctrl + T key */ BEARB_SpectatorKeyDown = { _Key = _this select 1; if ((_Key == 20) && (_this select 3)) then { /* Enables post processing effects for spectator */ BIS_fnc_feedback_allowPP = true; /* Stops spectator script */ ("BIS_fnc_respawnSpectator" call BIS_fnc_rscLayer) cutText ["", "PLAIN"]; /* Removes event handlers detecting key press */ (findDisplay 46) displayRemoveEventHandler ["KeyDown", BEARB_SpectatorEH]; /* Allows unit moving */ player enableSimulation true; }; }; /* Ensures the primary display is found */ waitUntil {!isNull(findDisplay 46)}; /* Adds event handlers to detect key press */ BEARB_SpectatorEH = (findDisplay 46) displayAddEventHandler ["keyDown", "_this call BEARB_SpectatorKeyDown"]; -
init line for vehicles spawned during mission, not placed in editor
bearbison replied to spec10's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Not sure about with Zeus as haven't used it but through scripts, you should be able to do it with something like scripts\VehicleSpawn.sqf private["_Position","_Vehicle"]; _Position = getMarkerPos "BoatSpawn"; _Vehicle = "B_Boat_Transport_01_F" createVehicle _Position; [[[_Vehicle],"scripts\InitVehicles.sqf"],"BIS_fnc_execVM",TRUE,TRUE] call BIS_fnc_MP; Then in the following script you could define the types of vehicles etc. so you can use it for more than the one vehicle or just remove the switch and excess other bits if only going to be used for one vehicle type scripts\InitVehicles.sqf private["_Vehicle","_VehicleType ","_VehicleClass"]; _Vehicle = _this select 0; _VehicleType = typeOf _Vehicle; _VehicleClass = getText(configFile >> "CfgVehicles" >> _VehicleType >> "vehicleClass"); switch (true) do { case (_Vehicle isKindOf "Ship"): { _Vehicle addAction ["<t color='#FF9900'>Push</t>","scripts\BoatPush\Push.sqf",[],-1,false,true,"","_this distance _target < 8"]; }; ​ case (_VehicleType == "[i]classname[/i]"): { [i]someinit;[/i] }; ​ case (_Vehicle == [i]vehname[/i]): { [i]someinit;[/i] }; case (_VehicleClass == "Autonomous"): { [i]someinit;[/i] }; default { }; }; -
Rank icons were moved
bearbison replied to mr_shadow's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Not sure about within the pbo as very rarely bother opening them unless I need something that is not in the config viewer or not working. But I have just tested the locations on the mission I am currently updating by adding them into the briefing for ease of use and both the marker and rank are working as per my path in the briefing and the ranks also work on my unit as insignia. So not sure why they won't show up in the pbo path but they are working as per the config. -
Rank icons were moved
bearbison replied to mr_shadow's topic in ARMA 3 - MISSION EDITING & SCRIPTING
As far as I can see both are still in the same location according to the config viewer: CfgMarkers \A3\ui_f\data\map\markers\nato\b_inf.paa CfgRanks \A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa Never use the full path when calling markers but the ranks are still working fine using the same path I have used for a long time -
Anyone knows a good cleanup script? (items on grounds, dead bodies, etc..)
bearbison replied to Coolinator's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try http://forums.bistudio.com/showthread.php?185479-RELEASE-Recurring-Cleanup-Script -
Multiple Clients with Dedicated server for testing missions
bearbison replied to delta99's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I haven't tested with todays update but it was working fine yesterday, with my local dedi config file being: steamPort = 8766; hostName = "BearBison Testing"; password = ""; passwordAdmin = "test"; logFile = "logfile_console.log"; loopback = true; motd[] = {}; motdInterval = 3; maxPlayers = 6; kickduplicate = 0; verifySignatures = 0; requiredSecureId = 0; voteMissionPlayers = 3; voteThreshold = 0.33; disableVoN = 0; vonCodecQuality = 10; persistent = 1; timeStampFormat = "full"; BattlEye = 0; doubleIdDetected = ""; onUserConnected = ""; onUserDisconnected = ""; onHackedData = ""; onDifferentData = ""; onUnsignedData = ""; regularCheck = ""; class Missions { class Mission_1 { template = "32_BasicTraining_v25.Altis"; difficulty = "veteran"; }; };