Pilots and their reflexes

by Unknown

Back to Mechanic's Corner.

Unknown2009-11-12 01:35:16
I've been working on building some aetherhunting reflexes over the last few weeks. I have pretty good turret and grid reflexes, now I'm looking to steal/buy/make some piloting triggers in my never-ending quest to learn how to script things in MUSH. So, to that end, does anybody have reflexes that they would be willing to let me steal and use as a sample, or ideas and tips for building some? This would be for MUSH.
Unknown2009-11-12 01:48:58
Mhm what I can think of that would be simple would set triggers on the keypad for the pilot so it can fly the ship with ease
Lehki2009-11-12 01:51:53
QUOTE (xavim @ Nov 11 2009, 08:48 PM) <{POST_SNAPBACK}>
Mhm what I can think of that would be simple would set triggers on the keypad for the pilot so it can fly the ship with ease

Yeah, keypad macros are the way to go.
Unknown2009-11-12 01:55:09
I like to just have a variable called piloting. When I lock in, the variable sets to 1, when I unlock it sets to 0. Then I have an alias for all my movement directions: an if function with the variable set to one, do x command, and the variable set to zero send the straight movement direction. Eg, if piloting is 1, I steer north, otherwise I walk north. You can easily put this type of switch in for numpad if that's how you like to walk around, just put the command processing in the keybinding.

The extra benefit to this is that you can also add in other states later on to your movement, like dropping a monolith every time you move, swimming each direction, surveying, etc, and it's just a matter of setting a variable.
Unknown2009-11-12 01:57:41
I should have thought to say something about that. I can't actually numpad it, I don't have a numpad. I have a laptop sans certain keyboard functions.
Razenth2009-11-12 01:58:06
Huh, that's exactly what I do! Except I don't have a way to manually disable my piloting, which leads to me tumbling places if I die on a ship until I can get back to a chair. happy.gif
Lehki2009-11-12 02:05:32
QUOTE (Ilaveuse @ Nov 11 2009, 08:57 PM) <{POST_SNAPBACK}>
I should have thought to say something about that. I can't actually numpad it, I don't have a numpad. I have a laptop sans certain keyboard functions.

Well, it doesn't have to be the numpad, you can bind it to whatever keys work for you. Trying to actually type aliases, even if they were 1-2 letters while aetherhunting would be waaaay to troublesome.
Unknown2009-11-12 02:08:43
I do all movement based on aliases. N, S, NE, OUT, etc. I just never liked macros (accidentally hitting a button and crazy stuff happening freaks me out) and I got used to typing out directions quickly for a few years before I got a mapper.
Unknown2009-11-12 02:12:19
How about calling for siphons and things like that?
Unknown2009-11-12 02:18:44
This is my zmud setup, but the concept is the same...
CODE
Trigger on: ^The command chair whirrs quietly, ready to be used once again.$

#if (@aethernumber>16) {aethernumber=1} {}
pilot steer %item( @aetherloop, @aethernumber)
#add aethernumber 1
#if @siphoncall {
  #if @aetherbeasts<2 {#if @siphonoff {sio}}
  #if (@aetherbeasts>1) {#if @siphonon {sif}}
  } {}
#gag


alias: sio
shipt siphon on
siphonsent=1
#alarm +10 {siphonsent=0}
siphonon=1
siphonoff=0

alias: sif
shipt siphon off
siphonsent=1
#alarm +10 {siphonsent=0}
siphonon=0
siphonoff=1

variable: aetherloop
value: n|n|n|n|e|e|e|e|s|s|s|s|w|w|w|w


Also: http://sites.google.com/site/queensadhyra/home/aetherhunt

Probably not the most refined and streamlined, as half the settings I made mid-hunt. But! They work!

There's a MUSH siphoning setup in there as well, but I think I made the plugin on an older version of MUSH, but it seems to work fine once people manually siphon once.
Unknown2009-11-12 02:19:31
Oh and regarding straight up beast counting, the "sexy script" thread has a little counter there.
Unknown2009-11-12 02:50:09
Interesting thread. smile.gif

If you don't have a keypad, you're at a fair disadvantage in more ways than one. This is why I bought the widescreen laptop... just to get the keypad!
Diamondais2009-11-12 03:03:07
Can also just go to the nearest computer store and buy an attachment. suspicious.gif
Mirami2009-11-29 04:10:46
-bump-

How would I go about making a kiting script in MUSH? I understand the concept (kite movements in a string or set of variables, move on chair balance), but I'm unsure as to how I would go about connecting the two.
Unknown2009-11-30 08:10:23
Trigger the chair recovery line to something like this:


CODE
if getvariable ("kite_counter") = "1" then
setvariable "kite_counter", "2"
:send "pilot steer @kite_dir_1"

elseif getvariable ("kite_counter") = "2" then
setvariable "kite_counter", "3"
:send "pilot steer @kite_dir_2"

elseif getvariable ("kite_counter") = "3" then
setvariable "kite_counter", "4"
:send "pilot steer @kite_dir_3"

elseif getvariable ("kite_counter") = "4" then
setvariable "kite_counter", "5"
:send "pilot steer @kite_dir_4"

elseif getvariable ("kite_counter") = "5" then
setvariable "kite_counter", "6"
:send "pilot steer @kite_dir_5"

elseif getvariable ("kite_counter") = "6" then
setvariable "kite_counter", "7"
:send "pilot steer @kite_dir_6t"

elseif getvariable ("kite_counter") = "7" then
setvariable "kite_counter", "8"
:send "pilot steer @kite_dir_7"

elseif getvariable ("kite_counter") = "8" then
setvariable "kite_counter", "1"
:send "pilot steer @kite_dir_8"

elseif getvariable ("kite_counter") = "0" then
colournote "red", "black", "{* Becareful! You are not moving anymore!*}"