Home   Help Search Login Register  

Author Topic: Mando Bombs and Mando Air Support (ACCEPTED)  (Read 92906 times)

0 Members and 2 Guests are viewing this topic.

Offline Shadow.D. ^BOB^

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #315 on: 04 Oct 2008, 04:57:38 »
Hi Mandoble, just a quick question.....  Is there a variable to disable the "Setup & Info" and "Land/Jump" buttons in the console?

As its not mentioned in your var listings i'm guessing not, but it never hurts to ask.  If not, could you implement this into your next update?

Cheers dude.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #316 on: 04 Oct 2008, 15:29:39 »
If you want to disable these buttons, open mando_airsupportdlg.sqf, look for:
Code: [Select]
      if (mando_support_no_sat) then
      {
         (_display displayCtrl 23928) ctrlEnable false;
      };

And just below it add:
Code: [Select]
      // Disable JUMP button
      (_display displayCtrl 23961) ctrlEnable false;

      // Disable SetUP and info dialog button
      (_display displayCtrl 23944) ctrlEnable false;     

Offline Shadow.D. ^BOB^

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #317 on: 04 Oct 2008, 17:53:15 »
Thankyou buddy, your hard work is appreciated as always. :D

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #318 on: 05 Oct 2008, 01:51:11 »
I followed the instructions you inclosed but it still wont work!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #319 on: 05 Oct 2008, 01:59:30 »
Still doesnt work what? and/or what are you trying to do and how?

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #320 on: 05 Oct 2008, 02:22:57 »
I tried put all the folders and files into a mission and then paccked it back into PBO. >:(





#removed unnecessary quote - bedges
« Last Edit: 07 Oct 2008, 08:23:33 by bedges »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #321 on: 05 Oct 2008, 02:50:23 »
To do what? console? bombing? Is your mission including the correct activations in the init.sqf? Obviously it is not only a matter of copying files and folders there.

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #322 on: 05 Oct 2008, 18:52:15 »
I want the console and bombing enabled but I dont know what I have to do. You make it sound simple in your install guide.

To use it in your missions:
- Copy mando_bombs into your mission folder.
- If you want to use the Air Support Console, edit (or create) your description.ext file and add:
   // Include required for air support console dialog
   #include "mando_bombs\mando_airsupportdlg.h"
- And now you can use any of the provided scripts at will (see details for each script usage below).





#removed unnecessary quote - bedges
« Last Edit: 07 Oct 2008, 08:23:20 by bedges »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #323 on: 05 Oct 2008, 19:11:34 »
- And now you can use any of the provided scripts at will (see details for each script usage below).

So, if you want to use the console, read how to in the online help. Or just copy/paste the code present in the demo missions init.sqf script.

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #324 on: 05 Oct 2008, 22:54:02 »
How do I use this? Do I unpack a mission I created and put these sqf files in it then repack it?





#removed unnecessary quote - bedges
« Last Edit: 07 Oct 2008, 08:22:40 by bedges »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #325 on: 05 Oct 2008, 23:38:49 »
You dont need to unpack any mission that you already have in the editor. Just work with the corresponding mission folder. I would say your questions are not related to mando bombs usage but to scripts usage in general inside your missions. To startwith use mando_bombs_armedrec.Sara as example, check its init.sqf and also read the tutorials about scripting and script usage present in the editor depot.

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #326 on: 06 Oct 2008, 05:06:56 »
I just put the files in my folder and repacked it and it worked FINE! You never said anything about me needing to add the line:

player addAction ["Air Support console", "mando_bombs\mando_airsupportdlg.sqf"];

Now I want to do SA and CM but I need the init code even though I already have the missles folder in there, if you could copy/paste it here I would appreciate it. Other than these problems I have enjoyed this mod.




#removed unnecessary quote - bedges
« Last Edit: 07 Oct 2008, 08:22:26 by bedges »

Offline USM-CPT.Dyson

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #327 on: 06 Oct 2008, 07:42:18 »
That is because it is more complicated then that. To just get Mando Bombs working in your mission you do the steps at the top of his readme. After that it is up to you to set up your mission. Look further down his read me and you will see -

Mando Air Support Console options:


Read the requirements for cruise missiles.

Following this, you must read-

Mando Bombs ArmA scripts in detail:

Below this, is all available air support options. Under the options, are the lines of code that must have their variables changed. I suggest you use Ctrl + F and search for "cruise", so you know what your looking for. Also, Mando created a few missions that uses cruise missile attacks. As he suggested, look at what he enabled in his mando_airsupportdlg.sqf. You could simply add his mando_airsupportdlg.sqf to your mission, all options would be enabled until such a time as you change them.

Here is an example of one of the pieces you need to alter.

Code: [Select]
      if (mando_support_no_cm) then
      {
         (_display displayCtrl 23917) ctrlEnable [i][b]false[/b][/i]; <-- By default this is set to true. Which is why your's is disabled.
« Last Edit: 06 Oct 2008, 07:44:05 by USM-CPT.Dyson »
CTI SectorLink
Version: Beta 7
http://hosted.filefront.com/Spyder001/

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #328 on: 06 Oct 2008, 08:30:04 »
polska, there are many ways to activate the consolse, the line you placed there is the most basic one, in the online help you will find more methods.

To have mando missile options there you need to have mando missile initialized in your mission and for that you have two options:
1 - Use the script suite, which implies to copy the mando missiles folder in your mission, modify your description.ext file and initialize mando missile in your init.sqf. here you have the procedure explanied.

OR

2 - Use mando missile addon, which requires to have the addon in your addon folder and then you only need to place a single mando missile gamelogic in your mission map.

Once mando missile is initialized the air support console will have SA and CM options available, but also the units used for the missions will be automatically armed with mando missiles and countermeasures (CAP, Gunships, armed reconnaissance).

Offline polska

  • Members
  • *
Re: Mando Bombs and Mando Air Support (ACCEPTED)
« Reply #329 on: 07 Oct 2008, 04:38:47 »
Ok. I have placed the PBO's in the addon folder. But what is "gamelogic" and how do I get it to work with my missions?




#removed unnecessary quote - bedges
« Last Edit: 07 Oct 2008, 08:22:10 by bedges »