Updated parachute-framework and reloadlaunchers-framework

This commit is contained in:
jonpas 2015-08-25 03:50:06 +02:00
parent e02d28eddf
commit 3b74cc4f47
2 changed files with 10 additions and 16 deletions

View File

@ -1,22 +1,19 @@
---
layout: wiki
title: Parachute framework
description:
title: Parachute Framework
description: Explains how to set-up a parachute with ACE3 parachute system.
group: framework
order: 5
parent: wiki
---
## 1. Adding a reserve parachute to an existing parachute
## 1. Adding reserve parachute to existing parachute
```c++
class CfgVehicles {
class banana_parachute; // your parachute base class
class banana_parachute_02: banana_parachute { // your parachute class
ace_hasReserveParachute = 1; // 1 = enabled, 0 = disabled
ace_reserveParachute = "ACE_ReserveParachute"; // classname of the reserve parachute
class BananaParachute {
ace_hasReserveParachute = 1; // Add reserve parachute (1-enabled, 0-disabled)
ace_reserveParachute = "ACE_ReserveParachute"; // Classname of the reserve parachute
};
};
```

View File

@ -1,7 +1,7 @@
---
layout: wiki
title: reloadlaunchers framework
description:
title: Reload Launchers Framework
description: Explains how to set-up launchers with ACE3 reload launchers system.
group: framework
order: 5
parent: wiki
@ -11,11 +11,8 @@ parent: wiki
```c++
class CfgWeapons {
class Launcher_Base_F; // launcher base class
class yourlauncher: Launcher_Base_F { // launcher class
ACE_reloadlaunchers_enabled = 1; // enable third party reload (your buddies reloading for you)
class MyLauncher {
ace_reloadlaunchers_enabled = 1; // Allow your buddies reloading for you (0-disabled, 1-enabled)
};
};
```