Jump to content
Sign in to follow this  
zukov

hms proteus how to spawn?

Recommended Posts

i didn't see in editor, how to spawn it in game?

thanks in advance

Share this post


Link to post
Share on other sites

Place a gamelogic somewhere (where you want your sub to appear) and then write this the init file:

_submarine = "Submarine_01_F" createVehicle (position this);

Share this post


Link to post
Share on other sites

And how to make it stay, let's say -30 meters?

Everytime I spawn it, it comes to surface.

Share this post


Link to post
Share on other sites
Place a gamelogic somewhere (where you want your sub to appear) and then write this the init file:

_submarine = "Submarine_01_F" createVehicle (position this);

Thanks!!

Share this post


Link to post
Share on other sites

Everytime I spawn it, it comes to surface.

Modify the elevation (in meter) of the gamelogic ;)

Share this post


Link to post
Share on other sites
Modify the elevation (in meter) of the gamelogic ;)

If you mean in the editor, don't forget that negative elevations are ignored.

Share this post


Link to post
Share on other sites
If you mean in the editor, don't forget that negative elevations are ignored.

no, theyre not.

they proceed until they find the end of the terrain height, so, negative elevations are only possible under water

Correction: it seems like they are ignored for gamelogics

Share this post


Link to post
Share on other sites
If you mean in the editor, don't forget that negative elevations are ignored.

Too bad :/

Share this post


Link to post
Share on other sites

The problem is that the submarine doesn't dive- it is a boat and will try to get up even if you spawn it underwater. In my mission I used the enableSimulation command to keep it underwater.

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
Sign in to follow this  

×