| Home Page | Recent Changes | Preferences

Translocator

Ticklemonster:

It looked like you may have some question as to whether an arena can support a translocator, so I hope you don't mind me putting this in here.

//================================================================================
// ZarkArena mod for Zark Assault Rifle. By {BL}Ticklemonster
// Thank you {KzK}Ace and {BL}GypsyAngel
//================================================================================
class ZarkArena extends Arena;

function ModifyPlayer(Pawn Other)
{
    DeathMatchPlus(Level.Game).GiveWeapon(Other,"ZarkRifle199v2.AssaultRifle");

    if ( NextMutator != None )
        NextMutator.ModifyPlayer(Other);
}

function bool CheckReplacement (Actor Other, out byte bSuperRelevant)
{
    if ( Other.IsA('TournamentHealth') || Other.IsA('UT_ShieldBelt') || Other.IsA('Armor2') || Other.IsA('ThighPads') || Other.IsA('UT_invisibility') || Other.IsA('UDamage') )
    {
        return False;
    }
    return Super.CheckReplacement(Other,bSuperRelevant);
}

function bool AlwaysKeep(Actor Other)
{
    local bool bTemp;

    if ( Other.IsA('Translocator'))
    return true;
 }

defaultproperties
{
     WeaponName=AssaultRifle
     AmmoName=BulletBox199
     WeaponString="ZarkRifle199v2.AssaultRifle"
     AmmoString="ZarkRifle199v2.BulletBox199"
     DefaultWeapon=Class'ZarkRifle199v2.AssaultRifle'
}

I came here seeking information on enhanced items, and why it is that I can't compile the redeemer2k3 now that I made some slight tweaks to it. I keep getting told that SUPERCLASS ENHANCEDPROJECTILE OF CLASS R2K3_WARSHELL NOT FOUND. Haven't found an answer yet, but anyway, there's the translocatorfied arena mute.

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In