Workshop.codes
Login
Create
Belowski

Altwatch (Alpha)

This code is over 6 months old. The code may have expired and might no longer function.

11 Comments

Log in or Sign up to leave a comment.
YellowBucket683 over 1 year ago

I started a game mode almost like yours where I'm changing most heroes so thanks for the inspiration
It's called Reflectowatch and the code is GEZW32 If you wanna check it out :)

Belowski creator over 1 year ago

Glad to have been an inspiration. I'll definitely check it out!

YellowBucket683 over 1 year ago

Hi, me again
I'm making a custom game with changed settings and stuff but the enemy team doesn't have the settings I saved and the projectiles are slow and have weird gravity. Do you know how to fix this lol

Belowski creator over 1 year ago

Also for the speed and gravity thing make sure you go into the rules and adjust the speed and gravity accordingly to what you want them to be. I chose 9.8 for gravity on Illari's scorch shot for example because that is the speed of gravity on earth 9.8m/s^2. Also something I learned while using the workshop is that if you change projectile speed and projectile gravity of heroes in the heroes section in settings it can mess with separate settings you have in workshop. For example if you set Pharah's proj. speed to 200% in the hero settings but have a rule where if she fires primary then proj. speed is 50% the values multiply so the projectile speed ends up being 100% for her primary. If you need more clarification on this as well let me know!

Belowski creator over 1 year ago

Hi, sorry for the late response. That's odd, make sure you have the option for team set to all. Or if not that make a separate set of rules for both teams but specify which team the rules are for. Like team 1 and team 2. If you need more clarification let me know!

YellowBucket683 over 1 year ago

I found the problem. All I needed to do was just go through the heroes and change their setting to be the same for both teams, thanks for the help

YellowBucket683 over 1 year ago

Just a Question, How do you take up Ammo with abilities like Illari and Her new Scorch Shot ability?

Belowski creator over 1 year ago

We have 3 rules for that, in the first we have the conditions if Illari is using x ability and the other conditon being that her ammo !=0 and in the actions we have the set ammo subtract (ammo-1). The other 2 rules just give her the animation of throwing the scorch shot, so not that important but if you wanna know about that too, I'd be happy to give you more insight. I hope this helps! If you have any other questions let me know.

YellowBucket683 over 1 year ago *

For the first rule you stated, could you give me more specifics or the actual code you used.
Thanks a lot!
Edit: I'm currently working on Cassidy in my own custom game as a support. Do you know how to heal allies if you shoot them (if you can)
Really appreciated

Belowski creator over 1 year ago

This is the exact code we used for scorch shot. The 3 rules are:

rule("Scorch shot")
{
event
{
Ongoing - Each Player;
All;
Illari;
}

conditions
{
Is Using Ability 2(Event Player) == True;
Ammo(Event Player, 0) != 0;
}

actions
{
Cancel Primary Action(Event Player);
Create Projectile(Pharah Rocket, Event Player, Null, Null, To World, Damage, All Teams, 75, 0.500, 5,
Brigitte Repair Pack Impact Effect, Explosion Sound, 0, 40, 5, 20, 1, 9.800);
Set Ammo(Event Player, 0, Ammo(Event Player, 0) - 1);
disabled Loop If Condition Is True;
disabled Wait(0.500, Ignore Condition);
disabled Wait(2, Ignore Condition);
disabled Small Message(Event Player, Custom String("Scorch ready. {0}", Ability Icon String(Hero(Moira), Button(Ability 2))));
}
}

rule("scorch shot animation")
{
event
{
Ongoing - Each Player;
All;
Illari;
}

conditions
{
Ammo(Event Player, 0) == 0;
}

actions
{
Disallow Button(Event Player, Button(Ability 2));
}
}

rule("Scorch shot animation2")
{
event
{
Ongoing - Each Player;
All;
Illari;
}

conditions
{
Ammo(Event Player, 0) > 0;
}

actions
{
Allow Button(Event Player, Button(Ability 2));
}
}

As for the cassidy thing I think it has something to do with ray cast.

YellowBucket683 over 1 year ago *

Thanks so much!

Workshop.codes