From 4e0fb5020437dcdc4a8a2f6dd27b72955e0235a3 Mon Sep 17 00:00:00 2001 From: alganthe Date: Sun, 23 Aug 2015 21:03:00 +0200 Subject: [PATCH] goggles framework --- documentation/framework/goggles-framework.md | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 documentation/framework/goggles-framework.md diff --git a/documentation/framework/goggles-framework.md b/documentation/framework/goggles-framework.md new file mode 100644 index 0000000000..f716532399 --- /dev/null +++ b/documentation/framework/goggles-framework.md @@ -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. + }; +}; +```