Translations for our friends around the world.

ArmA

data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxITEhUTExMVFhUXGRcaFRcWGBcVFRcaGRcXFxgVGBcYHSggGholGxUdITEiJSkrLi4uFx8zODMtNygtLisBCgoKBQUFDg8FDisZExkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAKIBOAMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABwECAwYIBAX/xABVEAABAwICAwkFFAcGBwEAAAABAAIDBBEFIQcSMQYTIkFRYXGBkRRUkqHwCBUXGCUyNVJTVXJzgpSisbPR0uMjQkRik+HxM0NjdLLCJDSDtMHD0xb/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AnFERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQabpDxnE6OPuikigmhaLyte2TfGWuS+7XgOZy5XG3MXIiz0dsQ73peyX8a6FXKWlmjjhxaqjiYGMBjIa3IAvhje6w4hrOJtxXQbT6O2Id70vZL+NVGnTEO96Xsl/GopDlVj0HRuivSDVYlNLHNHCxrGaw3sPuTrNGZc4i1ieJbhu1xh9HQz1MbWufEzWaH3LTmBnYg8fKoe8zu7/jKj4n/ez71J+lf2IrPi/9zUET+jviHe9L2S/jQad8Q73pOyX8aim6qOhBKp074h3vS9kv41OW5rEH1FLDM/V1pGBztQENueQEk26SuNnuyK680fn1NpPimfUg0rSfpLqsOrG08MUD2mJkl5A/Wu58jSOC4C3AHFyrUTp0xDvel7JfxrzeaD9k2f5aP7SZRmXIJU9HXEO96Xsl/Grm6csRJAFNSkk2ADZiSTsAAfmeZRPrrf8AQhGx+KRh7Gu4LyNYXsQxxuOQ5eM8qCeNxtXiE0QlrWQRawBbFG1+uOdznPI2cQHXy7GiICIiAiIgIiICIiAiIgIiICIiA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qTtO9O9+KN1I3vtTRX1Wudb9JPtsDZRu3DKj3CX+G/8KDzOlO0rfdBjvVaP4En2b/uWkOwyfbvMtvi3/cvo7npq2jmjqII5WyMNxeJ5a4HItcLZtIJHXlY2KDr1Fre4rddHXwh2q6KYD9JC8EOb+824BcwnY7qNjktkQEREBERAREQEREBERAREQEREBERAREQEREBERAREQWGFt76oudpsM1TeG+1b2BZEQWby32o7Aqby32o7AsiILWxgbAB1Krmg5EXHOqogsETfajsCCFvtR2BXogs3lvtR2BXNAGQyVUQWOiacyAekBU3lvtR2BZEQY95b7UdgTeGe1b2BZEQWNiaMw0A9AV6IgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiD/9k=
Save

Author Topic: Mission editing tips  (Read 5311 times)

0 Members and 1 Guest are viewing this topic.

Offline Durham

  • Jr. Member
  • **
  • Posts: 69
Mission editing tips
« on: September 13, 2015, 07:21:15 PM »
I was very impressed by the immersive environment created by the author of A Normal Day, which we played on Friday evening.  His name is R 3 4 P 3 R and he has obviously done this before, as he has a whole directory full of custom scripts.

To get to the files you need pbomanager which works like winzip and compiles and decompiles .pbo files. (http://www.armaholic.com/page.php?id=16369)

I worked out how he got the radios to play different audio streams, which works as follows:

There is a file called "description.ext" in which you can define custom classes within some of the Bohemia cfg classes.  It needs to be in the mission directory alongside "mission.sqf".  This is initialized at mission start with no calls, and allows you to change stuff which then gets reused throughout the mission.

The class for sounds is CfgSounds.

So description.ext looks like this

class CfgSounds
{
   class ambient_radio  //any name, no spaces and no leading _ which is for local variables, therefore this is public
   {
      name = "ambient_radio";  //repeat of the name
      sound[] = {"music\radio.ogg", 0.8, 1}; //directory location of the sound file, volume, pitch
      titles[] = {0, ""};  //not used
   };
};


You then place down an object (in this case called "radio"), and have the following code in the init.sqf file:

[] spawn {
   while {true} do {
      if(player distance radio < 26) then {
         radio say ["ambient_radio", 26];  //this will play the the sound file defined inside the class when player is < 26 distance from it
         sleep 104;
      };
      sleep 2;
   };
};


To mess with sound you need a program called audacity (http://audacityteam.org/download/) which can produce the required .ogg file type from most standard audio files.

There are tools to get sound files out of youtube videos, but I have yet to find one that works without a load of adware attached.  Nonetheless, audacity allows you to record your own sounds with your microphone, so if you wanted to do custom briefings during insertion, you would record the briefing, place an object in the insertion vehicle and voila.

He did a lot of other cool stuff which I will work at understanding and repeating.

D
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline Durham

  • Jr. Member
  • **
  • Posts: 69
Re: Mission editing tips
« Reply #1 on: September 13, 2015, 07:42:21 PM »
As one of our party was so fascinated by the picture shown on the laptop, I thought I would give you the script.

The laptop is Objects (Small) Laptop (Open).

The init for the object is:

this  attachTo [laptoptisch,[0,0,0.55]]; this setObjectTextureGlobal [0, "images\youp.paa"];

where "laptoptisch" is a Objects (Camping) Camping Table on which the laptop is sitting.

images\ is the directory for the picture file in the custom BI format ".paa" where youp.paa is located.

You can convert common image files into .paa using TexView2 (http://www.armaholic.com/page.php?id=1563) which is a BI developer tool.

Using the tips above you could record your own audio from a porn site and then the laptop would have sound effects also.  In this case the guy is obviously using headphones!
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline Asid

  • HAVOC
  • *
  • Posts: 26362
Re: Mission editing tips
« Reply #2 on: September 13, 2015, 08:02:23 PM »
Interesting.

I agree with the immersion provided by R 3 4 P 3 R. He has put in a lot of work.

thanks for providing the info

Regards
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

I stand against Racism, Bigotry and Bullying

Offline Durham

  • Jr. Member
  • **
  • Posts: 69
Re: Mission editing tips
« Reply #3 on: September 14, 2015, 01:06:03 AM »
The two most important structural things I have learnt are as follows, owing to the lag of a step debugger as in excel, sql or visual studio:

1.  LOG FILES

These are stored in "C:\Users\UserName\AppData\Local\Arma 3" as .rpt files which log all the activities in the meeting and will throw the errors in your code.  Poseidon tools, which I am using as my IDE (http://www.armaholic.com/page.php?id=22139) will take you straight to the most recent log file.

2.  SANDBOX

Have a debugging mission going using the altis airfield to test new additions and scripts.  Only bring the new stuff into your big mission once the simple mission does what you want and your scripts throw no errors in the .rpt file.  Looking for missing semi colons in a large file is a nightmare, so keep the files small when you are testing so you have as good a chance as any of seeing your syntax errors.  The intellisense is nowhere near as good as a real IDE, so do not think just because it accepts your code it is without basic errors.
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline wilso845

  • Moderator
  • *****
  • Posts: 696
  • ArmA
Re: Mission editing tips
« Reply #4 on: September 14, 2015, 10:29:22 PM »
All this information will help others who are making or thinking about making missions, this is how a community should work,

Thanks Durham
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline Asid

  • HAVOC
  • *
  • Posts: 26362
Re: Mission editing tips
« Reply #5 on: September 14, 2015, 11:38:46 PM »
All this information will help others who are making or thinking about making missions, this is how a community should work,

Thanks Durham

Well said  :)
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

I stand against Racism, Bigotry and Bullying

Tags:
     

    DOW ArmA 3 Mission 27-11-15

    Started by Asid

    Replies: 7
    Views: 5716
    Last post November 28, 2015, 03:54:58 AM
    by Cupcake
    QRF Operation 1 AAR - Mission Complete

    Started by wilso845

    Replies: 2
    Views: 3327
    Last post September 19, 2015, 06:08:56 AM
    by Asid
    Mission Saturday April 15th 19:30 UTC - =RTY= DEVGRU HRT

    Started by Attila

    Replies: 5
    Views: 3491
    Last post April 15, 2017, 09:52:39 PM
    by Asid
    D.O.W. ArmA 3 Mission Friday 21-08-15

    Started by Asid

    Replies: 1
    Views: 2821
    Last post August 21, 2015, 02:37:59 PM
    by Asid
    D.O.W. ArmA 3 Mission Saturday 11-02-17

    Started by Asid

    Replies: 34
    Views: 13891
    Last post February 12, 2017, 03:51:41 AM
    by Asid