I has a question about 227...
Posted: Fri Jan 02, 2009 4:17 pm
If I make mods with 227, will they automatically be compatible with 226? I want to make a weapon mod but I'm not too sure about this.
forums, downloads, community, support and development for Unreal, UnrealTournament and other UnrealEngine 1/2 based games
https://www.oldunreal.com/phpBB3/
Feature from UT, so no.What about decals?
If you can code around an interesting way, you can make a mod in 225f that also uses 227 functions.. but you're limited to properties, or a serverside actor with stub functions. be creative.If I make mods with 227, will they automatically be compatible with 226? I want to make a weapon mod but I'm not too sure about this.
Code: Select all
class MyMutator expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.class==Class'Stinger')
{
ReplaceWith(Other,"UnrealShare.ASMD");
return false;
}Code: Select all
class BSMut expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.class==Class'DispersionPistol')
{
ReplaceWith(Other,"UnrealI.QuadShot");
return false;
}
if(Other.class==Class'WeaponPowerUp')
{
ReplaceWith(Other,"UnrealI.Shells");
return false;
}
if(Other.class==Class'Shells'&&Ammo(Other).MaxAmmo==Ammo(Other).Default.MaxAmmo)
{
Ammo(Other).MaxAmmo=5200;
Ammo(Other).AmmoAmount=Ammo(Other).MaxAmmo;
return true;
}
return true;
}
function Class MyDefaultWeapon()
{
return class'UnrealI.QuadShot';
}Code: Select all
Log: SetClientTravel: nyleve?mutator=smini.sminimuts 0
ScriptLog: Console leaving Typing
Log: Browse: nyleve?Name=KillerSkaarj?Class=Unreali.SkaarjPlayer?Team=255?Skin=SkTrooperSkins.T_Skaarj3?mutator=smini.sminimuts
Log: LoadMap: nyleve?Name=KillerSkaarj?Class=Unreali.SkaarjPlayer?Team=255?Skin=SkTrooperSkins.T_Skaarj3?mutator=smini.sminimuts
DevAudio: Galaxy SetViewport: WindowsViewport0
Log: File loaded nyleve
Log: 14443.0ms Loading: Package nyleve
Log: 14461.0ms Loading: Package Mine
Log: 14463.0ms Loading: Package TCrystal
Log: 14464.0ms Loading: Package HubEffects
Log: 14465.0ms Loading: Package shaneDAY
Log: 14467.0ms Loading: Package AmbModern
Log: 14468.0ms Loading: Package DoorsMod
Log: 14469.0ms Loading: Package SKYBox
Log: 14470.0ms Loading: Package Activates
Log: 14471.0ms Loading: Package Ancient
Log: 14472.0ms Loading: Package GenTerra
Log: 14473.0ms Loading: Package dusk
Log: 14475.0ms Loading: Package Male2Skins
Log: 14476.0ms Loading: Package Male3Skins
Log: 14477.0ms Loading: Package shanesky
Log: 14478.0ms Loading: Package GenWarp
Log: 14480.0ms Loading: Package Male1Skins
Log: 14481.0ms Loading: Package Female1Skins
Init: Shut down moving brush tracker for Level Unreal.MyLevel
Log: File loaded nyleve
Log: Collecting garbage
Log: Purging garbage
Log: 14937.0ms Unloading: Package Unreal
Log: 14937.0ms Unloading: Package NALIFX
Log: 14937.0ms Unloading: Package DoorsAnc
Log: 14938.0ms Unloading: Package Liquids
Log: 14938.0ms Unloading: Package flyby
DevMusic: Unregister music: Music flyby.flyby
Log: 14940.0ms Unloading: Package SkTrooperSkins
Log: Garbage: objects: 19041->17743; refs: 420730
Log: Bringing Level nyleve.MyLevel up for play (0)...
ScriptLog: InitGame: ?Name=KillerSkaarj?Class=Unreali.SkaarjPlayer?Team=255?Skin=SkTrooperSkins.T_Skaarj3?mutator=smini.sminimuts
ScriptLog: Difficulty 1
ScriptLog: Remote Administration with Password
ScriptLog: Base Mutator is nyleve.Mutator2
ScriptLog: Mutators smini.sminimuts
ScriptLog: Add mutator smini.sminimuts
Log: 14958.0ms Loading: Package smini
Warning: SinglePlayer nyleve.SinglePlayer0 (Function Engine.GameInfo.InitGameReplicationInfo:0007) Accessed None 'GameReplicationInfo'
Log: 1 240 66 163 0 6 0
Warning: SinglePlayer nyleve.SinglePlayer0 (Function Engine.GameInfo.InitGameReplicationInfo:001D) Accessed None 'GameReplicationInfo'
Log: 1 240 66 163 0 5 0
Warning: SinglePlayer nyleve.SinglePlayer0 (Function Engine.GameInfo.InitGameReplicationInfo:0025) Attempt to assign variable through None
Log: Spawning new actor for Viewport WindowsViewport0
ScriptLog: Team 255
ScriptLog: Login: KillerSkaarj
ScriptLog: Couldn't spawn player at nyleve.PlayerStart0
Warning: Login failed: Failed to spawn player actor
Critical: appError called:
Critical: Failed to spawn player actor
Critical: Windows GetLastError: The operation completed successfully. (0)
Exit: Executing UObject::StaticShutdownAfterError
Exit: Executing UWindowsClient::ShutdownAfterError
Exit: UGalaxyAudioSubsystem::ShutdownAfterError
Log: DirectDraw End Mode
Exit: UOpenGLRenderDevice::ShutdownAfterError
Critical: MatchViewportsToActors
Critical: (nyleve)
Critical: ClientInit
Critical: UGameEngine::LoadMap
Critical: LocalMapURL
Critical: UGameEngine::Browse
Critical: ClientTravel
Critical: UGameEngine::Tick
Critical: UpdateWorld
Critical: MainLoop
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, 01/03/09 10:48:49Code: Select all
//=============================================================================
// SMinimutM.
// Replaces only the Minigun and its ammo with the Stinger Minigun and ITS ammo
//=============================================================================
class SMinimutM expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.class==Class'MiniGun')
{
ReplaceWith(Other,"Smini.Stingermini");
return false;
}
if(Other.class==Class'Shellbox')
{
ReplaceWith(Other,"Smini.SminiAmmo");
return false;
}
}Unreal and UScript are case insensitive, so don't worry about doing something like that.I'll try making everything with correct cases.
Code: Select all
//=============================================================================
// SMinimutM.
// Replaces only the Minigun and its ammo with the Stinger Minigun and ITS ammo
//=============================================================================
class SMinimutM expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.class==Class'MiniGun')
{
ReplaceWith(Other,"Smini.Stingermini");
return false;
}
if(Other.class==Class'Shellbox')
{
ReplaceWith(Other,"Smini.SminiAmmo");
return false;
}
return true;
}NOOOO, please don't skip that. Unreal in windows may be case insensitive but Unreal in Linux is (for filenames only). So if you or anyone else ever wants to compile stuff with UCC in Linux- the filenames need to beUnreal and UScript are case insensitive, so don't worry about doing something like that.I'll try making everything with correct cases.