FSIC Messageboard
  Tech Talk
  dof start at beginning of game?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   dof start at beginning of game?
Nat
Pilot
posted 09-29- 06:25 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Hey guys, can someone explain how to get a dof to run at mission start without any user input, and also so that it runs continuosly.

Thanks Guys

~Nat~

------------------
7./JG3 "Naturlich"


"SDOE... What and where would you like to fly today?"
Nats FS-SDOE Site</B>

IP: Logged

Sv
Pilot
posted 09-30- 09:13 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Simple

Create your DOF, this is named "twist", make sure you set oscLooping if you want it to keep Dofing along:

(dofID 'twist dofOsc (oscName 'twist oscRuntime 0.4 oscParent 'FokkerDVIII oscCmd 'cmdCanopyToggle 'cmdRun oscLooping)

Now here is how to start it automaticaly: See the command above that is used is cmdCanopyToggle - this is usally the Q key, but you can make your own commands if you want, just make sure they start with cmd and are added to the keyboard,inp file.

Now add the command as a property list at your aircraft's root level, like this:

cmdCanopyToggle

Just like you would add obHidden - just add your commandm this will call the DOF as soon as the mission starts

------------------
-Sv =FC=

WWI in SDOE!


IP: Logged

Nat
Pilot
posted 09-30- 10:29 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Thanks SV... this is for a ground unit though (Radar Station) I'll try it out in the hope that it will still work though It'll just be cool to have the dish rotating

Thanks SV!

~Nat~

(that means I can release this tomorrow to go along with the T80 MBT now released)

IP: Logged

Sv
Pilot
posted 10-01- 08:23 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Yes, it works for vehicles as well, see Pete's WWI observation balloon

IP: Logged

Nat
Pilot
posted 10-01- 08:51 AM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
yep it works fine SV, I released the Radar station I was doing early this morning, it's only a simple little thing, but atleast the dish spins now just thought some slightly more modern style targets would be a good thing with there being more modern aircraft being released now.

Thanks SV, I'm sure I'll find other uses for this now

~Nat~

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c