Hi,
I would like to change the submarine's underwater speed without changing its surface speed. I thought that would be an easy task but I can't find the correct line of code.
Thanks!
Submarine underwater speed
Submarine underwater speed
Last edited by exe on Sat Jan 23, 2016 7:37 pm, edited 1 time in total.
-
- Posts: 591
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: Submarine underwater speed
Only way I see of doing this would be to have a giant obstacle object (such as barbwire for soldiers) that is placed at the bottom of the sea. This obstacle object would somehow be coded to slow down the vehicle and would not have any effect on the submarine when it is still at the surface.
See my Strasbourg map project here.
Re: Submarine underwater speed
Airplane engine? Since they don't work under water
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Submarine underwater speed
And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.
Bitcoin address: 1NEoGgsFS9vxLT3eW4w6RFdvzPXLpQX66t
Re: Submarine underwater speed
Thanks for your ideas, I'll try them.
Re: Submarine underwater speed
This might change the movement physics since the force is coming from a different location on the vehicle. But worth playing with.Seth wrote:And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Submarine underwater speed
This works and it's also very easy to do, thanks a lot. Thread marked as [SOLVED].Seth wrote:And if you want to increase your underwater speed you can have a second engine, c_ETShip, positioned above the water line when surfaced.