Added missing smoke texture to shilka. Add shilka mp sound. Made shilka muzzle flash less yellow, and less 'blocky'.

This commit is contained in:
Nikolai V. Chr 2021-04-25 15:30:05 +02:00
parent 86b43b470f
commit 5b916c2c75
7 changed files with 53 additions and 42 deletions

View File

@ -1,5 +1,5 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1.000 1.000 1.000 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.500 0.500 0.500 shi 64 trans 0.000
MATERIAL "DefaultWhite" rgb 0 0 0 amb 0 0 0 emis 0.000 0.000 0.000 spec 0.00 0.00 0.00 shi 64 trans 1.000
OBJECT world
name "Blender_exporter_v3.3__muzzle.ac"
kids 1

View File

@ -3,21 +3,23 @@
<name>muzzle-flame</name>
<inherits-from>Effects/thrust-flame</inherits-from>
<parameters>
<base_flame_b type="float">0</base_flame_b>
<base_flame_b type="float">0.75</base_flame_b>
<base_flame_density type="float">0.5</base_flame_density>
<base_flame_g type="float">1</base_flame_g>
<base_flame_r type="float">1</base_flame_r>
<!-- <deflection_coeff type="float">0</deflection_coeff> -->
<flame_color_high_b type="float">0.1</flame_color_high_b>
<flame_color_high_g type="float">1</flame_color_high_g>
<flame_color_high_b type="float">0.5</flame_color_high_b>
<flame_color_high_g type="float">0.75</flame_color_high_g>
<flame_color_high_r type="float">1</flame_color_high_r>
<flame_color_low_b type="float">0</flame_color_low_b>
<flame_color_low_b type="float">0.5</flame_color_low_b>
<flame_color_low_g type="float">0.55</flame_color_low_g>
<flame_color_low_r type="float">0.65</flame_color_low_r>
<flame_radius_fraction type="float">0.39</flame_radius_fraction>
<thrust_collimation type="float">-0.2</thrust_collimation>
<thrust_density type="float">0.5</thrust_density>
<use_noise type="int">0</use_noise>
<thrust_density type="float">0.4</thrust_density>
<use_noise type="int">1</use_noise>
<use_shocks type="int">0</use_shocks>
<noise_strength type="float">1</noise_strength>
<noise_scale type="float">0.7</noise_scale>
</parameters>
</PropertyList>

View File

@ -5,6 +5,7 @@
<effect>
<inherits-from>Aircraft/ZSU-23/Models/Effects/muzzle</inherits-from>
<object-name>muzzle</object-name>
</effect>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -2,6 +2,9 @@
<PropertyList>
<path>Aircraft/ZSU-23/Models/zsu-23.ac</path>
<sound>
<path>Aircraft/ZSU-23/Sounds/sound.xml</path>
</sound>
<!-- muzzle fire -->
<model>
@ -413,5 +416,7 @@
</offsets>
</model>
</PropertyList>

BIN
ZSU-23/Sounds/shilka.wav Normal file

Binary file not shown.

View File

@ -1,22 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015 onox
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PropertyList>
<fx>
<burst>
<name>missile</name>
<path>Aircraft/ZSU-23/Sounds/shilka.wav</path>
<mode>once</mode>
<condition>
<property>sim/multiplay/generic/int[1]</property>
</condition>
<reference-dist>50</reference-dist>
<max-dist>10000</max-dist>
<position>
<x> 0.01 </x>
<y> 0.01 </y>
<z> 0.01 </z>
</position>
<volume>
<factor>0.5</factor>
<max>1</max>
</volume>
</burst>
</fx>
</PropertyList>