I completely understand this might be a feature, specially since I can “upgrade” the neutral rogues to the refugee ones. But since I cannot do the other way around it gets frustrating in these specific cases.
I do understand that keeping them as neutral is probably not viable since they would not receive the bonus morale from same faction army for example or native terrain bonus…
I’m assuming changing the witch hut’s quest is also not a good option (probably too difficult), so I’d say a button to “toggle” between neutral and refugee could work (neutral to refugee already works, only need to be able to do it the other way around)
Also, changing from neutral to refugee shouldn’t cost gold I believe, might be something that was overlooked.
I made the choice to avoid modifying un-modded neutral and this is what is creating your issue. As this can soft-lock your game, this is something that need to be fixed. I will work on this feature for the upcoming v0.9.
I imagine this could solve a potential issue if your army is full and you would want to recruit creatures using a vanilla neutral dwelling. I don’t think that downgrading unit will costs you something, but re-upgrading will.
That said, I wasn’t able to free some time to work on my mod this month and I don’t know if December will allows me to do so. So I have no release date to that day.
@ftiercel I merged community changes (v0.8.1~v0.8.3) but I wasn’t able to find your fixes for the sorceress shadow fix and idle animation upgrade. Can you send me the files you used so I can add them back to the next release ?
@Shadow54 I added a “reversion” feature that only works for neutral creatures. I haven’t managed to successfully add it for WoG-related units. However, I might make it a submod for later release because it creates an issue with Hill Fort upgrade feature (upgrade to neutral is used by default instead of the real upgrade).
Quick update : I’ve been working on my mod again for few days. I need to fix the animated visual for one building to finish completely the new townscreen. I’ve been testing my mod with HoTA only since v0.8 so I’m now working on the WoG support submod but I need help.
Basically, in my “wog” sub-mod I want to add the stack experience config to the main mod units.
How should I proceed to apply changes to the main mod ? I’ve tested a lot of possible combinaisons for the ID but none of them is working. So far, I’ve tested :
[mod.submod] attempt edit on [mod]:[object]
"refugeetown:rfgcRogue" : Mod "refugeetown.wog" attempts to edit object "rfgcRogue" from mod "refugeetown" but no such object exist!
"refugeetown:creatures.rfgcVagabond" : Mod "refugeetown.wog" attempts to edit object "creatures.rfgcVagabond" from mod "refugeetown" but no such object exist!
"refugeetown:creature.rfgcRogue" : Mod "refugeetown.wog" attempts to edit object "creature.rfgcRogue" from mod "refugeetown" but no such object exist!
"core:refugeetown.rfgcRogue" : Mod "refugeetown.wog" attempts to edit object "refugeetown.rfgcRogue" from mod "core" but no such object exist!
"core:refugeetown:rfgcSpy" : Mod "refugeetown.wog" attempts to edit object "refugeetown:rfgcSpy" from mod "core" but no such object exist!
"core:creatures.refugeetown.rfgcSpy" : Mod "refugeetown.wog" attempts to edit object "creatures.refugeetown.rfgcSpy" from mod "core" but no such object exist!
No log & doesnt work | *:creatureID
"refugeetown.creatures :rfgcVagabond" : No log. Doesn't work.
"refugeetown.creature :rfgcNomad" : No log. Doesn't work.
"creatures.refugeetown :rfgcVagabond" : No log. Doesn't work.
"creature.refugeetown :rfgcNomad" : No log. Doesn't work.
"RefugeeTown.wog :rfgcRogue" : No log. Doesn't work.
Data in [x] is invalid | Considered as an Hero Class
"rfgcRogue" : Data in "rfgcRogue" is invalid! - Considered as an "Hero Class"
"creature.rfgcSpy" : Data in "creature.rfgcSpy" is invalid! - Considered as an "Hero Class"
"refugeetown.rfgcSpy" : Data in "refugeetown.rfgcSpy" is invalid! - Considered as an "Hero Class"
"refugeetown.wog:rfgcSpy" : Data in "rfgcSpy" is invalid! - Considered as an "Hero Class"
No Template founds | *[mod].creatureID
"creatures.refugeetown.rfgcRogue" : No templates found for "core:hero:refugeetown.wog:creatures.refugeetown.rfgcRogue"
"creature.refugeetown.rfgcSpy" : No templates found for "core:hero:refugeetown.wog:creature.refugeetown.rfgcSpy"
"refugeetown.rfgcRogue" : No templates found for "core:hero:refugeetown.wog:refugeetown.rfgcRogue"
Note that in the WoG mod (the official WoG mod), creatures are found in a submod (called “creatures”) and the stackExp in another submod (called “stackExperience”), both contained in the same root. The stackExp formula is as such :
This version should work. However right now this mod (as available in launcher) is called refugee-town. So this is what you should use (unless you have renamed your mod):
"refugee-town:rfgcRogue" : {
...
}
Syntax for editing objects from another mod is always [mod name]:[object name] or [main mod].submod]:[object name] for objects from submod.
If you still can’t make it work - can you upload your VCMI_Client_log.txt?
Yes my mod root folder is “RefugeeTown”. The one in the launcher is “refugee-town”. I fear that working with the same name syntax can causes my working folder to be erased if I download the launcher one by mistake.
I wrote back [mainMod]:creatureID according to your advice and checked everything. I realized I had made a mistake in my submod mod.JSON so it was reading the whole file… as an hero class…
@Ivan Do you know by any chance how to call a creatureID from another mod ?
I’m working on a feature to allow faction’s hero to convert my mod’s units into other units from wake-of-gods mod. I successfully managed to convert those 3 creatures in 3 vanilla ones. Now I’m stuck for wog creatures.
“refugeetown:[heroID]” is correct and successfully adds elements to the hero.
“creature.[creatureID]” is also correct for my mod’s units.
Here is one of my take for the code (only for one hero).
Thanks for your help. I changed dependency from "wake-of-gods" to "wake-of-gods.creatures", and then I was able to make it work using "wake-of-gods.creatures:creature.[creatureID]".
Note that using creature.[creatureID] for addInfo did nothing to the units, but double-clicking on sorceress icon did crash the game. And thanks for the subtype info, that will make my code cleaner.
I would’ve never figured it out so, again, thank you for your help !
We have merged it back with @misiokles so it’s OK. Since this, I have created sounds for all the dwellings and adventure visual for 6/7 dwelling buildings. The last one is still in progress. For the horse riders, I have used the design featured in this video but you are free to change any design.
I have shared a technique for smoke effect here. You can see the result on the Highlands blacksmith.
I remember that VCMI crashed when I have badly named a .def file so,
@ftiercel Most design will change because they’re using the old townscreen as a reference.
Though, I find your work impressive. I will need your help to improve the new visuals. I already replaced my dwelling 6 (skull cave) visuals with yours !
When it comes to audio loops, I used original H3 DATA audio loops instead because they were a perfect fit.
EDIT : I do have a github account, but failed to understand how to work with it.
I might be skipping v0.9 direct to v1.0. After the upcoming I might take a break to focus on other projects. I’d appreciate any suggestions / feedback so I can work on it before the “final” release.
I have an issue with my heroes adventure map sprites. For some reason, the hero adv.map sprites is always female version for some reason. On VCMI Editor though, it does uses the correct sprites.
I checked and every heroes config files have the correct :
"female" : true,
or
"female" : false,
Here’s my hero classes config files + 2 heroes M/F example files.
I’d prefer to avoid placeholder solutions and I fear it could cause an over-representation of refugee heroes. Thanks for your reply, but I think that I will let later VCMI releases fix the issue itself.
I’m working on a creature bank right now. Once finished, I will release the version 1.0 as I have nothing left in my to-do-list. Expect release real soon.