Clarifying README.cat a bit, removed auto rescue
This commit is contained in:
parent
c7af2ae557
commit
12fb756d89
12
README.cat
12
README.cat
@ -1,7 +1,13 @@
|
|||||||
STK Cat Mod {Now with 100% more git repos!}
|
STK Cat Mod {Now with 100% more git repos!}
|
||||||
|
|
||||||
What I've changed in the mod:
|
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 can have different default powerups (so, not POWERUP_NOTHING anymore),
|
||||||
|
and the default powerup is now the zipper.
|
||||||
|
|
||||||
- You always have nitro.
|
- You always have nitro.
|
||||||
- Using nitro gives you nitro, instead of taking it away (can help beating nitro collecting levels).
|
|
||||||
|
- 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.
|
@ -1601,7 +1601,7 @@ void Kart::update(int ticks)
|
|||||||
const float roll = quad_normal.angle
|
const float roll = quad_normal.angle
|
||||||
((Vec3(0, 1, 0).rotate(q.getAxis(), q.getAngle())));
|
((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() ||
|
||||||
!m_terrain_info->getMaterial()->hasGravity()) &&
|
!m_terrain_info->getMaterial()->hasGravity()) &&
|
||||||
!has_animation_before && fabs(roll) > 60 * DEGREE_TO_RAD &&
|
!has_animation_before && fabs(roll) > 60 * DEGREE_TO_RAD &&
|
||||||
@ -1689,7 +1689,7 @@ void Kart::update(int ticks)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
PROFILER_PUSH_CPU_MARKER("Kart::Update (material)", 0x60, 0x34, 0x7F);
|
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
|
// let kart fall a bit before rescuing
|
||||||
const Vec3 *min, *max;
|
const Vec3 *min, *max;
|
||||||
@ -1730,7 +1730,7 @@ void Kart::update(int ticks)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} // if there is material
|
}*/ // if there is material
|
||||||
PROFILER_POP_CPU_MARKER();
|
PROFILER_POP_CPU_MARKER();
|
||||||
|
|
||||||
Track::getCurrentTrack()->getItemManager()->checkItemHit(this);
|
Track::getCurrentTrack()->getItemManager()->checkItemHit(this);
|
||||||
@ -2438,7 +2438,7 @@ void Kart::crashed(const Material *m, const Vec3 &normal)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (m->getCollisionReaction() == Material::RESCUE)
|
if (false && m->getCollisionReaction() == Material::RESCUE)
|
||||||
{
|
{
|
||||||
RescueAnimation::create(this);
|
RescueAnimation::create(this);
|
||||||
m_last_factor_engine_sound = 0.0f;
|
m_last_factor_engine_sound = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user