Skip to content

Commit

Permalink
A work around for the strobe light which affect a lot of airport.
Browse files Browse the repository at this point in the history
This is a work around for issue: #63
  • Loading branch information
dvanmosselbeen committed Jul 27, 2019
1 parent 04ef79a commit d09718a
Show file tree
Hide file tree
Showing 15 changed files with 237 additions and 22 deletions.
144 changes: 144 additions & 0 deletions Models/Effects/flashlight_white10000.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 10 trans 0.0000
MATERIAL "transparent" rgb 0.8000 0.8000 0.8000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.0000 0.0000 0.0000 shi 12 trans 1.0000
MATERIAL "Material" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 1.0000 1.0000 1.0000 spec 1.0000 1.0000 1.0000 shi 12 trans 0.0000
OBJECT world
name "Blender_export__flashlight_white10000.ac"
kids 2
OBJECT poly
name "BLANK"
crease 35.0
numvert 9
-0.0000005 0.0000005 -3.7499998
-0.0000002 2.6516509 -2.6516497
0.0000000 3.7500000 0.0000007
0.0000004 2.6516500 2.6516507
0.0000005 -0.0000008 3.7499998
0.0000002 -2.6516514 2.6516492
0.0000000 -3.7500000 -0.0000005
-0.0000004 -2.6516504 -2.6516504
0.0000000 -0.0000002 -0.0000001
numsurf 8
SURF 0X0
mat 1
refs 3
4 0.999900 0.292935
3 0.999900 0.707065
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
2 0.707065 0.999900
1 0.292935 0.999900
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
7 0.000100 0.292934
6 0.292935 0.000100
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
5 0.707065 0.000100
4 0.999900 0.292935
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
3 0.999900 0.707065
2 0.707065 0.999900
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
1 0.292935 0.999900
0 0.000100 0.707065
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
0 0.000100 0.707065
7 0.000100 0.292934
8 0.500000 0.500000
SURF 0X0
mat 1
refs 3
6 0.292935 0.000100
5 0.707065 0.000100
8 0.500000 0.500000
kids 0
OBJECT poly
name "strobe10000"
crease 35.0
texture "flashlight_white10000.png"
texrep 1 1
numvert 24
18.7500000 0.3955011 -18.7500000
-0.6964106 -18.7499981 -18.7499981
-0.6964106 -18.7499981 18.7499981
-0.6964106 18.7499981 -18.7499981
-0.6964106 18.7499981 18.7499981
18.7499981 -18.7499962 -0.3460635
-18.7499981 -18.7499962 -0.3460635
18.7499981 18.7499962 -0.3460635
-18.7499981 18.7499962 -0.3460635
-18.7500000 0.3955011 18.7500000
18.7500000 0.3955011 18.7500000
-18.7500000 0.3955011 -18.7500000
0.6435813 18.7500019 -18.7499905
0.6435813 18.7499905 18.7500019
0.6435779 -18.7499905 -18.7500019
0.6435779 -18.7500019 18.7499905
-18.8983135 -0.3460568 -18.7499981
18.6016865 -0.3460701 18.7499981
-18.8983135 -0.3460669 18.7499981
18.6016865 -0.3460601 -18.7499981
-18.7499943 -18.7499943 0.3460618
18.7499943 -18.7499943 0.3460651
-18.7499943 18.7499943 0.3460618
18.7499943 18.7499943 0.3460651
numsurf 6
SURF 0X0
mat 2
refs 4
9 0.000100 0.000100
10 0.999900 0.000100
0 0.999900 0.999900
11 0.000100 0.999900
SURF 0X0
mat 2
refs 4
1 0.000100 0.000100
2 0.999900 0.000100
4 0.999900 0.999900
3 0.000100 0.999900
SURF 0X0
mat 2
refs 4
5 0.000100 0.000100
6 0.999900 0.000100
8 0.999900 0.999900
7 0.000100 0.999900
SURF 0X0
mat 2
refs 4
12 0.000100 0.000100
13 0.999900 0.000100
15 0.999900 0.999900
14 0.000100 0.999900
SURF 0X0
mat 2
refs 4
17 0.000100 0.000100
18 0.999900 0.000100
16 0.999900 0.999900
19 0.000100 0.999900
SURF 0X0
mat 2
refs 4
20 0.000100 0.000100
21 0.999900 0.000100
23 0.999900 0.999900
22 0.000100 0.999900
kids 0
Binary file added Models/Effects/flashlight_white10000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 67 additions & 0 deletions Models/Effects/flashlight_white10000.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<PropertyList>
<path>flashlight_white10000.ac</path>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>20000</max-m>
</animation>

<!-- LIGHT -->
<animation>
<type>alpha-test</type>
<alpha-factor>0.01</alpha-factor>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>strobe10000</object-name>
<object-name>BLANK</object-name>
</effect>

<animation>
<type>timed</type>
<object-name>strobe10000</object-name>
<object-name>BLANK</object-name>
<use-personality type="bool">true</use-personality>
<branch-duration-sec>
<random>
<min>1.5</min>
<max>1.5</max>
</random>
</branch-duration-sec>
<branch-duration-sec>
<random>
<min>0.025</min>
<max>0.025</max>
</random>
</branch-duration-sec>
</animation>

<animation>
<type>dist-scale</type>
<object-name>strobe10000</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep>0.2</dep>
</entry>
<entry>
<ind>300</ind>
<dep>0.4</dep>
</entry>
<entry>
<ind>1500</ind>
<dep>1</dep>
</entry>
<entry>
<ind>4000</ind>
<dep>3</dep>
</entry>
<entry>
<ind>10000</ind>
<dep>5</dep>
</entry>
</interpolation>
</animation>

</PropertyList>
2 changes: 1 addition & 1 deletion Objects/e000n50/e002n51/ebfn_building_ref_018.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>8</x-m>
<y-m>0</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e002n51/ebos_building_ref_014.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>-101.978</x-m>
<y-m>-24.483</y-m>
Expand Down
12 changes: 6 additions & 6 deletions Objects/e000n50/e003n50/ebsg_building_ref_001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>-5.3773</x-m>
<y-m>8.2184</y-m>
<z-m>7.6180</z-m>
<x-m>-5.37733</x-m>
<y-m>8.21844</y-m>
<z-m>9.11803</z-m>
<heading-deg>0</heading-deg>
</offsets>
</model>

<model>
<!-- model>
<path>Models/Effects/RedLight10000.xml</path>
<offsets>
<x-m>-5.3773</x-m>
<y-m>8.2184</y-m>
<z-m>9.1180</z-m>
<heading-deg>0</heading-deg>
</offsets>
</model>
</model -->
</PropertyList>

2 changes: 1 addition & 1 deletion Objects/e000n50/e004n50/control_tower.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>2.2306</x-m>
<y-m>0.3421</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e004n50/ebcf_building_ref_001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<path>ebcf_building_ref_001.ac</path>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>10.4042</x-m>
<y-m>2</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e004n50/ebci_building_ref_001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>0.204838</x-m>
<y-m>15.3005</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e004n50/ebfs_building_ref_048.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>16.5</x-m>
<y-m>2.31769</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e004n50/ebsw_building_ref_004.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>0</x-m>
<y-m>-26</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e004n51/ebaw_building_ref_011.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>-99.9087</x-m>
<y-m>34.6824</y-m>
Expand Down
2 changes: 1 addition & 1 deletion Objects/e000n50/e005n50/ebav_mast_tower.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<path>ebav_mast_tower.ac</path>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
Expand Down
16 changes: 10 additions & 6 deletions Objects/e000n50/e005n51/ebbl_control_tower.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<path>ebbl_control_tower.ac</path>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
Expand All @@ -14,11 +14,15 @@
</offsets>
</model>

<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>7000</max-m>
</animation>
<model>
<path>Models/Effects/RedLight10000.xml</path>
<offsets>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>27</z-m>
<heading-deg>0</heading-deg>
</offsets>
</model>

</PropertyList>

2 changes: 1 addition & 1 deletion Objects/e000n50/e005n51/ebzw_building_ref_002.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</animation>

<model>
<path>Models/Effects/strobe10000.xml</path>
<path>Models/Effects/flashlight_white10000.xml</path>
<offsets>
<x-m>11.0</x-m>
<y-m>-3.18211</y-m>
Expand Down

0 comments on commit d09718a

Please sign in to comment.