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

Distanceeffect problem

Soyer

Member
Joined
May 2, 2017
Messages
23
Reaction score
5
Hello, I wanted to make custom area arrows (similar to burst arrows but with energy/fire/ice/poison dmg), they are working properly (dealing correct element and area range damage) but there is no distanceeffect while I'm attacking monsters using them. What I have already done:
  • Created new arrow sprites,
  • Added to "Object Builder" to the "Missile" section and compiled,
  • Added to the "tools.cpp" to "ShootTypeNames" and "AmmoTypeNames",
  • Added to "const.h" to "enum ShootType_t : uint8_t",
  • Created new lua scripts in "weapons\scripts" folder with correct "CONST_ANI" type.

When I replace my custom arrow sprites with other ammunition everything works perfectly.
 
In items.xml for burst arrow you have <attribute key="shootType" value="burstarrow" /> or any arrow/bolt. Probably you need to add those for your new ammo with your new values.
 
Back
Top