Author |
Message |
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Tried to make a Digger that didn't loop sounds,Broke cc
*Problem fixed,Go home now* The code,Whenever I start cortex command it crashes,Any help? Hell even a replacement file would be good enough. (long code is looooong)
The error:
Last edited by Fire+Ice on Fri Dec 28, 2007 10:58 am, edited 1 time in total.
|
Thu Dec 27, 2007 10:41 am |
|
|
gobbo_the_civet
Joined: Mon Apr 09, 2007 8:41 am Posts: 78
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
Go to line 342 and press the tab key?
|
Thu Dec 27, 2007 11:28 am |
|
|
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
gobbo_the_civet wrote: Go to line 342 and press the tab key? So how the hell am I supposed to find line 342? What,Do I count every single line?
|
Thu Dec 27, 2007 2:08 pm |
|
|
ProjektTHOR
Banned
Joined: Tue Feb 27, 2007 4:05 pm Posts: 2527
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
http://www.rafb.net/pastePlease paste your output there, instead of creating an insanely long forum post. Additionally, that will tell you what line.
|
Thu Dec 27, 2007 4:51 pm |
|
|
C-Rex
Joined: Thu Dec 27, 2007 10:39 am Posts: 11
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
Loopsetting = -1 might be doing it. Does changing it to 0 keep it from looping?
|
Fri Dec 28, 2007 12:01 am |
|
|
J23
Joined: Sat Sep 22, 2007 7:28 pm Posts: 298 Location: Right here.
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
Fire+Ice wrote: gobbo_the_civet wrote: Go to line 342 and press the tab key? So how the hell am I supposed to find line 342? What,Do I count every single line? In Notepad, click Edit>Go to..>and type in 342. It will then take you to that line.
|
Fri Dec 28, 2007 12:09 am |
|
|
eternjc
Joined: Sun Aug 05, 2007 7:31 pm Posts: 81
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
Why are we looping the sprite, anyway? I thought you were fixing the sound. Code: AddDevice = HDFirearm InstanceName = Medium Digger AddToGroup = Tools AddToGroup = Diggers Mass = 8 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Base.rte/Devices/Diggers/Medium.bmp LoopSetting = -1 // Means loop until stopped <<-- HERE's the error line
|
Fri Dec 28, 2007 1:00 am |
|
|
Prod
Joined: Wed Dec 27, 2006 9:52 pm Posts: 688 Location: California
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
J23 wrote: Fire+Ice wrote: gobbo_the_civet wrote: Go to line 342 and press the tab key? So how the hell am I supposed to find line 342? What,Do I count every single line? In Notepad, click Edit>Go to..>and type in 342. It will then take you to that line. I used to to that, but for some reason, it doesn't allow me to use the "Go To" anymore.
|
Fri Dec 28, 2007 1:05 am |
|
|
Sixteen
Joined: Sun Nov 25, 2007 6:29 am Posts: 400
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
You have it on word wrap, I guess.
|
Fri Dec 28, 2007 1:13 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
eternjc wrote: Why are we looping the sprite, anyway? I thought you were fixing the sound. Oh my lawd, holy ♥♥♥♥ does this guy win. @Fire + Ice: IT'S CRASHING THE GAME BECAUSE YOU'RE TELLING THE .EXE TO LOAD A .WAV SOUND AS A .BMP SPRITE. Holy ♥♥♥♥ did I laugh.
|
Fri Dec 28, 2007 5:44 am |
|
|
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
eternjc wrote: Why are we looping the sprite, anyway? I thought you were fixing the sound. Code: AddDevice = HDFirearm InstanceName = Medium Digger AddToGroup = Tools AddToGroup = Diggers Mass = 8 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Base.rte/Devices/Diggers/Medium.bmp LoopSetting = -1 // Means loop until stopped <<-- HERE's the error line
Well that was a dumb moment for me...
|
Fri Dec 28, 2007 10:55 am |
|
|
C-Rex
Joined: Thu Dec 27, 2007 10:39 am Posts: 11
|
Re: Tried to make a Digger that didn't loop sounds,Broke cc
I just realized that you're missing a very large chunk of what should be there.
I did get my sounds not to loop, also, by using -0, and by shortening the digger noise quite a bit, but it still uses most of the sound channels when someone digs. But it immediately stops when they're done.
|
Fri Dec 28, 2007 5:57 pm |
|
|
|