AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to resize player entity (https://forums.alliedmods.net/showthread.php?t=173224)

Mr. Frost 12-02-2011 10:37

How to resize player entity
 
Subj

hleV 12-02-2011 13:31

Re: How to resize player entity
 
Give player a smaller model.

Mr. Frost 12-02-2011 13:53

Re: How to resize player entity
 
I need make big model

bibu 12-02-2011 15:08

Re: How to resize player entity
 
Quote:

Originally Posted by hleV (Post 1606439)
Give player a smaller model.

->

Quote:

Originally Posted by hleV (Post 1606439)
Give player a bigger model.


Mr. Frost 12-03-2011 00:16

Re: How to resize player entity
 
1 Attachment(s)
You don't understand. I already set bigger model to player. But I need set bigger size to player entity. The model dissapears, when I stand near wall.

bibu 12-03-2011 05:09

Re: How to resize player entity
 
Probably cause of the hitboxes. The model needs to be edited.

.Dare Devil. 12-03-2011 13:16

Re: How to resize player entity
 
when you change a hitboxes origin then model dont dissapears.
upload the model here.

PS: change a player entity size is not possible.

Mr. Frost 12-03-2011 14:32

Re: How to resize player entity
 
1 Attachment(s)
I aren't modeller, and I doesn't know about it.
That isn't player model. I pulled that car from one map.

Bos93 12-04-2011 07:43

Re: How to resize player entity
 
[ru] напиши по русски,не особо понял тебя. Ниже код установит дистанцию между ентитей и игроком,тобиш растояние на которое сможет подойти игрок к твоей тачке.

new Float: mins[3] = {-24.0, -24.0, 0.0 }
new Float: maxs[3] = { 24.0, 24.0, 75.0 }
entity_set_size(ent, mins, maxs);

Mr. Frost 12-04-2011 09:06

Re: How to resize player entity
 
Bos93, тачка - это и есть игрок. На скрине модель игрока. Нужно изменить размер энтити игрока, чтобы не пропадало пол модели когда я подъезжаю к стене. По твоему примеру мне нужно будет сделать так:
PHP Code:

new Floatmins[3] = {-24.0, -24.00.0 }
new 
Floatmaxs[3] = { 24.024.075.0 }
entity_set_size(idminsmaxs); 

Но как сказал .Dare Devil. так нельзя сделать, нужно изменять хитбоксы в модели.

Maybe there is another solution, besides change hitboxes and resize entity?


All times are GMT -4. The time now is 08:23.

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