Page 1 of 2

Fixing the Nali?

Posted: Sun Mar 01, 2009 4:05 pm
by Krokus
So...
I'm using the Nali pretty much these days.
How about a few fixes?

- Fixing player size.
- Fixing player health.
- Fixing player speed(s).
- Fixing the 'no weapon in hand' thing.
- Fixing the Feign Dead invisibility. (For online play.)

Will this be hard to do? (.u file)

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 5:38 pm
by GreatEmerald
First three are very easy to do, two last are harder but still possible.

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 5:39 pm
by .:..:
- Fixing the 'no weapon in hand' thing.
Is already fixed on 227e version, as for the rest its not really a problem to change. However it depends how and where you're going to use it.

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 7:17 pm
by PRIMEVAL
Health and speed make sense for the Nali. They are very slow and weak.

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 8:11 pm
by KillerSkaarj
And the health and speed for the Skaarj as well: fast and strong.

Only problem is that the Skaarj and Nali are too freaking big. That's the only reason I play as a Male 2 instead of a Skaarj.

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 11:08 pm
by Krokus
Well the last thing is not important. (Let it die! ;D)
The weapon in hand can wait...
Any help on the first three things?
A .u script. (So it can boot with the server.)

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 11:10 pm
by DieHard SCWS
I think such a thing should only be optional. The Nali is what it is, its in its nature to be that way. Plus Nali swims faster :)




Long time ago we had a spinoff from the Celtic Warriors clan where we did play with the Nali players and went under these names:

NaliYáá (Me Diehard)
NaliGéé (Bringit)
NaliBòò (Plato)
NaliMòò (Smackdown)


Obviously we lost all (for fun) matches  ::) But we had fun doing so never the less :) And it actually looks pretty cool having a Nali clan cause not all people knew how to pull it off. And the way we looked and the Nali names impressed alotta people, all wanting to sign up :)





If all creatures come with the same capabilities, the game looses its variation.............
.
.
.

Re: Fixing the Nali?

Posted: Sun Mar 01, 2009 11:18 pm
by Krokus
I still like it to be fixed. :)
Just something I like.
Any option it can be used on maps that only allow humans?
In the script.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 12:27 am
by KillerSkaarj
But what good is variation when they can't fit through certain doorways?

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 6:26 am
by []KAOS[]Casey
- Fixing player size.
- Fixing player health.
- Fixing player speed(s).
- Fixing the 'no weapon in hand' thing.
- Fixing the Feign Dead invisibility.
Can't
Can't {well kind of, it would just mean the health would look lower than it actually is for pre 227 clients}
Can't
Already done
I thought we fixed that, or at least we tried.

the first three would cause inconsistencies in client simulation on 227 in pre 227 server, and pre 227 in 227 server, as both variables don't replicate because they would be changed in defaults. Use a mutator{sketchy} or subclass them in a mod, which is painfully easy.

Make sure to adjust drawscale for the changed collision as well so it doesn't look funny.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 6:32 am
by Krokus
Nothing to do with 227 I just need a .u file that does the first three things and allowing them on human-only maps. (And the thing you just said.)

The Unreality mod has a fixed Nali right?
Fixed size health speed and weapon in hand.
And some other stuff.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 1:59 pm
by GreatEmerald
Yes, what's wrong with you people, Krokus wants an UnrealScript package, not a 227 feature :P So of course it's optional DieHard, and of course it's possible Casey.

If you want more information:

1) Make a class that expands NaliPlayer. In the DefaultProperties block, change CollisionRadius to 17, and CollisionHeight to 39. Then change BaseEyeHeight and EyeHeight to 23. Then change DrawScale to something like 0.8 or so, test, and if it looks too big or too small, change and test again (bigger number - bigger Nali)
2) Change Health to 100.
3) Change GroundSpeed to 400 and JumpZ to 325.
Then don't forget to give it an unique MenuName and it should work just as you want.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 6:12 pm
by Krokus
Will try. :)
Thanks for your help.

EDIT 1 -
Hmm...
Can it be done in UT?
My UnrealEd is bugged.
Yes I have the fix.
But lots of things don't work at all...

EDIT 2 -
Found it.
Working on it now.

EDIT 4 -
Can't find DrawScale and EyeHeight (Can I add them into the .uc?)
I got this. -

//=============================================================================
// naliplayerfix.
//=============================================================================
class naliplayerfix expands naliplayer;

defaultproperties
{
    bSinglePlayer=True
    GroundSpeed=400.000000
    JumpZ=325.000000
    BaseEyeHeight=23.000000
    Health=100
    MenuName="NaliFix"
    CollisionRadius=17.000000
    CollisionHeight=39.000000
}

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 6:27 pm
by []KAOS[]Casey
c:\unreal\system\unrealed.exe -safe

no sound, fixes the hang

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 6:46 pm
by Krokus
c:\unreal\system\unrealed.exe -safe

no sound, fixes the hang
Did not work. :(
Still crashes.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 7:06 pm
by []KAOS[]Casey
making it in UT might work but only one way to find out. i'd say use UCC but youd need all the .ucs to do that anyway

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 7:54 pm
by Krokus
All .uc files?
Huh?

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 8:43 pm
by GreatEmerald
Krokus, get the 227 patch, if you don't have it already.
And yes, the code looks good, although why bSinglePlayer? And yes, put in EyeHeight and DrawScale, they're higher in the hierarchy so your player inherits some value from there.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 9:11 pm
by Krokus
Hmm..
Some maps reject the Nali skin.
So I thought that might fix it. Hehe.

I have Unreal Gold 226B and Unreal (220 to 227) installed.

New script:

//=============================================================================
// naliplayerfix.
//=============================================================================
class naliplayerfix expands naliplayer;

defaultproperties
{
    bSinglePlayer=True
    GroundSpeed=400.000000
    JumpZ=325.000000
    BaseEyeHeight=23.000000
    EyeHeight=23.000000
    DrawScale=0.8
    Health=100
    MenuName="NaliFix"
    CollisionRadius=17.000000
    CollisionHeight=39.000000
}

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 9:48 pm
by GreatEmerald
Yeap, that should do it.

Re: Fixing the Nali?

Posted: Mon Mar 02, 2009 9:49 pm
by Krokus
Nice. :)
So how to compile it into a .u?

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 1:50 pm
by GreatEmerald
Save it in Unreal/(YourPackageName)/Classes/ as naliplayerfix.uc where (YourPackageName) is the desired name of the .U file. Then create a .bat file in your Unreal/System folder with this in it:

Code: Select all

ucc make
Then run your .bat file and it will be done! If no .U file appears, look at UCC.log file and it should give you the error.

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 3:26 pm
by Krokus
Got it. :)
Thanks.

One more question.
How to run it?

?mutator=naliplayerfix.naliplayerfix

Does not seem to work.

Tried it in DmAriza
Yes I used ?game=unrealshare.deathmatchgame

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 4:40 pm
by Bane
it's a playerclass, not a mutation.

?class=naliplayerfix.naliplayerfix should do it. That will change your DEFAULT player class though, so make sure you change it afterwards when you're done.

Re: Fixing the Nali?

Posted: Tue Mar 03, 2009 4:58 pm
by Krokus
Thanks it works. :)
Can be used on servers too right? (If host has it in serverpackages.)