State vs Country

Discussion in 'Моддинг' started by Awar, Mar 11, 2018.

  1. Awar

    Awar Well-Known Member

    Реализовано через мод, см. тему
    Уменьшение размеров юнитов или вариант получения реалистичных размеров в игре.

    http://www.cossacks3.com/forum/index.php?threads/Уменьшение-размеров-юнитов-или-вариант-получения-реалистичных-размеров-в-игре.30436/


    Примеры стрельбы пушки

    [​IMG]
    Картинка взрыва сдвинута на обоих вариантах для удобства сравнения.
    [​IMG]

    Реальные картинки взрыва гранаты
    [​IMG]
    [​IMG]
     
  2. ComDiv

    ComDiv Active Member

    AWAR, а как тебе такое предложение:
    Некие "Апы" в кузнице или где-то еще на увеличение лимита в Центре сбора
    а) мушкетер/гренадер с 72 - 144 - 288
    б) кавалерии / драгун с 40 - 80 - 160
     
  3. Awar

    Awar Well-Known Member

    Подумаю, побуду с этим.
     
  4. Awar

    Awar Well-Known Member

    Обновление мода
    state_vs_country_plus_16_51
    https://yadi.sk/d/LMqOBh2jtkUQlA
    [​IMG]

    1 Новый набор юнитов на "Золотой век" для Австрии и Венгрии
    2 Новый набор юнитов пехоты на "Золотой век" для Пьемонта, Швейцарии и Венеции.
    3 Офицер, барабанщик и знаменосец более корректно действует в бою.
    4 Для наемных гусар и кирасир середины 18 века действуют бонусы "палаши и сабли".
    Для наемных кирасир действует защита "кираса".
    5 При игре в "Золотом Веке" наемные мушкетеры, гренадеры и драгуны середины 18 века получают
    дополнительные бонусы к атаке и защите.
    Дополнительная информация:
    http://www.cossacks3.com/forum/inde...untry-new-terrain-mod.30424/page-7#post-88309
     
    Last edited: Nov 2, 2019
  5. Awar

    Awar Well-Known Member

    Приостановлена разработка и выпуск дополнений мода на неопределенный срок.
     
  6. Loner

    Loner Active Member

    Uploaded.;)
     
  7. Awar

    Awar Well-Known Member

    Thank you! :)
     
  8. Awar

    Awar Well-Known Member

    ComDiv likes this.
  9. Erik

    Erik New Member

    I actually like the smaller unit scale.... Also can you add in the stand ground button back in when selected multiple units. Its really annoying having troops start wandering off when you are trying to hold a specific spot. Thanks! Great Mod. Makes the game worth playing.
     
  10. Awar

    Awar Well-Known Member

    I also like the small scale units.
    Use the mod "small_scale_units_sc_16_5" to launch the main mod.
    http://www.cossacks3.com/forum/index.php?threads/Уменьшение-размеров-юнитов-или-вариант-получения-реалистичных-размеров-в-игре.30436/#post-88361

    I will try to add the button in update of mod.

    [​IMG]
     
    Last edited: Nov 2, 2019
  11. Awar

    Awar Well-Known Member

    new version
    http://www.cossacks3.com/forum/index.php?threads/Уменьшение-размеров-юнитов-или-вариант-получения-реалистичных-размеров-в-игре.30436/#post-88377
     
  12. Erik

    Erik New Member

    With the smaller scale units, perhaps you can also raise the size of the regiments. From the current 288 to 400 or something that makes sense.

    Thanks for all the hard work Awar! I really like playing this mod.

    I it possible to add custom maps? This is something I always thought the came lacked....
     
  13. Erik

    Erik New Member

    Also, can you tell me where to make it so I can build more than 1 diplomatic center? Thanks
     
  14. Awar

    Awar Well-Known Member

    Of course, add
     
  15. Awar

    Awar Well-Known Member

    file, \data\scripts\lib\country.script

    // UNIT LOCK
    ind := 0;
    member := csid+'dip';
    var unitlockind : Integer = _country_GetUnitLockIndexBySID(cid, member, bAddIfNotExist);
    if (unitlockind<>-1) then
    _country_AddUnitLock(country, unitlockind, member, member, 1, ind);

    ind := 0;
    member := 'ferry';
    unitlockind := _country_GetUnitLockIndexBySID(cid, member, bAddIfNotExist);
    if (unitlockind<>-1) then
    _country_AddUnitLock(country, unitlockind, member, member, 10, ind);


    You can remove the lines or you can, for example, change 1 to 2
     
  16. Erik

    Erik New Member

    Once I change the "1" to "4" and try and load the game, it tells me that I need to stop some scripts and crashes. Any thoughts?

    This is what I changed:
    // UNIT LOCK
    ind: = 0;
    // if (usa) then
    // member: = 'scodip'
    // else
    member: = csid + 'dip';

    var unitlockind: Integer = _country_GetUnitLockIndexBySID (cid, member, bAddIfNotExist);
    if (unitlockind <> - 1) then
    _country_AddUnitLock (country, unitlockind, member, member, 1, ind);

    To:
    // UNIT LOCK
    ind: = 0;
    // if (usa) then
    // member: = 'scodip'
    // else
    member: = csid + 'dip';

    var unitlockind: Integer = _country_GetUnitLockIndexBySID (cid, member, bAddIfNotExist);
    if (unitlockind <> - 1) then
    _country_AddUnitLock (country, unitlockind, member, member, 4, ind);
     
  17. Awar

    Awar Well-Known Member

    Do you load or start new the game?
    I changed 1 to 4 and started the editor. I managed to build 4 diplomatic centers.
    My file, country.script.
    https://yadi.sk/d/z85VmeiIrzMNgg
     
  18. Erik

    Erik New Member

    I don't even get to that option, It gives me the error on loading. Yours does work fine though. Thanks for the help.
     
  19. Awar

    Awar Well-Known Member

    :)
     
  20. Ebel

    Ebel Moderator Staff Member

    Erik when you get stuck like this, normal procedure would be to load the external editor (editor.exe) , and look in the console if it tells you an error. If it still doesn't, then in that editor, go to the Module Tab-> StateMachinesCollection -> lib.src->States->compile script. This really should tell you if there is an error and where and what.
     
    Erik likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice