mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Wiki - Update cargo-framework.md (#9672)
* Update cargo-framework.md * Update cargo-framework.md
This commit is contained in:
parent
464ab0cefb
commit
11c1917e7b
@ -16,16 +16,18 @@ version:
|
||||
|
||||
### 1.1 Preparing a vehicle for ACE3 cargo
|
||||
|
||||
{% raw %}
|
||||
```cpp
|
||||
class CfgVehicles {
|
||||
class yourVehicleBaseClass {
|
||||
ace_cargo_space = 4; // Cargo space your vehicle has
|
||||
ace_cargo_hasCargo = 1; // Enables cargo to be loaded inside the vehicle (1-yes, 0-no)
|
||||
ace_cargo_loadmasterTurrets = {{1}}; // If vehicle inherits from "Air", you can set this attribute.
|
||||
ace_cargo_loadmasterTurrets[] = {{1}}; // If vehicle inherits from "Air", you can set this attribute.
|
||||
// When sitting in the turret paths you define here, you can paradrop cargo items. By default, pilots and co-pilots can paradrop cargo items.
|
||||
};
|
||||
};
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
### 1.2 Making an object loadable
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user