Forum Jump :

Author Message


Posts: 11
Rank:


Level: Member

Country: au
Location: Somewhere
Occupation:
Age:
In-game name:

 
#1 Posted at 2011-08-02 13:25        
     
Ok, well since there are not many AAW missions around I'm deciding to make one. So I'm gonna have the static C 130's in the air a few troops inside and an Bushmaster or a landy inside. This is gonna
Be for MP really but yeah. Anyway I want to get in the empty vehicle, drive it out and let it fall to say 350m and then open a chute so it can land. Now thats the part I need help on, I need to know how to actually make that happen like with scripts and other stuff. I'm also gonna have a few troops halo out to but I don't really need help with that, there's plenty of stuff about that. So the main thing I need help with is getting the chute to open at the desired hight once it's out the C 130.

Thanks.


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#2 Posted at 2011-08-02 14:29        
     
The player manually opens the chute during a HALO drop. Scroll wheel and Open Chute. AI will automatically open their chutes.

The mission Operation Falcon has a nice "start in a static C-130 and HALO in" feature.


Advertisement


Author Message


Posts: 11
Rank:


Level: Member

Country: au
Location: Somewhere
Occupation:
Age:
In-game name:

 
#3 Posted at 2011-08-03 06:47        
     
That's nit really what I want, I want the vehicle to open a parachute at the desired height once it's out the C 130. A vehicle not a man, I know how to use HALOs


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#4 Posted at 2011-08-03 07:47        
     
Erm, you want a vehicle to HALO? With you in it? There's no deployment chutes by default so delivery would have to be scripted and vehicles can't use the HALO scripts. Well, they can, the parachute appears but can't attach so you just kinda plummet into the ground.

You'd basically have to script it from start to finish, some form of deploying the vehicle, something to check it's altitude (it also won't be steerable or anything, unless of course you script that) then something to create a parachute at it's altitude and attach it to the parachute. Detach it at the end.

Or you could just spawn an AI dude, hideObject him and have him jump, attach the vehicle to him for the fall, then detach it on the ground. Small parachute, but works. :)


Author Message


Posts: 11
Rank:


Level: Member

Country: au
Location: Somewhere
Occupation:
Age:
In-game name:

 
#5 Posted at 2011-08-03 09:53        
     
Yes that's basically what I mean. I want to get in the car, drive it out. The chute opens and I land. But since I'm gonna have the C130 at like 2000m it's gonna take a hell of a ling time to get to earth, so u want it to open af my desired altitude. I see the cargo parachutes in the editor, like if they can be attached and opened when the cars out the C 130. Basically like the BTK cargo script but I wanna actually drive it out, so yeah. I basically want to know how to do this as i don't know thanks

BTW, I tried using the halo on the car :D

Added 23 hours 3 minutes later:

So is anyone going to help me and make a script for me ? I'm hopeless at scripting, all I know is how to copy it down.

This post was edited by S.A.S.R_Paul (2011-08-04 08:59, ago)


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#6 Posted at 2011-08-04 14:55        
     
The problem is what you're asking is non-trivial and would include a lot of custom scripting. Vehicles don't really fit in the C-130J static object and certainly aren't designed to be driven out of one and than HALO man-like. :) There's no easy way to do it since the very idea of what you want A) doesn't happen in real life and B) wasn't designed to happen in game.


Author Message


Posts: 11
Rank:


Level: Member

Country: au
Location: Somewhere
Occupation:
Age:
In-game name:

 
#7 Posted at 2011-08-05 13:36        
     
Well is there anyway to make a chute open as soon as it's not touching ground ? Hmm, well I might have to abandoned the project. I was really looking forward to that.


Author Message

Nightrain  

I blow you away


Posts: 960
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 25
In-game name:

 
#8 Posted at 2011-08-05 14:21        
     
Try looking through this topic here. Its not exactly what you want but should work as a basis.

Vehicles hardly ever, if ever, get dropped from planes from high altitudes. They are mostly towed by helicopters.

Armstrong-"Hey Carillo, do you see that?"
Carillo-"See what?"
Armstrong-"Something's burning over there, see the smoke?"
Carillo-"That's not smoke it's dust!"
Armstrong-"Dust? i don't get it."

Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#9 Posted at 2011-08-05 14:22        
     
@Perin Yes they do drop vehicles out of planes just not with people in it.


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#10 Posted at 2011-08-05 14:50        
     
# L0lzer : @Perin Yes they do drop vehicles out of planes just not with people in it.

I know that and that's what I said. He wants to drive a vehicle out of a C-130. That doesn't happen, except in Bond films.

Attaching a vehicle to a parachute and having it fall is trivial. Letting a player drive a vehicle out of a static object, freefall in some way while letting the player determine the moment at which to deploy a chute is not.

// Called via _nul = ["HMMWV", herc] execVM "vehicleParadrop.sqf";
// Code based on BTK's cargo drop
_vehicleType = _this select 0;
_plane = _this select 1;

// Create the vehicle and move it just below the plane
_veh = _vehicleType createVehicle [1,1,1];
_veh setPosATL [getPosATL _plane select 0, getPosATL _plane select 1, ((getPosATL _plane select 2) - 20)];
		
// Create a parachute and attach it to the vehicle                
_chute = "ParachuteBigWest" createVehicle position _veh;
_chute setPos (getPos _veh);
_veh attachTo [_chute,[0,0,-1.5]];

// Wait until ground reached
waitUntil {(getPosATL _veh select 2) < 2};
detach _veh;
sleep 3;
_veh setPosATL [(getPosATL _veh select 0),(getPosATL _veh select 1),0.001];

// Delete parachute
sleep 15;
deleteVehicle _chute;

Demo mission showing low altitude dropping of a vehicle with a parachute.






Tags: Aaw, C-130, C130, Scripts