Jump to content

Cool Breeze-ICON

Member
  • Content Count

    36
  • Joined

  • Last visited

  • Medals

Posts posted by Cool Breeze-ICON


  1. Thanks Guys,

    I have corrected my jpg file to 256 x 256 not 179 x 256 and it works fine.

    I take it that arma only recognise jpg's that have equal width and height???

    Another question, what is the colour of the briefing screen background, and don't say green - LOL. I want to match my logo background so that it blends in and only shows the logo.


  2. Hi Oldpz,

    See link below:-

    http://ofp.toadlife.net/downloads/tutorials/tutorial_sound/tutorial_sound.html

    I added some music by adding the following to the description.ext file:-

    #include "Cust_scripts\Sounds\Music\Music.cpp"

    And created a file called music.cpp with the following code:-

    class CfgMusic

    {

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

    // The next line defines what tracks you are going play within the mission.

    tracks[]={M_TRACK01};

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

    //The next line defines the class name as listed above.

    class M_TRACK01

    {

    // The next line is used so that you can find the track in the effects of a trigger.

    name="M_TRACK01 (Paint It Black)"; // Name for mission editor

    // The next like is shows where the track is stored followed by the sound level and pitch.

    sound[]={"Cust_scripts\Sounds\Music\M_TRACK01_Paint It Black.ogg",db+10,1.0};

    // The db-40 refers to the volume of the sound.

    // The 1.0 refers to the pitch of the sound.

    };

    };

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

    Hope this helps.


  3. Hi All - Information for the nation

    I have been pulling my hair out trying to find out why my new track doesn't play after I update track names. I have been using the sample mission from "some_kind_of_guy" as a basis (see post 25 of this thread).

    Basically I don't know if this is common knowledge but after you have updated the track names or added other tracks you have to quit out of the editor and re-open your map. It will then load up with your new track(s).


  4. Hey Merad,

    Place a troop or squad on the map and add a waypoint(s) for the troop to move too. Set the "min", "mid" and "max" time out (in seconds) for the waypoint which you want him to hold at.

    i.e. Min = 30, Mid = 30 and Max = 30 OR Min = 30, Mid = 45 and Max = 60

    Add further waypoints as required. Then add a trigger and sync to the waypoint which has the time out set.

    The troop will move to the waypoint which has the time out set and wait. Once the trigger is activated he will then wait for the time out to finish then move on.

    Hope this helps.


  5. Hi

    I am getting an issue with the CRRC, I want to clear all cargo on start-up but then add cargo manually when I get to the weapon cache.

    I have used “clearWeaponCargo this; clearMagazineCargo this;†which works fine.

    The problem I got is when I go to reload it manually as my gear disappears. I have tested this using an URAL and it works fine, any ideas or is this another bug?

    Thanks


  6. I have downloaded the Sounddemo.Utes file which works fine (thanks some_kind_of_guy). I am now trying to get the code into my mission. I have cut and pasted it into the beginning of my description.ext file but when I go to preview my mission Arma closes with a message referencing to an error in my config.cpp file. The config.cpp is a file from my Norrin revive script. Within this file the following code is used:- "class CfgSounds".

    I'm guessing that there is a conflict between these two codes? I would like to keep my new sound code separate from the Norrin revive script, is this possible? I have also used the F2 frame work to help produce my mission. Can anyone help?

    PS – I’m a newbe to scripting but a quick learner so please go easy :-)

    Thanks

×