Raised This Month: $32 Target: $400
 8% 

How to change the size of the object?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 03-25-2017 , 19:28   How to change the size of the object?
Reply With Quote #1

I have a model that size is too large, so when it shoots in your head does not take hp, how to do to fill the size of a model?

I tried so hard that it did not work

PHP Code:
new ent create_entity("info_target")

entity_set_string(entEV_SZ_classname"models")
entity_set_model(ent"models/player/player.mdl"

new 
Float:maxs[3] = {25.050.0200.0
new 
Float:mins[3] = {-25.0, -50.0, -35.0}

entity_set_size(entminsmaxs
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-25-2017 , 21:40   Re: How to change the size of the object?
Reply With Quote #2

If u want to change the scale of any model u have to decompile the mdl and miss with the settings

And make sure ur setting the ent to take dmg and its health and add some blood effects when it taks dmg
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 03-25-2017 at 21:43.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-25-2017 , 22:05   Re: How to change the size of the object?
Reply With Quote #3

PHP Code:
new Float:maxs[3] = {25.050.0200.0}  
new 
Float:mins[3] = {-25.0, -50.0, -35.0

entity_set_size(entminsmaxs
It will change the size.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 03-25-2017 , 22:44   Re: How to change the size of the object?
Reply With Quote #4

Quote:
Originally Posted by EFFx View Post
PHP Code:
new Float:maxs[3] = {25.050.0200.0}  
new 
Float:mins[3] = {-25.0, -50.0, -35.0

entity_set_size(entminsmaxs
It will change the size.
Yes, but I have a player model, and his height is higher than normal, and when he shoots his head he has no damage
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 03-25-2017 , 22:46   Re: How to change the size of the object?
Reply With Quote #5

Quote:
Originally Posted by Natsheh View Post
If u want to change the scale of any model u have to decompile the mdl and miss with the settings

And make sure ur setting the ent to take dmg and its health and add some blood effects when it taks dmg
I do not know how to model the model and how to decompile the model to know the size?
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-25-2017 , 22:48   Re: How to change the size of the object?
Reply With Quote #6

Just put the model's size there for be equal.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 03-25-2017 , 23:01   Re: How to change the size of the object?
Reply With Quote #7

Quote:
Originally Posted by EFFx View Post
Just put the model's size there for be equal.
I had not thought of that, I'll see it here.
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 03-26-2017 , 01:40   Re: How to change the size of the object?
Reply With Quote #8

resolved
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
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 02:26.


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