View unanswered posts | View active topics It is currently Fri Jan 10, 2025 5:03 pm



Reply to topic  [ 12 posts ] 
 Tried to make a Digger that didn't loop sounds,Broke cc 
Author Message
User avatar

Joined: Wed Apr 04, 2007 5:59 pm
Posts: 32
Location: In that can of sprite on your desk.
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Apr 09, 2007 8:41 am
Posts: 78
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Apr 04, 2007 5:59 pm
Posts: 32
Location: In that can of sprite on your desk.
Reply with quote
Post 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
Profile
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: Tried to make a Digger that didn't loop sounds,Broke cc
http://www.rafb.net/paste

Please 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
Profile YIM

Joined: Thu Dec 27, 2007 10:39 am
Posts: 11
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Sep 22, 2007 7:28 pm
Posts: 298
Location: Right here.
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Aug 05, 2007 7:31 pm
Posts: 81
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Dec 27, 2006 9:52 pm
Posts: 688
Location: California
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Apr 04, 2007 5:59 pm
Posts: 32
Location: In that can of sprite on your desk.
Reply with quote
Post 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

:o
Well that was a dumb moment for me...


Fri Dec 28, 2007 10:55 am
Profile

Joined: Thu Dec 27, 2007 10:39 am
Posts: 11
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.050s | 15 Queries | GZIP : Off ]