ติดตั้ง Steam
เข้าสู่ระบบ
|
ภาษา
简体中文 (จีนตัวย่อ)
繁體中文 (จีนตัวเต็ม)
日本語 (ญี่ปุ่น)
한국어 (เกาหลี)
български (บัลแกเรีย)
Čeština (เช็ก)
Dansk (เดนมาร์ก)
Deutsch (เยอรมัน)
English (อังกฤษ)
Español - España (สเปน)
Español - Latinoamérica (สเปน - ลาตินอเมริกา)
Ελληνικά (กรีก)
Français (ฝรั่งเศส)
Italiano (อิตาลี)
Bahasa Indonesia (อินโดนีเซีย)
Magyar (ฮังการี)
Nederlands (ดัตช์)
Norsk (นอร์เวย์)
Polski (โปแลนด์)
Português (โปรตุเกส - โปรตุเกส)
Português - Brasil (โปรตุเกส - บราซิล)
Română (โรมาเนีย)
Русский (รัสเซีย)
Suomi (ฟินแลนด์)
Svenska (สวีเดน)
Türkçe (ตุรกี)
Tiếng Việt (เวียดนาม)
Українська (ยูเครน)
รายงานปัญหาเกี่ยวกับการแปลภาษา
I need to inform You kindly about Your mod make the issues with other vehicle mods and with Vanilla Trucks as well because its modifying other cars/trucks barrels in that vehicles I mean when player insert the barrel to truck slots - in all other mods that barrels remain closed and player cannot open them - its because your mod control it so please fix it to be compatible with other vehicle mods on Steam.
modded class ContainerWithCargo
{
void SetEntity(EntityAI entity, int cargo_index = 0, bool immedUpdate = true)
{
m_Entity = entity;
m_CargoIndex = cargo_index;
Barrel_ColorBase barrel = Barrel_ColorBase.Cast(m_Entity);
if (barrel)
{
if (barrel.IsOpen())
{
SetOpenState(true);
}
else
{
SetOpenState(false);
}
}
else
{
SetOpenState(true);
}
m_CargoGrid.SetEntity(entity, immedUpdate);
m_CargoGrid.UpdateHeaderText();
m_ClosableHeader.SetItemPreview(entity);
CheckHeaderDragability();
Container.Cast(m_Parent).Insert(this, -1, false);
if (m_Entity.GetInventory().IsInventoryLockedForLockType(HIDE_INV_FROM_SCRIPT) || !m_Entity.CanDisplayCargo())
LockCargo(true);
else
LockCargo(false);
if (immedUpdate)
{
Refresh();
GetMainWidget().Update();
}
}
override void LockCargo(bool value)
{
super.LockCargo(value);
Barrel_ColorBase barrel = Barrel_ColorBase.Cast(m_Entity);
if (value || (barrel && !barrel.IsOpen()))
{
m_CargoGrid.OnHide();
}
else
{
m_CargoGrid.OnShow();
}
}
};
Give it a shot and let everyone know if it helps—could save some headaches!
Such issues are resolved there, not here.;)