Raised This Month: $ Target: $400
 0% 

Resize


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-10-2012 , 01:32   Resize
Reply With Quote #1

Is it possible to resize a model applied to an entity of a player by code ?

If it is, how ?
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 01-10-2012 at 01:39.
Devil259 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-10-2012 , 01:42   Re: Resize
Reply With Quote #2

Try with pev_scale (reference is 1.0) but i doubt it has any effect on models (should work on sprites).
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-10-2012 , 02:12   Re: Resize
Reply With Quote #3

Won't work on models.
__________________
Arkshine is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-10-2012 , 04:24   Re: Resize
Reply With Quote #4

Quote:
Originally Posted by Arkshine View Post
Won't work on models.
Ok, so I have to decompile it to change size of textures.

Thanks to both of you.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-11-2012 , 17:03   Re: Resize
Reply With Quote #5

Is it possible to set the player's size to the model's size ?

Example if you don't understand me:



If it is, how ?

(I mean change the player's size to be able to shot on him if we are touching the model, even if the model is too big.
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 01-11-2012 at 17:04.
Devil259 is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 01-11-2012 , 17:21   Re: Resize
Reply With Quote #6

Yes you can, try with FM_SetSize.
__________________
bboygrun is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-11-2012 , 18:53   Re: Resize
Reply With Quote #7

Thank you, I need to use

Code:
engfunc( EngFunc_SetSize, iEnt, Float:flMins[ 3 ], Float:flMaxs[ 3 ] )
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 01-12-2012 at 07:31.
Devil259 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode