mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
goggles framework
This commit is contained in:
22
documentation/framework/goggles-framework.md
Normal file
22
documentation/framework/goggles-framework.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
layout: wiki
|
||||||
|
title: Goggles framework
|
||||||
|
description:
|
||||||
|
group: framework
|
||||||
|
order: 5
|
||||||
|
parent: wiki
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1.
|
||||||
|
|
||||||
|
```c++
|
||||||
|
class CfgGlasses {
|
||||||
|
class None;
|
||||||
|
|
||||||
|
class G_bananas:None{
|
||||||
|
ACE_TintAmount=COLOUR*2; // Amount of tint, the color is picked from ACE_Color
|
||||||
|
ACE_Color[] = {0,0,-1}; // If anyone knows please do tell
|
||||||
|
ACE_Resistance = 1; // Resistance to breaking.
|
||||||
|
};
|
||||||
|
};
|
||||||
|
```
|
Reference in New Issue
Block a user