Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
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
2 registered members (7th_zorro, dr_panther), 724 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
Page 1 of 4 1 2 3 4
Level won't display properly with any script... #100680
12/02/06 18:42
12/02/06 18:42
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
This is related to some other issued I've had with my level...

In any case, if I build my level (which has many entities) and "preview" it, it looks fine--all entities and blocks and models are there, all textures appear as they should, etc. When I "run" the level, again, everything looks normal as long as I don't have a script attached to the level (as determined in the MAP properties). As soon as I attach a script, however (among others, I tried the "walkthrough" template script), most of my entities and blocks don't show and most of the level is black; I can move the camera, but it is extremely sluggish. My level/world is rather large and complex with many items, but I don't get any errors telling me that there are too many.

Can anyone tell me what might cause this to happen?

And is there a way to essentially duplicate the level "preview" mode with a script (because that at least works).

Thanks.

Re: Level won't display properly with any script.. [Re: Galen] #100681
12/05/06 00:11
12/05/06 00:11
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Nobody has any ideas?

Would it help if I posted screenshots?

Re: Level won't display properly with any script.. [Re: Galen] #100682
12/05/06 01:25
12/05/06 01:25
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
It sounds like you may be missing some required scripts. Why don't you post the list shown in the project manager.

Re: Level won't display properly with any script.. [Re: JazzDude] #100683
12/05/06 13:15
12/05/06 13:15
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Okay, I'll post what I have when I get home from work tonight. Thank you for the suggestion!

Re: Level won't display properly with any script.. [Re: Galen] #100684
12/05/06 22:59
12/05/06 22:59
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Okay, here's a Word document with screenshots and script info:
My Project
It's about 3 & 1/2 MB download for the file.

The first few screenshots show what the level looks like when run without a script (same as preview mode). Then I show that I am adding a basic walkthrough template script. Then follows the script itself, as generated by 3DGS, then a screenshot of what the level looks like when run with this script--notice that only some windows and a sculpture are showing, otherwise all is black; I know I have many entities in my level--all of which display just fine when I build and run them on their own. Then the build log from the last build.

If anyone can point out why this is happening, I'd be grateful. At this point, I'd even be willing to upload or email my project to Conitec in case they were interested in figuring out where I'm going wrong, but I know that's not their job. Maybe someone here can figure it out from the file above. I can post more info--I just need to know what's needed. Thanks!

Re: Level won't display properly with any script.. [Re: Galen] #100685
12/06/06 23:23
12/06/06 23:23
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Neglected to mention that the template file included its own scripts...

Re: Level won't display properly with any script.. [Re: Galen] #100686
12/07/06 03:15
12/07/06 03:15
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Mmmm, in Preview mode everything looks like it should be? I think there's a script somewhere which sets a different setting for camera.clip_near and camera.clip_far , that's currently my guess .. If the preview works, then it must be the script, that's no doubt the problem,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Level won't display properly with any script.. [Re: PHeMoX] #100687
12/07/06 18:49
12/07/06 18:49
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
This is the default "walkthrough" template script though--I haven't done anything to change it. If I have no script attached, it looks fine (of course, that's useless, but it still *looks* fine). So that must mean there's something wrong with the template scripts...? I'm thinking maybe there's an issue with the engine not being able to load large entities properly (and when there are many entities).

What's the main difference between "preview" mode and a default "script" mode? I mean, what kind of "template" does preview mode use to display, and why would it work?

Re: Level won't display properly with any script.. [Re: Galen] #100688
12/09/06 05:29
12/09/06 05:29
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Does anyone by any chance have a sample script that they know will work with a large level with many entities? It could just be a simple camera walk-through script, but something I could test with (see the file posted above for exact build info, FYI). I find it hard to believe I'm the only one who's experienced this...

Re: Level won't display properly with any script.. [Re: Galen] #100689
12/10/06 18:51
12/10/06 18:51
Joined: May 2005
Posts: 155
C:\Program files\GStudio6
alphaindigo Offline
Member
alphaindigo  Offline
Member

Joined: May 2005
Posts: 155
C:\Program files\GStudio6
try ading the basic a5 template script...
instead of the ones you are using at the moment


beware the sock! - tLempoary...
Page 1 of 4 1 2 3 4

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