Go Back   Wiremod Forums > Wiremod Skills > Wiremod Tutorials

Wiremod Tutorials Post your wiremod tutorials/guides here.

Reply
 
LinkBack Thread Tools Display Modes
Old 10-08-2008   #1 (permalink)
Advanced Member
 
Officer Tibbles's Avatar
 

Join Date: Aug 2008
Location: San Diego, Kalifornien
Posts: 107
Officer Tibbles is an unknown quantity at this point
Default [Help!] Helicopter Pitch/Roll Controll

Hello, Oberstleutnant Tibbles here, and I've run into a problem!

I'm trying to create an expression that allows a helicopter to Pitch and roll via looking up/down and left/right.

For example, When u look down, the helicopter pitches down, when u look left it rolls left, and vice-versa. If you complete this task, you will receive...

One, Sugar Frosted cookie with rainbow sprinkles. This cookie will be sent via eMail, where you can then download it and eat it.

Mit Freundlichen Grüßen
__________________
Quote:
Originally Posted by Jat Goodwin & Officer Tibbles:: Phone Interview, but mostly Jat Goodwin
I'm not flaming, I'm cramming constructive criticism down your throat.

Last edited by Officer Tibbles; 10-09-2008 at 03:57 PM..
Officer Tibbles is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10-09-2008   #2 (permalink)
Advanced Member
 
Dossy's Avatar
 

Join Date: Mar 2008
Location: East Midlands, England
Posts: 100
Dossy is on a distinguished road
Default Re: [Help!] Helicopter Pitch/Roll Controll

Using Bearing and Elevation outputs from the pod?

I'm not sure how you'd do this exactly, I've not been on gmod for a while. The only trouble with controlling them like this is how sensitive it is to movement. Unless you were to use a system where it only works outside 30 by -30 elevation and pitch.
Dossy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-10-2008   #3 (permalink)
Newbie
 
Gyges's Avatar
 

Join Date: Sep 2008
Posts: 12
Gyges is on a distinguished road
Default Re: [Help!] Helicopter Pitch/Roll Controll

Ask Generic Default :P
He added it to one of my helicopters... it's awesome.
__________________
Steam Friends: FreePhoenix
Signatures are gay.
Gyges is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008   #4 (permalink)
Advanced Member
 
Asphid_Jackal's Avatar
 

Join Date: Oct 2008
Location: In a house.
Posts: 192
Asphid_Jackal is on a distinguished road
Default Re: [Help!] Helicopter Pitch/Roll Controll

Have relative on the pod controller hooked to a CV of 1.

Code:
I@Bear Elev
O@Pitch Roll

interval(500)
Pitch = Elev
Elev > 5 -> Elev = 5;
Elev < -5 -> Elev = -5;
#That Controls Up And Down
Roll = Bear
Bear > 5 -> Bear = 5;
Bear < -5 -> Bear = -5;
#That Does Roll
Pitch > 45 -> Pitch = 45;
Pitch < -45 -> Pitch = -45;
#Prevents 180 Degree Flips
Roll > 45 -> Roll = 45;
Roll < -45 -> Roll = -45;
#Stops Barrel Rolls
That should work. You may have to play with the numbers, since I can't test it.
I'm assuming the roll is some kind of turn system?
__________________
Quote:
<Anticept>Will sex for food.

<Beer>peanus, I like that

<Jat Goodwin>i like the underage one

<Black Phoenix>He's a good pedo

Last edited by Asphid_Jackal; 10-17-2008 at 04:08 PM.. Reason: Forgot to add code tags
Asphid_Jackal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -7. The time now is 11:48 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.

Page top