ACE3/documentation/framework/javelin-framework.md

25 lines
598 B
Markdown
Raw Normal View History

2015-08-23 19:03:31 +00:00
---
layout: wiki
title: javelin framework
description:
group: framework
order: 5
parent: wiki
---
## 1. Adding javelin style locking to your Launcher
```c++
class CfgWeapons {
class your_launcher : launch_O_Titan_F {
ace_javelin_enabled = 1; // enable javelin style locking
weaponInfoType = "ACE_RscOptics_javelin";
modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d";
canLock = 0; // disable vanilla locking
lockingTargetSound[] = {"",0,1}; // locking sound
lockedTargetSound[] = {"",0,1}; // target acquired sound
};
};
```