BTPlusPlus + weapons -> weapons not appearing in map

Discussions about Coding and Scripting
ShaiHulud
Adept
Posts: 459
Joined: Sat Dec 22, 2012 6:37 am

Re: BTPlusPlus + weapons -> weapons not appearing in map

Post by ShaiHulud »

Hey medor :)

Hmm, when you use KeepIt with bAutoLoadInsta=True, you don't get a server crash when you pick up a NemesisX rocket?
UT99.org

Re: BTPlusPlus + weapons -> weapons not appearing in map

Post by UT99.org »

medor wrote:No i ave try on my https://my.gameservers.com
ShaiHulud
Adept
Posts: 459
Joined: Sat Dec 22, 2012 6:37 am

Re: BTPlusPlus + weapons -> weapons not appearing in map

Post by ShaiHulud »

Hi again :)

That sounds good, but, was that the URL you'd intended to paste? I'm not sure what you mean :)
UT99.org

Re: BTPlusPlus + weapons -> weapons not appearing in map

Post by UT99.org »

medor wrote:Just for say it's not a server home but a rented one
ShaiHulud
Adept
Posts: 459
Joined: Sat Dec 22, 2012 6:37 am

Re: BTPlusPlus + weapons -> weapons not appearing in map

Post by ShaiHulud »

Thanks for the help medor. I was able to get this working, I needed to add additional class names to AlwaysKeep

Code: Select all

function bool AlwaysKeep(actor Other)
{
  if (Other.IsA('Konglauncher') || Other.IsA('Fuelcore') || Other.IsA('StrangeAmmo') || Other.IsA('Util') || Other.IsA('StrangeShell') || Other.IsA('XSFRed') || Other.IsA('NullWeapon') || Other.IsA('WeaponLight'))
  {
    if (bDebugMode)
      Log("AddNemesis -> AlwaysKeep -> keeping" @ Other.Name);
    Return True;
  }
  else
  {
    if (bDebugMode)
      Log("AddNemesis -> AlwaysKeep -> NOT keeping" @ Other.Name);
  }
	
  Return Super.AlwaysKeep(Other);
}
Post Reply