Raised This Month: $ Target: $400
 0% 

[HELP] Changing the SIZE of an entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kapitana
Member
Join Date: Apr 2014
Old 10-29-2016 , 07:05   [HELP] Changing the SIZE of an entity
Reply With Quote #1

Hello AlliedModders,
I've been testing something very interesting and thought that it would be worth doing. It is a dynamic sky in cs. Anyway ... as far as now everything works fine but for some reason I can't change the size of the entity ... I tried EV_FL_scale but it doesn't work ... if anyone has a solution pls share. Thnx in advance .. as usual. Here is a quick demo of the size:
http://i.imgur.com/cGFvoXM.png
kapitana is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 10-29-2016 , 09:24   Re: [HELP] Changing the SIZE of an entity
Reply With Quote #2

Is that a model? If so, there is no way to scale models in CS programatically.

Last edited by klippy; 10-29-2016 at 09:25.
klippy is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-29-2016 , 09:33   Re: [HELP] Changing the SIZE of an entity
Reply With Quote #3

Is there any way to get model size and set the player hit box equals to it?
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
kapitana
Member
Join Date: Apr 2014
Old 10-29-2016 , 09:56   Re: [HELP] Changing the SIZE of an entity
Reply With Quote #4

It is a model .... so I can't change the size of the model ... ok .. thank you for the information.
kapitana is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 10-30-2016 , 07:32   Re: [HELP] Changing the SIZE of an entity
Reply With Quote #5

@Kapitana You can change the size of the model only by editing the model

@Natshes You can have the player hit boxes fixed on custom models via code, but it is pretty heavy on CPU and the shoots will not be very accurate.. i've done it some time ago, and i wasn't satisfied with the result on a test server with bots, i think on a full server it is going to lag badly

I don't have anymore the code, but you can find it on the forums, it has something to do with an offest and set_pdata_int
__________________
Depresie 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 20:42.


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