|
@@ -4042,7 +4042,7 @@ def grind_turn():
|
4042
|
4042
|
bsforce = 50
|
4043
|
4043
|
bs_dloc = .03
|
4044
|
4044
|
outvel = own.linearVelocity
|
4045
|
|
- if own['gt_cd2'] > 50:
|
|
4045
|
+ if own['gt_cd2'] > 50 and own['jump_timer'] < 20:
|
4046
|
4046
|
if own['grind_out_type'] == 'reg right':
|
4047
|
4047
|
#print("do reg right")
|
4048
|
4048
|
own.applyMovement([0,reg_move,0], True)
|
|
@@ -4085,27 +4085,35 @@ def grind_turn():
|
4085
|
4085
|
if own['gt_cd2'] == 51:
|
4086
|
4086
|
#print('outforce')
|
4087
|
4087
|
if STANCE == False:
|
|
4088
|
+ print("applying force1")
|
4088
|
4089
|
own.applyForce([-200, 0, 0], True)
|
4089
|
4090
|
own['stance'] = True
|
4090
|
4091
|
STANCE = True
|
4091
|
4092
|
if STANCE == True:
|
|
4093
|
+ print("applying force2")
|
4092
|
4094
|
own.applyForce([200, 0, 0], True)
|
4093
|
4095
|
own['stance'] = False
|
4094
|
4096
|
STANCE = False
|
4095
|
4097
|
if own['grind_out_type'] == 'bs reg back' or own['grind_out_type'] == 'bs fak forward':
|
4096
|
4098
|
if own['gt_cd2'] > 50:
|
4097
|
4099
|
if STANCE == True:
|
|
4100
|
+ print("applying force3")
|
4098
|
4101
|
own.applyForce([bsforce, 0, 0], True)
|
4099
|
4102
|
if STANCE == False:
|
|
4103
|
+ print("applying force4")
|
4100
|
4104
|
own.applyForce([bsforce, 0, 0], True)
|
4101
|
|
- own.applyMovement([bs_dloc,0,0], True)
|
|
4105
|
+ own.applyMovement([bs_dloc,0,0], True)
|
|
4106
|
+ print("applying movement1")
|
4102
|
4107
|
if own['grind_out_type'] == 'bs fak back' or own['grind_out_type'] == 'bs reg forward':
|
4103
|
4108
|
if own['gt_cd2'] > 50:
|
4104
|
4109
|
if STANCE == True:
|
|
4110
|
+ print("applying force5")
|
4105
|
4111
|
own.applyForce([-bsforce, 0, 0], True)
|
4106
|
4112
|
if STANCE == False:
|
|
4113
|
+ print("applying force6")
|
4107
|
4114
|
own.applyForce([-bsforce, 0, 0], True)
|
4108
|
|
- own.applyMovement([-bs_dloc,0,0], True)
|
|
4115
|
+ own.applyMovement([-bs_dloc,0,0], True)
|
|
4116
|
+ print("applying movement2")
|
4109
|
4117
|
|
4110
|
4118
|
if own['gt_cd2'] > 0:
|
4111
|
4119
|
own['gt_cd2'] -= 1
|