-
Notifications
You must be signed in to change notification settings - Fork 5
FCS
| File location | f\fcs\fn_fcsInit.sqf |
| Enabled by default? | No |
| Enable/Disable in | init.sqf |
| Runs on | client |
This component adds some extra simulation aspects to vehicle fire control systems.
It adds an action for a Commander's Override, which allows the commander to point the gunner's aim at an object of their choosing. It also adds more detailed damage, with a chance for the vehicle to suffer an "FCS failure" - knocking out its laser rangefinder, zeroing, enhanced optics, and TC override - when hit by an anti-tank weapon. The failure can be reset by an engineer-trained player in the gunner's seat.
When the enhanced FCS is enabled on a vehicle in the mission, a briefing tab is automatically generated explaining how to use it.
Open the file init.sqf, and find the "F3 - Commander's Override and FCS failure" section. This contains two example lines, commented out by default.
The first line is an example for a single vehicle; the second is for multiple. Vehicles are passed as object references, not classnames.
FCS can be enabled mid-mission and on newly-created vehicles. Make sure the function is run on all clients including JIP.
f_fnc_fcsInit only takes a single paramater:
| # | Name | Type | Default | Description |
|---|---|---|---|---|
| 0 | _vehicle | object | required | A vehicle to add FCS to |
[vehicle] call f_fnc_fcsInit; Single vehicle, in a script that runs on all machines, such as init.sqf
{ [_x] call f_fnc_fcsInit } forEach [vehicle1, vehicle2, vehicle3]; Multiple vehicles, as above
[_vehicle] remoteExec ["f_fnc_fcsInit",0,true]; Single vehicle, in a script that only runs on one machine
- Assign Gear
- Assign Gear AI
- Authorized Crew Check
- Briefing
- Casualties Cap
- Disable Thermals
- Dynamic View Distance
- E & E Check
- FCS
- Fire Team Member Markers
- Group Markers
- Group Join
- Map Click Teleport
- Medical System
- Mission Conditions
- Multiplayer Ending Controller
- Nametags
- Premount
- Radio
- Remove Body
- Safe Start
- Group ID
- Color Teams
- AI Skill
- Spectator
- Zeus Support