• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua [TFS 1.5 Nekiro] How do I add new base vocation in the correct way?

Marko999x

999x era
Premium User
Joined
Dec 14, 2017
Messages
2,860
Solutions
82
Reaction score
1,964
Location
Germany
Hi im confused
Whats the right way to add new vocation if the base is same?

As example

Sorcerer ( VOC ID = 1 )
Lua:
fromvoc="1"
is by default
--------------------------------------------------------
Master Sorcerer ( VOC ID = 5 )
Lua:
fromvoc="1"
is by default
--------------------------------------------------------
Super Master Sorcerer ( VOC ID = 9 )
Lua:
fromvoc="1"
must it be 1 aswell?
--------------------------------------------------------
Mega Master Sorcerer ( VOC ID = 13 )
Lua:
fromvoc="1"
must it be 1 aswell?

Bcus I just want to put in weapons.xml the name of sorcerer to make the weapon work for all of those 4
 
Last edited:
Solution
It is correct to use the same ID for both the vocation and 'fromvoc', maintaining the vocation. For example, if the vocation ID is 5, which corresponds to Master Sorcerer, and 'fromvoc' has the ID 1, when you die or log out, it will revert to ID 1, which is Sorcerer. If you don't want to use 'fromvoc', simply set the same ID for both the vocation and 'fromvoc'; both the vocation ID and 'fromvoc' need to be identical to keep the vocation normal upon death or log out.

fromvoc' is used by SQLite when creating the account and appears in the console when choosing the vocation, etc. Do you understand? You can set the vocation and 'fromvoc' with the same vocation ID without any issues. Additionally, you can assign an ID to weapons, for...
It is correct to use the same ID for both the vocation and 'fromvoc', maintaining the vocation. For example, if the vocation ID is 5, which corresponds to Master Sorcerer, and 'fromvoc' has the ID 1, when you die or log out, it will revert to ID 1, which is Sorcerer. If you don't want to use 'fromvoc', simply set the same ID for both the vocation and 'fromvoc'; both the vocation ID and 'fromvoc' need to be identical to keep the vocation normal upon death or log out.

fromvoc' is used by SQLite when creating the account and appears in the console when choosing the vocation, etc. Do you understand? You can set the vocation and 'fromvoc' with the same vocation ID without any issues. Additionally, you can assign an ID to weapons, for example, a VIP wand with the ID Mega Master Sorcerer (VOC ID = 13), and it continues normally, without problems.
 
Solution
Back
Top