-
Content Count
2494 -
Joined
-
Last visited
-
Medals
Everything posted by sarogahtyp
-
cant help without complete code... EDIT: use https://pastebin.com/ then
-
just copy n paste the complete file path.sqf in a spoiler pls...
-
setAmmo on Grenadle Launcher Attachements
sarogahtyp replied to beno_83au's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I guess you ve to use somethings like https://community.bistudio.com/wiki/addMagazine and/or https://community.bistudio.com/wiki/removeMagazine -
custom vehicle script
sarogahtyp replied to Casio91Fin's topic in ARMA 3 - MISSION EDITING & SCRIPTING
That script is all but good for ur purpose. Try to understand the script i showed above and try to get it running. Ill not do the whole work for u. I just spent some free time at work to show u a possible way. If u do not understand something just ask and u ll get an answer. As I told ill not do the whole work... but maybe another one bites the dust 😉 -
custom vehicle script
sarogahtyp replied to Casio91Fin's topic in ARMA 3 - MISSION EDITING & SCRIPTING
short'n'dirty: CasioVehicleInit = { clearItemCargo _this; clearMagazineCargo _this; clearWeaponCargo _this; _this setVehicleAmmo 0; _this setFuel 0.5; }; [] spawn { _vehicleTypes = ["B_MRAP_01_F", "B_MRAP_01_gmg_F", "B_MRAP_01_hmg_F"]; CasioBreakLoop = false; while {!CasioBreakLoop} do { _newVecs = vehicles select { _vec = _x; ( isNil {_vec getVariable "spawned"} && _vehicleTypes findIf {(typeOf _vec) isEqualTo _x} > -1 ) }; { _x call CasioVehicleInit; _x setVariable ["spawned", true]; } count _newVecs; sleep 10; }; }; not tested. could be used in an init file. may need some tweaks if used in multiplayer. endless while loop can be stopped (if needed) by setting CasioBreakLoop to true anywhere ... -
Script to save backpack and stuff inside
sarogahtyp replied to HptFw. MoinxDGamer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
no script necessary. engine commands available: https://community.bistudio.com/wiki/getUnitLoadout https://community.bistudio.com/wiki/setUnitLoadout -
Making buildings dark during daytime?
sarogahtyp replied to Bitchmaker's topic in ARMA 3 - MISSION EDITING & SCRIPTING
you could try to use: https://community.bistudio.com/wiki/setObjectTextureGlobal maybe you are able to set some darker textures to get the effect. I guess you are not able to set a darker lighting for an area... -
Getting the terrain cell size?
sarogahtyp replied to Leopard20's topic in ARMA 3 - MISSION EDITING & SCRIPTING
did u try this? https://community.bistudio.com/wiki/BIS_fnc_mapGridSize -
Getting the terrain cell size?
sarogahtyp replied to Leopard20's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/Arma_3_CfgWorlds_Config_Reference#landGrid -
You have to set the expression of the last waypoint: https://community.bistudio.com/wiki/setWaypointStatements that waypoint should find a suitable position (without water) with: https://community.bistudio.com/wiki/BIS_fnc_findSafePos and it should add the new waypoint on the prior found position: https://community.bistudio.com/wiki/addWaypoint you can use this to find a random initial position for BIS_fnc_findSafePos: https://community.bistudio.com/wiki/random
-
cameraEffect and Zeus issue
sarogahtyp replied to Tom212's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I guess for fixing u just need to use: Cam1 cameraEffect ["Internal", "Back", "uav1rt"]; to set the cam feed back to cam1 again. Try to not create a new cam, the EH and all those stuff again to fix the problem... -
simpler way to orientation vector of objects in 3d space?
sarogahtyp replied to bi_mg's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I read it 12 times I guess, but idk what you want to do. could you explain it more practically like "I want to get a lift rotate around a ball" or something like that? also I don't understand: its the same meaning ... [vectorDir, vectorUp] is the same as getVectorDirAndUp would deliver... -
simpler way to orientation vector of objects in 3d space?
sarogahtyp replied to bi_mg's topic in ARMA 3 - MISSION EDITING & SCRIPTING
could you describe more detailed what you are trying to archive, please? You described what you tried already but I didn't understand what your goal is... if this is the only thing: then it's easy to do with this article: https://community.bistudio.com/wiki/setVectorDirAndUp the function fnc_SetPitchBankYaw described in ffur2007slx2_5's comment shows you how to get vector dir and up by rotation angles... -
depends always on OPs knowledge at the time he is asking. a year ago u didn't know 'bout function library I guess. So at this time it was the easiest way to get a working solution for you. also there is nothing wrong with seperating things in different files. the real advantage comes with using precompiled functions...
-
Does GHST's Enemy Assault mission include a headless client?
sarogahtyp replied to S3LMON's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Do not demand only. Deliver as well! -
Which CPU can perform better when opening the server?
sarogahtyp replied to S3LMON's topic in ARMA 3 - SERVERS & ADMINISTRATION
afaik intel has better single processing performance, therefore it should be the best choice. but to manage 400 AI you have to run at least 2 headless clients for that mission. -
Protecting Pbo
sarogahtyp replied to Cee-a90119224ca82d14's topic in ARMA 3 - MISSION EDITING & SCRIPTING
is there a license for use to forbid using ones work in encrypted mission files? -
ARMA 3 Dedicated Server Not Detecting Mods, please help?
sarogahtyp replied to Kiyoshi_Aphelion's topic in ARMA 3 - SERVERS & ADMINISTRATION
-mods parameter needs each mod folder as target and not just a folder where your mod folders are located in. i guess that's the case here -
How to adjust respawn timer default?
sarogahtyp replied to tango9jeff's topic in ARMA 3 - SERVERS & ADMINISTRATION
usually this is not a server setting but a mission thing. therefore it depends on your mission and may need mission modification. respawn settings may be setup in description.ext but it depends... -
After mission edit, not possible to play multiplayer
sarogahtyp replied to Joviii's topic in ARMA 3 - MISSION EDITING & SCRIPTING
what did u edit exactly? just show it. How else should anyone know what you did? -
After mission edit, not possible to play multiplayer
sarogahtyp replied to Joviii's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I guess u don't need help. otherwise you would provide some info. -
After mission edit, not possible to play multiplayer
sarogahtyp replied to Joviii's topic in ARMA 3 - MISSION EDITING & SCRIPTING
what did u edit? -
you could: _scripts = ["searchZONE.sqf", "searchZONE2.sqf", "noEMERG.sqf"]; _selected = selectRandom _scripts; [] execVM _selected;
-
https://community.bistudio.com/wiki/Arma_3_Startup_Parameters#Server_Options I had good experience with this. Try it out even if the description does not fit perfect to your case.
-
Making the AI wait to open their chute
sarogahtyp replied to Ex3B's topic in ARMA 3 - MISSION EDITING & SCRIPTING
a habit to avoid return values. _d is just a dummy. true but not requested by op so far. also the first group would get a nice touchdown :D avoiding the return value to conflict with count thx, didn't know bout that command.