Skip to content

Implementing hero transfer in campaigns.

User Avatar
#3
Auto-translated
Andrei_21
Everything works thanks to the xdb files of the campaigns, within which, in certain tags, it is indicated where and to which campaign the hero should move. And transferring between campaigns can also be implemented; one tag is allocated for this (this is exactly how all the main characters are transferred in version 1.6). If desired, it is quite possible to arrange a transfer between the Tribes of the East and Haven campaigns; the main thing is that when transferring, the script names of the heroes match (because there are two Raileighs, Isabel, and Fried).

I know about the names, as well as about the hero types. This is not the most difficult part. Could you provide an example of an .xdb file with such a transfer, or a snippet of code from it? Or better yet, name a file and tell me where they are stored, and I'll look around there myself?