Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
Hi, I had the same issue as you, with the mod being incompatible with NEP. However, I fixed it myself by updating the code of this station mod.
I've already posted the fix in this comment section, but I can repost it:
- Open the file "oppie_ns_station.con", found in this mod's directory (1066780\1957064125\res\construction\station\rail\modular_station)
- Scroll down to line 886, and you should see the following:
local cumsum = {
0,
#result.edgeLists[1].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges+#result.edgeLists[3].edges,
}
This appears to be outdated or broken code!
What I did to fix the mod was to replace said code with the following:
local cumsum = {}
local c = 0
for i = 1, #result.edgeLists do
cumsum[i] = c
c = c + #result.edgeLists[i].edges
end
- Now save the edited oppie_ns_station.con file.
I was using your mod for a while, but after installing a NEP (Natural Enviorment Proffesional) i can't use it anymore.
Old stations are working fine, i can add modules (in station editng) but can't create new ones (there is this grey block with error).
Can you help me?
Thanks for the hard work !