Arma 3
Not enough ratings
Mission SQF Injector 2.0
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
File Size
Posted
Updated
12.125 KB
20 Jun, 2022 @ 3:31pm
3 Jan, 2024 @ 4:22pm
5 Change Notes ( view )

Subscribe to download
Mission SQF Injector 2.0

In 2 collections by Elongerson Muskerton | GrokTurbo
Arma 3 Tools
90 items
M9-SD's Workshop (ARMA 3)
85 items
Description
This composition provides a simple interface
to execute any script, although it is primarily
designed to load complex missions in Zeus.

*** NEW IN 2.0 ***

* Server-execute button!
(allows you to execute the code server-side, which means modules like hide terrain object and deformer exports using setTerrainHeight command will work)

How to use:

1. Export a mission to SQF from the 3den Editor.*
2. Check for restricted commands/functions.
3. Join zeus server with level 2 scripting perms.
4. Run this injector composition from the zeus interface.
5. Paste the exported mission SQF from your clipboard.
6. Use the local execute button to spawn the mission in.

* No need to remove // comments, they will be
removed automatically when the function is called.
The params line also doesn't need to be omitted.

Code: https://github.com/M9-SD/A3-Mission-SQF-Injector-Composition/blob/main/M9SD_fnc_moduleMissionSQFInjector.sqf

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

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]

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

Requirements

This is a scripted composition, designed to be placed from the Zeus[community.bistudio.com] interface. After subscribing to and subsequently downloading this composition, it will automatically be accessible in-game from Zeus > Groups > Empty > Compositions (since it's not a mod, it won't show up as one in the Arma 3 launcher). The scripts attached to this composition will only work if the server allows it with the zeus composition script level security parameter in its description.ext file.[community.bistudio.com] Here is a guide for server owners.

Set the value to 2 to allow custom attributes and all scripts.
zeusCompositionScriptLevel = 2;

The following official public zeus servers allow scripted compositions, however they do have various undisclosed remoteExec restrictions defined in a custom CfgRemoteExec.[community.bistudio.com]

Try out this composition on one of these servers:

[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #02[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02e[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02w[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #12[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #02[www.battlemetrics.com]
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0D
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0B

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

11 Comments
Elongerson Muskerton | GrokTurbo  [author] 8 Jan, 2024 @ 1:38pm 
Jack and adsuper, I am unable to reproduce this bug.
When I place it, it does not kick me.
When I run code server-side, it does not kick me.
Example here:
https://youtu.be/_n-SbTrVNd0
adsuper 7 Jan, 2024 @ 3:22pm 
Dragonfun here, adding to what Jack The Creator had stated. I joined in the middle of a cool mission from him yesterday. The mission halted indefinitely after he got kicked from using the module several times. It was RemoteExec Restriction #3 that caused it.
Jack The Creator 7 Jan, 2024 @ 2:54pm 
Thanks for putting the time on this useful tool and the server side option is a great idea. Unfortunately since the update every time I place the module down it kicks me from the server
Elongerson Muskerton | GrokTurbo  [author] 3 Jan, 2024 @ 4:23pm 
NEW UPDATE (V2.0):
- Added server execute button!!!!!!!!!!!!!
- You can now run the sqf server-side, which allows modules like hide terrain object and other code such as deformer exports (setterrainheight) to work
Captain Roman S'Jet 30 Nov, 2023 @ 5:20pm 
I've tried to inject a custom mission with a few custom songs and sounds. They failed to activate, but they work in Eden. Any idea why?
Elongerson Muskerton | GrokTurbo  [author] 27 Jul, 2023 @ 12:02pm 
Yes it is safe on Official servers, the ones listed in the description are verified to allow it. If using a community server, check with the owner, verify zeusCompScriptLevel=2 in the description.ext and no custom defined rules for the remote execution of functions and commands in CfgRemoteExec.
B-Rett 27 Jul, 2023 @ 7:14am 
Injector? Is this safe for pub zeus in 2023? I would find it very handy to be able to load a mission up rather than piece it together on the fly. Thanks in advance.
Venom 1 Jul, 2023 @ 3:47am 
well looks like you never released it lmao, but like....could you? or could i at least know where the rocket itself is from?
Elongerson Muskerton | GrokTurbo  [author] 3 Jul, 2022 @ 3:29pm 
I will see about releasing that, no promises tho
Mallekip 28 Jun, 2022 @ 12:29pm 
+1 for the launching rocket. Is this a mod or composition?