Change the fall speed/velocity of Airunits?

Everything about mods can be found here.

Moderator: Morax

Change the fall speed/velocity of Airunits?

Postby CDRMV » 19 Jun 2017, 02:12

Hello everyone,

I'm working on several Spaceships for my Orbitalmod (F.B.P. Orbital) at the Moment.
The thing is my Spaceships falls to fastly to the Groundlayer, which makes it unrealistic in General.
They should be fall slowly to the ground.
It is possible to change that maybe and if yes how can I do it?

I'm happy for any kind of help. :)

Best regards
CDRMV
CDRMV
Avatar-of-War
 
Posts: 61
Joined: 19 Mar 2017, 11:42
Has liked: 0 time
Been liked: 14 times
FAF User Name: CDRMV

Re: Change the fall speed/velocity of Airunits?

Postby CookieNoob » 19 Jun 2017, 12:13

did you try
Code: Select all
yourunit:SetAcceleration(someSmallValue)
or
Code: Select all
yourunit:SetVelocity(someValue)
or
Code: Select all
yourunit:SetVelocity(someVector)


I didnt test any of these, but I would imagine that if you put them into OnKilled, you can manipulate the speed/acceleration with it.
Check out the next level of maps: viewtopic.php?f=53&t=13014
For adaptivity, customizability and less clutter in the vault.
User avatar
CookieNoob
Priest
 
Posts: 477
Joined: 02 Aug 2014, 17:07
Has liked: 65 times
Been liked: 249 times
FAF User Name: CookieNoob

Re: Change the fall speed/velocity of Airunits?

Postby CDRMV » 19 Jun 2017, 16:23

Okay I will try it soon.
Thank you very much. :)
CDRMV
Avatar-of-War
 
Posts: 61
Joined: 19 Mar 2017, 11:42
Has liked: 0 time
Been liked: 14 times
FAF User Name: CDRMV


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest