The Hog News 21

Lighting
Lighting on terrains is back ingame, adapted to the new shaders. Also it now brightens exposed terrain (like slopes exposed to the “sun” ) instead of just darkening terrain in shadows.

Citizens
Decorative citizens are back ingame. Unit camps ( formations ) now generate decorative units as well, matching the unit types and amounts present in these formations.

New building infos pannel
I’ve made a new building info panel (when hovering a building type button , in the build tab).
This pannel gives detailed infos about the building : materials required to build it, cost of these materials, maintenance costs,display preview, short text description of its role and other stats specific to the building type.
Exemple for houses you can see the life quality and health bonus provided by this type of house. Industrial buildings show the types of resource they can produce and what they need to do so etc…

Materials cost :
Unlike in the alpha 1 , materials now have an actual cost. It means that now, to build, not only you need to have these materials in stock but you will also need to buy them at their current price. The income goes to the porcos producing each one of these materials, making them richer. Also the price is affected by the player’s consumption : for exemple if you use lots of wood at once, its price will increase.
Here, because each required resource currently costs 1 coin , this building cost 5 coins to build.

Multi-language support
Also, finally, i’ve designed a proper system to support localisation. I will have to progressively update everything to make use of this, which will take a while.
With this system, all texts are externally stored in .txt files and indexed with a ‘key’ contained in the “index” files.
By adding new .txt files with a different language name in the filename, the game will automatically recognize these and they will appear as a new language option ingame.

By default the game will only include english and probably french (i’ll never get the time to do more), but anyone will be able to easily make new language files and share them with the community (and also correcting all my english mistakes ^^).
To do that all you’ll have to do is copy the english files, rename them with another language and translate their content.
However for now it will only be possible to support languages using western or Cyrillic alphabets, because i don’t know how to deal with fonts regarding other languages yet ( including all the possible characters of all languages would require giant fonts using too much memory ).

3 Replies to “The Hog News 21”

  1. Paying directly the producers’ good (and thus making them richer) in order to achieve any construction is a very interesting feature. It opens many new perspectives for the game’s economy.

  2. Better informations about buildings : Great.
    Paying gold in addition to ressources : I’m doomed.
    Decorative porcos : Cool to see them back.
    Light : A bit too yellow on the top of the hill, no ?
    Languages : Good work. I think you have enough supporters here to help to translate the english to french. Maybe even correct some tibbits of english. 😀

  3. Awesome! Thank you to post news on a regular basis. That project really seems to progress quickly. It’s nice to see that you’re adding new features and optimizing the game at the same time! Good luck!

    Even if I’m not posting, I come on the site evry two or three days!

Leave a Reply