User Tools

Site Tools


arma:missions:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
arma:missions:misc [2008-08-26 07:27]
arma:missions:misc [2008-08-26 07:27]
snakeman created arma:missions:misc initial page
Line 1: Line 1:
 +====== Misc Stuff ======
  
 +ArmA mission editing topics that dont have specific home page yet, we just pile them up here until we organize them properly, sorry :)
 +
 +====== Units Playabe in Multiplayer ======
 +
 +**How to make many units/​vehicles playable in multiplayer?​**
 +
 +Well you usually do this in mission editor by double clicking the unit/​vehicle,​ then choosing Control -> Playable, however if you have alot of units this can be tedious task. So what you can do is to open mission.sqm in [[:​editing_tools#​text_editing|EditPadPro]] and search for the units you want to be playbe, lets say they are as following:
 +<​code>​
 + class Item1
 + {
 + position[]={11424.611328,​51.777458,​7839.839844};​
 + id=67;
 + side="​WEST";​
 + vehicle="​VTE_acsoldier";​
 + rank="​SERGEANT";​
 + skill=0.466667;​
 + };
 +</​code>​
 +Now you must place one line there to make this unit playable in MP, this line is called //​player="​PLAY CDG";//​ and here is the example how I wrote/copy pasted the line into the class Item1:
 +<​code>​
 + class Item1
 + {
 + position[]={11424.611328,​51.777458,​7839.839844};​
 + id=67;
 + side="​WEST";​
 + vehicle="​VTE_acsoldier";​
 + player="​PLAY CDG";
 + rank="​SERGEANT";​
 + skill=0.466667;​
 + };
 +</​code>​
 +Very easy. After you have added the lines to all units and saved mission.sqm file, then re-load it in ArmA mission editor and you have all the edited units playable.
 +
 +====== MoveInTurret ======
 +
 +**How to move units into multiple doorguns?**
 +
 +If you have vehicles (for example BIS UH60MG) which have multiple doorguns, you cannot simply use "unit moveInGunner helo;" command to move in gunners. You need to use moveInTurret command. See this example:
 +<​code>​
 +unit1 moveInTurret [helo1,​[0]];​
 +unit2 moveInTurret [helo1,​[1]];​
 +</​code>​
 +Would move unit1 into the first and unit2 into the second doorgun.
arma/missions/misc.txt ยท Last modified: 2008-08-26 07:27 (external edit)