Модинг hoi4, промышленные концерны - Моды и моддинг - Strategium.ru Перейти к содержимому

Модинг hoi4, промышленные концерны

Рекомендованные сообщения

Pachucos1

Мне нужно добавить советкие концерны Украине, я сделал вот так но оно не работает. Фокус      

Спойлер

 

   focus  = {
            icon = GFX_focus_generic_communist_industry
            id = ukr_soviet_munafctures                                                        
            prerequisite = { focus = ukr_surrender_to_soviet }
            x = 10
            y = 8
            cost = 10
        completion_reward = { 
            IF = {
                limit = {
                        has_dlc = "Arms Against Tyranny"
                }    
                custom_effect_tooltip = available_mio_tt
                show_mio_tooltip = SOV_rubin_design_bureau_organization
                show_mio_tooltip = SOV_mig_design_bureau_organization
                show_mio_tooltip = SOV_gaz_organization

                mio:SOV_rubin_design_bureau_organization = {
                    add_mio_size = 1
                }
                mio:SOV_mig_design_bureau_organization = {
                    add_mio_size = 1
                }
                mio:SOV_gaz_organization = {
                    add_mio_size = 4
                }
            }
            ELSE = {
                custom_effect_tooltip = available_designer
                show_ideas_tooltip = SOV_rubin_design_bureau
                show_ideas_tooltip = SOV_mig_design_bureau
                show_ideas_tooltip = SOV_gaz
            }
        }
    }

 

Файл идей: 

Спойлер

 

industrial_concern = {
        
    aircraft_manufacturer = {

        designer = yes

        UKR_mig_design_bureau = {
            name = mig_design_bureau

            picture = mig_design_bureau

            allowed = {
                original_tag = UKR
            }

            visible = {
                has_completed_focus = ukr_soviet_munafctures
            }

            research_bonus = {
                air_equipment = 0.15
            }

            traits = { light_aircraft_manufacturer }

            modifier = {
            }
        }
    }
materiel_manufacturer = {
        designer = yes
        UKR_gaz = {
            name = gaz

            picture = gaz

            allowed = {
                original_tag = UKR
            }

            visible = {
                has_completed_focus = ukr_soviet_munafctures
            }

            research_bonus = {
                motorized_equipment = 0.15
                mot_rockets = 0.50
            }

            traits = { motorized_equipment_manufacturer }

            modifier = {
            }
        }
    }
    naval_manufacturer = {
    UKR_rubin_design_bureau = {

            picture = SOV_rubin_design_bureau

            allowed = {
                original_tag = UKR
            }

            visible = {
                has_completed_focus = ukr_soviet_munafctures
            }

            research_bonus = {
                naval_equipment = 0.15
            }

            traits = { raiding_fleet_naval_manufacturer }

            modifier = {
            }
        }
    }
}

 

Спойлер

Ошибки: [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_rubin_design_bureau_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country. [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_rubin_design_bureau_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country. [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_mig_design_bureau_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country. [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_mig_design_bureau_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country. [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_gaz_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country. [18:48:35][1936.01.01.12][eventtarget.cpp:292]: tried to use mio SOV_gaz_organization as scope, but could not find this mio in country UKR. Check that allowed trigger in mio matches this country.

 

Ссылка на комментарий

Закреплённые сообщения
16 часов назад, Pachucos1 сказал:

Файл идей

Идеи - это хорошо, но для концернов с AAT нужно прописывать доступность нужных организаций в их файлах. Т.е. в common/military_industrial_organization/organizations/ прописать условия доступности в секциях allowed и available. А без этого в логе буквально об этом и написано, что not find this mio in country UKR.

Ссылка на комментарий

Присоединиться к обсуждению

Вы можете оставить комментарий уже сейчас, а зарегистрироваться позже! Если у вас уже есть аккаунт, войдите, чтобы оставить сообщение через него.

Гость
Ответить в тему...

×   Вы вставили отформатированное содержимое.   Удалить форматирование

  Only 75 emoji are allowed.

×   Ваша ссылка автоматически преображена.   Отображать как простую ссылку

×   Предыдущее содержимое было восстановлено..   Очистить текст в редакторе

×   You cannot paste images directly. Upload or insert images from URL.

  • Ответы 1
  • Создано
  • Последний ответ
  • Просмотры 158

Лучшие авторы в этой теме

  • GBV

    1

  • Pachucos1

    1

Популярные дни

Лучшие авторы в этой теме

  • Сейчас на странице   0 пользователей

    • Нет пользователей, просматривающих эту страницу


Copyright © 2008-2024 Strategium.ru Powered by Invision Community

×
×
  • Создать...