This shows you the differences between two versions of the page.
arma:missions:misc [2008-08-26 07:20] snakeman created arma:missions:misc initial page |
arma:missions:misc [2008-08-26 07:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Misc Stuff ====== | ||
- | **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. |