Sound help
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Sound help
I downloaded the assets for Majin Revan's clone commando. I moved the msh's and tga's and whatnot to my data***/sides/rep/msh folder, the odf's to the data***/sides/rep/odf folder, and the effects to the data***/sides/rep/effects folder. I listed his odf (rep_inf_clone_commando) in the rep.req. I listed him under the REP side in the LUA and tried to replace the Magnaguard with him. I munged the side and it crashes.
Unlike most of the times it crashes, I think I might know why, but I don't know how to fix it. I didn't copy over the "Sound" files. Would that cause the crash?
If so, I assume it can be fixed by copying over the sound files. My next question: where would I put them? In the effects folder? Or should I make a new folder in data***/sides/rep and call it "Sounds" and put the files there?
Unlike most of the times it crashes, I think I might know why, but I don't know how to fix it. I didn't copy over the "Sound" files. Would that cause the crash?
If so, I assume it can be fixed by copying over the sound files. My next question: where would I put them? In the effects folder? Or should I make a new folder in data***/sides/rep and call it "Sounds" and put the files there?
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Sound help
I've never encountered a problem with sound like that before (except the wookiee noises won't show up in CW). And, the sound files are usually housed in the effects file, if any. I'm not exactly sure what your problem is though. Can you post your .Lua please?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Sound help
Ok, LUA:
Hidden/Spoiler:
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Sound help
HA! I spy with my little eye...
officer = { "rep_inf_clone_commando",1, 4},
Typo busting sure is fun.
A missing space! OH NOES! Use this line instead:Fiodis wrote:officer = {"rep_inf_clone_commando",1, 4},
officer = { "rep_inf_clone_commando",1, 4},
-
NullCommando
- Jedi

- Posts: 1010
- Joined: Sat Dec 01, 2007 12:29 pm
- xbox live or psn: NullCommando
- Location: Earth
Re: Sound help
If you want the Commando sounds to work, you need to make a custom sound file, but first read Rend's tutorial on how to add missing shipped sounds.
How to make shipped sounds work: READ FIRST
http://www.gametoast.com/forums/viewtop ... =27&t=4750
How to make custom sounds work:
http://www.gametoast.com/forums/viewtop ... =27&t=6166
How to make shipped sounds work: READ FIRST
http://www.gametoast.com/forums/viewtop ... =27&t=4750
How to make custom sounds work:
http://www.gametoast.com/forums/viewtop ... =27&t=6166
That was pointless, it doesn't matter wether a space was there or not, and it crashes cause he didn't make a unit rep_inf_clone_commando.req file.A missing space! OH NOES! Use this line instead:
officer = { "rep_inf_clone_commando",1, 4},
Typo busting sure is fun.
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Sound help
... How can you tell he didn't make a Req?...
-
NullCommando
- Jedi

- Posts: 1010
- Joined: Sat Dec 01, 2007 12:29 pm
- xbox live or psn: NullCommando
- Location: Earth
Re: Sound help
He didn't say he made the rep_inf_clone_commando.req, he just said he listed it in the rep.req. And I doubt he knew about those unit.req's and the Clone Commando didn't come with one.
Last edited by NullCommando on Tue Dec 02, 2008 8:08 pm, edited 1 time in total.
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Sound help
Oh. I thought you were psychic or something lol. (then again you might well be... O.o)
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Sound help
And I doubt he knew about those unit.req's and the Clone Commando didn't come with one.
Halfway correct. I do know about unit.reqs, but I thought the clone commando didn't need one (which demonstrates how little I know of them.) How would you go about setting one up?
[um....sort've off-topic] Since the title of this thread is "sound help" should I make a new topic asking for .req help? Or should I rename this thread? And if that's the case, how do you rename threads? [/slightly off-topic]
-
Commander_Fett
- High General

- Posts: 847
- Joined: Fri Oct 17, 2008 9:59 pm
- Projects :: No Mod project currently.
Re: Sound help
To rename the thread, hit "edit" on your first post and rename it in there. As for the commando, to make an req, copy one of the other reqs, rename it to "rep_inf_clone_commando", then change the lines to the following:
Code: Select all
ucft
{
REQN
{
"class"
"rep_inf_clone_commando"
}
}
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Sound help
Every ODF that you can control ingame (Units, Turrets, and Vehicles) Needs a REQ file. The Req file tells the game what it needs to load. ReadDataFile calls the unit's REQ from the side file indicated by you. Every side needs a REQ too, which tells the computer what to load in the side. Without the REQs the computer doesn't know what to load. Usually for me, though I can't explain why, missing REQs aren't a crashing problem. All that happens to me is that my Unit doesn't appear. So, based on my experience I think there might be something more to your problem, Fiodis. But maybe my computer is just smarter XD.
