Quantcast

Jump to content

» «
Photo

Set Entity Dimension with Native

2 replies to this topic
BrianStark
  • BrianStark

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Spain

#1

Posted 3 weeks ago

Hi,
 I have been looking for a while in the nativedb wich native will set the dimension of an Entity but it I coulnd't find any.
Is there any way to do that?
 
Thanks a lot!

BrianStark
  • BrianStark

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Spain

#2

Posted 2 days ago

No one know how to do it? Or any way to mess arround?

:blink:


LeeC2202
  • LeeC2202

    Mark Chump

  • Members
  • Joined: 24 Oct 2015
  • United-Kingdom

#3

Posted 2 days ago Edited by LeeC2202, 2 days ago.

As far as I am aware, the size of the entity is determined by the size of the model extents, which you can find with

GET_MODEL_DIMENSIONS(Hash modelHash, Vector3 *minimum, Vector3 *maximum)

So I presume that the only way to change the size, is to change the model.

 

But that's just based on what I have seen through my own mod creation, others more involved with model related mods could probably confirm that or tell you the correct answer if I am wrong.

 

Edit: Unless it's a map related entity, in which case I believe you can scale them through their ymap entries.

  • BrianStark likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users