But I donāt know if itās accurate with what I want to doā¦
Thank you for responding!
Edit: @PatrickKlug When Itās finished, I would like to share the mod with the GDT community, so I cannot just simply modify the game source code itself because itās illegal to share it. So Iām asking here for a possibility to edit this things by patching the game source code, like any other mod do.
Located in: C:\Program Files\Steam\steamapps\common\Game Dev Tycoon\compressed\CodeNw
The start rule is 430, i canāt show you anymore of the code because my screen resolution is 1280x1024
Iāve yet tried to edit things this way and itās working properly. But the problem is that I want to release the mod for everyone when itās finished, so I have to patch the game source code but I donāt know if it is possible to edit this kind of things by this wayā¦
I think you need to ask @Charlie about that question, OR you can make you mod with the same topics as in the game and edit them. For example: āSportsā is a topic, you could code a new topic with the name āSportsā in your mod. I think it should read the game code before your mod.
////offtopic
1258Ć293
then you tell me my resolution is random
////offtopic @AlmostModder you can edit the game code if you can understand it
or you could learn how to edit the code without making a backup
I mean you just code a new topic with the name: Sports, and you edit it to your wants. GDT will read the game code before your mod so the topic Sports getās ārefreshedā and your edited āSportsā topic is done!
Iāve tried to simply add topics with the same IDs as in the original game code, but with different names, but the names in game are still the sames as the original ones. Then Iāve tried to do the contrary (different IDs and same names) and it didnāt work too.
But thank you! I will ask @Charlie!
absolutely. You can do this with any JS object in the game.
You can access all research items via
Research.getAllItems();
Genres are a bit of an outlier in that they are implictly defined via the genreWeightings and missionWeightings but you can also get a list of them via the GameGenre.X methods. Itās not easy to add a genre though.