• 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!

Dual Wield crossbows

Himii

Premium User
Premium User
Joined
Jan 19, 2011
Messages
1,268
Solutions
5
Reaction score
184
Location
Sweden
Hello
It is possible to have 2 crossbows and if you have it you shoot twice as fast as normaly?
 
Yes it is, do like this goto Server>data>items>items.xml

Remove "<attribute key="slotType" value="two-handed" />" from this

PHP:
</item>
	<item id="8849" article="a" name="crossbow">
		<attribute key="weight" value="3500" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="weaponType" value="distance" />
		<attribute key="ammoType" value="bolt" />
		<attribute key="range" value="5" />
		<attribute key="hitChance" value="1" />
</item>

I think increasing the speed if you wield two crossbows need a source edit but i'm not sure, someone else might answer that.

GL
 
Depending on client
on older clients setting both weapons as shields and adding attack to them was effective, but on 8.6+ two shields are impossible to wear as two weapons
first, disable two-handed attribute in items.xml for all distance weapons, then remove somewhere in c++ limitation(some case with equipment, probably player.cpp), then create movement which checks onEquip crossbows(same on deEquip) which changes local count
Code:
if count == 2 then setItemAttackSpeed(item.uid, attackspeed) end
same with deEquip, set attackspeed to default value(dunno which one)
 
Back
Top