Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CO30_Andrew_Lowrider #282

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/cba_settings.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Crate Settings
force crate_client_gear_enabled = true; // Set to 'false' to disable persistent gear for missions where we aren't using our own gear.
force crate_client_gear_readOnly = false; // set to 'true' if the gear should be loaded, but changes are not saved. (Useful for training missions)
force crate_client_garage_enabled = true; // Set to `false` to disable the persistent garage
27 changes: 27 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/description.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#include "do_not_edit\description.ext"
#include "edit_me\description.ext"

class CfgSounds {

class boss {
name = "Boss";
titles[] = {};
sound[] = {
"LowRiderCrimeLeader.ogg", // Path to sound file
8, // Volume, 5 is recommended, always test in-game
1 // Pitch
};
duration = 29; // Duration of the sound in seconds
};

class tui {
name = "tui";
titles[] = {};
sound[] = {
"LowRiderClient.ogg", // Path to sound file
8, // Volume, 5 is recommended, always test in-game
1 // Pitch
};
duration = 13; // Duration of the sound in seconds
};
};
24 changes: 24 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/do_not_edit/briefing.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include "..\do_not_edit\script_component.hpp"

private _titles = [
"Situation",
"Mission",
"Objectives"
];
_titles append _this;
reverse _titles;

private _fnc_createRecord = {
params ["_title"];
private _file = format ["edit_me\briefing\%1.html", toLower _title];
if (fileExists _file) then {
private _contents = loadFile _file;
player createDiaryRecord ["Diary", [_title, _contents regexReplace ["\n", "<br/>"]]];
} else {
diag_log format ["No %1.html found in briefing folder", toLower _title];
};
};

{
[_x] call _fnc_createRecord;
} forEach _titles;
29 changes: 29 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/do_not_edit/description.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Do not edit this file.

synixe_template = 3; // Version of the template

// Mission Settings
onLoadIntroTime = 1;
onLoadMissionTime = 1;

// Gametype and playercount
class Header {
gameType = "COOP";
minPlayers = 1;
maxPlayers = 30;
};

// Respawn settings
respawn = "BASE";
respawnButton = 1;
respawnDelay = 5;
respawnDialog = 0;

// AI & debug
disabledAI = 1;
enableTargetDebug = 1;

// Other settings
cba_settings_hasSettingsFile = 1;
corpseManagerMode = 0; // No bodies will be cleaned up
allowProfileGlasses = 0; // Disables glasses set in profile being added to player gear
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Disable CUP street lights based on lighting levels (bad performance script)
CUP_stopLampCheck = true;

mission_fnc_briefing = compile preprocessFileLineNumbers "do_not_edit\briefing.sqf";
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#define PREFIX synixecontractors
#define COMPONENT mission

// Mission
#define MISSION_TYPES ["Contract", "Sub-Contract", "Training", "Special"]

// Debug
#define DEBUG_SYNCHRONOUS
//#define DEBUG_MODE_FULL

#include "\x\cba\addons\main\script_macros_mission.hpp"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A wealthy man has reached out. Local bandits have confiscated his prized, custom painted, pickup truck. He is requesting that we bring it back. If possible, he is also requesting to eliminate those who took his pickup.

Tui Naivalu works in the town of Lami. He was apprehended and assaulted as he got out of his vehicle to walk into work at 0800. He saw the criminals drive to the east with his prized possession. He is managing to get a ride home, in the La Rochelle area. He didn't give many more details other than that.

We are asked to retrieve the vehicle and deliver it to his home in the north.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<font color='#E3D310'>PRIMARY</font>
- Bring back the custom pickup truck to the client in perfect shape.

<font color='#595305'>SECONDARY</font>
- Bring back the custom pickup truck to the client.
- Eliminate all crime members who stole Tui Naivalu's truck.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<font color='#e3d310'>EMPLOYER</font>
Name: Tui Naivalu
Location: South of La Rochelle

Our employer is looking for someone to take care of the bandits and return his beloved car in the condition it was when stolen from him.

<font color='#d81717'>ENEMY FORCES</font>
Name: Bandits

A local crime ring has stolen Tui Naivalu's custom pickup truck. Reasons are unknown but we have been contacted to retrieve it.

<font color='#993399'>CIVILIAN CONSIDERATIONS</font>
Civilians are present throughout the area.
11 changes: 11 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/edit_me/description.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Mission settings - title, description, author etc.
OnLoadName = "Low Rider";
Andrew-Libby marked this conversation as resolved.
Show resolved Hide resolved
OnLoadMission = "Reacquire a local man's prized possession, a custom pickup truck";
author = "Andrew Libby, Synixe Contractors";

synixe_type = 0; // 0: Contract, 1: Sub-Contract, 2: Training, 3: Special
synixe_start_time = 11; // Start time of the mission.
synixe_spectator_range = 50; // Range from a spectator screen to enable spectating

// Randomization
disableRandomization[] = {}; // Disables randomization of units and vehicles based off of variable name or classname
7 changes: 7 additions & 0 deletions contracts/CO30_Andrew_LowRider.Tanoa/initPlayerLocal.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "do_not_edit\script_component.hpp"
#include "do_not_edit\initPlayerLocal.sqf"

[
// Add additional files here
// if you create "edit_me/briefing/example.html, then add "Example" here
] call mission_fnc_briefing;
Loading
Loading