Comrades in Arms Discussion Board
Mission Making tips and tricks - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: Mission Making tips and tricks (/showthread.php?tid=3213)

Pages: 1 2


Mission Making tips and tricks - Outlawz7 - 08-18-2014

If you need to use a local command in multiplayer, make a script containing that command, make it a function and call it with bis_fnc_mp.

For example, I needed to make my soldiers speak British English:

myScript.sqf
Quote:_unit = _this select 0;
_speakerType = _this select 1;

_unit setSpeaker _speakerType;

Add as function in description.ext:
Functions Library (Arma_3)

Use inside mission with BIS_fnc_MP

Quote:[[myUnit,"Male04ENGB"],"myTag_fnc_myFunction"] call BIS_fnc_MP;



Re: Mission Making tips and tricks - Alwarren - 12-25-2014



A bit weird, but sums up radio protocol quite nicely. I post it since I keep seeing "Over and Out" in a lot of missions. (Hint: There is no "over and out")


Re: Mission Making tips and tricks - Outlawz7 - 12-25-2014

(12-23-2014, 12:14 PM)Variable link Wrote:This looks interesting and might spark some inspiration for FIA based missions:
http://steamcommunity.com/sharedfiles/filedetails/?id=360886773&searchtext=


Doesn't exist?


Re: Mission Making tips and tricks - Variable - 12-25-2014

(12-25-2014, 05:52 PM)Alwarren link Wrote:

A bit weird, but sums up radio protocol quite nicely. I post it since I keep seeing "Over and Out" in a lot of missions. (Hint: There is no "over and out")
One comment - I'm pretty sure that only the superior ranking side can "out" the transmission. Try to say "out" to an admiral and you'll have your ass handed to you on a plate.

(12-25-2014, 06:00 PM)Outlawz7 link Wrote:Doesn't exist?
Works here.


Re: Mission Making tips and tricks - Fuiba - 12-25-2014

(12-25-2014, 06:48 PM)Variable link Wrote:One comment - I'm pretty sure that only the superior ranking side can't "out" the transmission. Try to say "out" to an admiral and you'll have your ass handed to you on a plate.

I was taught that the side which establishes communication is also the one who ends it - I'm a communications NCO. Of course, things change and each country/branch of military/unit has its own way of doing things Smile


Re: Mission Making tips and tricks - Fuiba - 01-22-2015

(01-22-2015, 02:04 PM)Varanon link Wrote:Staying compatible with MP and SP, part I

In MP, playableUnits returns all units that can be played. In SP, this returns an empty array and instead switchableUnits should be used.

Thanks, this was really helpful!


Re: Mission Making tips and tricks - Variable - 01-26-2015

Somewhere between a tip and a request, regarding initial text and logos:
1. Mission makers please add a lot more delay to the opening text/logos you add to your missions. Some of us have a long final loading delays (that period where you hear the game but still see the loading screen). I suggest delaying for at least 15 seconds. That will ensure everybody will see it.
2. Make sure to position the text/logos above the text chat area. Some mods use it to report initialisation at the start of each mission and they tend to overlap.


Re: Mission Making tips and tricks - Varanon - 01-26-2015

Some small tip, even though it should be somewhat logical: use a mission framework!

What I mean is make a dummy mission that contains all you need, like init.sqf etc, that already fronts done useful scripts and such. When starting a new mission, just copy the dummy and you're set. 

If someone needs it, I can post my own framework that I use for our fhq missions


Re: Mission Making tips and tricks - Phantom - 01-27-2015

That'd be most appreciated Smile


Re: Mission Making tips and tricks - Outlawz7 - 04-15-2015

I recall some complicated way posted by alwarren/Varanon on how to add color to briefing text (I think the word 'clink' was involved).


I found there's an easier way.


Quote:<font color='#FF0000'><marker name='fia'>FIA</marker></font>


http://forums.bistudio.com/showthread.php?162815-briefing-text-colour
https://community.bistudio.com/wiki/createDiaryRecord


Re: Mission Making tips and tricks - Varanon - 04-15-2015

(04-15-2015, 07:27 PM)Outlawz7 link Wrote:I recall some complicated way posted by alwarren/Varanon on how to add color to briefing text (I think the word 'clink' was involved).

The thing is, the code I posted once uses the color scheme that you've selected for the main menu, that's why it's a bit more complex. I've defined a macro that does it, though


Re: Mission Making tips and tricks - Alwarren - 06-24-2015

Best tip of all: Read this http://www.armaholic.com/page.php?id=4847



Re: Mission Making tips and tricks - Horus - 06-24-2015

You still can buy German hard copy version  Wink


Re: Mission Making tips and tricks - Outlawz7 - 09-28-2015

Instead of naming your units so you can reference them in scripts or triggers, place them in an array.

First, define the array variable, either in init.sqf or init line of an object.

(If using the object init line make sure it's the first or one of the first objects placed in the mission, this matters as objects are loaded in order. I found this out by moveincargo'ing a unit into a truck before locking specific seats in that truck and the unit would be moved into the locked seat until the order in which I placed the objects in editor was changed.)

Quote:targetArray = [];

Then in the inits of objects you want to add to this array:

Quote:0=targetArray pushBack this

Then refer to the array when checking these units for the states, such as being alive:
Quote:{alive _x} count targetArray == 0


In case of checking soldiers, I still recommend using groups, but this is useful for vehicles/objects.




Re: Mission Making tips and tricks - Alwarren - 06-22-2016

If you want players to destroy a friendly vehicle (like a downed plane or chopper) without it counting as a friendly kill:

1. Place the chopper or plane
2. Lock it
3. Set the damage as desired
4. Place an enemy unit on the map, and make its spawn probability zero
5. drag and drop the unit into the pilot seat of the plane or chopper

This will make the object hostile, even though the dummy pilot will not spawn. It will mean you don't get friendly fire score, and AI will not engage you.