Welcome, Guest Thursday 17th April 2014, 22:38:09
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Where do I send a submission?  (Read 294 times)
0 Members and 1 Guest are viewing this topic.
sans-pareil
Guest
« on: 12 Dec 2002, 23:35:17 »

Hello everyone, I'm new here, so this is probably one of those cases where I am about to make an absolute newbie error. Anyway, I'm from a general gaming group of friends in the netherlands, who loosely refer to themselves as Leiden-3e.

I only recently became familiar with the existence of OFP, but... it's definitely great. I have just gotten started with a little bit of scripting, and I made a script, my first one, which is attached below.

Now, I play a bunch of online multiplayer games with a few friends. One of those friends consistently crashes every single helicopter available too him. He flies into trees and whatnot, easily going through 5 or 6 in a base respawn mission. We affectionately refer to him as "Addy" which is why the script is called "saveaddy.sqs"...

Now, as my first scripting experiement I wrote a little terrain avoidance script. It evaluates two main things.
1. When the chopper gets below a certain altitude, it checks the vertical velocity, and if this is going down too fast, it reverses it to the same value, but then positive.
2. When the chopper gets below a certain altitude, it checks the forward speed, and if this is too high, it sets the vertical velocity to positive, regardless of what it was. This is to stop people crashing because their forward speed is too high.

I've tested it, and it seems to work fine. We are going to initialise his chopper in the next mission, without telling him and see if he stays alive longer :-).

Anyway, OFP is a great game, and I hope that I will slowly learn more about scripting, and be able to make a real contribution. I have attached the script, if someone knows how to submit it... please do so :-)

Sans-pareil
Logged
snYpir
Former Staff
****
Offline Offline


OFPEC Jedi Master


WWW
« Reply #1 on: 14 Dec 2002, 15:21:19 »

Hi, and welcome to OFPEC!

The Editors Depot is where you want to head!

The editors depot looks after scripts (script snippets), tutorials and tools for OFP Editing.

The link is on the top nav bar.

Simply go there, and then click on 'Submit snippet' on the left nav bar. Fill out the boxes and whalla, you've submitted your script.

Please include detailed descriptions so people know what your script is all about.

If something is not clear, or could be done better, please let me know.

regards

snYpir

 Kiss
Logged

Bohemia Interactive Simulations
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: