Go Back   Wiremod Forums > Wiremod Skills > Wiremod Tutorials

Wiremod Tutorials Post your wiremod tutorials/guides here.

Reply
 
LinkBack (21) Thread Tools Display Modes
Old 05-10-2008   #11 (permalink)
Advanced Member
 
Xtensity's Avatar
 

Join Date: Apr 2008
Posts: 129
Xtensity is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

Quote:
Originally Posted by Aspras View Post
Its not a second , watch the video i made , if the update rate was a second then the value of delta would only change every 1 second , and that delta changes a lot faster than once per second.
Well then its simply every time it changes, so?
Xtensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-10-2008   #12 (permalink)
Advanced Member
 
Aspras's Avatar
 

Join Date: Apr 2008
Posts: 138
Aspras is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

So i am pretty sure that time period is 0.1 seconds so Delta is the change of a value ( either negative or positive) per 0.1 second.
Aspras is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2008   #13 (permalink)
Advanced Member
 
Aspras's Avatar
 

Join Date: Apr 2008
Posts: 138
Aspras is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

Added In-Game Numpad Tutorial with video , and in depth explanation of how code works.
Aspras is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-18-2008   #14 (permalink)
Newbie
 
Gunski's Avatar
 

Join Date: Jan 2008
Location: USA
Posts: 15
Gunski is on a distinguished road
Send a message via AIM to Gunski Send a message via MSN to Gunski
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

Thanks, helped me a lot!
__________________
Gunski is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-18-2008   #15 (permalink)
Inactive
 
Ergzay's Avatar
 

Join Date: Jun 2007
Posts: 221
Ergzay is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

Delta is the change since the last execution of the delta from what I can tell. So if you don't use an interval() controlling it then it will be based on whatever rate the gyroscope outputs at (which will vary as if you are moving little enough the gyroscope isn't changing then your chip won't trigger either).
Ergzay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-18-2008   #16 (permalink)
Wire Guru

 
Pyro-Fire's Avatar
 

Join Date: Aug 2007
Posts: 805
Pyro-Fire is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

thruster hovering isnt exactly new, it may be uncommon, but definately not new.
__________________
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 06-20-2008   #17 (permalink)
Newbie
 
Starcitsura's Avatar
 

Join Date: Jun 2008
Posts: 2
Starcitsura is on a distinguished road
Default Re: Hoverball Simulation with Thrusters, GPS , Numpad Inputs and E-Gate

Not to pick apart your code, but it is overly complicated for the simple task at hand.
None of this is more so true then your keypad. For your 21 lines of code, I was able to do the same, with more functionality. (can handle more then 4 digits)

Code:
N@ Numpad
I@ Input Reset
O@ Value
Input -> Value = Value * 10 + ( Input -1);
Reset -> Value = 0;
All buttons are not toggled. Button 1 = (0,2), Button 2 = (0,3), Button 3 = (0,4), ... Button 9 = (0,10), Button 0 = (0,1) and of course, Reset = (0,1);

The only problem this has is with large numbers. It stops doing math correctly which I suspect is a limitation of the lua.

Edit: Forgot to mention how to wire it up... Reset goes to Reset, Buttons 1-5 to one add chip, the first add chip and buttons 6-0 to another add chip, and then that final add chip is wired to Input
(1) (2) (3) (4) (5) -> ADD1 (6) (7) (8) (9) (0) -> INPUT

Last edited by Starcitsura; 06-20-2008 at 03:37 PM.. Reason: Addition
Starcitsura 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/4972-hoverball-simulation-thrusters-gps-numpad-inputs-e-gate.html
Posted By For Type Date
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 11-21-2008 02:21 AM
YouTube - Garry's Mod - Hoverball Simulation This thread Refback 11-14-2008 04:58 AM
YouTube - Garry's Mod - Hoverball Simulation This thread Refback 11-06-2008 12:38 AM
YouTube - Wiremod Delta Chip Tutorial This thread Refback 10-31-2008 12:24 AM
YouTube - Garry's Mod - Hoverball Simulation This thread Refback 10-23-2008 07:44 PM
YouTube - Garry's Mod - Hoverball Simulation This thread Refback 10-23-2008 04:41 PM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 10-23-2008 04:34 PM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 10-13-2008 01:57 AM
YouTube - Garry's Mod - Accumulator Controllable Thruster hovering This thread Refback 10-11-2008 12:37 PM
YouTube - Garry's Mod - Accumulator Controllable Thruster hovering This thread Refback 10-06-2008 10:44 AM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 10-02-2008 04:50 AM
YouTube - Wiremod Delta Chip Tutorial This thread Refback 09-17-2008 01:54 PM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 09-09-2008 11:17 AM
YouTube - Garry's Mod - Accumulator Controllable Thruster hovering This thread Refback 09-07-2008 04:20 PM
YouTube - Wiremod Delta Chip Tutorial This thread Refback 08-30-2008 10:48 AM
YouTube - Garry's Mod - Hoverball Simulation This thread Refback 08-25-2008 09:39 AM
YouTube - Garry's Mod - Accumulator Controllable Thruster hovering This thread Refback 08-16-2008 09:56 AM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 08-12-2008 01:43 AM
YouTube - Garry's Mod - Accumulator Controllable Thruster hovering This thread Refback 05-16-2008 12:52 PM
YouTube - Garry's Mod Gyroscope Stabilization This thread Refback 05-09-2008 12:06 PM
YouTube - Wiremod Delta Chip Tutorial This thread Refback 05-08-2008 09:30 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vector Thrusters vs Wire Thrusters Ergzay Help & Support 6 05-28-2008 01:13 PM
Hoverball help Gore-wrath Help & Support 5 05-24-2008 12:53 PM
Numpad Inputs locked in toggle Amplar Help & Support 1 02-07-2008 10:55 AM
Numpad Inputs Broken w00t Bug Reports Archive 1 02-07-2008 04:24 AM
Seeking gate inputs Core Xii Ideas & Suggestions 4 07-08-2007 01:39 AM


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