Home   Help Search Login Register  

Author Topic: description.ext  (Read 452 times)

0 Members and 1 Guest are viewing this topic.

CrashnBurn

  • Guest
description.ext
« on: 29 Jan 2004, 22:27:26 »
How does one limit the amount of time the text displays when a sound is played as specified in the description.ext file ? The text being called is from the stringtable.csv. Can you add a value in "seconds" next to it such as-

class Dx06v10
   {
      name = "Dx06v10";
      sound[] = {"Dx06v10.ogg", db+05, 1.0};
      titles[] =
      {
         0, $STRD_Dx06v10,3
      };
   };

As you all know, syntax errors in the description file crash the game so I hesitate to experiment with it too much.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:description.ext
« Reply #1 on: 29 Jan 2004, 23:57:27 »
Doubt it...
At least haven't seen BIS use it...

But hey, just test it... It's only one crash...  ;)
« Last Edit: 29 Jan 2004, 23:58:16 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:description.ext
« Reply #2 on: 30 Jan 2004, 00:51:10 »
If you're talking about the titletext that appears, you can follow it 3 seconds later with a blank titletext " " which will make it disappear.
« Last Edit: 30 Jan 2004, 00:55:55 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline sim

  • Members
  • *
  • Hot! Real hot! Damn Hot!
Re:description.ext
« Reply #3 on: 08 Feb 2004, 21:48:19 »
I've recently been learnin stringtable and description files and it aint bin to easy but I think I can help. You dont need titletext to be able to do this.
If you look in the stringtable of snYpers mission op axe-point(damn good mission btw!) he has the following

STRM_nothing, " ",

then in the description

class CfgSounds
{
   sounds[] = {nothing, d1conv1, d1conv2, d2conv1, d2conv2, d2conv3, d2conv4, d2conv5, d2conv6, d3conv1, d3conv2, d3conv3, d3conv4, d2convEnd1};

   class nothing
   {
      name = "";
      sound[] = {};
      titles[] =
         {
            0, $STRM_nothing
         };
   };

and then in the intro file

Alpha_Officer say "d1conv2"
~4

HQ_Officer say "nothing"

so 4 seconds after the Alpha_officer has said "d1conv2" the text will fade off the screen.

hope this will have been of some help to you m8 (if not iv wasted my time and urs lol!)

sim



The Unsung Campaign Team Leader