fix: problems with picking up grenades on the ground (ref #529)
fix: picking up m249 ammo from the ground fix: make bots respect camping_time_min/max when guarding bomb/hostages nav: make normal and rusher bots less defensive on hostage maps (ref #528)
This commit is contained in:
parent
fe1bca4fcc
commit
67eb6334f6
7 changed files with 37 additions and 23 deletions
|
|
@ -104,6 +104,8 @@ public:
|
|||
return m_sendToDetour.restore ();
|
||||
}
|
||||
|
||||
public:
|
||||
static int32_t CR_STDCALL sendTo (int socket, const void *message, size_t length, int flags, const struct sockaddr *dest, int destLength);
|
||||
};
|
||||
|
||||
// used for transit calls between game dll and engine without all needed functions on bot side
|
||||
|
|
|
|||
|
|
@ -126,9 +126,6 @@ public:
|
|||
bool isInViewCone (const Vector &pos, edict_t *ent) {
|
||||
return getShootingCone (ent, pos) >= cr::cosf (cr::deg2rad ((ent->v.fov > 0 ? ent->v.fov : 90.0f) * 0.5f));
|
||||
}
|
||||
|
||||
public:
|
||||
static int32_t CR_STDCALL sendTo (int socket, const void *message, size_t length, int flags, const struct sockaddr *dest, int destLength);
|
||||
};
|
||||
|
||||
// expose global
|
||||
|
|
|
|||
|
|
@ -871,6 +871,8 @@ extern ConVar cv_spraypaints;
|
|||
extern ConVar cv_whose_your_daddy;
|
||||
extern ConVar cv_grenadier_mode;
|
||||
extern ConVar cv_ignore_enemies_after_spawn_time;
|
||||
extern ConVar cv_camping_time_min;
|
||||
extern ConVar cv_camping_time_max;
|
||||
|
||||
extern ConVar mp_freezetime;
|
||||
extern ConVar mp_roundtime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue