Make forge smoke only visible when the forge is researching.

Add missing particle sparks.

Thread:
https://wildfiregames.com/forum/topic/27329-visual-feedback-for-researching

This was SVN commit r24971.
This commit is contained in:
Stan 2021-03-02 00:01:00 +00:00
parent ac72fb4486
commit bcd292d6c9
12 changed files with 213 additions and 122 deletions

View file

@ -5,10 +5,6 @@
<variant frequency="1" name="Briton Blacksmith">
<mesh>structural/brit_blacksmith.dae</mesh>
<props>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="flame_01"/>
<prop actor="particle/flame.xml" attachpoint="flame_02"/>
<prop actor="particle/flame.xml" attachpoint="flame_03"/>
<prop actor="props/structures/celts/blacksmith_barrels.xml" attachpoint="barrels" maxheight="20" minheight="-20"/>
<prop actor="props/structures/celts/blacksmith_bucket_water.xml" attachpoint="water_bucket" maxheight="20" minheight="-20"/>
<prop actor="props/structures/celts/blacksmith_bucket.xml" attachpoint="water_bucket" maxheight="20" minheight="-20"/>
@ -67,6 +63,18 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="flame_01"/>
<prop actor="particle/flame.xml" attachpoint="flame_02"/>
<prop actor="particle/flame.xml" attachpoint="flame_03"/>
</props>
</variant>
</group>
<group>
<variant name="ungarrisoned" frequency="1"/>
<variant name="garrisoned">

View file

@ -6,8 +6,6 @@
<mesh>structural/kart_blacksmith.dae</mesh>
<props>
<prop actor="props/structures/carthaginians/blacksmith.xml" attachpoint="root"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
</props>
<textures>
@ -18,6 +16,16 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant name="alive" frequency="1"/>
<variant file="structures/cart/light_damage.xml"/>

View file

@ -5,10 +5,6 @@
<variant frequency="1" name="Blacksmith">
<mesh>structural/gaul_blacksmith.dae</mesh>
<props>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="flame_01"/>
<prop actor="particle/flame.xml" attachpoint="flame_02"/>
<prop actor="particle/flame.xml" attachpoint="flame_03"/>
<prop actor="props/structures/celts/blacksmith_barrels.xml" attachpoint="barrels" maxheight="20" minheight="-20"/>
<prop actor="props/structures/celts/blacksmith_bucket_water.xml" attachpoint="water_bucket" maxheight="20" minheight="-20"/>
<prop actor="props/structures/celts/blacksmith_bucket.xml" attachpoint="water_bucket" maxheight="20" minheight="-20"/>
@ -67,6 +63,18 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="flame_01"/>
<prop actor="particle/flame.xml" attachpoint="flame_02"/>
<prop actor="particle/flame.xml" attachpoint="flame_03"/>
</props>
</variant>
</group>
<group>
<variant name="ungarrisoned" frequency="1"/>
<variant name="garrisoned">

View file

@ -9,9 +9,6 @@
<prop actor="props/structures/hellenes/blacksmith_struct.xml" attachpoint="root"/>
<prop actor="props/structures/hellenes/blacksmith_rooftiles.xml" attachpoint="root"/>
<prop actor="props/structures/hellenes/blacksmith_shield_back.xml" attachpoint="root"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/hellenes/blacksmith_bucket.xml" attachpoint="greekbucket"/>
<prop actor="props/structures/hellenes/blacksmith_bucket_water.xml" attachpoint="greekbucket"/>
@ -25,12 +22,22 @@
</props>
<textures>
<texture file="structural/hele_struct_b.dds" name="baseTex"/>
<texture file="structural/hele_struct_b_norm.png" name="normTex"/>
<texture file="structural/hele_struct_b_spec.png" name="specTex"/>
<texture file="structural/hele_struct_b_norm.png" name="normTex"/>
<texture file="structural/hele_struct_b_spec.png" name="specTex"/>
<texture file="structural/ao/hele_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant name="ungarrisoned" frequency="1"/>
<variant name="garrisoned">

View file

@ -1,31 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/iber_blacksmith_struct.dae</mesh>
<props>
<prop actor="props/structures/iberians/blacksmith_props.xml" attachpoint="root"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="ibersmoke"/>
<prop actor="particle/flame.xml" attachpoint="iberfire"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/iberians/blacksmith_barrel.xml" attachpoint="iberbarrel"/>
<prop actor="props/structures/iberians/blacksmith_barrels.xml" attachpoint="iberbarrels"/>
<prop actor="props/structures/iberians/blacksmith_bucket.xml" attachpoint="ibercube"/>
<prop actor="props/structures/iberians/blacksmith_shields1.xml" attachpoint="ibershields1"/>
<prop actor="props/structures/iberians/blacksmith_shields2.xml" attachpoint="ibershields2"/>
<prop actor="props/structures/iberians/blacksmith_spear.xml" attachpoint="iberspear"/>
<prop actor="props/structures/iberians/blacksmith_wheel.xml" attachpoint="iberwheel"/>
</props>
<textures>
<texture file="structural/iber_struct.dds" name="baseTex"/>
<texture file="structural/iber_struct_norm.png" name="normTex"/>
<texture file="structural/iber_struct_spec.png" name="specTex"/>
<texture file="structural/ao/iber_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<material>player_trans_ao_spec.xml</material>
</actor>
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/iber_blacksmith_struct.dae</mesh>
<props>
<prop actor="props/structures/iberians/blacksmith_props.xml" attachpoint="root"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/iberians/blacksmith_barrel.xml" attachpoint="iberbarrel"/>
<prop actor="props/structures/iberians/blacksmith_barrels.xml" attachpoint="iberbarrels"/>
<prop actor="props/structures/iberians/blacksmith_bucket.xml" attachpoint="ibercube"/>
<prop actor="props/structures/iberians/blacksmith_shields1.xml" attachpoint="ibershields1"/>
<prop actor="props/structures/iberians/blacksmith_shields2.xml" attachpoint="ibershields2"/>
<prop actor="props/structures/iberians/blacksmith_spear.xml" attachpoint="iberspear"/>
<prop actor="props/structures/iberians/blacksmith_wheel.xml" attachpoint="iberwheel"/>
</props>
<textures>
<texture file="structural/iber_struct.dds" name="baseTex"/>
<texture file="structural/iber_struct_norm.png" name="normTex"/>
<texture file="structural/iber_struct_spec.png" name="specTex"/>
<texture file="structural/ao/iber_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="ibersmoke"/>
<prop actor="particle/flame.xml" attachpoint="iberfire"/>
</props>
</variant>
</group>
<material>player_trans_ao_spec.xml</material>
</actor>

View file

@ -6,9 +6,6 @@
<mesh>structural/kush_blacksmith.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_5x5.xml" attachpoint="root"/>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame_catapult.xml" attachpoint="fire"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
</props>
<textures>
<texture file="structural/kush_struct.png" name="baseTex"/>
@ -18,6 +15,16 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame_catapult.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant frequency="1" name="ungarrisoned"/>
<variant name="garrisoned">

View file

@ -1,30 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/maur_blacksmith_struct_b.dae</mesh>
<props>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_struct.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_weapons.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_bucket_water.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_bell.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_small.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_small_b.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_tall_round.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_tall_round_b.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/maur_struct_b.png" name="baseTex"/>
<texture file="structural/maur_struct_b_norm.png" name="normTex"/>
<texture file="structural/maur_struct_b_spec.png" name="specTex"/>
<texture file="structural/ao/maur_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/maur_blacksmith_struct_b.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_struct.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_weapons.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_bucket_water.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_bell.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_small.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_small_b.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_tall_round.xml" attachpoint="root"/>
<prop actor="props/structures/mauryas/blacksmith_shield_tall_round_b.xml" attachpoint="root"/>
</props>
<textures>
<texture file="structural/maur_struct_b.png" name="baseTex"/>
<texture file="structural/maur_struct_b_norm.png" name="normTex"/>
<texture file="structural/maur_struct_b_spec.png" name="specTex"/>
<texture file="structural/ao/maur_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>

View file

@ -6,8 +6,6 @@
<mesh>structural/pers_blacksmith.dae</mesh>
<props>
<prop actor="props/structures/persians/blacksmith.xml" attachpoint="root"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="props/units/shields/pers_taka_a.xml" attachpoint="shielda"/>
<prop actor="props/units/shields/pers_round_kardakes.xml" attachpoint="shieldb"/>
<prop actor="props/units/shields/pers_round_kardakes.xml" attachpoint="shieldc"/>
@ -25,5 +23,15 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>

View file

@ -6,8 +6,6 @@
<mesh>structural/ptol_blacksmith.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
</props>
<textures>
<texture file="structural/ptol_struct.png" name="baseTex"/>
@ -17,6 +15,16 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant name="ungarrisoned" frequency="1"/>
<variant name="garrisoned">

View file

@ -1,35 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/rome_blacksmith_struct_b.dae</mesh>
<props>
<prop actor="props/structures/romans/blacksmith_armorlegion.xml" attachpoint="root"/>
<prop actor="props/structures/romans/blacksmith_armorstand_armor.xml" attachpoint="rome-armorstand"/>
<prop actor="props/structures/romans/blacksmith_armorstand_wood.xml" attachpoint="rome-armorstand"/>
<prop actor="props/structures/romans/blacksmith_barrel.xml" attachpoint="barrel"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/romans/blacksmith_barrels.xml" attachpoint="romebarrels"/>
<prop actor="props/structures/romans/blacksmith_bucket_water.xml" attachpoint="bucket"/>
<prop actor="props/structures/romans/blacksmith_bucket.xml" attachpoint="bucket"/>
<prop actor="props/structures/romans/blacksmith_shields.xml" attachpoint="romeshields"/>
<prop actor="props/units/helmets/rome_apulo_corinthian_b2.xml" attachpoint="rome_helmet_b"/>
<prop actor="props/units/helmets/rome_helmet_montefortino.xml" attachpoint="rome_helmet_b1"/>
<prop actor="props/units/helmets/rome_apulo_itallic_e1.xml" attachpoint="rome_helmet_c"/>
<prop actor="props/units/helmets/hele_attic_r2.xml" attachpoint="rome_helmet_c1"/>
<prop actor="props/units/helmets/rome_gallic_type_h_cent.xml" attachpoint="rome_helmet_c2"/>
<prop actor="props/units/helmets/rome_helmet_montefortino_c.xml" attachpoint="rome_helmet_c_3"/>
</props>
<textures>
<texture file="structural/rome_struct_2.png" name="baseTex"/>
<texture file="structural/rome_struct_2_norm.png" name="normTex"/>
<texture file="structural/rome_struct_2_spec.png" name="specTex"/>
<texture file="structural/ao/rome_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Blacksmith">
<mesh>structural/rome_blacksmith_struct_b.dae</mesh>
<props>
<prop actor="props/structures/romans/blacksmith_armorlegion.xml" attachpoint="root"/>
<prop actor="props/structures/romans/blacksmith_armorstand_armor.xml" attachpoint="rome-armorstand"/>
<prop actor="props/structures/romans/blacksmith_armorstand_wood.xml" attachpoint="rome-armorstand"/>
<prop actor="props/structures/romans/blacksmith_barrel.xml" attachpoint="barrel"/>
<prop actor="props/structures/decals/dirt_4x4.xml" attachpoint="root"/>
<prop actor="props/structures/romans/blacksmith_barrels.xml" attachpoint="romebarrels"/>
<prop actor="props/structures/romans/blacksmith_bucket_water.xml" attachpoint="bucket"/>
<prop actor="props/structures/romans/blacksmith_bucket.xml" attachpoint="bucket"/>
<prop actor="props/structures/romans/blacksmith_shields.xml" attachpoint="romeshields"/>
<prop actor="props/units/helmets/rome_apulo_corinthian_b2.xml" attachpoint="rome_helmet_b"/>
<prop actor="props/units/helmets/rome_helmet_montefortino.xml" attachpoint="rome_helmet_b1"/>
<prop actor="props/units/helmets/rome_apulo_itallic_e1.xml" attachpoint="rome_helmet_c"/>
<prop actor="props/units/helmets/hele_attic_r2.xml" attachpoint="rome_helmet_c1"/>
<prop actor="props/units/helmets/rome_gallic_type_h_cent.xml" attachpoint="rome_helmet_c2"/>
<prop actor="props/units/helmets/rome_helmet_montefortino_c.xml" attachpoint="rome_helmet_c_3"/>
</props>
<textures>
<texture file="structural/rome_struct_2.png" name="baseTex"/>
<texture file="structural/rome_struct_2_norm.png" name="normTex"/>
<texture file="structural/rome_struct_2_spec.png" name="specTex"/>
<texture file="structural/ao/rome_blacksmith.png" name="aoTex"/>
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<material>player_trans_ao_parallax_spec.xml</material>
</actor>

View file

@ -10,8 +10,6 @@
<prop actor="props/flora/bush.xml" attachpoint="bush" maxheight="20" minheight="-20"/>
<prop actor="props/flora/bush.xml" attachpoint="bush_1" maxheight="20" minheight="-20"/>
<prop actor="props/flora/bush.xml" attachpoint="bush_2" maxheight="20" minheight="-20"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
</props>
<textures>
<texture file="structural/Sele_struct_2.png" name="baseTex"/>
@ -21,6 +19,16 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant frequency="1" name="ungarrisoned"/>
<variant name="garrisoned">

View file

@ -6,8 +6,6 @@
<mesh>structural/spart_blacksmith.dae</mesh>
<props>
<prop actor="props/structures/decals/dirt_3x3.xml" attachpoint="root"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame_firepit_2.xml" attachpoint="fire"/>
</props>
<textures>
<texture file="structural/sparta_struct.png" name="baseTex"/>
@ -17,6 +15,16 @@
</textures>
</variant>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant name="researching">
<props>
<prop actor="particle/sparks_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/smoke_blacksmith.xml" attachpoint="smoke"/>
<prop actor="particle/flame_firepit_2.xml" attachpoint="fire"/>
</props>
</variant>
</group>
<group>
<variant frequency="1" name="ungarrisoned"/>
<variant name="garrisoned">