Narrowed TrackedTrainer tracks

TrackedTrainers now have same width as other bots
modernize-cmake-1
tomangelo2 2018-02-10 20:58:14 +01:00
parent bd0c6d4344
commit f51f457023
1 changed files with 9 additions and 3 deletions

View File

@ -523,7 +523,10 @@ void CMotionVehicle::Create(Math::Vector pos, float angle, ObjectType type,
m_object->SetObjectParent(6, 0);
modelManager->AddModelCopy("lem2t.mod", false, rank, m_object->GetTeam());
if (m_object->GetTrainer() || type == OBJECT_MOBILEtt)
m_object->SetPartPosition(6, Math::Vector(0.0f, 2.0f, -3.8f));
{
m_object->SetPartPosition(6, Math::Vector(0.0f, 2.0f, -3.6f));
m_object->SetPartScaleZ(6, 0.7f);
}
else
m_object->SetPartPosition(6, Math::Vector(0.0f, 2.0f, -3.0f));
@ -534,7 +537,10 @@ void CMotionVehicle::Create(Math::Vector pos, float angle, ObjectType type,
m_object->SetObjectParent(7, 0);
modelManager->AddModelCopy("lem3t.mod", false, rank, m_object->GetTeam());
if (m_object->GetTrainer() || type == OBJECT_MOBILEtt)
m_object->SetPartPosition(7, Math::Vector(0.0f, 2.0f, 3.8f));
{
m_object->SetPartPosition(7, Math::Vector(0.0f, 2.0f, 3.6f));
m_object->SetPartScaleZ(7, 0.7f);
}
else
m_object->SetPartPosition(7, Math::Vector(0.0f, 2.0f, 3.0f));
}