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 Fri Jun 19, 2026 11:55 pm
All times are UTC + 0
Unit crate sound
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Navy SEAL
Energy Commando


Joined: 01 Dec 2005
Location: Estland

PostPosted: Wed Sep 14, 2011 10:58 am    Post subject:  Unit crate sound Reply with quote  Mark this post and the followings unread

I have a problem, unit crate doesnt play my aud file(yes its in ecache__.mix).

rules.ini:

[Animations]
55=UNIT
[Powerups]
Unit=40,UNIT ; vehicle

art.ini:

[UNIT]
Image=INVISO
Rate=400
UseNormalLight=yes
Report=CRUNIT

sound.ini:

362=CRUNIT

[CRUNIT]
Priority=100

what else could be wrong? Thanks!

_________________
Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205

Back to top
View user's profile Send private message Send e-mail ModDB Profile ID
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Sep 14, 2011 11:52 am    Post subject: Reply with quote  Mark this post and the followings unread

code looks fine.
all you can do is to test the code step by step.

1. put on the powerup an animation with a sound where you know that both works fine e.g. TWLT100
if it works go to 2; if not you know the game has a hardcoded limit there and use a workaround (e.g. by spawning a debris)
2. put under UNIT in art.ini a sound which you know that is working
if it works go to 3; if not check the animation entry (the name UNIT could be interpreted wrong from the games ini-parser)
3. check if the sound file exists. test it on other animations. check if the sound file has the correct format 22050Hz,16Bit,Mono

everything pretty simple and straightforward to test.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 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.1577s ][ Queries: 11 (0.0078s) ][ Debug on ]