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

With the following code from the official, untouched 7 Days to Die blocks.xml:
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.

With the following code from the official, untouched 7 Days to Die blocks.xml:
Code:
<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>
Last edited by a moderator: