AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   problem changing the "body" of a entity (https://forums.alliedmods.net/showthread.php?t=140414)

frk_14 10-11-2010 21:34

problem changing the "body" of a entity
 
Hi, i have a model with multiples bodies "sub-models", when i try set a body upper than 255 always show the case 255(visible;the less cases work fine)
why?
I tested with fakemeta and engine.

Hunter-Digital 10-12-2010 05:29

Re: problem changing the "body" of a entity
 
I think that's the maximum number for body, why would you have more than 255 sub-models ? O.o

frk_14 10-12-2010 07:02

Re: problem changing the "body" of a entity
 
no, i have less sub-models but with more than 255 diferent convinations of these.. I going to try with more than 255.
For example, when i set the value 500 and check it, the entity returns the true value(500) but show the case 255(visible, the max?).

lucas_7_94 10-12-2010 11:02

Re: problem changing the "body" of a entity
 
mm , you mean change the model (entity) in game ?

Arkshine 10-12-2010 11:40

Re: problem changing the "body" of a entity
 
Quote:

Originally Posted by frk_14 (Post 1322811)
no, i have less sub-models but with more than 255 diferent convinations of these.. I going to try with more than 255.
For example, when i set the value 500 and check it, the entity returns the true value(500) but show the case 255(visible, the max?).

It's weird. I've looked at Mod_LoadSubmodels() and I see no limit.

frk_14 10-12-2010 13:54

Re: problem changing the "body" of a entity
 
I tested with model with 280 sub-models(no convinations) and have the same problem...
Quote:

Originally Posted by Arkshine (Post 1322977)
It's weird. I've looked at Mod_LoadSubmodels() and I see no limit.

can be a problem from client-side?

joropito 10-12-2010 23:19

Re: problem changing the "body" of a entity
 
Quote:

Originally Posted by frk_14 (Post 1323093)
can be a problem from client-side?

That's hard to find...


I have an idea, try to set/read it using entity_*_edict.
It's tricky but may work.

frk_14 11-17-2010 20:48

Re: problem changing the "body" of a entity
 
1 Attachment(s)
Bump...
here the a model with 270 sub-bodies to test.

frk_14 02-05-2011 21:58

Re: problem changing the "body" of a entity
 
last bump...
I test and i have the same limit with skins and sequences number.


All times are GMT -4. The time now is 10:26.

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