Batch Assigning Gamepad Actions

Discussion and feedback on Construct 2

Post » Tue Mar 22, 2016 1:21 am

Not sure if I'm doing something wrong or not, but I sure could use some help :d

So I just finished making a ton of actions for Player 1 using Gamepad 0, and I'd like to essentially replicate these actions for players 2-4 using Gamepads 1-3, but I'm not seeing any easy way to change that little 0 to a 1(or 2 or 3) for all of the actions. As there are bunches of commands, I'd really like to avoid doing it manually for 3 more players. Any advise would be greatly appreciated.
B
6
Posts: 10
Reputation: 272

Post » Tue Mar 22, 2016 7:30 am

Inside your capx or project dir, locate the event sheet under the directory "Event sheets".
Edit it with notepad++ or any other tool you might use.
Search and replace <param id="0" name="Gamepad">0</param>

to

<param id="0" name="Gamepad">1</param>
or
<param id="0" name="Gamepad">2</param>
or whatever.


for easier access you can move these action to another "controls" event sheet and attach it to you main one.
Image
B
82
S
30
G
12
Posts: 517
Reputation: 12,763

Post » Tue Mar 22, 2016 3:57 pm

Golly, that's useful. Thanks a bunch :D
B
6
Posts: 10
Reputation: 272

Post » Tue Mar 22, 2016 4:01 pm

no prob.
Image
B
82
S
30
G
12
Posts: 517
Reputation: 12,763


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests