keyboard.csv, multiple commands on same key?

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

keyboard.csv, multiple commands on same key?

Post by Garnier »

Is there a way to bind multiple commands to the same key?

I was trying to make it dump the gamedb file any time I viewed the menu.

I tried putting them in a row with commas like this, but it only executes the one in the third column.

Menu,ESC,loadscreen:InGameMenu,dumpgamedb

I tried multiple bindings like this, but it only executes the last one:

Menu,ESC,loadscreen:InGameMenu
MenuStats,ESC,dumpgamedb

I tried passing dumpgamedb as an argument to the menu, hoping perhaps it may be parsed and executed by some oversight:

Menu,ESC,loadscreen:InGameMenu:dumpgamedb


None of these worked. Is there a syntax for combining multiple commands into the same command?
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Marching Thru Georgia
Reactions:
Posts: 1769
Joined: Mon Mar 29, 2010 9:56 pm

Re: keyboard.csv, multiple commands on same key?

Post by Marching Thru Georgia »

ADukes can give you the definitive answer, but I do not believe csv interpreter handles multiple commands.
I can make this march and I will make Georgia howl.
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: keyboard.csv, multiple commands on same key?

Post by norb »

You need to send one of the guys on the team a nice Christmas gift to get it on the patch list :)
user38
Reactions:
Posts: 1
Joined: Sun Jan 09, 2011 1:16 pm

Re: keyboard.csv, multiple commands on same key?

Post by user38 »

The easiest way of binding multiple keys onto one key is to use a Logitech G15 or G19 keyboard, or one of those Nostromo speedpads.

The logitech keyboard allow you to code macros which are extremely helpful for all sorts of work and game related applications. The Nostromo speedpad is designed primarily for first person shooters but it works well for strategy games.
Attachments
Nostromo n52.jpg
Nostromo n52.jpg (16.15 KiB) Viewed 120 times
Last edited by user38 on Sun Jan 09, 2011 1:39 pm, edited 1 time in total.
Post Reply