Noisy Pants Posted March 19, 2019 Share Posted March 19, 2019 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: <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 More sharing options...
War3zuk Posted March 19, 2019 Share Posted March 19, 2019 Cant Find a mesh file anywhere ? Tried loading it & theres nothing.. It has animations & other... Link to comment Share on other sites More sharing options...
xyth Posted March 19, 2019 Share Posted March 19, 2019 It doesn't seem to have a collider on it yet, so its not a finished model. Might be able to finish it in Unity though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.