Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 833 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 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 | chip programmers | 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