Team Spartan Cookies & Milk Forums
Release Gyro-Pod Control E2 - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: Release Gyro-Pod Control E2 (/thread-74.html)



Gyro-Pod Control E2 - Veegi - 06-11-2013

Gyro-Pod Control E2
I have made another E2 for public use! This time it controls your Gyro-Pod with minimal wiring.
All values are modifiable and presets can be made, full list of modifiable values:
  • SpeedAbs
  • PitchAbs
  • RollAbs
  • YawAbs
  • PitchMult
  • YawMult
  • RollMult
  • ThrustMult
  • MPHLimit
  • Damper
The usage is very simple:

Step #1
Spawn a Pod Controller, Gyro-Pod and the E2.
Step #2
Wire the Gyro-Pod and the Pod Controller to the E2.
Step #3
Modify values if needed.
Step #4
Either link a chair or an remote controller to the Pod Controller.
Step #5
Parent your ship.
Step #6
Fly your thing.

Controls:
  • Left Mouse = Forwards
  • Right Mouse = Backwards
  • W = Pitch up
  • S = Pitch down
  • Alt = Move down
  • Shift = Mode modifier
  • Mode1 (Shift not pressed)
    • A = Yaw Left
    • D = Yaw Right
    • Space = Move Up
  • Mode2 (Shift pressed)
    • A = Roll Left
    • D = Roll Right
    • Space = Level
Commands:
  • /resetgyro -This resets all the values to 0
  • /<value> <number> -This sets the selected value to the number
  • /preset <preset name> -This loads the chosen preset values into the E2

How to add presets:
You have to open the E2, and near the top there should be stuff like...
Code:
if(Chat[1,string] == "/preset") { if(Chat[2,string] == "gyro") { GyroPod["SpeedAbs",normal] = 0 GyroPod["RollAbs",normal] = 0 GyroPod["PitchAbs",normal] = 0

... and so on. Now, copy this whole "if(Chat[2,string]..." block and paste it below the existing ones, change the name ("gyro" in this case) and change the values, and that should be it. If you have problems and I'm present, ask me.

Version 1.0

.txt   Gyro-Pod_Controller_Public.txt (Size: 5.53 KB / Downloads: 165)



RE: Gyro-Pod Control E2 - Kermit - 06-11-2013

Good work, Veegi! =)


- Kermit


RE: Gyro-Pod Control E2 - Veegi - 06-11-2013

I will add easier persisting presets if anyone needs them, there would be a text file to save and load the presets from