Announcement: First beta version with modding support is live

That will be nice :smile:

Replace the fake names with the actual names.  //People who made/released that mod could/would be sued.
Replace the current review algorithm with one that makes logical sense. //That would take more time then it's worth. 
Adds the ability to actually influence competitors (to the point of pushing them out of the market, etc.) //Maybe.
Allows you to start as a large company. //That takes the fun out of it.
Allows you to play as one of the console companies. //You can easily just name yourself Ninvento or Vony.
Improves various other things such as the ability to have multiple systems out at once. //Maybe.

Is it possible to add more v values? (1,2,4etc,till 50 or 100)?

Hmmm… I’m not sure, I am able to do this in the original code, but that is illegal. I might take a look and try something to add more options then the default ones. But this may also cause some trouble when multiple people are doing this since it’s an array (it may get confusing from here) and the v’s don’t have id’s or something. So i don’t think it’s possible to add more v values and distribute your/my mod. I’m sorry : (

According to GitHub, a update for the Mod API just came out 26 minutes ago. (https://github.com/greenheartgames/gdt-modAPI)

I am happy to announce that a new beta version is available now and should update automatically. There are some changes which should make our lives easier.

First of all the modConfig file is gone. All package.json files are parsed automatically to determine which mods are available.
In the main menu of the game is a new button ‘Mods’. There you can enable/disable mods (restart required afterwards).
All mods are loaded in the displayed order. Dependency checks are done automatically. (Mods displayed red: dependency missing)

Great job @DanielKlug and @PatrickKlug, I love what you do to help improve the quallity of modding ^^
Btw. I was about to make some changes to the gdt.AddResearchItem so there’s a table with all the costs per V level

Still no modding for me yet :frowning:

Thanks @DzjengisKhan. Regarding multiple v values in research items. This is not possible because every research item is a unique item and can only get researched once. That means if you want to have for instance (Headset V1, V2, V3 and V4) you need to add 4 different items. (at least the name, v value and canResearch function should be different)

I got Could Not Parse package.json for all of the mods I had installed including my mod:

Mods I had Installed:

  1. Ciber mod
  2. ExpansionPack
  3. gdt-modAPI
  4. jason-modAPI
  5. venomous-modAPI (my mod)

Sorry I should have mentioned that before. Most of the package.json files are invalid.
3 reasons I saw:

  • "version: “0.1.0”, instead of “version”: “0.1.0”,
  • comma missing somewhere (most of the time at the end of the line)
  • “main” : “./scriptfile.js”, the scriptfile is wrong written or without fileextension

@DanielKlug i don’t know what’s wrong with my mod. It keeps giving me the error, I mentioned above.

Code:

{
	"id" : "Mod",
	"name" : "Game Dev Tycoon Mod",
	"version: "0.9.7",
	"author":"Josh Zimmer(Turntablelover) <darthcoolness@gmail.com>",
	"description" : "Mod for Game Dev Tycoon",
	"url" : "https://github.com/Turntablelover/Game-Dev-Tycoon-Mod",
	"main" : "./source.js",
	"dependencies" : {
		"gdt-modAPI":"0.1.x"
	}
}

@Venomous there is a " missing after version :
“version” : “0.9.7”,

Thank you so much! @DanielKlug

@DanielKlug I knew that ^^ But i mean a table were all the costs of the research when it has v: 1, so it would be like:

v:1 10 8000 20000 10 10000

But then for v: 1, 2, 4, 6, 8, 10, 12, 14

@DzjengisKhan as far as I understand this is just added info on the wiki, right? you can add/modify the wiki if you wish. only code-changes need to go through a pull request.

@DzjengisKhan Do the new topics show up in the topic menu? They’re not showing up when I start a new game (a longer topics list)…

Also @PatrickKlug I don’t understand modding and the same thing happened to me that happened to @Venomous (errors on certain mods), so how would I fix this? And on a random note GDT is a great game!

The problems @Venomous encountered were all syntax errors or simply misplaced files. Modding GDT does require a basic knowledge of JavaScript and there is no easy fix for problems that arise because of a lack of JS knowledge.

Having said that we and the community are usually happy to help but you will have to provide more helpful details on what exact errors you encounter.

@PatrickKlug It said that it could not parse morematari, moreninvento, Ciber mod, and OPC mod when I start the game.