Jump to content

Official flamethrower trap not working, why?


Recommended Posts

I was looking through the blocks.xml and noticed there is a flamethrower trap in the game code. Here is a pic:

676016999_7DaysToDie2019-03-1904-33-22-20.jpg.7757bd8dde0da2fdc535b0d295c821be.jpg

With the following code from the official, untouched 7 Days to Die blocks.xml:

<block name="flamethrowerTrap">
<property name="Extends" value="dartTrap"/>
<property name="CreativeMode" value="None"/>
<property name="Class" value="Launcher"/>
<property name="DisplayType" value="blockElectricalHardenedMulti" />
<property name="Material" value="Mmetal_hard"/>
<property name="Shape" value="ModelEntity"/>
<property name="Mesh" value="models"/>
<property name="Path" value="solid"/>
<property name="Model" value="Entities/Electrical/flameThrowerTrapPrefab"/>
<property name="MultiBlockDim" value="1,2,2"/>
<property name="OnlySimpleRotations" value="true"/>
<property name="PlaySound" value="darttrap_fire"/>
<!-- <property name="StartSound" value="darttrap_start"/> -->
<property name="EndSound" value="darttrap_end"/>
<property name="BurstFireRate" value="0.3"/>
<property name="ShowTargeting" value="false"/>
<property name="Collide" value="sight,movement,melee,bullet,arrow,rocket"/>
<property name="AmmoItem" value="ammoGasCan"/>
<property name="RequiredPower" value="10"/>
<property name="Stacknumber" value="10"/>
<property name="TakeDelay" value="10"/>
<property name="EconomicValue" value="220"/>
<property name="FilterTags" value="fdecor,felectrical,ftraps"/>
<property name="SortOrder1" value="70a0"/>
</block>

I know there are other flamethrower traps yet I would love to see this made an official part of the game; I think it would be difficult to get it to render three flames jetting out and burning whatever, I don't think the game code supports this yet. It's an idea footnoted for lack of better words. I'm going to try my hand at modding but I would love if someone with skill would take a whack at it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...