Game Development Community

Adding 3 extra player movement controls in Torque X (C#)

by Adam Bilbrough · in Technical Issues · 07/01/2009 (9:49 pm) · 2 replies

Hey guys!

So for the design of the game we are going with 4 players max, I've added in all the templates for the extra players etc so Torque can find them ok but I'm having problems with the individual control schemes.

I modified the _SetupInputMap so it had _SetupInputMap2, 3 etc etc and succesfully recognised all 4 players, but then all player movement completely dissapeared. I then reverted back to a backup as when I tried to correct the errors, I managed to make about 90 other ones..

I've never attempted anything other than Singleplayer games so any advice on the best way to implement this would be greatly appreciated :)

Thanks again!

About the author

I got back into programming back in the early 90's, and after flirting with VB, BASIC, ASM, Objective-C, C#, (and a heck lot more over the years), I settled on TorqueScript and Lua.


#2
07/02/2009 (8:02 pm)
Thanks for that info, I should have specified I'm using Torque X so that's C# based not TorqueScript :)

Can't think straight in this heat o.O

Appreciated though! I'll bookmark that for my future TGB/E projects!