It is currently Sat Sep 04, 2010 3:23 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Custom Setups and Scripting for STO
PostPosted: Thu Feb 18, 2010 8:06 pm 
Offline
Rear Admiral
Rear Admiral
User avatar

Joined: Sun Jan 24, 2010 8:45 pm
Posts: 22
Hi Folks,

I have been playing with some low-level programming and scripting for STO and have come up with some neat setups, and I wanted to share what I've learned in case you're interested in this as well. These setups are hard to get used to at first, but worth it if you stick it out. I'm totally stealing from all over the internet to put this information together including commands from old Cryptic games. :)

In combat on my cruiser or my escort I can move my mouse to look in a direction and have my ship follow - which means I don't have to hold the arrow keys down to orbit or turn. I can make this stick for a few seconds so I can do it and click on various things like reinforce shields while in combat.

First - here is my custom config. You can make changes and then save them so you don't have to re-do them for each character using:

/bind save file [filename].

/bind load file [filename].

------My Custom Config File--------

Numpad9 "UseTraySlot0 8"
Numpad0 "UseTraySlot0 9"
Button4 "GenSendMessage HUD_Root FireTorps$$+TrayExecByTray 0 1"
X "Target_Enemy_Near"
Alt+space "GenSendMessage HUD_Root FirePhasers"
Space "GenSendMessage HUD_Root FireAll"
Pause "(null)"
Control+numpad9 "UseTraySlot1 8"
Control+numpad0 "UseTraySlot1 9"
Alt+numpad9 "UseTraySlot2 8"
Alt+numpad0 "UseTraySlot2 9"
Alt+subtract "UseTraySlot2 10"
Alt+add "UseTraySlot2 11"
Control+subtract "UseTraySlot1 10"
Control+add "UseTraySlot1 11"
Subtract "UseTraySlot0 10"
Add "UseTraySlot0 11"
c "camToggleSTOTargetLock"
F6 "throttleset 0.25"
F7 "throttleset 0.50"
F8 "throttleset 0.75"
F9 "throttleset 1.0"
F5 "throttleset -1.0"
Middleclick "(null)"
F10 "throttleset 0"
F11 "(null)"
Shift+r "(null)"
F "GenSendMessage Throttle_FullImpulse_Button FullThrottle"
Z "InteractWindow"
Button5 "GenSendMessage HUD_Root FireTorps$$+TrayExecByTray 0 0"
Mousechord "(null)"
Rightclick "+camTurnToFace"
Lbutton "GenSendMessage HUD_Root FirePhasers$$+TrayExecByTray 0 3"

------End of my Config File------

These are the changes from the norm and while you might not want all of them, you can use the ones you find useful. There is more on the internet. The interesting part of this is the Lbutton command and the Rightclick command setup, as well as the Button4 and Button5. Let me explain...

The commands above are done from the chat box command line and start with the /bind command so:

/bind Lbutton "GenSendMessage HUD_Root FirePhasers$$+TrayExecByTray 0 3"

creates the bind - then:

/bind save file [filename]

saves the changes to a file (change [filename] to something you'll remember).

What the above accomplishes for me is:

Button4 means I will click my mouse button 4 and when I do it will click the first spot in my hot bar which is Torpedo High Yield 3, and then if I click again it fires my torps. If High Yield isn't available it just fires torps.

Sam with Button5, but it uses High Yield 2.

Right click means I can steer my ship without having to hold down my cursor keys with my mouse, and if I add 'Toggle Mouse Look' in the hotkeys (I use the tilde key ~) then I can steer with the mouse, and no buttons - it's HANDY as hell in a fire fight when you get used to it - the ship follows where you turn to look and right click turns that on and off on your mouse, and tilde toggles mouse look - try it out.

If you use the above setup with the Lbutton you can simply fly by moving the mouse, left click to fire cannons with rapid fire if it's up, and click mouse button 4 to fire torps with high yield if it's up - hit the tilde key after the strafe to use your shield reinforce etc, turn your ship and do another run - it's freaking awesome and fast as lightning.

Let me know if you find this useful, or find anything else like this - please post it on this thread. If enough people use this I will sticky it.

Kane/Tyran

_________________
The beatings will continue until moral improves!


Top
 Profile  
 
 Post subject: Re: Custom Setups and Scripting for STO
PostPosted: Fri Feb 19, 2010 11:42 am 
Offline
Rear Admiral
Rear Admiral
User avatar

Joined: Sun Jan 24, 2010 8:45 pm
Posts: 22
Ok this post will attempt to clean up what I posted above to make it easy and step-by-step.

First, you will cut and paste one line at a time into your chat box. You need to have a 5 button (or more) mouse for this to work properly, and you can change the mappings to any button or key that you want.

/bind Mbutton "GenSendMessage HUD_Root FireTorps$$+TrayExecByTray 0 0"

/bind Button5 "GenSendMessage HUD_Root FireTorps$$+TrayExecByTray 0 1"

/bind Lbutton "GenSendMessage HUD_Root FirePhasers$$+TrayExecByTray 0 2"

/bind Rightclick "+camTurnToFace"

/bind Button4 "++CamMouseLook"

Ok - now I also map my F key to Full Throttle which makes sense because it is below the R key which is Full Stop and I map my Z key to my use key (instead of F). It takes some getting used to but once you're used to it - you will never go back.

The TrayExecByTray is the bank and slot of your hot keys so 0 0 is the first hotkey in the first bank, 0 1 is the 2nd hotkey in the first bank and 1 2 would be the 3rd hotkey in the middle bank (computers start counting at 0 not at 1, so 0 is always first). The idea is to put your modifiers such as Torpedo High Yield III in the slot where you will click to fire torps so in the above example, it would go in the 0 0 which is to say the 1st hotkey, first bank position. The reason I have a second map (one for middle mouse, one for mouse button 5) is because I also use Torpedo High Yield 3 - so one map for it and one for Torpedo High Yield 2.

The same is true of phasers and cannons - cannons are fired as phasers so the above line will work for both. In the 0 2 position I have Rapid Fire III on my escort and on my cruiser I have Beam Overload I and I use the above line for both ships - and they both work.

If an ability is not up then the button will just fire the weapon but if it is up the button will toggle the ability on - and pressing the button again will fire. Steering will be done by mouse with no buttons or with the left button pushed down (toggle this using mouse button 4). Firing phasers or cannons is done with the left mouse button (while steering with the mouse only or mouse + hold down left button, whichever you prefer) and firing torps is done with the middle mouse button or mouse button 5, or both. After the strafe or whenever you need to click on a shield heal ability etc, just hit the mouse button 4 (if you're in mouse look toggle mode) and click on your hot bar to activate the desired ability. This makes flying your ship all mouse and almost no keyboard.

EDIT: To save your work when you're done type:

/bind_save_file [filename]

Good luck, and please post your experiences here.

***

You may also setup your pre-sets (so speed versus shields versus weapons versus balanced) and bind them to a key (such as your F keys):

/bind <key> genbuttonclick powerlevel_preset_0
/bind <key> genbuttonclick powerlevel_preset_1
/bind <key> genbuttonclick powerlevel_preset_2
/bind <key> genbuttonclick powerlevel_preset_3


Most of this was taken from Kaane's post at:

http://www.monkly-business.net/forums/s ... p?p=283817

Thanks Monkly Business. :)

_________________
The beatings will continue until moral improves!


Top
 Profile  
 
 Post subject: Re: Custom Setups and Scripting for STO
PostPosted: Fri Feb 19, 2010 7:44 pm 
Offline
Ensign
Ensign

Joined: Sun Jan 24, 2010 4:52 pm
Posts: 8
Excellent post!

I wasn't aware we could even do this in game. I can see this being extremely useful...

Sort of related to this...I know I mentioned this to you in game, but I just wanted to share with others that I am having good success in STO with an accessory: the Belkin n52te. Also found that Logitech has a similar device called the G13. Both of these are programmable and make things alot simpler in the heat of the action in game. Could be used in conjunction with your post to do really cool things, I think. (Will have to experiment and explore!) I don't usually do free advertising for gaming products, but would just like to share what works well for me =)


Top
 Profile  
 
 Post subject: Re: Custom Setups and Scripting for STO
PostPosted: Thu Feb 25, 2010 9:09 am 
Offline
Rear Admiral
Rear Admiral
User avatar

Joined: Sun Jan 24, 2010 8:45 pm
Posts: 22
I bought the G13 and while it has more keys and stuff than the Belkin, it's not ergonomic which is to say, I have to reach for keys and move around quite a bit. I can effectively use it however I wish it were a bit more handy - I don't know about the Belkin however.

_________________
The beatings will continue until moral improves!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Some images are © Vereor
Translated by MaĆ«l Soucaze © 2009 phpBB.fr
Bridge by mehdiplugins.com
Valid XHTML & CSS | Template Design LernVid.com and ah-68