Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Need a script
Need a script [message #369028] Mon, 26 January 2009 14:21 Go to next message
rrutk is currently offline  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
rrutk is currently offline  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.

Previous Topic: hud
Next Topic: A little skinning challenge
Goto Forum:
  


Current Time: Sun Dec 22 03:30:26 MST 2024

Total time taken to generate the page: 0.00506 seconds