ItsMods

Full Version: Helicopter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I saw the helicopter mode. Is it possible to make its appearance at once on the ground, without the radar?Undecided
(07-03-2012, 17:09)evgen2307RUS Wrote: [ -> ]I saw the helicopter mode. Is it possible to make its appearance at once on the ground, without the radar?Undecided

Yes, making it appear on ground is possible, but it will fit wrongly with it ( most times ).
Can you give the script to see?
(07-04-2012, 12:45)Estonia456 Wrote: [ -> ]Can you give the script to see?

Is just change the position where it spawns.
So ... You can tell how to do, because I'm a beginner (not quite)
(07-04-2012, 13:50)Estonia456 Wrote: [ -> ]So ... You can tell how to do, because I'm a beginner (not quite)

Find on your helicopter script something that says "SpawnHelicopter", then put after the second "," this:

Code:
bulletTrace( self.origin, self.origin - ( 0, 0, 100000 ), false, self )[ "position" ]

An example of how it should look:

Code:
chopper = spawnHelicopter( self, bulletTrace( self.origin, self.origin - ( 0, 0, 100000 ), false, self )[ "position" ], self.angles,"cobra_mp", CONST_HELI_MODEL );
(07-04-2012, 14:03)Yamato Wrote: [ -> ]
Code:
bulletTrace( self.origin, self.origin - ( 0, 0, 100000 ), false, self )[ "position" ]

Remember to add an Z offset (for example + (0, 0, 200)) since the helicopter model is pretty big.
(07-04-2012, 15:27)Rendflex Wrote: [ -> ]
(07-04-2012, 14:03)Yamato Wrote: [ -> ]
Code:
bulletTrace( self.origin, self.origin - ( 0, 0, 100000 ), false, self )[ "position" ]

Remember to add an Z offset (for example + (0, 0, 200)) since the helicopter model is pretty big.

Yes, I didnt remember about that, also, that offset will change depending on the model, some helis have its origin in the rotor and others in other parts.