Help with Coding...

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

Cieprus

Mapper...In Progress
Feb 17, 2002
113
0
0
39
~America~
www.geocities.com
Ok heres the latest code & Yes it does compile...

SuperEnforcer.uc

//
class SuperEnforcer expands Enforcer;

simulated function PlayFiring()
{
PlayAnim( 'Fire', 2.3, 0.05);
PlayOwnedSound(FireSound, SLOT_Misc,Pawn(Owner).SoundDampening*4.0);
bMuzzleFlash++;
}

SuperEnforcerMutator.uc

class SuperEnforcerMutator expands Mutator;

function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
if ( Other.IsA('Enforcer') && !Other.IsA('SuperEnforcer') ) {
ReplaceWith(Other, "SuperEnforcer.SuperEnforcer");
return true;
}
return false;
}

UCC Log File

Log: Log file open, 02/21/02 14:59:59
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 5.1 (Build: 2600)
Init: Version: 436
Init: Compiled: Oct 24 2000 23:40:18
Init: Command line: make
Init: Base directory: F:\Games\Unreal Tournament\System\
Init: Character set: Unicode
Log: Bound to Core.dll
Init: Object subsystem initialized
Init: Computer: COMPUTER
Init: User: MattYP
Init: Memory total: Phys=261616K Pagef=752580K Virt=2097024K
Init: Working set: 32000 / 159000
Init: CPU Speed=598.832771 MHz
Init: CPU Page size=4096, Processors=1
Init: CPU Detected: PentiumPro-class processor (AuthenticAMD)
Init: CPU Features: CMov FPU RDTSC PAE MMX 3DNow!
Log: Bound to Editor.dll
Log: Bound to Engine.dll
Log: Bound to Window.dll
Log: Executing Class Editor.MakeCommandlet
Init: Unreal engine initialized
Heading: --------------------Core--------------------
Heading: --------------------Engine--------------------
Heading: --------------------Editor--------------------
Heading: --------------------UWindow--------------------
Heading: --------------------Fire--------------------
Log: Bound to Fire.dll
Heading: --------------------IpDrv--------------------
Log: Bound to IpDrv.dll
Heading: --------------------UWeb--------------------
Log: Bound to UWeb.dll
Heading: --------------------UBrowser--------------------
Heading: --------------------UnrealShare--------------------
Heading: --------------------UnrealI--------------------
Heading: --------------------UMenu--------------------
Heading: --------------------IpServer--------------------
Heading: --------------------Botpack--------------------
Heading: --------------------UTServerAdmin--------------------
Heading: --------------------UTMenu--------------------
Heading: --------------------UTBrowser--------------------
Heading: --------------------SuperEnforcer--------------------
Warning: Failed to load 'SuperEnforcer.u': Can't find file 'SuperEnforcer.u'
Warning: Failed loading package: Can't find file 'SuperEnforcer.u'
Log: Analyzing...
Log: FactoryCreateText: Class with ClassFactoryUC (0 1 ..\SuperEnforcer\Classes\SuperEnforcer.uc)
Log: Imported: Class SuperEnforcer.SuperEnforcer
Log: FactoryCreateText: Class with ClassFactoryUC (0 1 ..\SuperEnforcer\Classes\SuperEnforcerMutator.uc)
Log: Imported: Class SuperEnforcer.SuperEnforcerMutator
Log: Parsing SuperEnforcer
Log: Parsing SuperEnforcerMutator
Log: Compiling SuperEnforcer
Log: Compiling SuperEnforcerMutator
Log: Success: Compiled 29 line(s), 6 statement(s).

Warning: Failed to load '..\SystemConform\SuperEnforcer.u': Can't find file '..\SystemConform\SuperEnforcer.u'
Log: Save=99.531158
Log: Moving 'Save.tmp' to 'SuperEnforcer.u'
Log: Success - 0 error(s), 0 warnings
Exit: Preparing to exit.
Log: Purging garbage
Log: Unbound to Core.dll
Log: Unbound to Editor.dll
Log: Unbound to Engine.dll
Log: Unbound to Window.dll
Exit: Editor shut down
Log: 0.0ms Unloading: Package Core
Log: 0.0ms Unloading: Package Engine
Log: 0.0ms Unloading: Package Editor
Log: 0.0ms Unloading: Package UWindow
Log: Unbound to Fire.dll
Log: 0.0ms Unloading: Package Fire
Log: Unbound to IpDrv.dll
Log: 0.0ms Unloading: Package IpDrv
Log: Unbound to UWeb.dll
Log: 0.0ms Unloading: Package UWeb
Log: 0.0ms Unloading: Package UBrowser
Log: 0.0ms Unloading: Package UnrealShare
Log: 0.0ms Unloading: Package UnrealI
Log: 0.0ms Unloading: Package UMenu
Log: 0.0ms Unloading: Package IpServer
Log: 0.0ms Unloading: Package Botpack
Log: 0.0ms Unloading: Package Female2Voice
Log: 0.0ms Unloading: Package Male2Voice
Log: 0.0ms Unloading: Package Female1Voice
Log: 0.0ms Unloading: Package BossVoice
Log: 0.0ms Unloading: Package Male1Voice
Log: 0.0ms Unloading: Package Announcer
Log: 0.0ms Unloading: Package UTServerAdmin
Log: 0.0ms Unloading: Package UTMenu
Log: 0.0ms Unloading: Package LadderSounds
Log: 0.0ms Unloading: Package LadrArrow
Log: 0.0ms Unloading: Package UTBrowser
Log: Garbage: objects: 41218->0; refs: 0
Exit: Object subsystem successfully closed.
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Allocation checking disabled
Uninitialized: Log file closed, 02/21/02 15:00:05
 

TaoPaiPai

Commisaire Van Loc
Jun 13, 2000
1,626
0
0
Matnik
Visit site
If you want to change the speed of firing of this weapon I think you should just change the variable refireRate in the default properties.
Just make it a BIGGER value (in this case superior to 0.8)
 

jb

New Member
May 22, 2000
278
0
0
www.planetunreal.com
Doh my fault. I thought that was the unrealtournamnet log file.

Can you start a practice match, then summon it:

summon <yourpackagename>.SuperEnforcer
 

Cieprus

Mapper...In Progress
Feb 17, 2002
113
0
0
39
~America~
www.geocities.com
Still lost...No mutators I make will work, ive tryed different tutorials with examples and they dont work...Im trying everything and I KNOW im not screwing something up....