View Single Post
Miu
Veteran Member
Join Date: Nov 2013
Old 07-21-2015 , 18:10   Re: [ANY] Slope Boost Fix
Reply With Quote #2

Haha wow I completely read that math wrong

Anyway since you're overwriting normal p hysics in that tick, you may need to manually add velocity from the booster on that one slope on arcane:

PHP Code:
    float xynormal[3];
    
    
xynormal[0] = vNormal[0];
    
xynormal[1] = vNormal[1];
    
    
NormalizeVector(xynormalxynormal);
    
    
char map[64];
    
GetCurrentMap(mapsizeof(map));
    if(
StrEqual(map"bhop_arcane_v1") && vOrigin[0] <= -4245.0 && vOrigin[0] >= -4605.0 && vOrigin[1] >= 1300.0 && vOrigin[1] <= 1791.0 && vOrigin[2] >= 2700.0 && vOrigin[2] <= 3378.0)
    {
        
vel[0] += xynormal[0] * 250.0;
        
vel[1] += xynormal[1] * 250.0;
    } 
Miu is offline