Page 2 of 2

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 5:18 pm
by Bane
it should, but IIRC that'd require the clients to have it as well, and I mean not just in their cache. A better solution should be to make a mutator that replaces the normal naliplayer with the new version. Can't remember if you can actually change a playerclass without making a whole new gameinfo though.

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 5:49 pm
by Krokus
Put it in serverpackages and boot server with the class line?
That would work for all players right?

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 7:24 pm
by Bane
no, ?class= should only affect the local player. For a dedicated server, there is no local player so there'd be no effect.

Someone would either have to download the .u, change their class to the fixed version of the naliplayer and join the server, or join the server, download/load the cache file, then rejoin the server with ?class=. Trying to change the playerclass any sooner than that would result in a crash due to a missing player class, even if they have the file downloaded in their cache. And after closing unreal they won't be able to start it again because unreal won't be able to find the playerclass, leading to an instant crash.

Compare to a properly working serverside playerclass changer; people join with naliplayer, which will never be a missing class, and upon joining the server become a fixednaliplayer.

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 7:56 pm
by Krokus
So...
I need a mutator to do it.
How to make it a mutator?

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 8:29 pm
by GreatEmerald
Eh? Shouldn't it just appear in your Player Options as NaliFix?

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 9:38 pm
by []KAOS[]Casey
Eh? Shouldn't it just appear in your Player Options as NaliFix?
need a .int file.. :p

also, you can use a game rule in 227.. which are much like mutators

Code: Select all

function class ModifyPlayerSpawnClass( string Options, Class AClass )
{
      if( NextRules!=None )
            Return NextRules.ModifyPlayerSpawnClass(Options,AClass);
      Return AClass;
}

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 10:10 pm
by Krokus
It needs to be able to run on a 225 server.
So a .int it is.
Any help on that too?

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 10:13 pm
by スマイル・ドラゴン
If you want a naliplayer fix for 225 you have to rip the Nali model from UT BonusPack 1, re-import it to Unreal, then completely make a playerclass for that.

I could do it someday, but I'm working on NPCMod.

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 10:49 pm
by Krokus
Hmm..
Sounds hard.
Any other way? (Simple way?)

Re: Fixing the Nali?

Posted: Wed Mar 04, 2009 1:49 pm
by GreatEmerald
Yes, all you need now is an INT file. I don't see why everyone think it's a huge problem...

Create a file naliplayerfix.int in your System folder. In it, add this code:

Code: Select all

[Public]
Object=(Name=naliplayerfix.naliplayerfix,Class=Class,MetaClass=UnrealShare.UnrealiPlayer,Description="Nali Fix")

Re: Fixing the Nali?

Posted: Wed Mar 04, 2009 2:24 pm
by Krokus
Thanks! :)
It works perfect!

http://w3rm.webs.com/naliplayerfix.rar