browse local files
go to mods Stonehearth\mods
drag the bat files
to the mods folder from the 30 Starting Hearthlings folder
run the Rename to zip.bat
the stone hearth mod should change from
to
then you should be able to open the folder and go to
stonehearth\services\server\game_creation
then you can replace the
game_creation_service.lua
with the one in the
30 Starting Hearthlings folder
then go back to the mods folder and run the
Rename to smod.bat
then it will change back to
Oof. That’s painful! Sorry about the awkward API! I’ll make it so that you can have an arbitrary starting number of hearthling by just modding the constant without modifying the lua file in the main stonehearth mod.
cool
in the game_creation_service.lua I made all the Hearthlings start at 0,0,0 instead of making a unique spot for each hearthling is that what you are going to do just make all the hearthlings spawn in at the same spot and not have a unique spot for each one?
When I click the rename to zip file it opens a command prompt for a second and closes it. Nothing else happens, the other file doesnt change. I even tried running it as admin. Running windows 10 if it helps.
I have it closed. I did find on google how to get it to not auto close it says thsi in the command prompt: added a new line saying pause after the one in the rename to zip .bat
D:\Steam\steamapps\common\Stonehearth\mods>ren stonehearth.smod stonehearth.zip
The system cannot find the file specified.
D:\Steam\steamapps\common\Stonehearth\mods>pause
Press any key to continue . . .
so i al lready have a hearthstone.zip thats why it keeps failing… my game all ready has a .smod and hearthstone.zip so it cant make another one… I’ll play around with it for a bit and see if I can get it to work
I got it to work finally my game now has 30 hearthlings to start with!
I had to drag the .smod to my desktop and work with it there instead of in the folder, then drop it back into the mod folder and replace the .smod that was there. The .bats you included worked when used outside that folder.