How do I swap Ability and Ultimate on a character?

I’m new to workshop and I want to start doing some small balance changes to heroes to start out.

I thought about doing a small baptiste rework where his amp matrix is a normal ability instead of his ult and make inmortality field the ultimate itself.

The idea here is to put baptiste more in line with characters like Lucio or Zen who have powerful defensive ults that you need to save for big fights.

I would highly appreciate if anyone can guide me on how to do something like this.

EDIT: Forgot to mention the stuff I was able to do and what I wasn’t able to do. I already have disabled both the ability and ultimate so I can remap other stuff to them, I have a custom cooldown on a hud with the amp matrix icon and the cooldown itself works properly. What I haven’t figured out is how to make the amp matrix appear when I press the ability 2 key.

Update: I mostly managed to do it, but its kinda buggy in some regards, when ult is ready things get a little messy, for example if you press e or q you always get lamp nad amp matrix gets put on cooldown, but it’s mostly there. If someone wants to help or just check out the code here’s the progress I have so far: K55VQ.

umm i honestly forgot how to do it, however you can look at one of my codes and check yourself since im in bed rn. its in workshop rules and its labeled something like “switch ability 1 to 2 (IMPORTANT)” and its under sym rules.

9766P

thanks! though I don’t think that would solve most of the issues I ended up having, the bugs mostly have to do with ult charge and such since I’m switching an ability for an ultimate.

for example whenever you use amp matrix as a normal ability, ult charge gets set to 0 and you can’t build ult charge while using it. That sort of thing.

I’ll still check out your stuff and see if anything helps to fix the bugs on mine!

1 Like

hello again, i asked a friend if its possible to store ult charge into a variable and im awaiting his answer. however in the mean time i fixed 1 thing for you. the code is BRF9M. what i did is change amps cooldown to 22, why? because the CD started when it was placed, so you could immediantly reactivate it when its gone in 2 seconds, so 10 + 12 is 22 and 22 - 10 is 12 so when amp is gone, the cooldown starts at 12 seconds instead of 2

That does not exist.

However, just set ult charge to a player var and use that.

1 Like

it does in my code, though it doesnt really help this persons bugs

Please send a screen shot, as it would be cool it this was a feature but I’m quite certain that it is not.

if you are not lvl 3 trust level put your link in `` so it can be posted.

like the actions? because in my code its for symmetra, i made it so whenever she presses M1 while holding tp, it launches out a turret instead. if not the actions then its a rule i made and i named it “switch ability 1 to 2 (IMPORTANT)”

2 Likes

yeah I thought about this so I’m gonna have to replicate the ult charge gain values for healing and damage.