Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: 2 .exts  (Read 3794 times)

0 Members and 2 Guests are viewing this topic.

Dubieman

  • Guest
2 .exts
« on: 11 Aug 2004, 00:17:13 »
Well I have just gotten my sound files and made the .ext for them, all 27 of them :P. Now my mission already has a .ext for setidentity and weapon selection and GPS=1 stuff.

If I have Desciption.ext (the one with setidentity, ammo) and Description2.ext (sound files only) will the mission read both and "use" both?

Like the sounds won't go cause the .ext is duplicated well not duplicated but there are two?


Kaliyuga

  • Guest
Re:2 .exts
« Reply #1 on: 11 Aug 2004, 00:21:38 »
 Doubt it will work, 1 description.ext should be enough :P

:toocool:

Dubieman

  • Guest
Re:2 .exts
« Reply #2 on: 11 Aug 2004, 01:04:06 »
okay,
I'll merge them then.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:2 .exts
« Reply #3 on: 11 Aug 2004, 01:11:35 »
Use

//================================

or something to divide up the sections (sound, gear, etc) and thereby make it easier to see what's going on.
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:2 .exts
« Reply #4 on: 11 Aug 2004, 01:19:40 »
Yea I got that, well CHOFPSE did it. I REALLY didn't want to handwrite or even copy/paste in 27 files/sounds.... ;D

I'm just that lazy. :D

The problem is solved now well, I think so, gotta make the sounds work in editor next so I'll keep this open just in case... :P

Dubieman

  • Guest
Re:2 .exts
« Reply #5 on: 11 Aug 2004, 02:27:07 »
I know this is a little sound and a little .ext but when I use unit say "File1" (its a .ogg) the sound doesn't go and the text that was there deletes itself... :P

Dunno, is playsound not gonna delete my text? Cause I figure playsound will make the sound come up...

And back to .ext's if I want to increase the colume so you can hear the sound I change:

sound[] = {\sound\File1.ogg, db + 0, 1.0};

TO

sound[] = {\sound\File1.ogg, db + 0.2, 1.0};

???

Dubieman

  • Guest
Re:2 .exts
« Reply #6 on: 11 Aug 2004, 02:55:49 »
Never mind those Questions. I'm a smart little bugger who just figured out he'd be writing a stringtable document until midnight tonight... :P

but the radio thing will be odd gotta look that up too... :P :P :P

EDIT: Man I'm confused and angry. I have ALL my radio messages and white text already to go not by stringtable. All I want is for the sound to play when I do the text like I'd like my code to be:

Code: [Select]
titletext ["Bah sounds are no fun sometimes","plain",1]
playsound "File1"

But when I do that it erases my text, and I just want to keep it there. :'( :-\

« Last Edit: 11 Aug 2004, 03:42:51 by GuiltyRoachKillar »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:2 .exts
« Reply #7 on: 11 Aug 2004, 04:17:00 »
Try changing the '1' to something like 10.


Planck
I know a little about a lot, and a lot about a little.

Dubieman

  • Guest
Re:2 .exts
« Reply #8 on: 11 Aug 2004, 05:51:31 »
Gaa nothing. It didn't work. I thought that number just made it take 10 secs for the text to show... :P

I dunno, this is wanderin into cam/sound territory.... :-\

Anyways I'm thinking the problem is with the .ext and the sound.

Code: [Select]
class File1
   {
      // Name to display in mission editor
      name = "File1";
      // Sound path, volume, pitch
      sound[] = {\sound\File1.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      titles[] = {0, ""};
   };

The problem is with the sound title text. Its set to no text or something and I'm not sure what to do. I deleted the
{0, ""};  part and it still didn't work. Then I deleted the whole

// Sound title text (set to no text)
      titles[] = {0, ""};

And still nothing.... :P

Thanks anyways Planck.


EDIT:::::

Wow, got something. Getting late so I can't fully test it. Damn that dentist appointment! :D

Changed:

      titles[] = {0, ""};

TO

      titles[] = {1, ""};

and the text showed for about a sec or so... I'll try some more later. If I'm correct, plz say so in the thread. If I'm wrong, plz yell at me. ;)

*yawns and rubs moniter induced sleepiness from eyes*



« Last Edit: 11 Aug 2004, 05:59:26 by GuiltyRoachKillar »

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:2 .exts
« Reply #9 on: 12 Aug 2004, 09:16:13 »
Code: [Select]
titletext ["Bah sounds are no fun sometimes","plain",1]
playsound "File1"

But when I do that it erases my text, and I just want to keep it there. :'( :-\

If you have any titles in your sound (ie. the titles line has anything between the curly brackets), it will overwrite a titletext command.

I'd either get rid of the titletext and use a stringtable, or get rid of the title between the brackets in your .ext, and use the titletext ;)

Dubieman

  • Guest
Re:2 .exts
« Reply #10 on: 12 Aug 2004, 16:25:20 »
I'd do the stringtable but I already have all the text in the form of titletext...

So you're saying the .ext would look like this?


Code: [Select]
class File1
   {
      // Name to display in mission editor
      name = "File1";
      // Sound path, volume, pitch
      sound[] = {\sound\File1.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      titles[] = {1, "Bah, sound is no fun sometimes..."};
   

Like that? And when the sound is played that text shows? :P

thanks

Offline Blanco

  • Former Staff
  • ****
Re:2 .exts
« Reply #11 on: 12 Aug 2004, 16:42:39 »
try :

cuttext ["Bah sounds are no fun sometimes","plain",1]

...instead of titletext
Search or search or search before you ask.

Dubieman

  • Guest
Re:2 .exts
« Reply #12 on: 12 Aug 2004, 17:02:44 »
Sorry to be noobish but could you explain more?

Like where does cuttext go? In the .ext  or just as a replacement for my titletext in my intro? :P

thanks for the replies

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:2 .exts
« Reply #13 on: 12 Aug 2004, 17:04:22 »
Replacement for titletext.
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:2 .exts
« Reply #14 on: 12 Aug 2004, 17:10:11 »
Holy shit yay. ;D ;D

Finally can get this beast done. Spent a night and a few hours on this now I can get it done. ;D

Thank you all ;), well I'll once again leave this here in case I hit yet another snag. ::)

lol :P