float autocvar_g_balance_fuel_rotlinear;
int autocvar_g_balance_fuel_rotstable;
float autocvar_g_balance_grapplehook_piggybackfriction = 1;
+float autocvar_g_balance_grapplehook_nade_time = 0.7;
float autocvar_g_balance_grapplehook_airfriction;
float autocvar_g_balance_grapplehook_force_rubber;
float autocvar_g_balance_grapplehook_force_rubber_overstretch;
if(self.aiment.flags & FL_PROJECTILE)
UpdateCSQCProjectile(self.aiment);
}
+ if(self.aiment.classname == "nade")
+ self.aiment.nextthink = time + autocvar_g_balance_grapplehook_nade_time; // set time after letting go?
aim_ent.pusher = self.realowner;
aim_ent.pushltime = time + autocvar_g_maxpushtime;
aim_ent.istypefrag = aim_ent.BUTTON_CHAT;
is_weapclip = 1;*/
if(ITEM_TOUCH_NEEDKILL()) // || is_weapclip)
{
+ entity head;
+ for(head = world; (head = find(head, classname, "grapplinghook")); )
+ if(head.aiment == self)
+ RemoveGrapplingHook(head.realowner);
remove(self);
return;
}