Hi everyone, Ivan's here.
In this latest patch i am addressing a number of important bugs. Other than that i am introducing a new poster entity.
It is moddable via json, as everything else around here…
Lets start with the list of things addressed in this patch:
- Furniture overwriting mechanism
In Hard Times mods are loading in a additive manner. Also i am implementing a overwriting approach when handling duplicate entities (this is why mod loading order is so important). This way modders have the possibility to overwrite any vanilla defined entity. Furnitures were not following this approach as the modding engine skipped duplicate furnitures definitions when loading mods. This unintended behaviour should be now fixed.
- Fixed the horripilant "mods unsupported lang bug"
When loading new mods it happened that the loaded mod did not have support for the current active language. This occurence made the game crash to a hideous halt. Now in case the loaded mod is not supporting the current selected lang the mod engine will try to load the DEFAULT_LANGUAGE constant value which is now set to "English". If not even this language is supported (this would be BAD since any mod should support at least the english language) the engine will simply skip loading those files.
- More lang labels fixed
I discovered and fixed more lang labels which were not correct!
The new poster entity
I have added a new entity to the game, which can represent any kind of poster or sign. I will add more types of posters in the next patches.
Now a simple poster will look like that(remember to go looking inside vanilla to get many examples of moddable entities):
{
"posterId": "basic_poster",
"posterType": "BasePoster",
"posterSpriteName": "basic_poster_graphics.png",
"posterThumbSpritename" : "basic_poster_graphics_thumb.png"
}
You can add posters to scenes as you do with other entities, like this:
{
"sceneId": "zero",
[...]
"posters": [
{
"modPosterId": "concert_poster",
"modPosterPositionX": 0,
"modPosterPositionY": -22.8,
"modPosterRotation": 0,
"posterColliderWidth": 1,
"posterColliderHeight": 1
}
]
}
You can go to the
Hard Times wiki for guides and tutorials about modding. Also you can check my Discord or drop me a mail if you need help with modding issues!
This is all for this patch! I'll be back with a new one in a week or so!
As always thanks a lot for your support and Happy Hard Times!
iv.