Forum Jump :

Author Message


Posts: 40
Rank:


Level: Member

Country: yu
Location:
Occupation: Mika666
Age:
In-game name:

 
#1 Posted at 2009-06-30 13:36        
     
I want to create flying helicopter with search Light ? Does anyone know how?


Author Message


Posts: 7
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 26
In-game name:

 
#2 Posted at 2009-07-07 21:53        
     
Ye I want to know that aswell... :dozingoff


Advertisement


Author Message


Posts: 47
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age: 24
In-game name:

 
#3 Posted at 2009-07-09 11:05        
     
Best solution I can think of is Attatchto. Ive made a template for you.(http://rapidshare.com/files/253750699/SearchlightHeli.utes.7z.html)its the only solution other than making a whole new aircraft I think. The last number on the command is the height, the 2nd to last is the y axis and the 1st is the x axis location.


Author Message


Posts: 7
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 26
In-game name:

 
#4 Posted at 2009-07-10 10:48        
     
Is it a script? Because my problem is that untill I get into an chopper the lights turns on. I want the enemy chopper to come with lights on but it wont. Please help


Author Message


Posts: 17
Rank:


Level: Member

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

 
#5 Posted at 2009-07-10 12:19        
     
The easiest method I know of is to assign a waypoint with 'safe' as the status. However, as soon as the helo takes fire from an enemy, the lights will switch off (which is fair enough, you don't want to make a target of yourself).


Author Message


Posts: 7
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 26
In-game name:

 
#6 Posted at 2009-07-10 12:32        
     
ah, thx alot. I will try that later!


Author Message


Posts: 40
Rank:


Level: Member

Country: yu
Location:
Occupation: Mika666
Age:
In-game name:

 
#7 Posted at 2009-07-12 00:25        
     
thanks Hellfire257.:) But,how to turn light to look to the ground when chopper flying ?


Author Message


Posts: 7
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 26
In-game name:

 
#8 Posted at 2009-07-12 07:29        
     
Depends on what chopper you are having, try the UH-1Y or what it is called and put it on "safe" behaviour on a couple of waypoints and see if it works.


Author Message


Posts: 278
Rank:


Level: Member

Country: mm
Location: Yangon
Occupation: Physics(YEU)
Age: 24
In-game name:

 
#9 Posted at 2009-07-12 10:24        
     
Can i use the attachto fucntion in arma 1


Author Message

Leopard  

Never or Ever Around


Posts: 646
Rank:


Level: Member

Country: fi
Location: Oulu, Northern Finland
Occupation: Men of War Modder/Mapper
Age:
In-game name: Caselius

 
#10 Posted at 2009-07-12 10:43        
     
haroon1992 : Can i use the attachto fucntion in arma 1
You cant use it in ArmA 1 because it was added in the ArmA2.


Author Message


Posts: 40
Rank:


Level: Member

Country: yu
Location:
Occupation: Mika666
Age:
In-game name:

 
#11 Posted at 2009-07-12 11:03        
     
No no no....I want this chopper. :D Want to have stick light on the ground directly under the chopper... I try to rotate "Object" ( Object setVectorUp [0,0,0] ),but when I attach searchlight to chopper,searchlight is not rotated...does anyone know command which combine (setVectorUp) and (attachto) command? (sorry for my bad English )


Author Message


Posts: 7
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 26
In-game name:

 
#12 Posted at 2009-07-12 14:18        
     
sorry, cant answere on that one :/


Author Message


Posts: 1472
Rank:


Level: Member

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

 
#13 Posted at 2009-07-20 23:33        
     
I did some work with this and found a few things that worked up to a point.

Some choppers have lights you just need to set them to safe. They don't angle down very much though.

You can fake the ground being light up by attaching a lighting effect, just place the following code into a choppers Init Box.

light = "#lightpoint" createVehicleLocal position this; light setLightBrightness 0.5; light setLightAmbient[0.0, 0.0, 0.0]; light setLightColor[1.0, 1.0, 1.0]; light lightAttachObject [this, [0,0,-10]];light = "#lightpoint" createVehicleLocal position this; light setLightBrightness 0.5; light setLightAmbient[0.0, 0.0, 0.0]; light setLightColor[1.0, 1.0, 1.0]; light lightAttachObject [this, [0,0,-20]];

If you want a real light you can attach a motorcycle.
I find it works better than the searchlight because at a steep angle the gunner jumps out but the motorcycle will go to near vertical.

How to:-

Select the UH-1Y and name it
heli
without quotes then in Init box put
bike attachto[heli,[0,-1,0]];

Next place a trigger and replace the "this" command with "true" no quoets, set min,mid and max to 2, in the On Act box put
bike setvectorUp[0,1,0.4];deleteCollection bike


That's all there is to it, you won't even see the bike.


Author Message


Posts: 40
Rank:


Level: Member

Country: yu
Location:
Occupation: Mika666
Age:
In-game name:

 
#14 Posted at 2009-07-21 13:44        
     
THANKS A LOT " F2kSel " !!! :cheers


Author Message


Posts: 1472
Rank:


Level: Member

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

 
#15 Posted at 2009-07-21 14:52        
     
I've also found out that you can use an empty vehicle and turn the lights on using
this action ["lightOn",  Car]
placed in a game logic or trigger but not in the unit it's self, the vehicle should be named car.
Using a HMMWV gives a better light than the motorcycle.