Go Back   Wiremod Forums > Wiremod Skills > Wiremod Tutorials

Wiremod Tutorials Post your wiremod tutorials/guides here.

Reply
 
LinkBack (1) Thread Tools Display Modes
Old 04-14-2008   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Advanced Member
 
Xtensity's Avatar
 

Join Date: Apr 2008
Posts: 129
Xtensity is on a distinguished road
Default Perfect Thruster Hover Stable(Uses Ranger)

1)First spawn a 1x1 PHX Plate(Metal).
2)Put 1 Wire Thruster in the middle underneath the plate with a Max Thrust of what ever you want, and the Mul has to be 8.
3)Spawn a ranger any where near it.
Then Spawn this Expression

The expression you need is

Code:
I@Range
O@Thrust
Thrust=100-Range-($(Range))5
100=Height of Hover

Edit for anyone who saw it, a part of my code got erased I guess during the copy in paste lol, but its fixed now.
All Credits of this code go to Shandolum, The original used the clamp function but it had no use in my opinion from my experiences.

4)Wire the Range Input to Ranger, and Thruster to the Thrust Output.
5)It should now stabilize till it is 100(what ever Gmod measures in) off the ground.


6)IMPORTANT, if you want it to hover correctly, you can apply Keep Upright with an angular limit of 10000 to it, OR you can use Gyro to stabilize the plate.

I will be posting a tutorial on how to use gyro to stabilize a 1x1 PHX plate later.

If you want to use this code on other objects you will have to experiment with the *5 value in the expression, or the Mul or the thruster.

Changing the weight to 50(weight of 1x1 PHX plate) will not work due to its size compared to its mass.

Any questions post.

If you have any idea how to make this stay stable at a GPS's Z Cord please post.

This is when its pushed down by phys gun

And this is where it is lifted up by phys gun.


and here is what it will go to in a matter of mili seconds, no bouncing trying to get at the correct height.




if you combine this with my tutorial of stabilizing with Gyroscope you will not have to use keep Upright to keep this stable, and you can throw it up into the air in any direction at any angle and it will always come down perfectly stable within seconds.

I also DID get this to work for my ship, but only hovering above the ground and I messed with the weight and mass of everything and I don't remember what I did, so if someone comes up with a way to figure out the values you need to set for certain objects, post.

Last edited by Xtensity; 04-14-2008 at 09:16 PM..
Xtensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-14-2008   #2 (permalink)
Wire Dev - Thruster God
 
Shandolum's Avatar
 

Join Date: Apr 2007
Location: Europe -> Denmark
Posts: 877
Shandolum has a spectacular aura aboutShandolum has a spectacular aura aboutShandolum has a spectacular aura about
Send a message via MSN to Shandolum
Default Re: Perfect Thruster Hover Stable(Uses Ranger)

I usually use one of these in each corner of a plate for a fun ride. :P
I already made a small tutorial on the matter, which is hiding in one of the links in my sig... (planning on making it normal again soon my sig, but having some problems finding the original animated gif. And yes, I did the bugness myself, hehe).
The tutorials are in the third link in the bottom of the sig. But I haven't formatted the tutorials with the pictures after the jump though. And also seems that most of the things I wrote is missing (don't know why).

But I really would like it if a better tutorial like this was up, cause I really haven't made that much new to wiremod, and only hang out here once in a while to see if there is any new development.
__________________
Everything can be improved upon. Nothing is Perfect.
The only way to move forward, is to surpass what has already been done.
Creator of many things.

Last edited by Shandolum; 04-14-2008 at 03:35 PM..
Shandolum is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-14-2008   #3 (permalink)
Advanced Member
 
Xtensity's Avatar
 

Join Date: Apr 2008
Posts: 129
Xtensity is on a distinguished road
Default Re: Perfect Thruster Hover Stable(Uses Ranger)

Quote:
Originally Posted by Shandolum View Post
I usually use one of these in each corner of a plate for a fun ride. :P
I already made a small tutorial on the matter, which is hiding in one of the links in my sig... (planning on making it normal again soon my sig, but having some problems finding the original animated gif. And yes, I did the bugness myself, hehe).
The tutorials are in the third link in the bottom of the sig. But I haven't formatted the tutorials with the pictures after the jump though. And also seems that most of the things I wrote is missing (don't know why).

But I really would like it if a better tutorial like this was up, cause I really haven't made that much new to wiremod, and only hang out here once in a while to see if there is any new development.
Well you can use 4 thrusters in each corner with mul of 2, but I figured with simple math, why not use 1 with mul of eight, combining it with my Gyroscope stabilization it works great.

I am still having trouble figuring out how to make it hover certain items based on the weight of a object, or how to make it hover based on GPS Z cords.
Xtensity 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

LinkBacks (?)
LinkBack to this Thread: http://www.wiremod.com/forum/wiremod-tutorials/4799-perfect-thruster-hover-stable-uses-ranger.html
Posted By For Type Date
Making an object hover based on terrain height. - Facepunch Studios This thread Refback 05-11-2008 12:32 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect Thruster Stability Hovering - NO RANGER!! Xtensity Wiremod Tutorials 31 08-28-2008 03:14 PM
Terrain Hover... mostly for thruster space ships Cryosis Wiremod Tutorials 27 05-09-2008 01:17 AM
Ranger Hover/Launch Expression Halp :3 TheRufflez Help & Support 6 05-05-2008 02:34 AM
Wire Thruster Only Hover Platform daedalus Wiremod Tutorials 7 11-12-2007 09:02 AM
The perfect A-I SamPerson12345 Off-Topic 11 09-08-2007 06:33 PM


All times are GMT -7. The time now is 10:57 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