Arma 3
48 ratings
Enable Composition Scripts
3
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
91.385 KB
17 Oct, 2023 @ 4:35am
1 Change Note ( view )

Subscribe to download
Enable Composition Scripts

In 2 collections by Jay 🗲
Arma 3 Tools
88 items
M9-SD's Workshop (ARMA 3)
82 items
Description
Enable Composition Scripts
zeusCompositionScriptLevel = 2;

——————————————————————————————————

About
Here is an alternative way to enable scripted comps, so that server hosts don't have to tweak every mission file.

Just load the mod on the server to allow composition init scripts.

This mod enables/allows all composition scripts (including init scripts and custom attributes) for the Zeus gamemode (not to be confused with 3DEN Editor compositions). What this means is that the game master (or anyone with access to the Zeus interface) can fully utilize compositions that invoke custom scripts placed in an objects initialization field (it also enables loading of customized vehicle appearances/attributes).

This mod functions as the equivalent to adding the setting "zeusCompositionScriptLevel = 2;" in a missions's description.ext file (it configures the setting in a config.cpp file. If a mission already has this setting included in its description.ext file, this mod's config setting may be overwritten by the mission's). It should work in most scenarios.

Warning: Using this mod will obviously undermine server security, as it will essentially allow game masters in the Zeus scenario to run any SQF (scripts).

For more info on the setting, visit the wiki.
https://community.bistudio.com/wiki/Description.ext#zeusCompositionScriptLevel

FAQ:
What are compositions?
- https://community.bistudio.com/wiki/Eden_Editor:_Custom_Composition
What are composition init scripts?
- They are SQF/script commands that are run when the objects from a "scripted composition" are placed down and initialized. The scripts are added to the object's init field when the composition is created in 3DEN. https://forums.bohemia.net/forums/topic/229263-eden-editor-editing-mission-building-guides-tutorials-tools-compilation-list/

——————————————————————————————————

My Links

Donate[www.paypal.com]
Website[www.m9-sd.com]
YouTube
GitHub[github.com]
Workshop
Discord (ZAM)[discord.gg]
Discord (SQF Archive)[discord.gg]

——————————————————————————————————

Thank you for subscribing, rating,
& favoriting this mod!

6 Comments
Jay 🗲  [author] 13 May @ 2:11pm 
others join without
Gabriel® 12 May @ 2:34pm 
If i install it only in the server, does it create dependencies? or can others join without it?
crub 29 Mar @ 2:23am 
Glad you made this!
Soldier Black 6 Feb @ 2:25pm 
This is very useful! Thanks:steamthumbsup:
Advocated Edict 25 Oct, 2023 @ 5:52am 
Am I correct in assuming that this doesn't work for the editor, it requires it to be a saved mission?
ǝuoƆ ǝɹǝW ツ 23 Oct, 2023 @ 9:32am 
That's wonderful! :winter2019happyyul: