shuvit 6 years ago
parent
commit
590ead8212
1 changed files with 49 additions and 4 deletions
  1. 49
    4
      initer.py

+ 49
- 4
initer.py View File

@@ -9,14 +9,17 @@ def main():
9 9
     #init
10 10
     cont = bge.logic.getCurrentController()
11 11
     own = cont.owner
12
-
12
+    dict = bge.logic.globalDict
13 13
     own['lmLR'] = 0
14 14
     own['lmUD'] = 0
15 15
     own['rmLR'] = 0
16 16
     own['rmUD'] = 0
17 17
     own['mTrig'] = 0
18
-    own['last_move_x'] = 0
19
-    own['last_move_y'] = 0
18
+    own['last_move_x'] = 0.000
19
+    own['last_move_y'] = 0.000
20
+    own['last_move_z'] = 0.000
21
+    own['last_rot_x'] = 0.0000
22
+    own['last_rot_y'] = 0.0000    
20 23
     own['aBut'] = 0
21 24
     own['bBut'] = 0
22 25
     own['xBut'] = 0
@@ -27,5 +30,47 @@ def main():
27 30
     own['bkBut'] = 0
28 31
     own['ltsBut'] = 0
29 32
     own['rtsBut'] = 0
30
-
33
+    own['speed_mult'] = 1.00
34
+    own['menu_on'] = False
35
+    dict['menu_on'] = False
36
+    own['submenu_on'] = False
37
+    dict['submenu_on'] = False
38
+    own['menu_item'] = 0
39
+    own['submenu_item'] = 0
40
+    own['idle_timer'] = 0
41
+    own['idle'] = False
42
+    own['idlecampos_x'] = 0
43
+    own['cam_focal_length'] = 24
44
+    dict['cam_focal_length'] = 24
45
+    
46
+    act = cont.actuators["fxaa"]
47
+    cont.activate(act)
48
+    act = cont.actuators["bc_act"]
49
+    cont.activate(act)
50
+    act = cont.actuators["ao_act"]
51
+    cont.activate(act)    
52
+    act = cont.actuators["hdr_act"]
53
+    cont.activate(act) 
54
+    act = cont.actuators["dof_act"]
55
+    cont.activate(act)        
56
+    
57
+    
58
+    
59
+    dict['menuText'] = ''
60
+    dict['submenuText'] = ''
61
+    dict['optionText'] = ''
62
+    
63
+    own['FXAA_SPAN_MAX'] = 16.0
64
+    own['bc'] = True
65
+    own['ao'] = True
66
+    own['BC_CONTRAST'] = 1.3  
67
+    own['BC_BRIGHTNESS'] = 1.15
68
+    own['aowidth'] = 64
69
+    own['aoradius'] = 64
70
+    
71
+    own['hdr'] = True
72
+    own['HDRamount'] = .05
73
+    own['avgL'] = 1.0
74
+    
75
+    
31 76
 main()

Loading…
Cancel
Save