Jump to content
Belbo

Start V44-X Blackfish with auto vectoring on

Recommended Posts

Hey guys,

 

I'm trying to make the V44-X Blackfish start with both auto vectoring on and rotors at 90°. Has anyone got any idea how to pre set those settings via scripting commands?

  • Like 1

Share this post


Link to post
Share on other sites
chopperOne action ["autoHover", chopperOne];

example from biki.

rotors are 90? 

  • Like 1

Share this post


Link to post
Share on other sites

Thank you!

Rotors start at 75°. That's a bit of my problem (besides the fact that auto hovering has to be switched on for the rotors to be manually rotated... which... doesn't make much sense): If I turn on my motor using the thrust key it didn't do much before, because it wouldn't turn up thrust - now it does, with the continuous thrust. That means that starting the motor will result in your Blackfish leaping forward - unless of course I can bring myself to always rotate the rotors before switching the motor on or to use the turn motor on/off-key...

I know, it's a bit gawky, but... well, if there's a scripted solution, why not use it - as a failsafe. ;)

 

#edit: Ha!

https://community.bistudio.com/wiki/Arma_3_Actions#VectoringUp

 

#edit2: But, welp, it doesn't really work. The engine has to be on for it to work (which in itself isn't a problem...) but this way:

(allUnits select 0) action [ "engineOn" ,_veh];

(allUnits select 0) action [ "VTOLVectoring" ,_veh];

(allUnits select 0) action [ "VectoringUp" ,_veh];

sleep 1;

(allUnits select 0) action [ "engineOff" ,_veh];

the blackfish will again make a leap forward...

  • Like 1

Share this post


Link to post
Share on other sites

I'm not quite sure you can rotate the rotors at a certain angle.

Unless of course BI has some tricky animation source that puts the rotors up and down and you can just use a less than one and greater than zero value

vtol_1 animateSource["MyRotorSource",0.5]; //etc

 

Share this post


Link to post
Share on other sites
20 minutes ago, belbo said:

Thank you!

Rotors start at 75°. That's a bit of my problem (besides the fact that auto hovering has to be switched on for the rotors to be manually rotated... which... doesn't make much sense): If I turn on my motor using the thrust key it didn't do much before, because it wouldn't turn up thrust - now it does, with the continuous thrust. That means that starting the motor will result in your Blackfish leaping forward - unless of course I can bring myself to always rotate the rotors before switching the motor on or to use the turn motor on/off-key...

I know, it's a bit gawky, but... well, if there's a scripted solution, why not use it - as a failsafe. ;)

 

#edit: Ha!

https://community.bistudio.com/wiki/Arma_3_Actions#VectoringUp

 

#edit2: But, welp, it doesn't really work. The engine has to be on for it to work (which in itself isn't a problem...) but this way:

(allUnits select 0) action [ "engineOn" ,_veh];

(allUnits select 0) action [ "VTOLVectoring" ,_veh];

(allUnits select 0) action [ "VectoringUp" ,_veh];

sleep 1;

(allUnits select 0) action [ "engineOff" ,_veh];

the blackfish will again make a leap forward...

Oooh! Sweet! Didn't realize this was possible, thanks for the share :D 

Share this post


Link to post
Share on other sites

Good idea!

Theoretically

_veh animate ["thrustVector",1];

should do exactly that... But it doesn't. It does nothing.

 

#edit: although I've just noticed that the Blackfish always does this leap - at least on the USS Freedom... It seems to adjust it's height after turning on the engine, just as if it had been stuck in the model below beforehand.

Share this post


Link to post
Share on other sites
3 minutes ago, belbo said:

Good idea!

Theoretically

_veh animate ["thrustVector",1];

should do exactly that... But it doesn't. It does nothing.

Welp. I wouldn't think it'd do it for every animation. 

maybe try a different variant of animate? Like animateSource or Door? Or does animate detect differences between user and source animations?

I've been able to rotate a lamp head (one of the flood lights) so it looks angled before via this method. 

Share this post


Link to post
Share on other sites

Yeah, I tried animateSource as well, to no avail.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×