mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
692 B
Markdown
24 lines
692 B
Markdown
---
|
|
layout: wiki
|
|
title: Javelin Framework
|
|
description: Explains how to set-up Javelin-style locking system to a launcher.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
---
|
|
|
|
## 1. Config Values
|
|
|
|
```c++
|
|
class CfgWeapons {
|
|
class MyLauncher {
|
|
ace_javelin_enabled = 1; // Enable Javelin-style locking (0-disabled, 1-enabled)
|
|
weaponInfoType = "ACE_RscOptics_javelin"; // Inteface
|
|
modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d"; // Optics model
|
|
canLock = 0; // Disable vanilla locking (0-disabled, 1-enabled)
|
|
lockingTargetSound[] = {"", 0, 1}; // Locking sound
|
|
lockedTargetSound[] = {"", 0, 1}; // Target acquired sound
|
|
};
|
|
};
|
|
```
|