Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.
How do I create a mutator that can be added to the mutator list in order to replace certain weapons and add other stuff, or would I be better off just relying on people to use W.O.R.M or summon shoverifle.shoverifle?
:redeemer:
function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
if ( Other.IsA('ut_biorifle') )
{
ReplaceWith(Other, "BeanGun.BeanGun");
return false;
}
if ( Other.IsA('BioAmmo'))
{
ReplaceWith(Other,"BeanGun.BeanAmmo");
return false;
}
return true;
}
defaultproperties
{
}
Th 'AlwaysKeep' function makes sure the gun isn't replaced by another weapons mutator, the 'CheckReplacement' function replaces the biorifle and it's ammo with my gun and it's ammo. Just change 'ut_biorifle' and 'BioAmmo' to the gun and ammo you want to replace.
You'll need to make an int file as well, use notepad to add;
[public]
Object=(Name=BeanGun.BeanMutator,Class=Class,MetaClass=Engine.Mutator,Description="BeanGun, replaces biorifle & ammo with Niall's Bean Gun and it's ammo.")
Change 'BeanGun.BeanMutator' to 'name_of_your_package.name_of_the_mutator', and save the file as thename of your package.int .
Ofcourse a mutator like the beangun (hillarious btw ) replaces all weapons like (in this case) the biorifle so when you pick it up you get it instead of the biorifle...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.