Home   Help Search Login Register  

Author Topic: Mando Hitching (ACCEPTED)  (Read 35043 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #105 on: 21 Sep 2008, 00:25:27 »
Run mando_hitch.sqf and mando_add_hitch.sqf from the init.sqf for everyone.

Offline TenaciousB

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #106 on: 21 Sep 2008, 01:20:34 »
I put it in my version of evo, here's the beginning of the init.sqs file
I'm not sure what to do, I'm a bit of a newb

debug=false;
setterraingrid 50;
setViewDistance 1200;
//Statics
this exec "markerGPS.sqs";
this exec "PlayerMarker.sqs";
//if(debug) exitWith {};

mando_hitch_no_check_for_drop = true;
//mando_hitch_types = ["LandVehicle","ship", "Air", "ReammoBox", "StaticWeapon"];
mando_hitch_types = ["Car","Motorcycle", "ship"];
mando_hitch_types_heavy = ["Tank","Air", "StaticWeapon"];
mando_hitch_heavies = ["UH60MG", "MAP_CH47D"];
[12]execVM"mando_hitch\mando_hitch.sqf";
[["UH60MG", "MAP_CH47D"]]execVM"mando_hitch\mando_add_hitch.sqf";
//[heli1]execVM"mando_hitch\mando_add_hitch.sqf";

rank1 = 0;
rank2 = 0;
rank3 = 0;
rank4 = 0;
rank5 = 0;
rank6 = 1;
onmission=false;
sobj1=false;
sobj2=false;

Offline Manzilla

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #107 on: 21 Sep 2008, 03:27:55 »
I always put my Mando Hitch stuff first above that stuff. Not sure if that makes a difference though.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #108 on: 21 Sep 2008, 06:41:51 »
TenaciousB, is that init.sqs or init.sqf?

Offline TenaciousB

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #109 on: 21 Sep 2008, 09:12:07 »
I'm sorry that's the init.sqf file,

thanks for takin the time to help me out  :D

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #110 on: 21 Sep 2008, 09:58:39 »
Ok, the code you have there works in a dedi. Now I dont know if Evo has some other scripts that reset or remove actions client/side.
You may try mando_hitching.Intro in your dedi to make sure the basis works for you.

Offline (EAGLE)SicSRT-4

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #111 on: 23 Sep 2008, 12:07:19 »
Hey Mando,

  This addon is absolutely fantastic! I just can't seem to get it to work when i try to specify a whole vehicle array.

From my init.sqf

Code: [Select]
mando_hitch_no_check_for_drop = true;
mando_hitch_types = ["LandVehicle", "Ship", "ReammoBox", "StaticWeapon"];
[12]execVM"mando_hitch\mando_hitch.sqf";
//[["UH60MG","UH60"]]execVM"mando_hitch\mando_add_hitch.sqf";
[heli1]execVM"mando_hitch\mando_add_hitch.sqf";

If i leave it like that and use the [heli1], it'll work fine for the one helicopter i have designated as "heli1" in the mission.sqm. But if i switch it around and try to use the [UH60MG,..etc] it won't work at all. No HUD, no option in the action menu, nothing.

From my mission.sqm

Code: [Select]
class Item12
{
position[]={9666.865234,139.994995,10079.077148};
id=12;
side="EMPTY";
vehicle="UH60MG";
lock="UNLOCKED";
skill=0.600000;
text="uh60a";
};
class Item13
{
position[]={9635.601563,139.994995,10080.491211};
id=13;
side="EMPTY";
vehicle="UH60";
lock="UNLOCKED";
skill=0.600000;
text="uh60b";
};

Even though the 'vehicle=...' matches the entry in the init.sqf...i went ahead and tried all different capitalization options. That didn't help me either. I've been playing around with this for a good 5 hours now and have read every post in this thread about a dozen times...lol. I've tried every possible combination that i can think of, i just can't seem to find a solution.  :dunno: I'm probably just missing something very stupid, but am too blind to see it myself. I'd appreciate any help/insight you can give.

Thanks for all your hard work and taking the time to help us  :D

~Sic

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #112 on: 23 Sep 2008, 17:39:49 »
Are you using the latest version?

Offline (EAGLE)SicSRT-4

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #113 on: 23 Sep 2008, 17:51:19 »
If v1.5 is the latest, then yes  :)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #114 on: 23 Sep 2008, 18:01:26 »
This is the init.sqf of 1.5, and it works fine for me (it is using classes array instead of chopper names):
Code: [Select]
mando_hitch_no_check_for_drop = true;
//mando_hitch_types = ["LandVehicle","ship", "Air", "ReammoBox", "StaticWeapon"];
mando_hitch_types = ["Car","Motorcycle", "ship", "ReammoBox"];
mando_hitch_types_heavy = ["Tank","Air", "StaticWeapon"];
mando_hitch_heavies = ["UH60MG"];
[12]execVM"mando_hitch\mando_hitch.sqf";
[["UH60MG", "AH6"]]execVM"mando_hitch\mando_add_hitch.sqf";

Offline (EAGLE)SicSRT-4

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #115 on: 23 Sep 2008, 18:55:00 »
Hmmm, ok. If i just copy and paste that in, the AH6's work fine. The UH60MG doesn't though, even tried just "UH60" (i have one of each in the mission) and neither one worked. So at least the problem is narrowed down to the blackhawks, now i just gotta figure out why  :confused:

:EDIT: Well, looks like it wanted "UH60mg" instead of "UH60MG". I could've sworn i tried that a dozen different times...lol. The UH60's still aren't working so i just replaced them with the MG variant. Makes no difference to me  :P

Thanks again for the help Mando, keep up the awesome work!

~Sic
« Last Edit: 23 Sep 2008, 19:35:44 by (EAGLE)SicSRT-4 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Hitching (ACCEPTED)
« Reply #116 on: 23 Sep 2008, 20:58:59 »
You might have some addon or mod there renaming the basline classes. If you have doubts about a class name, just place the following into its init field:
Code: [Select]
hint typeOf this

Offline USM-CPT.Dyson

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #117 on: 24 Sep 2008, 07:50:28 »
Stats of UH-60-

Capacity: 2,640 lb of cargo internally, including 14 troops or 6 stretchers, or 8,000 lb (UH-60A) or 9,000 lb (UH-60L) of cargo externally

I don't think any BIS helicopter other then the UH-60 and the Mi-17 even has the ability to lift anything.
CTI SectorLink
Version: Beta 7
http://hosted.filefront.com/Spyder001/

Offline Luke

  • Members
  • *
  • Thank God! The OFPEC Staff are here!
Re: Mando Hitching (ACCEPTED)
« Reply #118 on: 26 Sep 2008, 03:06:46 »
Probably because there isn't many BIS helos in ArmA.  :D  :P

Luke
Pesky Human!!
Wort Wort Wort.

Offline USM-CPT.Dyson

  • Members
  • *
Re: Mando Hitching (ACCEPTED)
« Reply #119 on: 26 Sep 2008, 07:16:37 »
Haha well that would mean BIS would have to make stuff!!! lol  :whistle:
CTI SectorLink
Version: Beta 7
http://hosted.filefront.com/Spyder001/