Special buildings - primary skill

#1

hi guys,

i was wondering if it was possible to create a building in a town which gives a primary skill to your hero, like hall of valhalla in stronghold. A tried to extract the code of the buildings from the original game, but i couldn’t get it… :frowning:

I would appreciate any help :slight_smile:

Thanks

Bengals_18

#2

Special buildings can’t be configured yet unfortunatelly :frowning:

#3

Thanks for the quick response :slight_smile: I knew special buildings cant be configured yet, but i thought these kind of buildings dont count as special (it just gives one thing). But thanks, i’ll stop trying to make it work

#4

They work as specials. If you can look in jsons in config/factions folders and study files - you’ll get all specials buildings in every town (marked as “special1” - “special4”).

#5

But then why can you do buildings which produce gold or resources per day? That falls under specials too

#6

Some features are implemented in vcmi, some are not. Producing gold and resources are implemented, other features are marked as… to do features :slight_smile: https://wiki.vcmi.eu/Building_bonuses

#7

Thanks for clearing things up for me, i misunderstood some things :confused: