Page 1 of 2

A37 Skirth, Link Gun and bots

Posted: Thu 08 Aug , 2013 5:21 pm
by pilau
Please make the bots use the A37 rifle to heal nodes and vehicles in Onslaught mode. Otherwise, I have other suggestions to take care of that, which I also think are valuable additions to the mod regardless:

1. Swap mode: allow us to exclude weapons from swapping (so the link gun will not be replaced)
2. Loadout: Enable to enforce a choice of weapon in the upcoming team loadout, so it is possible to make sure the bots always have the link gun in their loadout.

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 5:31 pm
by Azarael
They already do this...

Code: Select all

A73 Skrith Rifle
function bool CanHeal(Actor Other)
{
	if (DestroyableObjective(Other) != None && DestroyableObjective(Other).LinkHealMult > 0)
		return true;
	if (Vehicle(Other) != None && Vehicle(Other).LinkHealMult > 0)
		return true;

	return false;
}
and you can already prevent swapping in Swap by specifying no Ballistic Weapons for swapping for a certain stock weapon.

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:04 pm
by pilau
Azarael wrote:and you can already prevent swapping in Swap by specifying no Ballistic Weapons for swapping for a certain stock weapon.
Where do I do that?

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:05 pm
by Azarael
Ballistic options -> Swapping tab.

Edit: Looks like Bot code forces a healing bot to disengage if they're using a weapon flagged bMeleeWeapon. Removed that and added Bot code for the other weapons which had healing added in BallisticPro.

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:11 pm
by pilau
Thanks.

I re-read what you suggested; I posted about this because specifying no weapons already didn't work for me :)

What other weapons can heal nodes and vehicles?

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:22 pm
by Azarael
E23, HMC, both staves - however, none of them have any bot code to tell them to do this in the last version.

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:52 pm
by pilau
Are you taking care of that for us offline folk?

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:55 pm
by Azarael
Already done.

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 6:58 pm
by pilau
How awesome are you? Very.

What about the swap exclusion not excluding?

Re: A37 Skirth, Link Gun and bots

Posted: Fri 09 Aug , 2013 11:49 pm
by Azarael
There isn't a problem with Swap if you (as you should) use energy weapons as the Link Gun replacements. By design all weapons in that slot heal.