File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ function Create(self)
4
4
self .AI = NativeHumanAI :Create (self );
5
5
end
6
6
function ThreadedUpdateAI (self )
7
+ print (self .Vel );
7
8
self .AI :Update (self );
8
9
end
9
10
function Destroy (self )
Original file line number Diff line number Diff line change @@ -219,8 +219,10 @@ int AHuman::Create(const AHuman& reference) {
219
219
m_Paths[FGROUND][RUN].Create (reference.m_Paths [FGROUND][WALK]);
220
220
m_Paths[BGROUND][RUN].Create (reference.m_Paths [BGROUND][WALK]);
221
221
// Sensible default multiplier
222
- m_Paths[FGROUND][RUN].SetTravelSpeed (m_Paths[FGROUND][RUN].GetTravelSpeed () * 1.5 );
223
- m_Paths[BGROUND][RUN].SetTravelSpeed (m_Paths[BGROUND][RUN].GetTravelSpeed () * 1.5 );
222
+ m_Paths[FGROUND][RUN].SetTravelSpeed (m_Paths[FGROUND][RUN].GetTravelSpeed () * 2 .5F );
223
+ m_Paths[BGROUND][RUN].SetTravelSpeed (m_Paths[BGROUND][RUN].GetTravelSpeed () * 2 .5F );
224
+ m_Paths[FGROUND][RUN].SetBaseScaleMultiplier (Vector (1 .3F , 1 .0F ));
225
+ m_Paths[BGROUND][RUN].SetBaseScaleMultiplier (Vector (1 .3F , 1 .0F ));
224
226
}
225
227
226
228
return 0 ;
You can’t perform that action at this time.
0 commit comments