logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) How to shrink player/pawn (Read 15939 times)
Leo T_C_K
Betatester
Offline



Posts: 1968
Joined: Aug 27th, 2005
Gender: Male
Re: How to shrink player/pawn
Reply #15 - Dec 17th, 2009 at 6:30pm
Print Post  
I made a small update.

http://www.esnips.com/doc/4dbf2fa0-1d59-4f66-8a2b-81695f343490/PawnShrinker

I forgot to include function to keep the item after you die....
« Last Edit: Dec 17th, 2009 at 9:08pm by Leo T_C_K »  

People who accuse others of trolling are usually the biggest trolls themselves.
Back to top
YouTube  
IP Logged
 
Leo T_C_K
Betatester
Offline



Posts: 1968
Joined: Aug 27th, 2005
Gender: Male
Re: How to shrink player/pawn
Reply #16 - Dec 17th, 2009 at 9:07pm
Print Post  
And another update:

http://www.esnips.com/doc/4dbf2fa0-1d59-4f66-8a2b-81695f343490/PawnShrinker

Will update the previous links too. This one sould work perfectly.
  

People who accuse others of trolling are usually the biggest trolls themselves.
Back to top
YouTube  
IP Logged
 
Psychomorph
Ex Member


Re: How to shrink player/pawn
Reply #17 - Dec 18th, 2009 at 1:41am
Print Post  
Nice. Also, it works. Cheesy
  
Back to top
 
IP Logged
 
Shivaxi
The One Who Wanted To Have A Special Title In Forum
Betatester
****
Offline


Loving Pie

Posts: 2244
Location: BEHIND U!!!
Joined: Mar 8th, 2006
Gender: Male
Re: How to shrink player/pawn
Reply #18 - Dec 21st, 2009 at 6:22pm
Print Post  
You can always do this without mods, and just some simple commands, like:

admin set playerpawn collisionheight #
admin set playerpawn collisionradius #

Tongue
  

Back to top
IP Logged
 
Leo T_C_K
Betatester
Offline



Posts: 1968
Joined: Aug 27th, 2005
Gender: Male
Re: How to shrink player/pawn
Reply #19 - Dec 21st, 2009 at 7:15pm
Print Post  
Shivaxi wrote on Dec 21st, 2009 at 6:22pm:
You can always do this without mods, and just some simple commands, like:

admin set playerpawn collisionheight #
admin set playerpawn collisionradius #

Tongue

Duh...but admin is not on all the time.
  

People who accuse others of trolling are usually the biggest trolls themselves.
Back to top
YouTube  
IP Logged
 
スマイル・ドラゴン
Betatester
Offline


『smile。。。』

Posts: 1236
Location: Independence, KS
Joined: Feb 10th, 2008
Gender: Male
Re: How to shrink player/pawn
Reply #20 - Dec 21st, 2009 at 11:17pm
Print Post  
Shivaxi wrote on Dec 21st, 2009 at 6:22pm:
You can always do this without mods, and just some simple commands, like:

admin set playerpawn collisionheight #
admin set playerpawn collisionradius #

Tongue


Do you have any idea how many times I've crashed the server and clients doing that? Do you not know the fucking meaning of "const" and "native"...?
THOSE SHOULD ONLY BE CHANGED BY THE SETCOLLISIONSIZE() FUNCTION!!!!!!!!!!!
  

I am the dragon without a name.
rk-__-ght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Back to top
IP Logged
 
[Ŕ] ŤhěxĐŕkśđěŕ
Oldunreal MasterPoster
*
Offline


「エレクトロマスター」

Posts: 4444
Location: Out of space-time continuum
Joined: Sep 3rd, 2008
Gender: Male
Re: How to shrink player/pawn
Reply #21 - Dec 22nd, 2009 at 4:18pm
Print Post  
I didn't even know it's possible to change collision like that...

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);
} 



Just not sure about the replication though. lol
  

Back to top
WWW  
IP Logged
 
Bleeder91[NL]
Betatester
Offline


Personal Text:

Posts: 1009
Location: Location, Location, Location.
Joined: Oct 4th, 2009
Gender: Male
Re: How to shrink player/pawn
Reply #22 - Dec 22nd, 2009 at 6:36pm
Print Post  
Code
Select All
native(262) final function SetCollision( optional bool NewColActors, optional bool NewBlockActors, optional bool NewBlockPlayers ); 


already in use Tongue
  
Back to top
 
IP Logged
 
[Ŕ] ŤhěxĐŕkśđěŕ
Oldunreal MasterPoster
*
Offline


「エレクトロマスター」

Posts: 4444
Location: Out of space-time continuum
Joined: Sep 3rd, 2008
Gender: Male
Re: How to shrink player/pawn
Reply #23 - Dec 22nd, 2009 at 6:48pm
Print Post  
lol

But yeah, then use like SetCollisionWtf or something.
  

Back to top
WWW  
IP Logged
 
Shivaxi
The One Who Wanted To Have A Special Title In Forum
Betatester
****
Offline


Loving Pie

Posts: 2244
Location: BEHIND U!!!
Joined: Mar 8th, 2006
Gender: Male
Re: How to shrink player/pawn
Reply #24 - Dec 23rd, 2009 at 6:45pm
Print Post  
スマイル・ドラゴン wrote on Dec 21st, 2009 at 11:17pm:
Shivaxi wrote on Dec 21st, 2009 at 6:22pm:
You can always do this without mods, and just some simple commands, like:

admin set playerpawn collisionheight #
admin set playerpawn collisionradius #

Tongue


Do you have any idea how many times I've crashed the server and clients doing that? Do you not know the fucking meaning of "const" and "native"...?
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.
  

Back to top
IP Logged
 
Leo T_C_K
Betatester
Offline



Posts: 1968
Joined: Aug 27th, 2005
Gender: Male
Re: How to shrink player/pawn
Reply #25 - Dec 23rd, 2009 at 10:21pm
Print Post  
I think he means official stuff, not 227 at 227 it might not crash...
  

People who accuse others of trolling are usually the biggest trolls themselves.
Back to top
YouTube  
IP Logged
 
Pcube
Ex Member


Re: How to shrink player/pawn
Reply #26 - Dec 27th, 2009 at 7:24pm
Print Post  
Const is only a compile-time construct and has no effect on whether the variable can or should be changed at run time. In other words, const is just there as a reminder to yourself, the coder, that you're "not supposed to" change its value directly. There's nothing special about Native other than it looks up the appropriate API function from its associated DLL with some offset. Last I checked, CollisionSize and CollisionHeight are not native, and I've set collision variables manually with set for several years now with no problems.

So yes, Shivaxi is valid in saying that a couple set commands would also work.
  
Back to top
 
IP Logged
 
Shivaxi
The One Who Wanted To Have A Special Title In Forum
Betatester
****
Offline


Loving Pie

Posts: 2244
Location: BEHIND U!!!
Joined: Mar 8th, 2006
Gender: Male
Re: How to shrink player/pawn
Reply #27 - Feb 16th, 2010 at 2:36pm
Print Post  
Quote:
Const is only a compile-time construct and has no effect on whether the variable can or should be changed at run time. In other words, const is just there as a reminder to yourself, the coder, that you're "not supposed to" change its value directly. There's nothing special about Native other than it looks up the appropriate API function from its associated DLL with some offset. Last I checked, CollisionSize and CollisionHeight are not native, and I've set collision variables manually with set for several years now with no problems.

So yes, Shivaxi is valid in saying that a couple set commands would also work.


Gracias
  

Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo