Перейти к контенту

Autosave


utak3r

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

(изменено)
Autosave


Описание мода:This little mod adds an autosave feature to Shadow of Chernobyl.
It saves a game after each new task, using this task's name, so you can easily identify them later.

It's tested under ShoCh 1.0004 vanilla. Just unpack it into the gamedata folder and voila. Starting new game is not needed.
==================================================
Игра теперь сохраняется после каждого нового задания, используя его название.
Тестировалось на 1.0004 патче. Распаковать в папку gamedata.
Новая игра не требуется.
==================================================
Версия игры: Сталкер ТЧ 1.004
Автор мода:utak3r
Размер: 0.1 Мб
Список изменений/нововведений:
- autosave feature
Совместимость и возможные проблемы:
Проблем совместимости нет
ссылки на скачивание:
ссылка на 4shared.com
ссылки на скачивание для Народной Солянки от 20.12 (made by ALEX BOY):
ссылка на SendSpace.com


autosavescreenshot.th.jpg

 

Изменено пользователем Dennis_Chikin
  • Полезно 2

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение
Скачал. Поставил. Взял задание у Акима на доки из Х-16. Никого автосейва нет.

 

Did you include news_manager?... It works 100%, checked both on vanilla game and on AMK.

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение
(изменено)

Open the news_manager.script and go to the function send_task(actor, type, task, objective). Near its end find two if blocks:

 

    if type == "new" or type == "update" then
        u3_utils.savegame(news_text)
    end
    if type == "complete" then
        u3_utils.savegame(news_text.." - completed")
    end

 

Copy it in the same place in your NS script. Then just copy a whole u3_utils.script as it is and you're done :)

 

By the way: if you want to add this feature in AMK before every blowout, open your amk_mod.script and find function Blowout_pp(phase). You have to put in the if phase==0 block:

 

    local bt=blowout_type()
    
    if phase==0 then
        amk_anoms.pre_blow_off()
        if bt<1 then
            level.set_weather("pre_blow",true)
            level.set_weather_fx("amk_surge_day")
        end 
        amk.g_start_timer("blowout",0,0,1,1)
        u3_utils.savegame("Blowout started on "..level.get_time_days().." day at "..level.get_time_hours()..level.get_time_minutes().." in "..level.name())
    elseif phase==1 then

Изменено пользователем Halford
  • Спасибо 1

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение

Hmm, I'm using it with my mod (based on AMK) for over a week now - and never had any problem with it... strange.

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение
Sometimes crashing, because news_text is nil.

 

Huh? That's pretty strange, it has to be some bug in NLC6... Your solution is perfect :) good job.

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение
(изменено)

I have updated the above post about saving a game on blowout, it's better now :)

Сообщение от модератора Halford
=========

Обновил шапку темы. Добавил автосохранку после выброса.

=========

Изменено пользователем Halford

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение

If I wrote it in English section, most of you wouldn't never read it. If you don't like it, just skip it. Moderators here are so kind they translated my texts into Russian (thank you moderators!).

 

 

Адаптировал для Народной Солянки от 20.12.

 

Thanks a lot, I've updated the first post. Did you add the blowout autosave, too? I wrote, how to do that - if Солянка has blowouts from AMK.

Сообщение от модератора Halford
==================

Благодарю! Обновил шапку темы. Ты добавил автосохранение при выбросе? Я написал как, если, конечно, выбросы в солянке базируются на АМКшных.

==================

sooner or later... you will meet the undertaker...

utak3r

Поделиться этим сообщением


Ссылка на сообщение
  • Недавно просматривали   0 пользователей

    Ни один зарегистрированный пользователь не просматривает эту страницу.

AMK-Team.ru

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