Need a script [message #369028] |
Mon, 26 January 2009 14:21 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/22815.jpg) |
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Need a script for my release:
A vehicle preset (Submarine) should be able to dive, but not to fly!
Submarines/Naval units are VTOL-vehicles with grav=0.
|
|
|
Re: Need a script [message #369097 is a reply to message #369028] |
Tue, 27 January 2009 04:40 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) |
![](http://renegadeforums.com/images/custom_avatars/22815.jpg) |
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
should not be a problem.
- give the script the max. allowed heigth
- attach to the sub
- the script has to check coordinates all the time and stop vertical movement, if max height is reached.
possible?
would be a better solution then making the water as vehicle colission and use half-size-worldboxes.
|
|
|