Home   Help Search Login Register  

Author Topic: Question Regarding: Parachuting in General (Solved)  (Read 6640 times)

0 Members and 1 Guest are viewing this topic.

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #15 on: 26 May 2008, 20:54:27 »
Mandoble

Once again i cant thank you enough it would be most appreciated
again if you ever here in the uk let me know ..... the beer is on me
really appreciate both your help and Mr Peanuts

again thanks a million

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #16 on: 27 May 2008, 16:11:05 »
Try the attachment ;)

EDIT: Updated to v1.1
« Last Edit: 28 May 2008, 23:31:16 by Mandoble »

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #17 on: 27 May 2008, 20:04:29 »
@ Mandoble

Wow ! Sir that works like a charm cant thank you enough!!

Like i said before if you ever in the Uk please let buy you a beer !

If you dont mind me asking 1 question

1. how would change the type of parachute being used to the mapfact round chute (sorry)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #18 on: 27 May 2008, 21:17:19 »
which is the chute class used by mapfact?

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #19 on: 27 May 2008, 21:49:51 »
@ mandoble


this is the chute class MAP_OPC_GU

many thanks again

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #20 on: 27 May 2008, 23:06:37 »
Look for
Code: [Select]
_dir = getDir _chuto;
_chuto setDir _dir;
_cone setDir _dir;
_posc = getPosASL _chuto;

and just below that code add:
Code: [Select]
deleteVehicle _chuto;
_chuto = "MAP_OPC_GU" createVehicle _posc;
_man moveInDriver _chuto;
_chuto setDir _dir;

Hope that works.

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #21 on: 27 May 2008, 23:20:43 »
Mandoble

Once again thanks ever so much for this it is most appreciated

Is the cone really needed/ or can this be replaced with invisble marker?

However mate i am ever o gratefull for this

Thanks

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #22 on: 28 May 2008, 00:41:47 »
the mistery cone is required, while you may change it by another moveable object, invisible or smaller.

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #23 on: 28 May 2008, 20:59:05 »
Mandoble

I made the chages as you suggested but it still does not change the chute to the round ones

i am still using the init.sqf which i have changed to start.sqf and placed in a trigger and called res= [plane1]execVM"start.sqf"


*************Edit*********************

Just noticed the changes -

When the blokes jump they start of with a square chute then it changes to the MAP chute

But other than that the script really rocks - once again thanks so much

I noticed that when a big group jumps (24) they seem to spread out a bit and dont quite land within the raduis,however they do land a lot better than being spread out all over the island

**********Edit *****************************

Just to let you know this is how i have everything setup

1. Plane [Be32K] with waypoints first waypoint set to limited
2. Barrel as a visual marker
3. Marker named "mk_land"
4. Trigger that is grouped to plane
    In the activation field : res= [plane]execVM"start.sqf"

here are the changes as you said i had to make:

Code: [Select]
_chuto = vehicle _man;
_timeold = time;
_dir = getDir _chuto;
_chuto setDir _dir;
_cone setDir _dir;
_posc = getPosASL _chuto;
deleteVehicle _chuto;
_chuto = "MAP_OPC_GU" createVehicle _posc;
_man moveInDriver _chuto;
_chuto setDir _dir;
_cone = "RoadCone" createVehicleLocal [0,0,0];
_cone setPosASL [_posc select 0, _posc select 1, (_posc select 2)-4 ];
_posc = getPosASL _cone;

« Last Edit: 28 May 2008, 21:31:05 by trooper543 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #24 on: 28 May 2008, 21:34:44 »
Yep, with the current version the chutes dont adjust its descending rate (which is fixed), that is the reason that if they jump far away, they will maneouver to head to the target but they might touch the ground well before reaching the target area.

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #25 on: 28 May 2008, 22:05:19 »
Oh Okay

But still i think that this is the best script out so far regarding parachuting !!!

with a small team they land pretty close to the barrel which is pretty close to the real thing i assume
however with the big group most of them land closer together but spread out - which i assume again would happen in real life where you have +50 paras jumping (taking into account wind direction, speed , drift ) not all of the group are gonna land together  there would be the odd few that do land a distance away which is good i suspose

Is there a way to try and prevent the Bis chute from showing for a few second before it changes to the Map chute?

On the things that impressed me the most was the way when the blokes jump is the delay before the chute opens  which is fantastic

This could really make for some cool cutscenes

Once again Mandoble i am very gratefull for your help with this

Thanks once again.



Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #26 on: 28 May 2008, 22:11:19 »
Will try to investigate your chute class to avoid the replacement effect.

EDIT:
Check the above attachment, version updated ;)
« Last Edit: 28 May 2008, 23:32:11 by Mandoble »

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #27 on: 28 May 2008, 23:36:04 »
Thanks so much

Just another question in the init. sqf which i have renamed start sqf how do i add mulitple groups to the script so that i can have on script that starts all groups jumping

 i tried doing the following but it bought up an error message

Code: [Select]
Sleep 3;
{
   _x action ["EJECT", vehicle _x];
   unassignVehicle _x;
   [_x, getPos target, 20]execVM"mando_chute.sqf";
   Sleep 1;
} forEach units group  [chuteman1,chuteman2,chuteman3];

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Question Regarding: Parachuting in General
« Reply #28 on: 28 May 2008, 23:43:49 »
try with:
Code: [Select]
{
   _x spawn
   {
      {
         _x action ["EJECT", vehicle _x];
         unassignVehicle _x;
         [_x, getPos target, 20, ""]execVM"mando_chute.sqf";
         Sleep 1;
      } forEach units group _this;
   };
} forEach [chuteman1, chuteman2, chuteman3];

EDIT:
Missed the last parameter (chute type), corrected in this code.
« Last Edit: 28 May 2008, 23:45:23 by Mandoble »

Offline trooper543

  • Members
  • *
Re: Question Regarding: Parachuting in General
« Reply #29 on: 30 May 2008, 20:42:38 »
Again thank you ever so much Mandoble

Like i said if u are ever here in the uk then the beers is on me mate!!

if you dont mind me asking just one last question where about in the script can i increase the time before the chute opens ?

Other than that i am happy to have this thread read as resolved