AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to found out model size? (https://forums.alliedmods.net/showthread.php?t=222011)

risontek22 07-29-2013 02:59

How to found out model size?
 
Hello, i want to know how to found out model size because i need set this to entity
PHP Code:

entity_set_size(ent,Float:{},Float:{}) 

a have read that i shoud bumb model info.
Code:

Number of Hitboxes: 1

Hitbox 1 Bone: 0
Hitbox 1 Group: 0
Hitbox 1 Bounding Box Min: -32.160000 -4.000000 -32.009998
Hitbox 1 Bounding Box Max: 31.830000 3.990000 31.980000

I have tried to set these numbers:
Code:

Hitbox 1 Bounding Box Min: -32.160000 -4.000000 -32.009998
Hitbox 1 Bounding Box Max: 31.830000 3.990000 31.980000

But in game, that is not right sizes because the model is smaller. Please help me

ConnorMcLeod 07-29-2013 03:22

Re: How to found out model size?
 
What is smaller ? When a player stands on that entity, do you see some space between his feet and that entity, or do you see his feet inside the entity ?

risontek22 07-29-2013 04:50

Re: How to found out model size?
 
Quote:

Originally Posted by ConnorMcLeod (Post 2001167)
What is smaller ? When a player stands on that entity, do you see some space between his feet and that entity, or do you see his feet inside the entity ?

yes, i see space when i stand on it, but not just when i stand on it, but even when i am next to him, there is space too

ConnorMcLeod 07-29-2013 05:14

Re: How to found out model size?
 
Can you make a screenshot ?

akcaliberg 07-29-2013 13:27

Re: How to found out model size?
 
he wants to say entity hitbox is bigger than model size.

risontek22 07-30-2013 02:55

Re: How to found out model size?
 
1 Attachment(s)
i tried to set some sizes to this model but once it is as small as i can go through entity, can somebody say me what is the really size of this model ?


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

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