A37 Skirth, Link Gun and bots

Discuss the Ballistic Weapons servers here.
User avatar
pilau
Member
Posts: 217
Joined: Fri 05 Apr , 2013 8:58 am
Contact:

A37 Skirth, Link Gun and bots

Post by pilau » Thu 08 Aug , 2013 5:21 pm

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.
Image

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: A37 Skirth, Link Gun and bots

Post by Azarael » Fri 09 Aug , 2013 5:31 pm

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.

User avatar
pilau
Member
Posts: 217
Joined: Fri 05 Apr , 2013 8:58 am
Contact:

Re: A37 Skirth, Link Gun and bots

Post by pilau » Fri 09 Aug , 2013 6:04 pm

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?
Image

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: A37 Skirth, Link Gun and bots

Post by Azarael » Fri 09 Aug , 2013 6:05 pm

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.

User avatar
pilau
Member
Posts: 217
Joined: Fri 05 Apr , 2013 8:58 am
Contact:

Re: A37 Skirth, Link Gun and bots

Post by pilau » Fri 09 Aug , 2013 6:11 pm

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?
Image

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: A37 Skirth, Link Gun and bots

Post by Azarael » Fri 09 Aug , 2013 6:22 pm

E23, HMC, both staves - however, none of them have any bot code to tell them to do this in the last version.

User avatar
pilau
Member
Posts: 217
Joined: Fri 05 Apr , 2013 8:58 am
Contact:

Re: A37 Skirth, Link Gun and bots

Post by pilau » Fri 09 Aug , 2013 6:52 pm

Are you taking care of that for us offline folk?
Image

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: A37 Skirth, Link Gun and bots

Post by Azarael » Fri 09 Aug , 2013 6:55 pm

Already done.

User avatar
pilau
Member
Posts: 217
Joined: Fri 05 Apr , 2013 8:58 am
Contact:

Re: A37 Skirth, Link Gun and bots

Post by pilau » Fri 09 Aug , 2013 6:58 pm

How awesome are you? Very.

What about the swap exclusion not excluding?
Image

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: A37 Skirth, Link Gun and bots

Post by Azarael » Fri 09 Aug , 2013 11:49 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests