Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can you use ent_create and spawn it scaled down? #82496
07/21/06 19:56
07/21/06 19:56
Joined: Feb 2004
Posts: 71
Milky Way Galaxy...
JoeMama Offline OP
Junior Member
JoeMama  Offline OP
Junior Member

Joined: Feb 2004
Posts: 71
Milky Way Galaxy...
See topic plz. I have made the ent_create work fine but it creates the model at the original size instead of the scaled size that the game will be set to. How do I do this? Do I just put scale=.50 after the ent_create code?


If death is only the beginning, then life must be the end... -me
Re: Can you use ent_create and spawn it scaled down? [Re: JoeMama] #82497
07/21/06 20:00
07/21/06 20:00
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
You need to do it like this:
Code:
you = ent_create("blablabla.mdl",nullvector,null);

if(you)
{
vec_scale(you.scale_x,0.5);
}



Re: Can you use ent_create and spawn it scaled down? [Re: Claus_N] #82498
07/21/06 20:18
07/21/06 20:18
Joined: Feb 2004
Posts: 71
Milky Way Galaxy...
JoeMama Offline OP
Junior Member
JoeMama  Offline OP
Junior Member

Joined: Feb 2004
Posts: 71
Milky Way Galaxy...
Thanks, it works perfectly.

Re: Can you use ent_create and spawn it scaled down? [Re: Claus_N] #82499
07/21/06 20:53
07/21/06 20:53
Joined: Jul 2004
Posts: 311
Aaron Offline
Senior Member
Aaron  Offline
Senior Member

Joined: Jul 2004
Posts: 311
Hi I got a question about ent create , well how would I morph or change a 3d model making look like it's burning for example if an enemy walks or get's pushed into the fire I want to show the skin getting burned by turing it red then showing the muscles underneath after a period of time, Would I use this calling for it or will it be the morph call entmorph???

Re: Can you use ent_create and spawn it scaled down? [Re: Aaron] #82500
07/21/06 21:14
07/21/06 21:14
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
To change the skin, use entity.skin, to switch model, yeah, then use ent_morph


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