Browse Source

cleanup1_working

shuvit 6 years ago
parent
commit
ad50360088
2 changed files with 1825 additions and 2 deletions
  1. 1819
    0
      co_ActionState.py
  2. 6
    2
      controller2.py

+ 1819
- 0
co_ActionState.py
File diff suppressed because it is too large
View File


+ 6
- 2
controller2.py View File

1707
 def brfoot():
1707
 def brfoot():
1708
     lay = grablay + 40
1708
     lay = grablay + 40
1709
     if STANCE == 0:
1709
     if STANCE == 0:
1710
-	skater.playAction("brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1710
+        skater.playAction("brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1711
         deck.playAction("a_brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1711
         deck.playAction("a_brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1712
         trucks.playAction("a_brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1712
         trucks.playAction("a_brfoot", 1, 30, layer=lay, blendin=2, play_mode=0, speed=CAVEMAN_SPEED)
1713
     if STANCE == 1:
1713
     if STANCE == 1:
2151
             elif own['grindType'] == "fak_nosegR": 
2151
             elif own['grindType'] == "fak_nosegR": 
2152
                 own['requestAction'] = 'fak_nosegr'               
2152
                 own['requestAction'] = 'fak_nosegr'               
2153
             elif own['grindType'] == "fak_nosegL":
2153
             elif own['grindType'] == "fak_nosegL":
2154
-                own['requestAction'] = 'reg_nosegl'                
2154
+                own['requestAction'] = 'fak_nosegl'                
2155
             elif own['grindType'] == "fak_tailg":
2155
             elif own['grindType'] == "fak_tailg":
2156
                 own['requestAction'] = 'fak_tailg' 
2156
                 own['requestAction'] = 'fak_tailg' 
2157
             elif own['grindType'] == "fak_tailgR": 
2157
             elif own['grindType'] == "fak_tailgR": 
2221
             elif own['grindType'] == "fak_tailgL":
2221
             elif own['grindType'] == "fak_tailgL":
2222
                 own['requestAction'] = 'fak_tailgl' 
2222
                 own['requestAction'] = 'fak_tailgl' 
2223
             elif own['grindType'] == "reg_tailslide":
2223
             elif own['grindType'] == "reg_tailslide":
2224
+                own['requestAction'] = 'reg_tailslide'
2224
             elif own['grindType'] == "fak_tailslide":
2225
             elif own['grindType'] == "fak_tailslide":
2225
                 own['grind_stance'] = 1
2226
                 own['grind_stance'] = 1
2226
                 own['requestAction'] = 'fak_tailslide'
2227
                 own['requestAction'] = 'fak_tailslide'
4329
     force2 = [0.0, 0, -10]
4330
     force2 = [0.0, 0, -10]
4330
     own.applyForce(force2, True)
4331
     own.applyForce(force2, True)
4331
 
4332
 
4333
+if grindDar == False:
4334
+    own['grindType'] = ''
4332
 
4335
 
4336
+#print(own['grindType'])

Loading…
Cancel
Save