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
Model positioning in WED different at runtime #372856
06/05/11 01:51
06/05/11 01:51
Joined: Jun 2008
Posts: 37
Oklahoma City, OK
emo10001 Offline OP
Newbie
emo10001  Offline OP
Newbie

Joined: Jun 2008
Posts: 37
Oklahoma City, OK
I'm adding the guard model to my terrain in WED. I position it where I want it, then when I run the level it always seems to be somewhere else. It's almost like my vectors are different at runtime.

If I try
Code:
ent_create("guard_mdl",vector(1590,740, 70),NULL);

it says it can't open the model, even though it is in the same folder as my project.

Doesn't seem like adding a model to a terrain should be this difficult.


"To one who has faith, no explanation is necessary. To one without faith, no explanation is possible." - St. Thomas Aquinas
Re: Model positioning in WED different at runtime [Re: emo10001] #372857
06/05/11 01:53
06/05/11 01:53
Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
TheShooter Offline
User
TheShooter  Offline
User

Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
It isn't guard_mdl, it is guard.mdl

Did you compile the Level in WED? If not, try it. : )

regards


Staub ist das neue Prime!!

Programming is like sex:
One mistake and you have to support it for the rest of your life.

Aktuelles Projekt: http://thisiswargame.bplaced.net/index.html

A8 Commercial *freu*
Re: Model positioning in WED different at runtime [Re: TheShooter] #372859
06/05/11 02:09
06/05/11 02:09
Joined: Jun 2008
Posts: 37
Oklahoma City, OK
emo10001 Offline OP
Newbie
emo10001  Offline OP
Newbie

Joined: Jun 2008
Posts: 37
Oklahoma City, OK
Ha....it was the typo...what a n00b mistake. Thanks Shooter *he said sheepishly*


"To one who has faith, no explanation is necessary. To one without faith, no explanation is possible." - St. Thomas Aquinas

Moderated by  HeelX, rvL_eXile 

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