Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casing mote center to gun draw center #2816

Merged
merged 7 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
332 changes: 168 additions & 164 deletions Defs/Effects/Flecks.xml
Original file line number Diff line number Diff line change
@@ -1,171 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<!--=============== Thrown Bullet Casings ==============-->

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_EmptyCasing</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_BulletCasing</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_PistolAmmoCasings</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_PistolAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_RifleAmmoCasings_Steel</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_SteelRifleAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_RifleAmmoCasings_HighCal</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_RifleAmmoCasings_HighCal</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_ShotgunShell</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_ShotgunShell_Green</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_Green</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_ShotgunShell_White</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_White</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_ShotgunShell_Black</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_Black</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_GrenadeLauncherAmmoCasings</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_GrenadeLauncherAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_CannonShellCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_BigShell</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_BigShell</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_CannonShellCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_GrenadePin</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_GrenadePin</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<defName>Fleck_DisposableLauncherCasing</defName>
<graphicData>
<texPath>Things/Filth/Filth_DisposableLauncherCasings/Filth_DisposableLauncherCasings</texPath>
<renderInstanced>true</renderInstanced>
<drawSize>(1.5,1.5)</drawSize>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<!--
<FleckDef ParentName="FleckBase" Name="CE_CasingFleckBase" Abstract="True">
<fleckSystemClass>CombatExtended.FleckSystem_Casing</fleckSystemClass>
<acceleration>(0,0,-5)</acceleration>
</FleckDef>

<!--=============== Thrown Bullet Casings ==============-->

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_EmptyCasing</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_BulletCasing</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_PistolAmmoCasings</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_PistolAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_RifleAmmoCasings_Steel</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_SteelRifleAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_RifleAmmoCasings_HighCal</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_RifleAmmoCasings_HighCal</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_ShotgunShell</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_ShotgunShell_Green</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_Green</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_ShotgunShell_White</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_White</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_ShotgunShell_Black</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_ShotgunShell_Black</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_ShotgunCasingImpact</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_GrenadeLauncherAmmoCasings</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_GrenadeLauncherAmmoCasings</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_CannonShellCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_BigShell</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_BigShell</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_CannonShellCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_GrenadePin</defName>
<graphicData>
<texPath>Things/Flecks/Fleck_GrenadePin</texPath>
<renderInstanced>true</renderInstanced>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<FleckDef ParentName="CE_CasingFleckBase">
<defName>Fleck_DisposableLauncherCasing</defName>
<graphicData>
<texPath>Things/Filth/Filth_DisposableLauncherCasings/Filth_DisposableLauncherCasings</texPath>
<renderInstanced>true</renderInstanced>
<drawSize>(1.5,1.5)</drawSize>
</graphicData>
<altitudeLayer>MoteOverhead</altitudeLayer>
<solidTime>3.0</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<landSound>C_Impact_BulletCasing</landSound>
<collide>true</collide>
</FleckDef>

<!--
Keeping these as motes for now
-->

<!--
<FleckDef ParentName="FleckBase_Thrown">
<!--
<FleckDef ParentName="">
<defName>Mote_BigExplode</defName>
<graphicData>
<texPath>Things/Mote/Mote_BigExplode</texPath>
Expand All @@ -177,7 +181,7 @@
<growthRate>15</growthRate>
</FleckDef>

<FleckDef ParentName="FleckBase_Thrown">
<FleckDef ParentName="">
<defName>Mote_Firetrail</defName>
<graphicData>
<texPath>Things/Mote/Mote_Firetrail</texPath>
Expand Down
Loading
Loading