I was trying to change the platform names, all mods i see use fake names, for copyright reasons, but i want to play the game with real names, i don’t want to release anything, just use it to play.
so, i’ve managed to change the names to real, editing codeNw.js, but i believe this file will be rewritten upon updates, so i will lose everything.
my question is, how do i achieve this in a mod like way? No need to discuss the copyright issues, this is just a technical question.
thanks for helping.
well I believe you can’t find it anywhere here on the forums. All you have to do is keep changing the names or just stop updating or or or just keep it as it is
it is so much fun with real names, but i understand the issues involved.
i’ve managed to create some automated system, if the file changes, it will be easy and fast to make all changes needed, just need to do the script now, tested with 2 and it is working, so, just need to go trough all the others.
@cachirro I don’t think that anyone has permission to change the code written by the developers at GHG.
You could easily do this in a mod. something like this:
Platforms.allPlatforms.first(function(p){return p.id=='PC';}).name='Personal Computer';
if you want to change all of them it’s probably better to loop through the Platforms.allPlatforms
array and use a id/name dictionary to change all of them.
Note that you can’t use real names in mods but there’s nothing stopping you from making it configurable.
3 Likes
thank you so much @PatrickKlug.
just be careful that you don’t change the id
of platforms. that would wreck the game
2 Likes
do you know if it is possible to remove platforms?
i want to remove PS5 and xbox next, lol, without editing files, via mod.
thanks.
I don’t think so. Why do you want to do that??
just because ps5 and xbox next are existent platforms.