weld latch.
OK, so I got myself hooked up at rather an ambitious project yesterday. I love building airplanes in GMod (Thanks to the Fin tool), and I thought I would make a plane with realistic nose trimming capabilities.
It was easier than I thought, just an inc/dec gate. Anyhow, I want to improve the design. So I added a pair of side rudders to it (English is not my native language, so I don't know what it's called)
Now for the Issue. I want to make these rudders move when I hold down Space and press A/D. At the same time, I don't want the skewing(Flaps?) rudders to move when I do this (as they are linked to A/D).
I don't want to get an expression gate tossed in my face, because using several expressions in one vehicle makes me feel incomplete...
Also, an explanation to what the stuff does would be nice.
Help will be greatly appreciated.
Facts:
-The plane uses only 1 thruster
-The wings are 32 PHX units wide
-Packs used are PHX, Tiled building blocks, Spacebuild Modelpack and wiremod(duh)
-Tools used are Fin Tool II and Easy Precision 0.9 (not necessary for the dupe)
-Adv_dupe enclosed
Last edited by LimEJET; 03-17-2008 at 06:06 AM.
weld latch.
I don't want to use a weld latch for this, because I want to try something new. Just a gate/gates is what I'm looking for.
An and(all) gate in Gates - Logic is what you are looking for. To use it simply wire A to space on both and(all) gates (yes you need two) and then wire B of one to A(pod controller) and B of another one to D(pod controller) and then use those for you moving mechanism. So when you press Space AND A the and(all) gate with B wired to A(pod controller) it will output a 1, and vice versa.
Yes, i read you don't want a expression gate slapped in your face. But i will explain it using E-Gate code:
A & !Space -> Yaw = 1;
D & !Space -> Yaw = -1;
A & Space -> YawTrim = 1;
D & Space -> YawTrim = -1;
To wire this without E-Gate you:
Spawn four AND gates.
One NOT gate.
Wire NOT gate to SPACE from pod controller.
Wire AND gate #1:A to A from pod controller.
Wire AND gate #1:B to OUT from NOT Gate.
Wire AND gate #2:A to D from pod controller.
Wire AND gate #2:B to OUT from NOT Gate.
Wire AND gate #3:A to A from pod controller.
Wire AND gate #3:B to SPACE from pod controller.
Wire AND gate #4:A to D from pod controller.
Wire AND gate #4:B to SPACE from pod controller.
The same functionality in wire gates!
EDIT:
AND gate #1 is when you press A only.
AND gate #2 is when you press D only.
AND gate #3 is when you press A and SPACE.
AND gate #4 is when you press D and SPACE.
Ok, Thanks y'all. Figured it out myself, though... used 4 And gates and 2 Not gates...
Weird, no one commented on my 1337 sk1llz in plane building...
Bookmarks