User Pass
Home Sign Up Contact Log In
Forum > Discuss GLB Issues With Catch22 > NOT A BUG - CLOSED > punt return man just stps and waits to get tackled
ron2288
offline
Link
 
http://goallineblitz.com/game/replay.pl?game_id=78329&pbp_id=287274

my CB is doing the returning. he just stops

Speed 69.42
agility 48.98
vision 46
with agility more then half my speed , it seems like he would be able to cut...Is this just a bug if not what can I do to improve
 
Domers2130
offline
Link
 
have him take the cement blocks off his feet.
 
Sigmaforce
offline
Link
 
It looked like he was trying to make a move, guy just closed too quickly? I don't know, I don't really think this is particularly buggy.
 
crag79
offline
Link
 
Set to elusive??
 
ron2288
offline
Link
 
Originally posted by crag79
Set to elusive??


yes have always had him set at that
 
Potzer01 DTD
offline
Link
 
I bet I know what this is.....
Basic AI:

Vector2 diff = Normalize(playerPos - tacklerPos);
float dot = tacklerDirection.perpDot(diff);
if (dot < 0.0f)
// Turn one direction
else if (dot > 0.0f)
// Turn the other direction

float Vector2:erpDot(const Vector2& v) const {return -this->y * v.x + this->x * v.y;}

So since the nerf on speed backs, which I assume was something to the effect of
if( length(newdir -prevdir) > 0.1){ velocity*=.1;}

Then whats happening is the direction is constantly swapping left right left right every frame.. and velocity == epsilon (~0, almost nothing)

The fix is to not recalculate the heading if length(velocity) < (some value determined by ballcarrying settings and players agility and speed)

Here's another example where you can see the runner stop "avoiding" the tackler on the right, then stopping to avoid the tackler on the left... This is actually best case scenario since the steering forces would atleast move the ball carrier forward.

http://goallineblitz.com/game/replay.pl?game_id=81794&pbp_id=587888

If you're looking for developers, I could quit my job making http://wii.ign.com/articles/886/886836p1.html and come work on GLB =x
 
RMiller517
offline
Link
 
Thread locked by moderator.
 


You are not logged in. Please log in if you want to post a reply.