Clarifying README.cat a bit, removed auto rescue

This commit is contained in:
ilikecats 2024-07-05 18:40:40 -07:00
parent c7af2ae557
commit 12fb756d89
2 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,13 @@
STK Cat Mod {Now with 100% more git repos!}
What I've changed in the mod:
- Press space once, and it checks for lack of powerup, and if you have no
powerup, gives you the zipper.
- You always have nitro.
- Using nitro gives you nitro, instead of taking it away (can help beating nitro collecting levels).
- You can have different default powerups (so, not POWERUP_NOTHING anymore),
and the default powerup is now the zipper.
- You always have nitro.
- Using nitro gives you nitro, instead of taking it away (can help beating
nitro collecting levels).
- There is no more auto rescue, use backspace instead.

View File

@ -1601,7 +1601,7 @@ void Kart::update(int ticks)
const float roll = quad_normal.angle
((Vec3(0, 1, 0).rotate(q.getAxis(), q.getAngle())));
if (Track::getCurrentTrack()->isAutoRescueEnabled() &&
if (false && Track::getCurrentTrack()->isAutoRescueEnabled() &&
(!m_terrain_info->getMaterial() ||
!m_terrain_info->getMaterial()->hasGravity()) &&
!has_animation_before && fabs(roll) > 60 * DEGREE_TO_RAD &&
@ -1689,7 +1689,7 @@ void Kart::update(int ticks)
#endif
PROFILER_PUSH_CPU_MARKER("Kart::Update (material)", 0x60, 0x34, 0x7F);
if (!material) // kart falling off the track
/*if (!material) // kart falling off the track
{
// let kart fall a bit before rescuing
const Vec3 *min, *max;
@ -1730,7 +1730,7 @@ void Kart::update(int ticks)
}
#endif
}
} // if there is material
}*/ // if there is material
PROFILER_POP_CPU_MARKER();
Track::getCurrentTrack()->getItemManager()->checkItemHit(this);
@ -2438,7 +2438,7 @@ void Kart::crashed(const Material *m, const Vec3 &normal)
}
}
#endif
if (m->getCollisionReaction() == Material::RESCUE)
if (false && m->getCollisionReaction() == Material::RESCUE)
{
RescueAnimation::create(this);
m_last_factor_engine_sound = 0.0f;