Epic Fight

Epic Fight

13M Downloads

Custom weapon config not functioning on Server.

bluej34 opened this issue ยท 0 comments

commented

What is the correct config file server-side that needs to be edited?

When the server is up, the player character on the server holds the custom greatsword in the correct position (two hands and holding it to the side.) Th custom katana is held in the correct katana position, and the custom spear is held in the correct spear position.

However, when I begin to attack with any of these, they use the "sword" attack animations and special attack. once done attacking, they go back to their respective poses. What am I missing here? It works correctly in single player.

here is my config from the server "epicfight.toml" config file:

[custom_weaponry]

[custom_weaponry.Katananetherite]
	registry_name = "espadas_japonesas:katananetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "KATANA"
	impact = 2.5
	armor_ignorance = 40.0
	hit_at_once = 4

[custom_weaponry.Katanan]
	registry_name = "espadas_japonesas:katana"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "KATANA"
	impact = 2.5
	armor_ignorance = 20.0
	hit_at_once = 3

[custom_weaponry.Wakisashi]
	registry_name = "espadas_japonesas:wakisashi"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 1.2
	armor_ignorance = 7.5
	hit_at_once = 2

[custom_weaponry.Wakisashinetherite]
	registry_name = "espadas_japonesas:wakisashinetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 1.2
	armor_ignorance = 0.0
	hit_at_once = 3

[custom_weaponry.Tanto]
	registry_name = "espadas_japonesas:tanto"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 0.5
	armor_ignorance = 2.5
	hit_at_once = 1

[custom_weaponry.Tantonetherite]
	registry_name = "espadas_japonesas:tantonetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 0.5
	armor_ignorance = 5.0
	hit_at_once = 1

[custom_weaponry.Naginata]
	registry_name = "espadas_japonesas:naginata"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SPEAR"
	impact = 3.0
	armor_ignorance = 35.0
	hit_at_once = 2

[custom_weaponry.Naginatanetherite]
	registry_name = "espadas_japonesas:naginatanetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SPEAR"
	impact = 3.0
	armor_ignorance = 70.0
	hit_at_once = 3

[custom_weaponry.Nodachi]
	registry_name = "espadas_japonesas:nodachi"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "GREATSWORD"
	impact = 6.0
	armor_ignorance = 25.0
	hit_at_once = 4

[custom_weaponry.Nodachinetherite]
	registry_name = "espadas_japonesas:nodachinetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "GREATSWORD"
	impact = 6.0
	armor_ignorance = 50.0
	hit_at_once = 5

[custom_weaponry.Tachi]
	registry_name = "espadas_japonesas:tachi"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 1.8
	armor_ignorance = 12.0
	hit_at_once = 2

[custom_weaponry.Tachinetherite]
	registry_name = "espadas_japonesas:tachinetherite"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "SWORD"
	impact = 1.8
	armor_ignorance = 24.0
	hit_at_once = 3

[custom_weaponry.Bokuto]
	registry_name = "espadas_japonesas:bokuto"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "KATANA"
	impact = 0.5
	armor_ignorance = 0.0
	hit_at_once = 1

[custom_weaponry.Shirasaya]
	registry_name = "espadas_japonesas:shirasaya"
	#Allowed Values: AXE, FIST, HOE, PICKAXE, SHOVEL, SWORD, SPEAR, GREATSWORD, KATANA, BOW, CROSSBOW
	weapon_type = "KATANA"
	impact = 1.8
	armor_ignorance = 18.0
	hit_at_once = 3