安裝 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(越南文)
Українська(烏克蘭文)
回報翻譯問題
My custom packs work fine. But, at the end game, my achievements aren't always saved. It's random. Do you know a way to force the save, with a code, or function?
thx for your time
By default, the data is saved when the game ends. Are you trying to trigger something when the game ends or when a wave ends?
Here, you can see that I don't use the function "addProgress()"
//////////////////////////////////////
function Timer() {
while (i<6)
{
achievements.Progress = default.experienceTot; [/b]
if (achievements.Progress >= achievements.maxProgress && achievements.Completed == 0)
{
Controller(Owner).Pawn.PlaySound( Sound'KF_InterfaceSnd.PerkAchieved',,1.0,,600.f);
if (i==0) {achievementCompleted(ExpIndex.LEVEL_B);}
if (i==1) {achievementCompleted(ExpIndex.LEVEL_C);}
if (i==2) {achievementCompleted(ExpIndex.LEVEL_D);}
if (i==3) {achievementCompleted(ExpIndex.LEVEL_E);}
if (i==4) {achievementCompleted(ExpIndex.LEVEL_F);}
if (i==5) {achievementCompleted(ExpIndex.LEVEL_G);}
}
i++ ;
}
}
///////////////////////////////////
Is it a problem?
thx for your answer
I didn't change anything to the saving in the last update. However, saving can be buggy if you are hosting a listen server or playing solo. If the host leaves the game before it officially ends, then achievement progress won't save. Everything works fine on a dedicated server.
http://forums.tripwireinteractive.com/showthread.php?t=43484