Data Realms Fan Forums
http://forums.datarealms.com/

Hi I'm Dennis, I'm new. I found out a way to map controllers
http://forums.datarealms.com/viewtopic.php?f=4&t=25067
Page 1 of 1

Author:  DennisBo [ Wed Aug 10, 2011 1:42 am ]
Post subject:  Hi I'm Dennis, I'm new. I found out a way to map controllers

and by map, I mean, having a button for aming, and a button for crouching and a button for jetpacking just to awoid all that annoying stuff with trying to crawl up a ladder and ending with falling down by it. go to (if default location) C:\Program Files\Data realms\Cortex Commander\Base.rte\Settings.ini and when you open that you will see at line 27 that it says "P1Scheme = inputscheme" and under that you see some of your previous mapping, now i can tell you that the mapping for the Xbox controller is

Code:
JoyButtonMap = 0 // A
JoyButtonMap = 1 // B
JoyButtonMap = 2 // X
JoyButtonMap = 3 // Y
JoyButtonMap = 4 // LB
JoyButtonMap = 5 // RB
JoyButtonMap = 6 // Back
JoyButtonMap = 7 // Start
JoyButtonMap = 8 // left Analog-pad thing you press down and hear a 'click' sound witch is a button
JoyButtonMap = 9 // right version of above

AxisMap = 0 // X-axis
AxisMap = 1 // Y-axis
AxisMap = 2 // shoulder bumpers (LT n' RT)

StickMap = 0 //the left analog
StickMap = 2 //the right analog
StickMap = 3 // the '+' D-pad

DirectionMap = 0 // means left if at X axis down if Y axis and Left shoulder bumper if AxisMap = 2
DirectionMap = 1 // oposit of above


here is how I mapped mine.

Code:
P1Scheme = InputScheme
      // 0 = Keyboard only, 1 = Mouse + Keyboard, 2 = Joystick One, 3 = Joystick Two, , 4 = Joystick Three, 5 = Joystick Four
      Device = 2
      LeftUp = InputMapping
         KeyMap = 23
         StickMap = 0
         AxisMap = 1
         DirectionMap = 0
      LeftDown = InputMapping
         KeyMap = 19
         StickMap = 0
         AxisMap = 1
         DirectionMap = 1
      LeftLeft = InputMapping
         KeyMap = 1
         StickMap = 0
         AxisMap = 0
         DirectionMap = 0
      LeftRight = InputMapping
         KeyMap = 4
         StickMap = 0
         AxisMap = 0
         DirectionMap = 1
      RightUp = InputMapping
         KeyMap = 23
         StickMap = 2
         AxisMap = 0
         DirectionMap = 0
      RightDown = InputMapping
         KeyMap = 19
         StickMap = 2
         AxisMap = 0
         DirectionMap = 1
      RightLeft = InputMapping
         KeyMap = 1
         StickMap = 1
         AxisMap = 0
         DirectionMap = 0
      RightRight = InputMapping
         KeyMap = 4
         StickMap = 1
         AxisMap = 0
         DirectionMap = 1
      Fire = InputMapping
         KeyMap = 0
         MouseButtonMap = 0
         JoyButtonMap = 5
      Aim = InputMapping
         KeyMap = 0
         JoyButtonMap = 0
      AimUp = InputMapping
         KeyMap = 0
         StickMap = 3
         AxisMap = 1
         DirectionMap = 0
      AimDown = InputMapping
         KeyMap = 0
         StickMap = 3
         AxisMap = 1
         DirectionMap = 1
      AimLeft = InputMapping
         KeyMap = 0
      AimRight = InputMapping
         KeyMap = 0
      PieMenu = InputMapping
         KeyMap = 0
         MouseButtonMap = 1
         JoyButtonMap = 6
      Jump = InputMapping
         KeyMap = 23
         StickMap = 0
         AxisMap = 2
         DirectionMap = 1
      Crouch = InputMapping
         KeyMap = 19
         JoyButtonMap = 4
      Next = InputMapping
         KeyMap = 5
         JoyButtonMap = 9
      Prev = InputMapping
         KeyMap = 17
         JoyButtonMap = 8
      Start = InputMapping
         KeyMap = 0
         JoyButtonMap = 7
      Back = InputMapping
         KeyMap = 0


so I hope this is enough to welcome myself onto the site, I saw some post mentioning the need of this ability(to map the controller better) and then i thought, why not do that.

I don't hope this has been done before, and I also hope I posted this in the right section (because it isn't really a mod...) if I failed at 1 or more of the above I am very sorry about that.

I will answer any questions you'd have :D


(I've also made a little faction, but more on that later)



oh and about that introduction, Hi I'm Dennis. I'm a programmer and have worked with animation and programming since i was 8 (so thats 11 years of working with programming). I got this game from the humble indie bundle, I had my eye at it for quiete some time, but I'm betweene jobs at the moment so i don't have the largest quanteties of money available.

Edit: so I fixed some things and here's an illustration of it.

Image

Author:  joost1120 [ Wed Aug 10, 2011 5:06 pm ]
Post subject:  Re: Hi I'm Dennis, I'm new. I found out a way to map controllers

Or you could just use the ingame options and do exactly the same, but much easier.

Author:  DennisBo [ Thu Aug 11, 2011 11:46 am ]
Post subject:  Re: Hi I'm Dennis, I'm new. I found out a way to map controllers

joost1120 wrote:
Or you could just use the ingame options and do exactly the same, but much easier.
nope, if you try to configure the controller you can't put up and crouch on their respective own buttons, many have been anoyed about the lack of precission as well, and this fixes that too.

Author:  flying sheep [ Thu Aug 11, 2011 2:29 pm ]
Post subject:  Re: Hi I'm Dennis, I'm new. I found out a way to map controllers

nice, i hope this gets added to the available configs.

Author:  joost1120 [ Thu Aug 11, 2011 7:27 pm ]
Post subject:  Re: Hi I'm Dennis, I'm new. I found out a way to map controllers

You can, but you just need to specify it as a NES controller.

Author:  Lizardheim [ Thu Aug 11, 2011 8:35 pm ]
Post subject:  Re: Hi I'm Dennis, I'm new. I found out a way to map controllers

Nope you can't use configs from the NES layout together with configs from the thumbstick one with ingame configs.

With this you can afaik.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/