For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
How to shrink player/pawn
How to shrink player/pawn
Hello,
I like to play U4E as a big guy (warlord), he's to large for many areas to enter though, and can't spawn in some maps. I heared there is a mutator that allows to shrink the player (not shrinker gun, but to shrink yourself), do you know where to grab one?
Leo said rolands rtnp something had this. I need a separated mutator, though.
I like to play U4E as a big guy (warlord), he's to large for many areas to enter though, and can't spawn in some maps. I heared there is a mutator that allows to shrink the player (not shrinker gun, but to shrink yourself), do you know where to grab one?
Leo said rolands rtnp something had this. I need a separated mutator, though.
- スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Re: How to shrink player/pawn
Either get a item like the "BigBelt" from Pack5 (or was it 4 or 6?) Or make a custom playerpawn class with the following, be sure to take the animation code off MCoop2 or you will have problems.
Mesh LodMesh'UnrealI.WarlordM'
DrawScale 0.500000
CollisionHeight 39.000000
CollisionRadius 17.000000
Mesh LodMesh'UnrealI.WarlordM'
DrawScale 0.500000
CollisionHeight 39.000000
CollisionRadius 17.000000
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Yeah...but you can grab the code from there, that is I think you should maybe ask for permission to the guy who made it (I forgot who made it for Roland), or just simply credit him.Hello,
I like to play U4E as a big guy (warlord), he's to large for many areas to enter though, and can't spawn in some maps. I heared there is a mutator that allows to shrink the player (not shrinker gun, but to shrink yourself), do you know where to grab one?
Leo said rolands rtnp something had this. I need a separated mutator, though.
The download is:
http://www.rolandunreal.ismywebsite.com ... TNP225.exe
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
This is mystery to me...It should technically work just by adjusting few things...yet it complains when I assign default const variable in.....it fails to compile. I don't get how roland or pcube made it to compile...don't get it.
Anyway also akcoop2 used shrinking item it was called potion, it made you very tiny.
Anyway also akcoop2 used shrinking item it was called potion, it made you very tiny.
Last edited by Leo T_C_K on Thu Dec 17, 2009 12:55 am, edited 1 time in total.
- Matrix224
- OldUnreal Member
- Posts: 740
- Joined: Wed Feb 20, 2008 7:41 pm
Re: How to shrink player/pawn
class ShrinkMe expands Pickup;
replication
{
Reliable if(role < role_authority)
ShrinkMe;
}
simulated exec function ShrinkMe(float i)
{
If(i < Owner.Default.Drawscale && i > 0)
{
Owner.drawscale = i;
Owner.SetCollisionSize(Owner.drawScale*Owner.Default.CollisionRadius,
Owner.drawscale*Owner.Default.CollisionHeight);
}
else
Owner.drawscale = owner.default.drawscale;
Owner.SetCollisionSize(Owner.drawScale*Owner.Default.CollisionRadius,
Owner.drawscale*Owner.Default.CollisionHeight);
}
This is just some made up class that would hopefully work.
The owner would type something like ShrinkMe 0.3
This would make them 0.3 drawscale, and set their collision to be even with their drawscale.
Also, they would not be able to go above their default drawscale or below 0. If their default was 1 and they typed 3 or anything less than or equal to 0, it would make it 1 instead.
- NOTE - This won't work with XCoop's players, due to the crouch code.
replication
{
Reliable if(role < role_authority)
ShrinkMe;
}
simulated exec function ShrinkMe(float i)
{
If(i < Owner.Default.Drawscale && i > 0)
{
Owner.drawscale = i;
Owner.SetCollisionSize(Owner.drawScale*Owner.Default.CollisionRadius,
Owner.drawscale*Owner.Default.CollisionHeight);
}
else
Owner.drawscale = owner.default.drawscale;
Owner.SetCollisionSize(Owner.drawScale*Owner.Default.CollisionRadius,
Owner.drawscale*Owner.Default.CollisionHeight);
}
This is just some made up class that would hopefully work.
The owner would type something like ShrinkMe 0.3
This would make them 0.3 drawscale, and set their collision to be even with their drawscale.
Also, they would not be able to go above their default drawscale or below 0. If their default was 1 and they typed 3 or anything less than or equal to 0, it would make it 1 instead.
- NOTE - This won't work with XCoop's players, due to the crouch code.
Last edited by Matrix224 on Thu Dec 17, 2009 1:21 am, edited 1 time in total.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Wait....maybe I got how Pcube made it, by temporary altering the functions so he can assign constant variables.
Anyway thx Matrix...I hope that will work.
Anyway thx Matrix...I hope that will work.
- Matrix224
- OldUnreal Member
- Posts: 740
- Joined: Wed Feb 20, 2008 7:41 pm
Re: How to shrink player/pawn
Yeah I just modified it a bit, check it again if you want.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Thx...it works...I just added a small check so other pawns can't pick it up except the special ones.
Although still it woud be better if it shrinked it to collisionradius 17 and collisionheight 39, because I didn't want players to be smaller than that, but this is enough I guess and I am not sure how to limit it to collisionradius 17 and 39 this way.
But it doesn't matter, at last they will have advantage.
Although still it woud be better if it shrinked it to collisionradius 17 and collisionheight 39, because I didn't want players to be smaller than that, but this is enough I guess and I am not sure how to limit it to collisionradius 17 and 39 this way.
But it doesn't matter, at last they will have advantage.
- Matrix224
- OldUnreal Member
- Posts: 740
- Joined: Wed Feb 20, 2008 7:41 pm
Re: How to shrink player/pawn
Easy edit:
class ShrinkMe expands Pickup;
replication
{
Reliable if(role < role_authority)
ShrinkMe;
}
simulated exec function ShrinkMe()
{
Owner.drawscale = 0.5;
Owner.SetCollisionSize(17, 39);
}
class ShrinkMe expands Pickup;
replication
{
Reliable if(role < role_authority)
ShrinkMe;
}
simulated exec function ShrinkMe()
{
Owner.drawscale = 0.5;
Owner.SetCollisionSize(17, 39);
}
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Yeah but I want them to get back to normal default size afterwards....and they can't do it this way.
But wait....I could have another exec command in there that would do it, let me try. with the Owner.default.collisionradius plus height in parenthesis, as you had in your old code. I didn't know you can add these at SetCollision, I thought only two numbers were possible.
But wait....I could have another exec command in there that would do it, let me try. with the Owner.default.collisionradius plus height in parenthesis, as you had in your old code. I didn't know you can add these at SetCollision, I thought only two numbers were possible.
Last edited by Leo T_C_K on Thu Dec 17, 2009 2:11 am, edited 1 time in total.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
K so what I did now is
class ShrinkMe expands Pickup;
replication
{
Reliable if(role < role_authority)
ShrinkMe, GrowMe;
}
function PickupFunction(Pawn Other)
{
if (( !Pawn(Owner).isA('MCoopMonster')))
Destroy();
}
simulated exec function ShrinkMe()
{
Owner.drawscale = 0.5;
Owner.SetCollisionSize(17, 39);
}
simulated exec function GrowMe()
{
Owner.drawscale = owner.default.drawscale;
Owner.SetCollisionSize(Owner.Default.CollisionRadius,Owner.Default.CollisionHeight);
}
defaultproperties
{
PickupMessage=" "
}
class ShrinkMe expands Pickup;
replication
{
Reliable if(role < role_authority)
ShrinkMe, GrowMe;
}
function PickupFunction(Pawn Other)
{
if (( !Pawn(Owner).isA('MCoopMonster')))
Destroy();
}
simulated exec function ShrinkMe()
{
Owner.drawscale = 0.5;
Owner.SetCollisionSize(17, 39);
}
simulated exec function GrowMe()
{
Owner.drawscale = owner.default.drawscale;
Owner.SetCollisionSize(Owner.Default.CollisionRadius,Owner.Default.CollisionHeight);
}
defaultproperties
{
PickupMessage=" "
}
- Matrix224
- OldUnreal Member
- Posts: 740
- Joined: Wed Feb 20, 2008 7:41 pm
Re: How to shrink player/pawn
I was gonna ask actually if you wanted that but yours is fine (Y)
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Yeah...what I meant with I was not sure how to do it this way was incorporating that within that one command itself..the one with integer value, but this is better since this way it sets them normal.
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
The file is uploaded...works only for UT though. As he wanted it for UTMCoop.
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
The file is uploaded...works only for UT though. As he wanted it for UTMCoop.
Last edited by Leo T_C_K on Thu Dec 17, 2009 9:08 pm, edited 1 time in total.
Re: How to shrink player/pawn
Hey guys, thank you very much. This is a good community here.
I hope Killerbee installs it on his server soon, so we can fieldtest it. Pitty it's UT only, but it's already more than you can ask for.
Thanks!
I hope Killerbee installs it on his server soon, so we can fieldtest it. Pitty it's UT only, but it's already more than you can ask for.
Thanks!
Last edited by Psychomorph on Thu Dec 17, 2009 12:03 pm, edited 1 time in total.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
I had to make it UT only because of mutator troubles, not working in UT properly, so I used some UT mutator specific functions, which don't work in Unreal the other way..Hey guys, thank you very much. This is a good community here.
I hope Killerbee installs it on his server soon, so we can fieldtest it. Pitty it's UT only, but it's already more than you can ask for.
Thanks!
Last edited by Leo T_C_K on Thu Dec 17, 2009 4:49 pm, edited 1 time in total.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
I made a small update.
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
I forgot to include function to keep the item after you die....
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
I forgot to include function to keep the item after you die....
Last edited by Leo T_C_K on Thu Dec 17, 2009 9:08 pm, edited 1 time in total.
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
And another update:
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
Will update the previous links too. This one sould work perfectly.
http://www.esnips.com/doc/4dbf2fa0-1d59 ... wnShrinker
Will update the previous links too. This one sould work perfectly.
- Shivaxi
- OldUnreal Member
- Posts: 2232
- Joined: Wed Mar 08, 2006 4:43 pm
Re: How to shrink player/pawn
You can always do this without mods, and just some simple commands, like:
admin set playerpawn collisionheight #
admin set playerpawn collisionradius #
admin set playerpawn collisionheight #
admin set playerpawn collisionradius #
- Leo T_C_K
- OldUnreal Member
- Posts: 3673
- Joined: Sat Aug 27, 2005 6:24 pm
Re: How to shrink player/pawn
Duh...but admin is not on all the time.You can always do this without mods, and just some simple commands, like:
admin set playerpawn collisionheight #
admin set playerpawn collisionradius #
- スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Re: How to shrink player/pawn
Do you have any idea how many times I've crashed the server and clients doing that? Do you not know the fuc[ch8207]king meaning of "const" and "native"...?You can always do this without mods, and just some simple commands, like:
admin set playerpawn collisionheight #
admin set playerpawn collisionradius #
THOSE SHOULD ONLY BE CHANGED BY THE SETCOLLISIONSIZE() FUNCTION!!!!!!!!!!!
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
- [§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
Re: How to shrink player/pawn
I didn't even know it's possible to change collision like that...
But this would be possible I guess:
Just not sure about the replication though. lol
But this would be possible I guess:
Code: Select all
class Bullshit expands Pickup;
replication
{
reliable if (Role < ROLE_Authority)
SetCollision;
}
exec function SetCollision (class C, float Radius, float Height)
{
local Actor A;
foreach AllActors (C, A)
A.SetCollisionSize (Radius, Height);
}
☆
- Bleeder91[NL]
- OldUnreal Member
- Posts: 1062
- Joined: Sun Oct 04, 2009 7:22 pm
Re: How to shrink player/pawn
Code: Select all
native(262) final function SetCollision( optional bool NewColActors, optional bool NewBlockActors, optional bool NewBlockPlayers );
- [§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
- Shivaxi
- OldUnreal Member
- Posts: 2232
- Joined: Wed Mar 08, 2006 4:43 pm
Re: How to shrink player/pawn
Do you have any idea how many times I've crashed the server and clients doing that? Do you not know the fuc[ch8207]king meaning of "const" and "native"...?You can always do this without mods, and just some simple commands, like:
admin set playerpawn collisionheight #
admin set playerpawn collisionradius #
THOSE SHOULD ONLY BE CHANGED BY THE SETCOLLISIONSIZE() FUNCTION!!!!!!!!!!!
Well excuse me...no I don't know how many times you've crashed clients doing this...because I myself use these commands ALL the time, single player AND on my server...works completely fine...never crashed anyone...nor the server.
Do not yell at me without a valid reason...at least provide some proof before you go on a tangent.
Last edited by Shivaxi on Wed Dec 23, 2009 6:45 pm, edited 1 time in total.