• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Crossbow modification

Hi guys,

I'm trying to mod the crossbow to an automatic version of itself, so you've got like 5 bolts charged in it and add a possibility to auto fire with certain fire rate.

Here is the DOM for Compound crossbow I've found that affect: magazine size/fire rate / quantity of bolts fired at once, but I couldn't manage to find the automatic fire mode anywhere in the DOM

Code:
<effect_group name="gunCrossbowCompound">
  <passive_effect name="MagazineSize" operation="base_set" value="1"/>
  <passive_effect name="RoundsPerMinute" operation="base_set" value="75"/>
  <passive_effect name="BurstRoundCount" operation="base_set" value="1"/>
</effect_group>
any help would be appreciated.

 
checking item_modofiers.xml I've managed to find that BurstRoundCount is actually responsible for single/semi/automatic firing but still can't understand why then it shoots all 10 bolts at once...

 
ok it is working now with

Code:
<property class="Action0">
<property name="Class" value="Ranged"/>
</property>
 
Back
Top