Jump to content

Spanie Szramy


s4top
 Share

Recommended Posts

Wydaje mi się, że można zrobić tak, żeby Szrama mógł zasnąc już po godzinie od poprzedniego spania. ;)

Nie sprawdzałem tego, ale jak chcesz potestować, to działaj :D

Oczywiście pamietaj o zrobieniu kopii zapasowej pliku !

Poszukaj pliku: "amk_mod.script" w folderze: gamedatascripts

Otwórz go w notatniku i znajdź fragment kodu:


if amk.load_variable("block_sleep_menu",0)==0 then
	 if amk.load_variable("gg_need_sleep",0)>10 then
	 local spwn=ui_cheat.cheat(get_hud())
	 level.start_stop_menu(spwn,true)
	 else
	 amk.send_tip(game.translate_string("not_need_sleep"),nil,nil,5)
	 end

i zamień go na taki:


if amk.load_variable("block_sleep_menu",0)==0 then
	 if amk.load_variable("gg_need_sleep",0)>1 then
	 local spwn=ui_cheat.cheat(get_hud())
	 level.start_stop_menu(spwn,true)
	 else
	 amk.send_tip(game.translate_string("not_need_sleep"),nil,nil,5)
	 end

Zapisz zmiany w pliku i sprawdź czy sposób zadziałał ;)

  • Positive 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Comunity