greek docks do not show warships in the foundation until construction is finished.
Different actor variations of the building can be displayed while construction naming their variation to "scaffold" This was SVN commit r14004.
This commit is contained in:
parent
2bbbcff811
commit
40db79df33
@ -3,7 +3,7 @@
|
||||
<castshadow/>
|
||||
<float/>
|
||||
<group>
|
||||
<variant frequency="100" name="athenians dock">
|
||||
<variant frequency="100" name="idle">
|
||||
<mesh>structural/athen_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/athenians/dock_struct_b.xml" attachpoint="root"/>
|
||||
@ -19,6 +19,22 @@
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/athen_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
<variant frequency="100" name="scaffold">
|
||||
<mesh>structural/athen_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/athenians/dock_struct_b.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/athenians/dock_fishing_boat.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/athenians/dock_props.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/athenians/dock_tiles.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/athenians/dock_decor.xml" attachpoint="root"/>
|
||||
</props>
|
||||
<textures>
|
||||
<texture file="structural/hele_struct.dds" name="baseTex"/>
|
||||
<texture file="structural/hele_struct_norm.png" name="normTex"/>
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/athen_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
</group>
|
||||
<material>player_trans_ao_parallax_spec.xml</material>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<castshadow/>
|
||||
<float/>
|
||||
<group>
|
||||
<variant frequency="100" name="macedonians dock">
|
||||
<variant frequency="100" name="idle">
|
||||
<mesh>structural/mace_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/macedonians/dock_struct_b.xml" attachpoint="root"/>
|
||||
@ -19,6 +19,22 @@
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/mace_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
<variant frequency="100" name="scaffold">
|
||||
<mesh>structural/mace_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/macedonians/dock_struct_b.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/macedonians/dock_fishing_boat.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/macedonians/dock_props.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/macedonians/dock_tiles.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/macedonians/dock_decor.xml" attachpoint="root"/>
|
||||
</props>
|
||||
<textures>
|
||||
<texture file="structural/hele_struct.dds" name="baseTex"/>
|
||||
<texture file="structural/hele_struct_norm.png" name="normTex"/>
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/mace_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
</group>
|
||||
<material>player_trans_ao_parallax_spec.xml</material>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<castshadow/>
|
||||
<float/>
|
||||
<group>
|
||||
<variant frequency="100" name="spartans dock">
|
||||
<variant frequency="100" name="idle">
|
||||
<mesh>structural/spart_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/spartans/dock_struct_b.xml" attachpoint="root"/>
|
||||
@ -18,6 +18,21 @@
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/spart_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
<variant frequency="100" name="scaffold">
|
||||
<mesh>structural/spart_dock_struct.dae</mesh>
|
||||
<props>
|
||||
<prop actor="props/structures/spartans/dock_struct_b.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/spartans/dock_warship.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/spartans/dock_props.xml" attachpoint="root"/>
|
||||
<prop actor="props/structures/spartans/dock_tiles.xml" attachpoint="root"/>
|
||||
</props>
|
||||
<textures>
|
||||
<texture file="structural/hele_struct.dds" name="baseTex"/>
|
||||
<texture file="structural/hele_struct_norm.png" name="normTex"/>
|
||||
<texture file="structural/hele_struct_spec.png" name="specTex"/>
|
||||
<texture file="structural/ao/spart_dock.png" name="aoTex"/>
|
||||
</textures>
|
||||
</variant>
|
||||
</group>
|
||||
<material>player_trans_ao_parallax_spec.xml</material>
|
||||
|
@ -221,6 +221,7 @@ Foundation.prototype.Build = function(builderEnt, work)
|
||||
{
|
||||
cmpPreviewVisual.SetConstructionProgress(0.0);
|
||||
cmpPreviewVisual.SetActorSeed(cmpFoundationVisual.GetActorSeed());
|
||||
cmpPreviewVisual.SelectAnimation("scaffold", false, 1.0, "");
|
||||
}
|
||||
|
||||
var cmpFoundationPosition = Engine.QueryInterface(this.entity, IID_Position);
|
||||
|
Loading…
Reference in New Issue
Block a user