Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_structure.xml
Show All 37 Lines | <Health> | ||||
</DamageVariants> | </DamageVariants> | ||||
<DeathType>corpse</DeathType> | <DeathType>corpse</DeathType> | ||||
<RegenRate>0</RegenRate> | <RegenRate>0</RegenRate> | ||||
<IdleRegenRate>0</IdleRegenRate> | <IdleRegenRate>0</IdleRegenRate> | ||||
<Unhealable>true</Unhealable> | <Unhealable>true</Unhealable> | ||||
</Health> | </Health> | ||||
<Identity> | <Identity> | ||||
<Civ>gaia</Civ> | <Civ>gaia</Civ> | ||||
<Material>stone</Material> | |||||
<GenericName>Structure</GenericName> | <GenericName>Structure</GenericName> | ||||
<Classes datatype="tokens">Structure</Classes> | <Classes datatype="tokens">Structure</Classes> | ||||
<Undeletable>false</Undeletable> | <Undeletable>false</Undeletable> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<food>0</food> | <food>0</food> | ||||
<wood>0</wood> | <wood>0</wood> | ||||
<stone>0</stone> | <stone>0</stone> | ||||
▲ Show 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | <Overlay> | ||||
<Outline> | <Outline> | ||||
<LineTexture>outline_border.png</LineTexture> | <LineTexture>outline_border.png</LineTexture> | ||||
<LineTextureMask>outline_border_mask.png</LineTextureMask> | <LineTextureMask>outline_border_mask.png</LineTextureMask> | ||||
<LineThickness>0.4</LineThickness> | <LineThickness>0.4</LineThickness> | ||||
</Outline> | </Outline> | ||||
</Overlay> | </Overlay> | ||||
</Selectable> | </Selectable> | ||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
wraitii: This reads a little odd TBH. Material is already in Identity, you shouldn't need to re-specify… | |||||
<select>interface/select/building/sel_universal.xml</select> | <select>interface/select/building/sel_universal.xml</select> | ||||
<constructed>interface/complete/building/complete_universal.xml</constructed> | <constructed>interface/complete/building/complete_universal.xml</constructed> | ||||
<death>attack/destruction/building_collapse_large.xml</death> | <death>attack/destruction/building_collapse_large.xml</death> | ||||
<attacked>interface/alarm/alarm_attackplayer.xml</attacked> | <attacked>interface/alarm/alarm_attackplayer.xml</attacked> | ||||
<attacked_gaia>interface/alarm/alarm_attacked_gaia.xml</attacked_gaia> | <attacked_gaia>interface/alarm/alarm_attacked_gaia.xml</attacked_gaia> | ||||
<attacked_capture>interface/alarm/alarm_attackplayer.xml</attacked_capture> | <attacked_capture>interface/alarm/alarm_attackplayer.xml</attacked_capture> | ||||
<attacked_capture_gaia>interface/alarm/alarm_attacked_gaia.xml</attacked_capture_gaia> | <attacked_capture_gaia>interface/alarm/alarm_attacked_gaia.xml</attacked_capture_gaia> | ||||
<hit_melee_stone>attack/impact/arrow_metal.xml</hit_melee_stone> | |||||
<hit_ranged_stone>attack/impact/arrow_metal.xml</hit_ranged_stone> | |||||
<attack_impact_ranged>attack/impact/arrow_impact.xml</attack_impact_ranged> | |||||
<attack_impact_ranged_missed>attack/impact/arrow_impact.xml</attack_impact_ranged_missed> | |||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
<StatusBars> | <StatusBars> | ||||
<BarWidth>6.0</BarWidth> | <BarWidth>6.0</BarWidth> | ||||
<BarHeight>0.6</BarHeight> | <BarHeight>0.6</BarHeight> | ||||
<HeightOffset>12.0</HeightOffset> | <HeightOffset>12.0</HeightOffset> | ||||
</StatusBars> | </StatusBars> | ||||
<StatusEffectsReceiver/> | <StatusEffectsReceiver/> | ||||
Show All 22 Lines |
Wildfire Games · Phabricator
This reads a little odd TBH. Material is already in Identity, you shouldn't need to re-specify it for "hit" (which also should probably be named 'on_hit'). Instead you'd want the projectile material or something.
And "attack_impact_missed" is more of a "hit_ground"