Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 2:00 pm
All times are UTC + 0
machine gun missing sound
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
lionRA2forums
Disk Thrower


Joined: 17 Feb 2016

PostPosted: Thu Mar 17, 2016 8:14 pm    Post subject:  machine gun missing sound Reply with quote  Mark this post and the followings unread

I found these codes a while ago on how to make a vehicle attack with 2 weapons without deploy. I'm using it for my apache. The issue is that the machine guns have no sound and shooting animation when they attack.
How can I fix this?



Here's the codes:



IsGattling=yes
TurretCount=1
WeaponCount=4
Weapon1=HELIROCKET1;
Weapon2=BlackHawkCannon;
Weapon3=BlackHawkCannon;
Weapon4=BlackHawkCannon;
EliteWeapon1=HELIROCKET1;
EliteWeapon2=BlackHawkCannonE;
EliteWeapon3=BlackHawkCannonE;
EliteWeapon4=BlackHawkCannonE;
WeaponStages=2
Stage1=20;
Stage2=200;1
EliteStage1=20;
EliteStage2=200;1
RateUp=1
RateDown=1;

Back to top
View user's profile Send private message
PillBox20
Commander


Joined: 28 Sep 2013
Location: Plovdiv, Bulgaria.

PostPosted: Thu Mar 17, 2016 9:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

When you use gatling logic, the sound from the weapons is not used.
Instead, you can use the sound from the firing animation.
Just make copies of the muzzle animation and give them a sound.
It should work.

_________________
"If it ain't broke, don't fix it."
"If you are loyal to everybody, can you truly be loyal to anybody?"
Ares Documentation: http://ares-developers.github.io/Ares-docs/
My YouTube Channel: https://www.youtube.com/channel/UCtxeQoEM_iVd-F-xUIwleyQ
PillBox20's Red Alert 2 Mod: http://www.moddb.com/mods/pillbox20s-red-alert-2/downloads/pillbox20s-red-alert-2-version-02

Back to top
View user's profile Send private message Visit poster's website YouTube User URL Skype Account
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Fri Mar 18, 2016 12:36 am    Post subject: Reply with quote  Mark this post and the followings unread

Report and DownReport work just fine on gattling weapons. Westwood used them and I use them as well.

Check how the weapon sounds are created in the vanilla sound file. It will show you exactly what to do.

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
lionRA2forums
Disk Thrower


Joined: 17 Feb 2016

PostPosted: Fri Mar 18, 2016 8:04 am    Post subject: Reply with quote  Mark this post and the followings unread

FurryQueen wrote:
Report and DownReport work just fine on gattling weapons. Westwood used them and I use them as well.

Check how the weapon sounds are created in the vanilla sound file. It will show you exactly what to do.


The only sound that works with report and down report is the gattling gun.

Back to top
View user's profile Send private message
lionRA2forums
Disk Thrower


Joined: 17 Feb 2016

PostPosted: Fri Mar 18, 2016 8:06 am    Post subject: Reply with quote  Mark this post and the followings unread

PillBox20 wrote:
When you use gatling logic, the sound from the weapons is not used.
Instead, you can use the sound from the firing animation.
Just make copies of the muzzle animation and give them a sound.
It should work.


Sound can only be heard with the gattling gun. Also sometimes it has no animations or won't attack.

I tried 2 weapons:


; Blackhawks gun (from QuadCannon)
[BlackHawkCannon2]
Damage=35
ROF=40
Range=6
Projectile=QuadShell
Speed=100
Warhead=SA
Report=GIAttackDeployed
;DownReport=GIAttackDeployed
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
OmniFire=no





; rapid fire anti-ground machine gun
[HAGGattling2]
Damage=25;50
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=GattWH
Report=GIAttackDeployed
DownReport=GIAttackDeployed
Burst = 2
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW
OmniFire=yes

Back to top
View user's profile Send private message
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Fri Mar 18, 2016 8:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Gattling system weapons expect looping sound event as Report. Non-looping ones are played in very irregular and erratic fashion. Only way to use non-looping ones is the workaround proposed by PillBox20.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Twitter Channel URL
lionRA2forums
Disk Thrower


Joined: 17 Feb 2016

PostPosted: Sat Mar 19, 2016 2:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Starkku wrote:
Gattling system weapons expect looping sound event as Report. Non-looping ones are played in very irregular and erratic fashion. Only way to use non-looping ones is the workaround proposed by PillBox20.


I'm confused. Muzzle animation would be

; muzzle flash
[GUNFIRE]
Layer=ground
Translucent=yes



But those don't have sound  (Report).

P.S. I tried using the same stats as the gattlinglooping sound in soundmd.ini and gave it to the blackhawkcannon sound but still didnt work.

Back to top
View user's profile Send private message
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Sat Mar 19, 2016 6:56 am    Post subject: Reply with quote  Mark this post and the followings unread

You make duplicate of the Animations in the List and the copies have Reports on them.

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
lionRA2forums
Disk Thrower


Joined: 17 Feb 2016

PostPosted: Sun Mar 20, 2016 8:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Atomic_Noodles wrote:
You make duplicate of the Animations in the List and the copies have Reports on them.


Ok got it to work...it's the weapons you were talking about not the animations.

Btw I still have the issue where the helicopter can't lock on a target so it will be doing the attack sound but not damaging the target.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1553s ][ Queries: 11 (0.0090s) ][ Debug on ]