Add glow effect for the ghost armor

This commit is contained in:
Rampoina 2024-02-25 20:02:46 +01:00
parent c1333b326c
commit 354edec4d7
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?xml version="1.0" standalone="yes"?>
<unit-particle-system>
<texture value="true" path="../../particles/particle.bmp" luminance="true"/>
<mode value="normal"/>
<primitive value="quad"/>
<offset x="0" y="0.25" z="0"/>
<direction x="0" y="0" z="1"/>
<color red="0.2" green="0.40" blue="0.31" alpha="0.1" />
<color-no-energy red="0.0" green="0.0" blue="0.0" alpha="0.0" />
<radius value="1.8" />
<size value="0" />
<size-no-energy value="7" />
<speed value="1" />
<gravity value="0"/>
<emission-rate value="6"/>
<teamcolorEnergy value="false" />
<energy-max value="100"/>
<energy-var value="0" />
<relative value="false" />
<fixed value="false" />
<particleSystemStartDelay value="0"/>
<radiusBasedStartenergy value="true"/>
</unit-particle-system>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,23 @@
<?xml version="1.0" standalone="yes"?>
<unit-particle-system>
<!-- this is the main stuff we change -->
<size value="0.04" /> <!-- how big it is -->
<emission-rate value="1000" /> <!-- more == more defined -->
<radius value="0"/> <!-- how much wobble there is -->
<offset x="0" y="0" z="0"/>
<color red="0.19" green="1" blue="0.44" alpha="1" />
<color-no-energy red="1" green="0.19" blue="0.44" alpha="0.9" />
<texture value="true" path="../../particles/particle_range.bmp" luminance="true" />
<teamcolorEnergy value="true" />
<!-- this is all stuff you don't really change -->
<direction x="0" y="0" z="0"/>
<relative value="false"/>
<fixed value="true"/>
<model value="false"/>
<primitive value="quad"/>
<size-no-energy value="2" />
<speed value="0.0" />
<gravity value="0.0"/>
<energy-max value="0" />
<energy-var value="0" />
</unit-particle-system>

View File

@ -61,6 +61,9 @@
<anim-speed value="40"/>
<animation path="models/ghost_armor_standing.g3d"/>
<sound enabled="false"/>
<particles value="true">
<particle-file path="../../particles/glow_particles.xml"/>
</particles>
</skill>
<skill>
@ -71,6 +74,9 @@
<anim-speed value="198"/>
<animation path="models/ghost_armor_walking.g3d"/>
<sound enabled="false"/>
<particles value="true">
<particle-file path="../../particles/glow_particles.xml"/>
</particles>
</skill>
<skill>
@ -102,6 +108,9 @@
<attack-start-time value="0.3"/>
<projectile value="false"/>
<splash value="false"/>
<particles value="true">
<particle-file path="../../particles/glow_particles.xml"/>
</particles>
</skill>
<skill>
@ -119,6 +128,9 @@
<sound-file path="sounds/ghost_armor_die5.wav"/>
</sound>
<fade value="false"/>
<particles value="true">
<particle-file path="../../particles/glow_particles.xml"/>
</particles>
</skill>
</skills>