PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma2:scripting:object-compositions

Differences

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

Link to this comparison view

arma2:scripting:object-compositions [2013/05/06 12:48] – created object-compositions initial page. snakemanarma2:scripting:object-compositions [2024/08/01 22:35] (current) – links added. snakeman
Line 1: Line 1:
 ====== ArmA 2 Object Compositions ====== ====== ArmA 2 Object Compositions ======
 +
 +[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
  
 **Introduction** **Introduction**
Line 5: Line 7:
 The Dynamic Object module (DynO) was made to make spawning entire sets / templates of objects much easier (e.g. an entire base). It is possible to spawn specific sets of objects or ask a library for a random set matching a list of tags. The system is flexible so that anyone may grab new sets, register them and all systems using the DynO sets will spawn the new sets as well. The Dynamic Object module (DynO) was made to make spawning entire sets / templates of objects much easier (e.g. an entire base). It is possible to spawn specific sets of objects or ask a library for a random set matching a list of tags. The system is flexible so that anyone may grab new sets, register them and all systems using the DynO sets will spawn the new sets as well.
  
-**How to add BIS compositions**+**How to add bis compositions**
  
-To add one of the BIS premade compositions simply create a gamelogic and the code below into the init field+To add one of the bis premade compositions simply create a gamelogic and the code below into the init field
 <code cpp> <code cpp>
 _newComp = [(getPos this), (getDir this), "FuelDump1_US"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectMapper.sqf")); _newComp = [(getPos this), (getDir this), "FuelDump1_US"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectMapper.sqf"));
 </code> </code>
-Where "FuelDump1_US" is the composition name you want to spawn (check composition library for names of BIS compositions).+Where "FuelDump1_US" is the composition name you want to spawn (check composition library for names of bis compositions).
 You can also spawn compositions by searching the library for matching tags, for example: You can also spawn compositions by searching the library for matching tags, for example:
 <code cpp> <code cpp>
Line 280: Line 282:
 }"; }";
 </code> </code>
 +
arma2/scripting/object-compositions.1367844528.txt.gz · Last modified: 2013/05/06 12:48 by snakeman