Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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 !