Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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