Jump to content
  • 0

how can I add object compositions to missions


calamity

Question

how could I add or actually just replace mission building?  like  DZMS mission SM6.sqf  with a pre made  object composition

 

maybe something like this ?????

 

Use this CityBase02

 

_objectComposition_5 = [[18361.51, 2313.9885, 7.6293945e-005], 141.1561, "CityBase02"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectmapper.sqf"));
 
//Lets add the scenery
_net = createVehicle ["_objectComposition_5",[(_coords select 0) - 0.0649, (_coords select 1) + 0.6025,0],[], 0, "CAN_COLLIDE];
[_net] call DZMSProtectObj;
 
\dayz_server\DZMS\Missions\Major\SM6.sqf
 
I believe I have DZMS, WAI and SARGE missions.
I say I believe because Im not sure if they are all working. one or some or all are working.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I've been trying to get the composition sites to work in the missions, I use DZMS. It always gives me the error "Cannot create non-ai vehicle _objectComposition_5" or whatever else object I try. I've tried different compositions too like "camp_us3" etc but always get the error. 

 

I've seen this page: https://community.bistudio.com/wiki/Dynamic_Object_Compositions and this post: http://forums.bistudio.com/showthread.php?74476-Dynamic-Object-Compositions-and-2D-Editor but I just don't get how I would use this in the mission as the formatting is completely different.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...