Jump to content

Clayman

Member
  • Content Count

    230
  • Joined

  • Last visited

  • Medals

Everything posted by Clayman

  1. Clayman

    Car Radio

    OK, I'll try to explain as good and detailed as I can. :) Create a new folder in your mission's folder (where the mission.sqm is located) and name it music. In this folder you place your music file (should be .ogg format). Now create a new text file also in your mission's folder (not in the music folder) and name it description.ext. (Make sure it's description.ext not description.ext.txt) Open this file with notepad or any other text editor and write this into it: ClassName can be anything, but you'll need it later again. So maybe the name of your music track? FileName.ogg has to be the exact name of your .ogg file. Save and close the description.ext and return to the mission editor. (Note: After making changes in the description.ext you'll have to save or re-load your mission for the changes to take effect.) Place the CLAY Car Radio logic. Write this into it's init line: ClassName is the same ClassName as used in the description.ext Song Name can be anything, this is the text shown in the radio. Length is the length of your track in seconds (has to be a number ;) ) Now the radio should be ready to go with your own track included. Again, I recommend to take a look at the example mission to see how it should look like. ;) And/Or take a look at the links I posted here. Hope you get it working now. Greetz, Clayman
  2. Clayman

    Car Radio

    Oooookay........ having that cleared out..... I've found a little (major) bug, that causes music executed from a trigger or script outside the Car Radio not being played. Also the fadeMusic command overwrites the initial Car Radio volume setting. Made a fixed version, so now it should all work correctly. Download fixed version Sorry for any inconvenience. :)
  3. Clayman

    Car Radio

    Thanks for all the comments so far. Glad you like the Car Radio. :) What do you mean with 'release it as an addon'? It's an .pbo, so I'd say it IS an addon. ;) Regarding the iPod version, I've been asked this several times now. So maybe I'll add something in the next version. Simply extract the folders as they are in the download to your ArmAII folder. ArmAII folder \ArmAII\userconfig\CLAY_CarRadio\ Now that looks really cool. Never heared of Armalib before (maybe because I never really played ArmA^^), but I'll keep an eye open for that. Seems to add some interesting features. Using a picture for the dialog is something I was thinking about way back in the OFP days. But I figured out that it won't look right, at least not without a lot of editing the picture. But I tryed to make the dialog look pretty much like a real car radio, and I think I did quite well with that. ;) There are basicly two ways to add own music. Using a description.ext for a specific mission or with an music-addon. Either way, you have to pass the classname of your music (as defined in either the description.ext or the confing of the music addon) in the code. The game then automaticly reads the description or config file where name and location of the actual music file are. Also check out the exampla mission to see how it's done. WIKI Link for description.ext / CfgMusic Add custom music to a mission Greetz, Clayman
  4. Clayman

    Car Radio

    It will be possible to create a user tracklist in a future version. I have to play around with the userconfig a bit to get it working. I like the interview idea. Now someone has to find out, how to broadcast Sahrani Radio directly into the Game. :D Oh, and it's .ogg don't know if ArmAII can handle .mp3?
  5. New Version 1.10 of the Animation Viewer is now ready for download. I've added nearly 450 animations, mostly crew / cargo for all the vehicles. Also I made the buttons a little bit darker for better visibility. Included in the download is also a readme file with an explaination of how the anim names are put together (as far as I could tell ;) ) and also a list of all the animal animations. Maybe I'll include these in the viewer in a future version. DL link in first post. Have fun! Clayman
×