Startup Company

Startup Company

Change everything
Startup Company is created using HTML and Javascript allowing you to easily make amazing mods for the game. Everything is built on top of Electron allowing you to build mods using Chrome Dev Tools.
Learn More
New Framework: cuPerMs undefined
Hi - right now i am trying to implement a new framework for an extended endgame, which gives 15 features in total, with a 0.01 cuPerMs, etc. - but apparently i am mixing up some stuff here. When i am upgrading a feature in the new framework, it just says "cuPerMs is undefined" - but the framework overview in my research category looks fine.

let _modPath; exports.initialize = (modPath) =>{ _modPath = modPath; FrameworkNames.endgameframework = 'endgameframework'; Frameworks.push({ licenseCost: 0, cuPerMs: 0.01, maxFeatureLevel: 5000, maxFeatures: 15, name: 'endgameframework', order: 90, pricePerUser: 0, researchPoints: 10, }); ResearchItems.push({ category: "Frameworks", name: "endgameframework", points: 10, unlockType: "Framework", }); }; exports.onLoadGame = settings => { Language['endgameframework'] = 'Endgame Framework'; }

Also i would love to increase the maxFeatureLevel to 50k - but the simple feature upgrade limits on 5k still. Is there a property or setting, which has to be increased first, or is it hardcoded somewhere in the gamecore? Probably the game won't scale pretty well by going over the defined 5k limit..
< >
Showing 1-3 of 3 comments
jhovgaard  [developer] 1 2 Mar, 2019 @ 7:14am 
Hi there,

Without testing your code, my guess would be that you need to tell the background worker about the new framework. You can read more about that over here:
https://github.com/hovgaardgames/startupcompany/wiki/Modding#accessing-the-background-worker

Also, I recommend joining Discord. We have a #modding channel where other modders hang out :-)

Best,
Jonas
Last edited by jhovgaard; 2 Mar, 2019 @ 7:14am
Jim Halpert 3 4 Mar, 2019 @ 8:47am 
Hey Jonas,

that did the trick - works like a charm! I gladly joined the Discord :)

Best,
Alex
jhovgaard  [developer] 1 5 Mar, 2019 @ 5:42am 
Originally posted by Bobnard:
Hey Jonas,

that did the trick - works like a charm! I gladly joined the Discord :)

Best,
Alex
Awesome, glad to hear! :-)
< >
Showing 1-3 of 3 comments
Per page: 1530 50