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 (vicknick), 1,316 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Loading level entities that contain models #421939
04/28/13 18:31
04/28/13 18:31
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
I am trying to load several level entities that are mainly WED blocks but also contain several models.

When I add the entities in WED, I can see that it loads both the blocks and the models. So far so good.

After building the map and running it, The blocks from the entities are there but the models are not. I'm not sure why.

Any help would be greatly appreciated.

Re: Loading level entities that contain models [Re: xbox] #421945
04/28/13 20:15
04/28/13 20:15
Joined: Apr 2005
Posts: 274
austria
Ascalon Offline
Member
Ascalon  Offline
Member

Joined: Apr 2005
Posts: 274
austria
i guess you have your models in an different order, maybe models, or ?
you have to contain the pathname in your mainscript, like so:
#define PRAGMA_PATH "models";


my webside : www.ascalon.jimdo.de
Re: Loading level entities that contain models [Re: Ascalon] #421951
04/28/13 22:46
04/28/13 22:46
Joined: Apr 2005
Posts: 653
Germany
D
Det Offline
User
Det  Offline
User
D

Joined: Apr 2005
Posts: 653
Germany
Have you clicked update Enitys ? When no the Model are not in your Level ony the Build Level without Models.


Wissen ist macht.
Nichts wissen macht auch nichts.

A7.86
Re: Loading level entities that contain models [Re: Det] #421955
04/29/13 01:12
04/29/13 01:12
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I think you need to set map_subents = 1;


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Loading level entities that contain models [Re: Superku] #421968
04/29/13 13:33
04/29/13 13:33
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Alright, I will try the suggestions when i get home. I do not have any scripts right now, didn't know I needed them. That's alright though, I know how to code. laugh

Re: Loading level entities that contain models [Re: xbox] #421970
04/29/13 13:59
04/29/13 13:59
Joined: Apr 2005
Posts: 274
austria
Ascalon Offline
Member
Ascalon  Offline
Member

Joined: Apr 2005
Posts: 274
austria
if your models arenīt in an seperat ordner, you dont need a script. but sooner or later you will have to use scripts wink and than you can put all your models, sounds and so on in different orders and declare their places via script


my webside : www.ascalon.jimdo.de
Re: Loading level entities that contain models [Re: Ascalon] #421973
04/29/13 14:24
04/29/13 14:24
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
that's what I thought. All of the models, textures and stuff are all in the same folder so there is no need to add a Path for the directory. I just couldn't understand why you can see the models as part of the map entity in WED before it is run, but when it is rendered, POOF no more models. lol I think the map_subents might do the trick though. Logically it should work. grin

Re: Loading level entities that contain models [Re: xbox] #421982
04/29/13 19:38
04/29/13 19:38
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
okay, so I set map_subents = 1 and I'm still not getting anything. All of the models are in the same directory as the levels so that should not be an issue...

I just noticed, that I'm not actually seeing the "models" in WED but just their "bounding box"... why is this?

Last edited by xbox; 04/29/13 19:42.

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