-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Cartographer to modded mapObjects, changed limiter to 10,000 #95
base: vcmi-1.4
Are you sure you want to change the base?
Conversation
Unfortunately that's the case. In order to properly implement it, you'd have to add new translatable text to object config - check any other object, for instance colosseum. Then this will require translations in every language. Also, this change should belong to hotaGameBalance submod. Then, bump the version in |
I am sorry, could you give me some more information about the texts?
Replacing these lines from the original cartographer json didn't work
I tried with
Is it possible to see how the text looks like in different languages without installing multiple GOG versions?
|
…d limiter to 10,000
Ok so in this commit I moved the cartographer update to the gameBalance hota submod as requested. Important to point out: |
From what I see, actual text with cost comes from here: "message" : 25, Replacing these lines with custom text should work. |
Wow. That seems so logical. There is a bug in VCMI where the "onVisitedMessage" is not being displayed. Instead it shows the original purchase offer as if you didn't buy the map already. Should I open a separate bug for it? Question about translations: I guess that if we leave things like this people in other languages will have the text with the wrong amount (1000 gold) in their respective messages, even though the image will show the correct 10000. Is there a way to find these texts in other languages without having multiple OH3 installations with different localization? |
While those names might not be perfect from modmaker point of view their internal meaning does makes sense:
This text is used to show window title.
Unfortunately no. There is already similar problem with secondary skills changed by hota (with different descriptions). Something to improve from vcmi side of things once I have some time. |
I saw this on the Hota project board and decided to use this to get familiar with the code base.
Steps that I took:
I still haven't updated the text message, because I can't find the string in the repo.
Could it be that it is hardcoded with the media files from the base (GOG) installation?
If somebody guides me how to update the text, I would extend this pull request