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

QUESTION: Applying Fire to an object/block?

FastBurst

New member
Anyone know of a way to apply fire to a block? Example the barrels have fire but is that part of the block object itself or can we apply fire to another block somehow?

 
Pretty sure I read somewhere those barrels have the fire on the block itself. Couldnt find where I saw that with a quick search, and my fuzzy memory, but looking at the blocks.xml seems to confirm that.

Code:
<block name="burningBarrel">
<property name="Extends" value="porchLight01" param1="Collide"/>
<property name="CreativeMode" value="Dev"/>
<property name="Model" value="Entities/Lighting/barrel03_burningPrefab"/> <property name="HandleFace" value="Bottom"/>
 
And probably not the correct way but this still works.

Code:
<block name="woodFrameBlock">
<property name="Extends" value="woodFrameMaster"/>
<property name="CreativeMode" value="Player"/>
<property name="Mesh" value="opaque"/>
<property name="Shape" value="New"/>
<property name="Model" value="cube_frame"/>
<property name="SortOrder2" value="0050"/> <!-- SortShape -->
<property name="Class" value="Particle" />
<property name="ParticleName" value="campfire" />
<property name="ParticleOffset" value="0.53,1.04,0.45" />
<property name="Path" value="solid"/>
<property name="Texture" value="241"/>
<property name="UseGlobalUV" value="Local"/>
<property name="Group" value="Building,Basics"/>
<property name="CanPickup" value="true"/>
<property class="UpgradeBlock"> <property name="ToBlock" value="woodBlock"/> </property>
</block>
 
See what I am trying to do is a block or grab one of the other ones like the damaged car and have it on fire, I think that would be amazing to see! Just do not know if it is possible or not.

- - - Updated - - -

Buffswhenwalkedon property will do that and attach a fire buff
Not sure if this would work for what I want to do since it would require someone walking on it. I go it to work for my Fire-Spikes using that. and that works perfectly for that.

- - - Updated - - -

And probably not the correct way but this still works.

Code:
<block name="woodFrameBlock">
<property name="Extends" value="woodFrameMaster"/>
<property name="CreativeMode" value="Player"/>
<property name="Mesh" value="opaque"/>
<property name="Shape" value="New"/>
<property name="Model" value="cube_frame"/>
<property name="SortOrder2" value="0050"/> <!-- SortShape -->
<property name="Class" value="Particle" />
<property name="ParticleName" value="campfire" />
<property name="ParticleOffset" value="0.53,1.04,0.45" />
<property name="Path" value="solid"/>
<property name="Texture" value="241"/>
<property name="UseGlobalUV" value="Local"/>
<property name="Group" value="Building,Basics"/>
<property name="CanPickup" value="true"/>
<property class="UpgradeBlock"> <property name="ToBlock" value="woodBlock"/> </property>
</block>
I'm going to give this a shot and see what happens.

 
Back
Top