mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
400 B
Markdown
23 lines
400 B
Markdown
|
---
|
||
|
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.
|
||
|
};
|
||
|
};
|
||
|
```
|