Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | 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