UE2 - UT2kX BUilding error

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

bucketboy

New Member
Dec 12, 2010
3
0
0
hai i have a little error
im rebuilding a weapon to basically re skin it
but as i recompile the uc files i get this error
Error, Class 'localized' keyword is no longer required
i have tried alot to fix this error but i unno i just dunt know wht exaclty it is

heres the code incase any of u wanna look over it i just em stomped
incase sum1 reconizes the code i em giving credit to the clan an the author of the coding
Code:
//================================================================================
// MutskmInstaGib.
//================================================================================

class MutskmInstaGib extends Mutator
	Localized
	Config(skmIGv3)
	HideCategories(Movement,Collision,Lighting,LightColor,Karma,Force);

var Class<Weapon> skmSSRClass;
var config float RateOfFire;
var config bool AllowZoom;
var config bool TeamBoost;
var config bool MultiHit;
var localized string RateOfFireDisplayText;
var localized string RateOfFireDescText;
var localized string AllowZoomDisplayText;
var localized string AllowZoomDescText;
var localized string TeamBoostDisplayText;
var localized string TeamBoostDescText;
var localized string MultiHitDisplayText;
var localized string MultiHitDescText;

replication
{
	un?reliable if ( UnknownFunction130(bNetInitial,UnknownFunction154(Role,4)) )
		RateOfFire,AllowZoom,TeamBoost,MultiHit;
}

static function FillPlayInfo (PlayInfo PlayInfo)
{
	Super.FillPlayInfo(PlayInfo);
	PlayInfo.UnknownFunction704("=sKm= InstaGib","RateOfFire",Default.RateOfFireDisplayText,1,1,"Text","4;0.01:4");
	PlayInfo.UnknownFunction704("=sKm= InstaGib","AllowZoom",Default.AllowZoomDisplayText,1,1,"Check");
	PlayInfo.UnknownFunction704("=sKm= InstaGib","TeamBoost",Default.TeamBoostDisplayText,1,1,"Check");
	PlayInfo.UnknownFunction704("=sKm= InstaGib","MultiHit",Default.MultiHitDisplayText,1,1,"Check");
}

static event string GetDescriptionText (string PropName)
{
	switch (PropName)
	{
		case "RateOfFire":
		return Default.RateOfFireDescText;
		case "AllowZoom":
		return Default.AllowZoomDescText;
		case "TeamBoost":
		return Default.TeamBoostDescText;
		case "MultiHit":
		return Default.MultiHitDescText;
		default:
	}
	return Super.GetDescriptionText(PropName);
}

simulated function PostBeginPlay ()
{
	Super.PostBeginPlay();
	if ( UnknownFunction154(Role,4) )
	{
		if ( UnknownFunction130(TeamBoost,UnknownFunction119(TeamGame(Level.Game),None)) )
		{
			TeamGame(Level.Game).TeammateBoost = 1.0;
		} else {
			TeamGame(Level.Game).TeammateBoost = 0.0;
		}
	}
}

simulated function BeginPlay ()
{
	local xPickUpBase P;
	local Pickup L;

	foreach UnknownFunction304(Class'xPickUpBase',P)
	{
		if ( P.UnknownFunction303('xWeaponBase') )
		{
			continue;
		} else {
			P.bHidden = True;
			if ( UnknownFunction119(P.myEmitter,None) )
			{
				P.myEmitter.UnknownFunction279();
			}
		}
	}
	foreach UnknownFunction304(Class'Pickup',L)
	{
		if ( L.UnknownFunction303('WeaponLocker') )
		{
			L.UnknownFunction113('Disabled');
		}
	}
	Super.BeginPlay();
}

function bool AlwaysKeep (Actor Other)
{
	if ( Other.UnknownFunction303('skmSSR') )
	{
		return True;
	}
	if ( UnknownFunction119(NextMutator,None) )
	{
		return NextMutator.AlwaysKeep(Other);
	}
	return False;
}

function bool CheckReplacement (Actor Other, out byte bSuperRelevant)
{
	bSuperRelevant = 0;
	IYFSSRClass = Class'skmSSR';
	if ( Other.UnknownFunction303('xPawn') )
	{
		xPawn(Other).RequiredEquipment[0] = "skmIGv3.skmSSR";
		xPawn(Other).RequiredEquipment[1] = "skmIGv3.skmSSR";
	}
	if ( UnknownFunction119(Weapon(Other),None) )
	{
		if ( Other.UnknownFunction303('BallLauncher') )
		{
			return True;
		}
	} else {
		if ( Other.UnknownFunction303('ShieldGun') )
		{
			return False;
		} else {
			if ( Other.UnknownFunction303('UTWeaponPickup') )
			{
				return False;
			} else {
				if ( Other.UnknownFunction303('UTAmmoPickup') )
				{
					return False;
				} else {
					if ( Other.UnknownFunction303('Pickup') )
					{
						return False;
					} else {
						if ( Other.UnknownFunction303('xPickUpBase') )
						{
							Other.bHidden = True;
						} else {
							if ( Other.UnknownFunction303('Translauncher') )
							{
								return True;
							}
						}
					}
				}
			}
		}
	}
	return True;
}

defaultproperties
{
    RateOfFire=0.90

    RateOfFireDisplayText="Rate of fire"

    RateOfFireDescText="Adjusts the Instagib Supreme Shock Rifle GunZ firing speed"

    AllowZoomDisplayText="Allow Zoom"

    AllowZoomDescText="Enable / Disable zoom lens"

    TeamBoostDisplayText="Team Boost"

    TeamBoostDescText="Determines whether you can boost a teammate"

    MultiHitDisplayText="Enable Multi-Gib"

    MultiHitDescText="Determines whether shock beam can gib multiple players per fire"

    bAddToServerPackages=True

    GroupName="Arena"

    FriendlyName="Supreme Shock Rifle "

    Description="Instant-kill combat with Instagib Supreme Shock Rifle."

    bAlwaysRelevant=True

    bOnlyDirtyReplication=False

    RemoteRole=2

}
 
Last edited by a moderator:

bucketboy

New Member
Dec 12, 2010
3
0
0
wow even worst another error using ucc export
Code:
Log: Log file open, 12/12/10 01:43:01
Init: Name subsystem initialized
Init: Detected: Microsoft Windows XP 5.1 (Build: 2600)
Init: Version: 3369 (128.29)
Init: Compiled: Nov 23 2005 16:23:34
Init: Command line: EX3IGv3.u class .u c:\Program Files\UT2004\supremegun
Init: Character set: Unicode
Init: Base directory: C:\PROGRA~1\UT2004\SYSTEM\
Init: Ini:UT2004.ini   UserIni:User.ini
Init: Build label:  Build UT2004_Build_[2005-11-23_16.22]
Init: Object subsystem initialized
Log: Executing Class Editor.BatchExportCommandlet
Log: Loading package EX3IGv3.u...
Log: No u exporter found for Class EX3IGv3.EX3SSR
Critical: Can't export Class EX3IGv3.EX3SSR to file c:\Program\EX3SSR.u
Exit: Executing UObject::StaticShutdownAfterError
Critical: UBatchExportCommandlet::Main
Exit: Exiting.
 
Last edited:

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
It has no choice if you don't tell it to do what you want it to do. ;)

The correct syntax is: UCC BatchExport <package file> <class type to export> <extension to export to> <output directory>
.u is the extension of compiled code packages. The extension for source code files is .uc.
 

bucketboy

New Member
Dec 12, 2010
3
0
0
UCC BatchExport EX3IGv3.u .u .uc c:\temp?

or is it

UCC BatchExport EX3IGv3.u class uc C:/temp?

sorry i used WOT to decompile so using ucc is new to me

i see what u did their trial an error i got it
 
Last edited: