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

Subscribe to download
Enable Composition Scripts

In 2 collections by M9-SD
Arma 3 Tools
90 items
M9-SD's Workshop (ARMA 3)
85 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!

7 Comments
Condasoft Feb 20 @ 10:52am 
Really good idea. :beanz:
M9-SD  [author] May 13, 2024 @ 2:11pm 
others join without
Gabriel® May 12, 2024 @ 2:34pm 
If i install it only in the server, does it create dependencies? or can others join without it?
crub Mar 29, 2024 @ 2:23am 
Glad you made this!
Soldier Black Feb 6, 2024 @ 2:25pm 
This is very useful! Thanks:steamthumbsup:
Advocated Edict Oct 25, 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 ツ Oct 23, 2023 @ 9:32am 
That's wonderful! :winter2019happyyul: