

igr
Member-
Content Count
8 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout igr
-
Rank
Private
-
Place spawned units w/ BIS_fnc_spawnGroup in vehicle
igr replied to igr's topic in ARMA 3 - MISSION EDITING & SCRIPTING
(select 0) is a prefix for the group; either armor, infantry, mech, so on...And (select 1) is the unit/group to spawn. Are those not needed? (configfile >> "CfgGroups" >> "East" >> "rhs_faction_msv" >> ("rhs_group_rus_msv_infantry_emr") >> (_x select 1) I have all the units listed in arrays like this... *the last number is a cost of the unit to spawn out of an allowance pool* _infPrefix = "rhs_group_rus_msv_infantry_emr"; _infUnits = [ ["rhs_group_rus_msv_infantry_emr_fireteam", 4], ["rhs_group_rus_msv_infantry_emr_MANEUVER", 3], ["rhs_group_rus_msv_infantry_emr_section_AT", 5], ["rhs_group_rus_msv_infantry_emr_section_marksman", 6], ["rhs_group_rus_msv_infantry_emr_section_mg", 10], ["rhs_group_rus_msv_infantry_emr_squad", 8], ["rhs_group_rus_msv_infantry_emr_squad_2mg", 8], ["rhs_group_rus_msv_infantry_emr_squad_mg_sniper", 10], ["rhs_group_rus_msv_infantry_emr_squad_sniper", 10] ]; [i.e.] (configfile >> "CfgGroups" >> "East" >> "rhs_faction_msv" >> ("rhs_group_rus_msv_infantry_emr") >> ("rhs_group_rus_msv_infantry_emr_fireteam") (configfile >> "CfgGroups" >> "East" >> "rhs_faction_msv" >> ("rhs_group_rus_msv_Ural") >> ("rhs_group_rus_msv_Ural_squad_2mg") ------------------------- Can I use configClasses to pull all of the groups?? It'd mess up my cost pool but if I could randomize this, that'd be even better. -
Place spawned units w/ BIS_fnc_spawnGroup in vehicle
igr posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
If I have an array of units from a vehicle group, can I detect what vehicle they're in and place the remaining units in that vehicle? Current code I'm messing around with... { diag_log format ["RLOG :: Spawning [(%1) (%2)]", (_x select 0), (_x select 1)]; _randPos = [[14294.5,13029.5,0], 550, 950, 5, 0, 0.3, 0, ["restrictArea","restrictArea_1","restrictArea_2"], [[13501.6,13192,0],[13530.6,13368.8,0]]] call BIS_fnc_findSafePos; _spawnGrp = createGroup east; _spawnGrp = [_randPos, east, (configfile >> "CfgGroups" >> "East" >> "rhs_faction_msv" >> (_x select 0) >> (_x select 1)),[],[],[0.1,0.2],[],[], 0] call BIS_fnc_spawnGroup; _vehicle = []; { if (vehicle _x != _x) then { _vehicle pushBack _x }; }forEach (units _spawnGrp); if (count _vehicle > 0) then { { _x moveInCargo (_vehicle select 0); }forEach (units _spawnGrp) }; _wp = _spawnGrp addWaypoint [[14294.5,13029.5,0], 0]; _wp setWaypointType "SAD"; _wp setWaypointFormation "COLUMN"; _wp setWaypointBehaviour "AWARE"; _wp setwaypointcombatmode "RED"; _wp setWaypointSpeed "FULL"; _wp setWaypointCompletionRadius 50; }forEach _unitPool; -
Download the latest beta patch... http://www.arma2.com/beta-patch.php It will install the a2oa server files to... "Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta" Once you have the server files, Make a shortcut to desktop and change your a2oa shortcut's Start in line to... "Steam\steamapps\common\arma 2 operation arrowhead" Also, make sure you add your server parameters to the target line of the shortcut.
-
Server being hacked - admin rights overruled
igr replied to _Hurricane's topic in ARMA 2 & OA - MULTIPLAYER
Wouldn't "MaxCustomFileSize=0;" in the Arma2.cfg stop the hackers from joining? Or at least stop them from running the dreaded .pbo? -
So what's up with all the download links to domination? http://dev-heaven.net/projects/domination/files (requires login) -AND- http://www.armaholic.com/page.php?id=10993 (both download links are broken)
-
How do you setup a dedicated server via steam install? (Operation Arrowhead)
igr replied to igr's topic in ARMA 2 & OA - MULTIPLAYER
Actually, the dedicated server binaries had been released a while back (7/2/10)... I was just given the wrong information. ftp://downloads.bistudio.com/arma2.com/update/beta/ARMA2_OA_Build_71900.zip (From http://www.arma2.com/beta-patch.php) TL;DR 1.) Unzip, and run exe within download. 2.) Installer will place the dedi server exe's @ ...\steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta 3.) Create Shortcut to desktop for arma2oaserver.exe 4.) Goto the Shortcut's Properties and change "start in" line from the beta folder (...\steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta) To the main directory of arma 2 : OA (...\steam\steamapps\common\arma 2 operation arrowhead) 5.) Configure your server as necessary 6.) Run your server