Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: checking medel [Re: vlau] #130498
05/17/07 21:10
05/17/07 21:10
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
so... any solution?
naming my models... hmmm... if nothing better... i'll do


Never say never.
Re: checking medel [Re: tompo] #130499
05/18/07 13:14
05/18/07 13:14
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
For now I do this with ent_morph and define

ent_morph(me,"model_1.mdl"); my.skill12 = 1;
or
ent_morph(me,"model_2.mdl"); my.skill12 = 2;

and then in loop
if(my.skill12 ==1){vec_for_vertex(my.skill70,my,28);}
if(my.skill12 ==2){vec_for_vertex(my.skill70,my,19);}
effect(some_effect, 10* time_step,my.skill70, nullvector);

but easer will be use some function (if exist) like
if(my.model = "model_1.mdl"){vec_for_vertex(my.skill70,my,28);}
if(my.model = "model_2.mdl"){vec_for_vertex(my.skill70,my,19);}

Last edited by tompo; 05/18/07 15:49.
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1