OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: granQ on 25 Apr 2004, 15:36:16

Title: custom sound "forest"..
Post by: granQ on 25 Apr 2004, 15:36:16
Hello everyone.

There could be custom sound for the hills, sea and some other.. my sea works perfect and meadows too, but the forest sound doesn't play when i am in a forest, but the meadows sound keeps on playing. So now i wonder how do you define a "forest" in wrptool because there has to be some error there i guess?

from my cpp, don't think the error is there but anyway
Code: [Select]
      class Meadows
         {
            name="$STR_DN_MEADOWS";
            sound[]={"\sfp_penti\sound\meadows.ogg",0.002,1};
            soundNight[]={"\sfp_penti\sound\meadows.ogg",0.002,1};
         };
         class TREES
         {
            name="$STR_DN_TREES";
            sound[]={"\sfp_penti\sound\tree.ogg",0.002,1};
            soundNight[]={"\sfp_penti\sound\tree_night.ogg",0.002,1};
         };
Title: Re:custom sound "forest"..
Post by: shinraiden on 26 Apr 2004, 17:40:12
AS WRPtool only supports writing to 4WVR formatted wrp's at this time, it doesn't have the ability to set environment sound flags, like Visitor or WRPedit which can write to OFPW format.