Re: Template for Server #2
Posted: Mon Jun 13, 2016 4:05 pm
If you're not getting anywhere, upload the mission somewhere and I'll take a look.
Mature Milsim Gaming Community
http://zeus-community.net/a3forums/
Regular game admins don't currently have the correct permissions to sticky a thread but it's done now for this thread (thanks to Stealthy) since you're right in that this thread is a very useful resource for the community.
// LOADOUT: COMMANDER
case "co":
{
["smg"] call _backpack; // Loads the SMG backpack instead of the grenadier one
_unit addHeadGear "H_LIB_US_AB_Helmet_CO_1"; // Equips the Officer helmet, overrides the base uniform
_unit forceAddUniform "U_LIB_USA_NCO_InfM41VgPmCptM1Car"; // Equips the Officer uniform, overrides the base uniform
_unit setUnitTrait ["engineer",1]; // Sets unit as engineer,
_unit addMagazines [_smgmag,_defMags]; // Gives unit SMG ammunition
[_unit, _smg] call f_fnc_addWeapon; // Gives unit SMG instead of rifleGL which is the base for 26k's
_unit addMagazines [_grenade,1]; //
_unit addMagazines [_smokegrenade,1]; // Grenades
_unit addMagazines [_smokegrenadealt,1]; //
[_unit, _binos2] call f_fnc_addWeapon; // Equips Binos
_unit addItem "ACE_Flashlight_MX991"; // Equips red map flashlight for officers and NCOs
_attachments = _attach_co; // Superfluous code for weapon attachments, there are none for CO
};
Code: Select all
// Edit the if statement for different faction briefs.
if (side group player != CIVILIAN) then {
I've tried != BLUFOR and != OPFOR and != WEST and != EAST but to no avail.
Code: Select all
// F3 - Briefing - Credits: Please see the F3 online manual http://www.ferstaberinde.com/f3/en/
// <marker name='XXX'>XXX</marker>
// Green #80FF00
// Orange #FF7F00
// Blue #00FFFF
if (isNil "f_param_CasualtiesCap") then { f_param_CasualtiesCap = 100 }; // Set CasCap if author did not.
// The code below creates the administration sub-section of notes.
_adm = player createDiaryRecord ["Diary", ["Administration",[] call f_fnc_fillAdministration]];
// Edit the if statement for different faction briefs.
if (side group player != WEST) then {
// The code below creates the execution sub-section of notes.
_exe = player createDiaryRecord ["Diary", ["Mission",format["
<br/><font size='18' color='#80FF00'>OBJECTIVES</font>
<br/>*** Ambush the convoy, steal the device and return it to point Quebec. ***
<br/>
<br/>We understand that CSAT are transporting a device from the docks in Le Port to the Airport , Oscar. They will be travelling along the marked MSR and departing as quickly as they can get themselves organised.
<br/>
<br/>CSAT QRFs are stationed at the airport and have a two minute alert response.
<br/>
<br/>%1 <!--- Casualties Cap --->
<br/><font size='18' color='#80FF00'>SPECIAL TASKS</font>
<br/>*** Consider your ambush point carefully. ***
<br/>
<br/>Closer to Golf means you have less time to get set up, closer to Lima means the QRF will be on you sooner.
<br/>
<br/><font size='18' color='#80FF00'>FRIENDLY FORCES</font>
<br/>*** You have no reinforcements. ***
<br/>
<br/>Your brave fighters assembled here today is all you have.
<br/>Your IFV is a museum piece from the war in 1994 and has limited ammo.
<br/>Your recon units have randomised start locations for security purposes.
<br/>At your start location is a repair truck and fuel bowser - potentially useful to get a damaged transport back to rolling a condition.
<br/>Alpha and Bravo have a selection of armed and unarmed offroads with which to make it to their ambush location.
<br/>
<br/><font size='18' color='#80FF00'>GAME PLAY NOTES FROM THE MISSION MAKER</font>
<br/>Titan missiles have been removed from both teams IFVs.
<br/>Do you want a gentlemans agreement regarding time for BLUFOR to get set up? I doubt OPFOR do - but it might be worth asking in Global?
<br/>There are a few extra slots on the QRF roster for disgruntalled guerillas to join the winning(?) team. - decide now if you want this to happen.
<br/>
<br/>
<br/><font size='18' color='#80FF00'>ENEMY FORCES</font>
<br/>Expect some sentries along the MSR.
<br/>Hopefully you were paying attention during slotting up
<br/>
<br/><font size='18' color='#80FF00'>CREDITS</font>
<br/>Created by <font color='#FF0080'>Jim</font color>
<br/>
<br/>A custom-made mission for ArmA 3 and Zeus Community
<br/>http://zeus-community.net/
<br/>",
if (f_param_CasualtiesCap > 0) then { format["Ensure casualties are kept below %1 and %1% of your force is not incapacitated.<br/>", f_param_CasualtiesCap] } else { "" },
(((vehicles select { side _x getFriend side group player < 0.6 && !(_x isKindOf "staticWeapon" || _x isKindOf "static") && count crew _x > 0}) apply { getText (configFile >> "CfgVehicles" >> typeOf _x >> "displayName") }) call BIS_fnc_consolidateArray) apply { format["%2x <font color='#00FFFF'>%1</font><br/>", _x#0, _x#1] } joinString "",
format["%1x <font color='#00FFFF'>Infantry Groups</font><br/>", { side _x getFriend side group player < 0.6 && count units _x >= 3 && vehicle leader _x == leader _x} count allGroups]
]]];
};
// JA I added this closing bracket above - seemed like the right thing to do - might be a reason its not working as well...
if (side group player != EAST) then {
// The code below creates the execution sub-section of notes.
_exe = player createDiaryRecord ["Diary", ["Mission",format["
<br/><font size='18' color='#80FF00'>OBJECTIVES</font>
<br/>*** Transport the final device along the MSR passing through GOLF, HOTEL, INDIA, JULIET, KILO and LIMA into the dome at OSCAR . ***
<br/>
<br/>%1 <!--- Casualties Cap --->
<br/><font size='18' color='#80FF00'>SPECIAL TASKS</font>
<br/>The CO and 2IC could use a civilian car to blend into normal traffic and scout ahead for any bandits on the road.
<br/>CO should ask for a volunteer and then designate a driver for the device.
<br/>
<br/>Due to a limited number of recruits currently on Malden our QRF is limited to clones of fallen soldiers. Upon death JIP back in as your previous role but with a QRF prefix. IFVs - choose speed or fire power.
<br/>
<br/>You could thunder run this like a solo lone wolfer or you could RP it a little and conduct a secure movement of precious cargo through hostile territory. Remember you get a second chance to win with the QRF (and I've heard that the BLUFOR CO isn't very organised anyway...)
<br/>
<br/><font size='18' color='#80FF00'>FRIENDLY FORCES</font>
<br/>There are some friendly AI sentries along the MSR to act as speed humps for BLUFOR.
<br/>You have 3 x Tempest trucks (1 of which is carrying the device under a canopy).
<br/>1 x Ifrit GMG, 1 x Ifrit HMG
<br/>2 x BTR Kamysh
<br/>
<br/>
<br/><font size='18' color='#80FF00'>GAME PLAY NOTES FROM THE MISSION MAKER</font>
<br/>Titan missiles have been removed from both teams IFVs.
<br/>Do you want a gentlemans agreement regarding time for BLUFOR to get set up? I doubt OPFOR do - but it might be worth asking in Global?
<br/>There are a few extra slots on the QRF roster for disgruntalled guerillas to join the winning(?) team. - decide now if you want this to happen.
<br/>
<br/><font size='18' color='#80FF00'>ENEMY FORCES</font>
<br/>They mostly have relics and museum pieces from the invasion in 1994.
<br/>%2%3
<br/>
<br/><font size='18' color='#80FF00'>CREDITS</font>
<br/>Created by <font color='#FF0080'>Jim</font color>
<br/>
<br/>A custom-made mission for ArmA 3 and Zeus Community
<br/>http://zeus-community.net/
<br/>",
if (f_param_CasualtiesCap > 0) then { format["Ensure casualties are kept below %1 and %1% of your force is not incapacitated.<br/>", f_param_CasualtiesCap] } else { "" },
(((vehicles select { side _x getFriend side group player < 0.6 && !(_x isKindOf "staticWeapon" || _x isKindOf "static") && count crew _x > 0}) apply { getText (configFile >> "CfgVehicles" >> typeOf _x >> "displayName") }) call BIS_fnc_consolidateArray) apply { format["%2x <font color='#00FFFF'>%1</font><br/>", _x#0, _x#1] } joinString "",
format["%1x <font color='#00FFFF'>Infantry Groups</font><br/>", { side _x getFriend side group player < 0.6 && count units _x >= 3 && vehicle leader _x == leader _x} count allGroups]
]]];
};