nimrod_z
Member-
Content Count
297 -
Joined
-
Last visited
-
Medals
-
[Solved] AI infinite magazine
nimrod_z replied to Wiki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Easiest way is to use the "reloaded" eventhandler and simple add magazine of current weapon.. so every time they reload and discard empty mag they are give a new one. -
Not sure if this is intended or not but a player that is enemy to civ will no longer be able to pick up anything on ground. the actions and icon to pickup only show when the players side is not enemy to civ units.. can be replicated using "setFriend" command. example: Place a blufor unit in editor and drop something in your inventory to ground.. open debug console and put in west setFriend [civilian, 0]; you will not see action or icon in center of screen to pickup anything. Open debug again and use west setFriend [civilian, 1]; and you'll be able to pickup items again.. this only started happening as of DEV update 1.79.143636 on nov 20th 2017
-
floating buildings at airstrip between feres and selenko on altis since mondays (2/20/17) dev update. http://steamcommunity.com/sharedfiles/filedetails/?id=869093374
-
Problem with trigger in multiplayer & dedicated
nimrod_z replied to Raffal's topic in ARMA 3 - MISSION EDITING & SCRIPTING
if its working in editor with no errors then it should work in MP. there are a few things that i notice that you may want to consider though. triggers placed in the editor are global, so you may want to add an isServer check to the condition as well. (otherwise each player connected can trip the trigger and they are all checking the conditions and all going to add lots of markers to the map. also there can only be 1 marker with the name you're giving it. without the server check, each player is trying to create it and that would explain why it works when only 1 person trys the mission). may also want to add in an isserver check to the marker creation part as well so only the host creates the markers. (createMarker is a global command, there are local ones as well you can use if you want though). you are also setting the color twice. condition: isServer && (p1 distance p2) <5 on activation: hint "Intel acquired"; if (isServer) then { mark = createMarker[format["%1marker",pos1],getPosWorld pos1]; mark setMarkerType "hd_destroy"; mark setMarkerColor "ColorEAST"; mark setMarkerText "AA"; }; i added in the "getPosWorld" command simply because it returns the position the fastest of all the position commands. -
Custom main menu scene?
nimrod_z replied to FartParty's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this is how i have mine setup. class CfgPatches { class MY_main { units[] = {}; weapons[] = { }; requiredVersion = 0.1; requiredAddons[] = { "A3_Map_Altis", "A3_Map_Stratis", "A3_Map_Stratis_Scenes", "A3_Map_Altis_Scenes" }; author[]= {"Nimrod_Z"}; }; }; class CfgMissions { class Cutscenes { class Stratis_intro1 { directory="MY\scenes\intro2.Stratis"; }; class Altis_intro1 { directory="MY\scenes\intro1.Altis"; }; }; }; @R3vo it's been a while since i messed with the cutscene stuff but if i remember correctly, at that time i couldnt use a custom classname for the cutscenes and get it to work. but if i simply use the default classname and change the file destination it worked. that was simplest solution for me. -
Kick/eject all units from vehicle
nimrod_z replied to M1ke_SK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
{ unassignVehicle (_x); (_x) action ["EJECT", vehicle _x]; sleep 0.4; } foreach units (group name); you have to unassign vehicle. just add your group name of the units you want to jump at the end where i have "group name". -
how to smarter create this
nimrod_z replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
there isnt any reason to run a loop inside an event handler at all. if you want to make the vehicle not take damage or limit the damage use something like this. _veh addEventHandler ["HandleDamage", {if (_this select 4 isEqualTo "" && (side (_this select 0)) isEqualTo resistance) then {(_this select 2)/100;};}]; all this basically says is that if no projectile hit the vehicle and a unit that is side of resistance is driving it, divide the damage by 100. thats what i use in a mission of mine to keep the cars/trucks from being wrecked from the AI driving 30 seconds after mission starts...:) for your varaible you want to set when a player takes the vehicle you are better off using the getIn/getOut event handlers for that. -
Simulation module - Question, please help!
nimrod_z replied to gianni001's topic in ARMA 3 - MISSION EDITING & SCRIPTING
simulation module is in game, but it had'nt worked for the longest time. i have no idea if it works yet. but the point of the simulation manager was to disable ai simulation on selected units so they wouldnt move or think saving processing power. the way arma3 is currently is it will only draw in objects based on your viewdistance setting in mission. if you're having fps issues its usually because of only a few things, unoptimized coding on your part, to many ai, long viewdistance settings, or any combination of those. and arma 3 cant really handle largescale battles well. the missions that do simulate it have a LOT of very creative codeing to give that "EFFECT" but it's not like they placed 300 units on the map all at 1 time. hope this answers some of your questions friend. -
Setting UAV heading at waypoint
nimrod_z replied to chronicsilence's topic in ARMA 3 - MISSION EDITING & SCRIPTING
maybe use "doTarget" as well - https://community.bistudio.com/wiki/doTarget -
Storing & Returning data in a ListBox selection?
nimrod_z replied to Ranwer135's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hmm, sounds like your taking a more difficult route then may be needed. using the "configName" command will return the classname and if you need to save it there is always "setVariable" command. thats what i did anyway. not sure if thats what you're looking for or if it helps bud. _idc = ctrlIDC (_this select 0); _selectedIndex = _this select 1; _data = lbData[_idc,lbCurSel _idc]; _type = ""; _conf = configFile >> "cfgMagazines" >> _data; _type = "cfgMagazines"; if (!isClass _conf) then {_conf = configFile >> "cfgWeapons" >> _data; _type = "cfgWeapons"}; _name = configName (_conf); player setVariable ["inventorySelected",_name]; -
Publisher not working after last official update
nimrod_z posted a topic in ARMA 3 - BI TOOLS - TROUBLESHOOTING
since last update my publisher just freezes. the publisher screen loads then app just hangs, never fully loading. everything was fine and working before update. i even tried updating to dev branch in hopes this was fixed but still same issue. i dont see anyone else posting any issues like this but i find it strange its only an issue with any of my pc's. i say this because i have downloaded the toolset for arma 3 on 2 other pc's in my house and everything works but the publisher on all of them. arma3publisher.rpt -
Show time at start of the mission?
nimrod_z replied to SparkZ's topic in ARMA 3 - MISSION EDITING & SCRIPTING
for date and time. _month = date select 1; _day = date select 2; _year = date select 0; _date = format ["%1\%2\%3",_month,_day,_year]; [[format["Date: ","align = 'center' shadow = '1' size = '0.8' font='PuristaBold'"],[_date,"align = 'center' shadow = '1' size = '0.8'","#FFCC00"],["","<br/>"],["Time: ","align = 'center' shadow = '1' size = '0.8'"],[[daytime,"HH:MM"] call bis_fnc_timetostring,"align = 'center' shadow = '1' size = '0.9'"]],.23,1.3] spawn BIS_fnc_typeText2; fyi - i used (month\day\year) format -
Addon Item setLbData to classname, in inventory UI
nimrod_z replied to Hercx's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
looks as if you're trying to Inherit the functions of the medkit but replace the model and textures. if that's the case then all you need to do is Inherit everything from the medkit and just change the things you want to change. class CfgWeapons { class Medikit; class Hercx_Bloodbag: Medikit { scope = 2; displayName = "Bloodbag"; model = "\Medical\BloodBag_F.p3d"; picture = "\Medical\Images\BloodBag_F.paa"; descriptionShort = "IV bloodbag for bloodloss"; }; }; -
sounds like your going about things the hard way. and i'm really surprised that someone made a addon for it. just use - https://community.bistudio.com/wiki/enableFatigue player enableFatigue false; in your mission.
-
Time and Sleep not accurate
nimrod_z replied to benargee's topic in ARMA 3 - MISSION EDITING & SCRIPTING
some of what you are experiencing is more then likely related to how you are executing those tests. (scheduled vs un-scheduled) environments. if your just executing them using "execVM" then they are getting put in a scheduler and checked to see if it's ok to run them. (the game engines way of trying to prevent a traffic jam basically) more info here - https://community.bistudio.com/wiki/Code_Optimisation#Threads if your just looking into this stuff just for ballistics then looking at the config for the ammo is a better way to go - https://community.bistudio.com/wiki/CfgAmmo_Config_Reference