Go Back   Wiremod Forums > Wiremod Skills > Wiremod Tutorials

Wiremod Tutorials Post your wiremod tutorials/guides here.

Reply
 
LinkBack Thread Tools Display Modes
Old 11-09-2008   #1 (permalink)
Newbie
 
badass657's Avatar
 

Join Date: Oct 2008
Posts: 6
badass657 is on a distinguished road
Send a message via MSN to badass657
Unhappy [help] self correcting wire hoverballs!!!

i cannot figure out how to make a platform that self corrects its height when it goes over a slant or somthing. ive heard you can use [hoverballz,ranger,and express gate] but i cant get the gate right. can anyone help...?
badass657 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11-09-2008   #2 (permalink)
Newbie
 
Skoinks_X's Avatar
 

Join Date: Sep 2008
Location: Bulgaria
Posts: 10
Skoinks_X is on a distinguished road
Send a message via Skype™ to Skoinks_X
Default Re: [help] self correcting wire hoverballs!!!

Place a ranger under your machine. It musn't touch the ground, but it must be with a long enough beam, so that it can react when something is in the way. The best way to place it is to place it at a 45 degrees angle. This way it can detect things that are a bit to the front and react before the machine hits it.
Make an exspression gate>

Label: whatever
Inputs: Z
Outputs: Ranger


Line1: Ranger>*You choose*->Z=*You choose how high*
Line2: Ranger<*You choose*->Z=*Again, your choise*

And it will be like:

If the distance from the Ranger is more than the Value, then Z(Hoverball hight) is = to a Value you choose.
And vice versa.

Hope I helped.
__________________
There are no lame problems. Just lame questions.

There are 10 types of people in the world: Those who understand binary, and those who don't.

Skoinks_X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008   #3 (permalink)
COMPLETE BLOODY BASTARD

 
AzraelUK's Avatar
 

Join Date: Aug 2007
Location: Camelot, it is a silly place.
Posts: 583
AzraelUK is on a distinguished road
Send a message via MSN to AzraelUK
Default Re: [help] self correcting wire hoverballs!!!

Completely untested, but you get the idea.
Code:
@name Hoverball stabiliser in E2
@inputs Setpoint Ranger
@outputs HoverVel
interval(100)
if (Ranger - Setpoint > 5) {
HoverVel = -1
} else if (Setpoint - Ranger > 5) {
HoverVel = 1
}
__________________
A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.
—Antoine De Saint-Exupery
AzraelUK is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008   #4 (permalink)
Newbie
 
badass657's Avatar
 

Join Date: Oct 2008
Posts: 6
badass657 is on a distinguished road
Send a message via MSN to badass657
Default Re: [help] self correcting wire hoverballs!!!

thank you guys so much i will get right on workin on it when i get home
badass657 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008   #5 (permalink)
Newbie
 
badass657's Avatar
 

Join Date: Oct 2008
Posts: 6
badass657 is on a distinguished road
Send a message via MSN to badass657
Default Re: [help] self correcting wire hoverballs!!!

skoinks how would i do this if i wanted it to be 50 of the ground all the time... example?

so it looks kinda like this - lol and when it goes up the slope... //


woudl it be like ranger > 50 -> Z = -1?

Last edited by badass657; 11-10-2008 at 02:29 PM..
badass657 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2008   #6 (permalink)
Member
 
twitch3217's Avatar
 

Join Date: Aug 2008
Posts: 40
twitch3217 is on a distinguished road
Default Re: [help] self correcting wire hoverballs!!!

HOVERBALLz = RANGERz + 50
twitch3217 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-2008   #7 (permalink)
Wire Guru

 
Pyro-Fire's Avatar
 

Join Date: Aug 2007
Posts: 805
Pyro-Fire is on a distinguished road
Default Re: [help] self correcting wire hoverballs!!!

Quote:
Originally Posted by twitch3217 View Post
HOVERBALLz = RANGERz + 50
make sure ranger outputs world xyz.
__________________
Quote:
Originally Posted by tad2020 View Post
8) Check if andy1976uk hasn't already suggested it a few times
All Hail the Cookie!!
Solution to Weak Adv Dupes!!!!

Best . Post. Ever.
Pyro-Fire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-13-2008   #8 (permalink)
Newbie
 
Skoinks_X's Avatar
 

Join Date: Sep 2008
Location: Bulgaria
Posts: 10
Skoinks_X is on a distinguished road
Send a message via Skype™ to Skoinks_X
Default Re: [help] self correcting wire hoverballs!!!

Just place an add chip. Add the value in which the hoverballs are by default and add the extra value (Expression.)
__________________
There are no lame problems. Just lame questions.

There are 10 types of people in the world: Those who understand binary, and those who don't.

Skoinks_X is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-18-2008   #9 (permalink)
Newbie
 
SpaRrRly's Avatar
 

Join Date: Oct 2008
Posts: 6
SpaRrRly is an unknown quantity at this point
Default Re: [help] self correcting wire hoverballs!!!

You can also use a ranger with each hoverball, then summ heights from rangers and divide the sum by the rangers count, then add an extra value to the result and set the final result as height of every hoverball. The result of all theese manipulations will be smooth height correcting.
SpaRrRly 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 12:08 AM.


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